@layer reset, base, layout, components, responsive;
@layer reset {
    *, *::before, *::after { box-sizing: border-box; }
    body, h1, h2, h3, p, figure { margin: 0; }
    button, input, select { font: inherit; }
    button, a, input, select { -webkit-tap-highlight-color: transparent; }
    img { max-width: 100%; display: block; }
    button { cursor: pointer; }
}
@layer base {
    :root { --navy: #142b3d; --gold: #e7bf78; --paper: #f8f7f3; --muted: #657178; --line: #deded5; }
    html { scroll-behavior: smooth; scroll-padding-top: 30px; }
    body { background: var(--paper); color: var(--navy); font-family: 'Segoe UI', Arial, sans-serif; font-size: 15px; line-height: 1.6; }
    a { color: inherit; text-decoration: none; }
    a:hover { text-decoration: underline; text-underline-offset: 4px; }
    h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
    h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; }
    h2 { font-size: 2.6rem; line-height: 1.15; }
    h3 { font-size: 1.8rem; }
    button { color: inherit; border: 0; background: none; }
    button:disabled { opacity: .5; cursor: default; }
    :focus-visible { outline: 3px solid #b07921; outline-offset: 4px; }
    h1[tabindex="-1"]:focus { outline: none; }
    svg { flex-shrink: 0; vertical-align: middle; }
    .content-width { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
    .eyebrow { letter-spacing: .16em; font-size: .65rem; font-weight: 650; line-height: 1.6; }
    .branch-label { font-size: .72rem; color: #8a703f; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
    .skip-link { position: fixed; top: -100px; left: 16px; background: var(--gold); padding: 12px; z-index: 20; }
    .skip-link:focus { top: 10px; }
}
@layer layout {
    .site-header { height: 94px; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; background: #fffefb; gap: 20px; }
    .brand { display: flex; align-items: center; gap: 16px; text-decoration: none !important; }
    .brand-mark { background: #f5bd49; font: italic 900 1.95rem/1.2 Arial, sans-serif; padding: 5px 10px 4px 6px; letter-spacing: -.1em; }
    .company-logo { display: block; width: 108px; height: auto; max-height: 42px; object-fit: contain; }
    .brand-description { font-size: .58rem; letter-spacing: .14em; line-height: 1.6; border-left: 1px solid #deded6; padding-left: 16px; }
    .brand-description strong { font-weight: 700; }
    .site-header nav { display: flex; align-items: center; gap: 30px; font-size: .75rem; font-weight: 600; height: 100%; }
    .site-header nav > a { display: inline-flex; align-items: center; gap: 8px; height: 100%; position: relative; }
    .site-header nav .active::after { content: ''; position: absolute; bottom: 22px; left: 0; right: 0; height: 2px; background: #aa8140; }
    .site-header .header-download { height: auto; border: 1px solid #d8d8ce; padding: 10px 14px; }
    .site-header svg { width: 15px; height: 15px; }
    .hero { color: #f8f4ec; background: var(--navy); position: relative; overflow: hidden; }
    .hero::after { content: ''; width: 700px; height: 700px; position: absolute; right: -230px; top: -100px; border: 1px solid #ffffff06; border-radius: 50%; box-shadow: 0 0 0 90px #ffffff02, 0 0 0 180px #ffffff02; pointer-events: none; }
    .hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; min-height: 610px; padding-top: 55px; padding-bottom: 55px; position: relative; z-index: 1; }
    .hero .eyebrow { color: var(--gold); display: flex; align-items: center; gap: 12px; }
    .small-rule { width: 30px; height: 1px; background: currentColor; }
    .hero h1 { font-size: clamp(4rem, 6.3vw, 6.3rem); letter-spacing: -.04em; line-height: 1.02; }
    .hero h1 em { color: var(--gold); font-weight: 400; }
    .hero-description { max-width: 425px; color: #c4ced4; margin-top: 25px; font-size: .9rem; line-height: 1.9; }
    .hero .button { margin-top: 28px; }
    .hero-secondary { font-size: .75rem; margin-left: 20px; white-space: nowrap; }
    .hero-secondary svg { width: 13px; margin-right: 5px; }
    .hero-note { display: flex; align-items: center; gap: 10px; color: #b6c3cc; margin-top: 34px; font-size: .65rem; letter-spacing: .04em; }
    .hero-note svg { color: var(--gold); width: 16px; }
    .hero-bottom { display: flex; justify-content: space-between; border-top: 1px solid #ffffff22; padding: 20px 0; color: #abb9c2; font-size: .55rem; letter-spacing: .17em; }
    .hero-bottom i { color: var(--gold); margin: 0 13px; }
    .hero-exhibit { height: 470px; position: relative; max-width: 550px; width: 100%; justify-self: end; }
    .exhibit-photo { display: block; position: absolute; width: 58%; padding: 8px 8px 12px; background: #eeeae0; box-shadow: 0 16px 40px #0005; color: var(--navy); text-decoration: none !important; }
    .exhibit-photo img { width: 100%; height: 260px; object-fit: contain; background: #d7d3ca; filter: saturate(.7); }
    .exhibit-photo > span { display: block; padding: 10px 8px 0; font: 1rem/1.3 Georgia, serif; }
    .exhibit-photo small { display: block; font: .5rem/1.8 'Segoe UI', Arial, sans-serif; text-transform: uppercase; letter-spacing: .09em; margin-top: 4px; }
    .exhibit-photo-0 { left: 3%; top: 40px; transform: rotate(-7deg); z-index: 2; }
    .exhibit-photo-1 { right: 0; top: 3px; transform: rotate(7deg); }
    .exhibit-photo-1 img { height: 205px; }
    .exhibit-photo-2 { right: 2%; top: 210px; width: 46%; transform: rotate(5deg); z-index: 3; }
    .exhibit-photo-2 img { height: 150px; }
    .exhibit-caption { position: absolute; bottom: -2px; left: 6%; font-size: .5rem; letter-spacing: .17em; color: #aebdc7; }
    .exhibit-dedication { border: 1px solid #ffffff30; width: 80%; height: 85%; margin: 30px auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; }
    .exhibit-dedication svg { width: 45px; height: 45px; color: var(--gold); }
    .exhibit-dedication p { font: 2rem Georgia, serif; }
    .exhibit-dedication span { font-size: .8rem; color: #b6c3cc; }
    .wall-section { padding-top: 70px; padding-bottom: 80px; }
    .workforce-band { background: #eeeee7; border-bottom: 1px solid var(--line); }
    .workforce-summary { padding-block: 44px; }
    .workforce-summary h2 { font-size: 2rem; margin-bottom: 28px; }
    .workforce-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; }
    .workforce-metrics > div { display: block; border-top: 2px solid #b09665; padding: 16px 0; }
    .workforce-metrics dt { font-size: .8rem; }
    .workforce-metrics dd { font: 3rem/1.1 Georgia, serif; margin: 12px 0; }
    .workforce-metrics p { color: var(--muted); font-size: .8rem; }
    .workforce-branches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
    .workforce-branches > div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #cfd1c8; padding-bottom: 10px; font-size: .75rem; }
    .section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 35px; }
    .section-heading .eyebrow { color: #8a703f; margin-bottom: 10px; }
    .section-heading > p { font-size: .8rem; color: var(--muted); line-height: 1.9; margin-bottom: 3px; }
    .veteran-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
    .remembrance-band { background: #eeeee7; border-top: 1px solid #deded5; border-bottom: 1px solid #deded5; }
    .remembrance-inner { display: flex; align-items: center; gap: 30px; padding-block: 46px; }
    .remembrance-inner > svg { width: 44px; height: 44px; color: #9a7c43; }
    .remembrance-inner .eyebrow { color: #7f6b43; margin-bottom: 8px; }
    .remembrance-inner h2 { font-size: 2rem; }
    .remembrance-inner p:not(.eyebrow) { color: var(--muted); font-size: .8rem; margin-top: 10px; }
    .remembrance-inner .button { margin-left: auto; white-space: nowrap; }
    .site-footer { padding-block: 36px; display: flex; justify-content: space-between; align-items: center; gap: 35px; font-size: .66rem; color: var(--muted); }
    .footer-mark { font: italic 900 1.6rem/1 Arial, sans-serif; letter-spacing: -.08em; color: var(--navy); }
    .site-footer p { margin-top: 8px; }
    .site-footer a { white-space: nowrap; }
}
@layer components {
    .button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-size: .74rem; font-weight: 600; padding: 13px 22px; min-height: 46px; text-decoration: none !important; transition: background .2s; }
    .button-gold { color: var(--navy); background: var(--gold); }
    .button-gold:hover { background: #f0ce92; }
    .button-outline { border: 1px solid #b9bcb4; }
    .button-outline:hover { background: #142b3d09; }
    .button-dark { color: white; background: var(--navy); }
    .button-dark:hover { background: #28495e; }
    .button svg { width: 17px; }
    .filter-panel { border-block: 1px solid var(--line); padding-bottom: 20px; }
    .connection-filters { display: flex; gap: 26px; }
    .connection-filters button { position: relative; font-size: .75rem; padding: 19px 0 17px; color: #697278; white-space: nowrap; }
    .connection-filters .selected { color: var(--navy); font-weight: 600; }
    .connection-filters .selected::after { content: ''; height: 2px; background: #9d7b40; position: absolute; bottom: 0; left: 0; right: 0; }
    .connection-filters button span { font-size: .6rem; background: #eae9e2; padding: 2px 6px; border-radius: 3px; margin-left: 5px; }
    .filter-controls { display: grid; grid-template-columns: minmax(200px, 1fr) 225px 160px; gap: 12px; margin-top: 18px; }
    .filter-controls input, .filter-controls select, .admin-login input { width: 100%; border: 1px solid #dcdcd3; border-radius: 0; color: var(--navy); background: #fffefb; height: 44px; font-size: .75rem; padding: 10px 13px; }
    .filter-controls select { padding-right: 28px; cursor: pointer; }
    .search-field { position: relative; }
    .search-field input { padding-left: 42px; }
    .search-field svg { position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; color: #7d8589; }
    .results-heading { display: flex; justify-content: space-between; font-size: .68rem; color: var(--muted); margin: 23px 0; }
    .results-heading strong { color: var(--navy); }
    .results-total { color: #858b8b; }
    .collection-label { font-size: .55rem; letter-spacing: .12em; }
    .empty-state { padding: 85px 30px; text-align: center; }
    .empty-state > svg { width: 30px; height: 30px; color: #9a7c43; margin-bottom: 20px; }
    .empty-state h1 { font-size: 3rem; }
    .empty-state p { color: var(--muted); max-width: 570px; margin: 16px auto 24px; }
    .photo-placeholder { height: 100%; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; color: #8a7551; background: #eae6dd; }
    .photo-placeholder svg { height: 40px; width: 40px; }
    .photo-placeholder span { font: italic 1.25rem Georgia, serif; }
    .back-link { display: inline-flex; align-items: center; gap: 8px; font-size: .73rem; color: var(--muted); }
    .back-link svg { width: 16px; }
    .profile-page { padding-block: 35px 65px; }
    .profile-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: 70px; margin-top: 35px; align-items: start; }
    .profile-copy { padding-top: 12px; min-width: 0; }
    .profile-copy > .eyebrow { color: #9a7c43; margin-bottom: 18px; }
    .profile-copy h1 { font-size: clamp(2.6rem, 4vw, 4.3rem); overflow-wrap: anywhere; }
    .profile-connection { display: inline-block; font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; background: #eae7df; margin-top: 20px; }
    .service-details { padding-top: 25px; }
    .service-details .branch-label { display: flex; gap: 8px; align-items: center; }
    .service-details svg { width: 17px; }
    .service-details dl { margin: 12px 0 0; }
    .service-details dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 15px; font-size: .8rem; padding-block: 4px; }
    .service-details dt { color: var(--muted); }
    .service-details dd { margin: 0; overflow-wrap: anywhere; }
    .tribute-text { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
    .tribute-text h2 { font-size: 1.7rem; margin-bottom: 16px; }
    .tribute-text p { white-space: pre-line; color: #53616a; font-size: .9rem; line-height: 1.9; overflow-wrap: anywhere; }
    .shared-by { margin-top: 30px; padding-left: 18px; border-left: 2px solid #b29760; }
    .shared-by .eyebrow { color: #8a703f; }
    .shared-by p { margin-top: 3px; }
    .shared-by > span:last-child { color: var(--muted); font-size: .78rem; }
    .profile-thanks { font: italic 1rem Georgia, serif; margin-top: 30px; color: #8a703f; }
    .gallery { min-width: 0; }
    .gallery-main { padding: 12px; background: #fffefb; border: 1px solid var(--line); }
    .gallery-main > img { width: 100%; height: 510px; object-fit: contain; background: #e9e6de; }
    .gallery-main figcaption { display: flex; gap: 20px; padding: 15px 4px 3px; font-size: .7rem; color: var(--muted); }
    .gallery-main figcaption span { white-space: nowrap; font-variant-numeric: tabular-nums; }
    .gallery-main figcaption p { white-space: pre-line; overflow-wrap: anywhere; }
    .gallery-thumbnails { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
    .gallery-thumbnails button { width: 75px; height: 75px; border: 1px solid var(--line); padding: 4px; }
    .gallery-thumbnails button.selected { border: 2px solid #9a7c43; }
    .gallery-thumbnails img { height: 100%; width: 100%; object-fit: contain; }
    .gallery-empty { height: 510px; }
    .profile-navigation { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; border-top: 1px solid var(--line); padding-top: 25px; }
    .profile-navigation a { display: flex; align-items: center; gap: 10px; font: 1.1rem Georgia, serif; }
    .profile-navigation a:last-child { margin-left: auto; text-align: right; }
    .profile-navigation small { display: block; font: .55rem/2.5 'Segoe UI', Arial, sans-serif; letter-spacing: .1em; color: var(--muted); }
    .admin-page { padding-block: 40px 80px; max-width: 850px; }
    .admin-page > .eyebrow { margin-top: 35px; color: #8a703f; }
    .admin-page h1 { font-size: 3.2rem; margin-block: 12px 25px; }
    .admin-page h2 { font-size: 1.8rem; margin-bottom: 16px; }
    .admin-page > p { margin-block: 14px; }
    .admin-login { max-width: 450px; margin-top: 25px; display: grid; gap: 10px; }
    .admin-login label { font-size: .8rem; }
    .admin-login .button { justify-self: start; }
    .admin-publication { padding: 25px; border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-block: 30px; }
    .admin-publication small { overflow-wrap: anywhere; }
    .admin-publication h2 { margin-top: 10px; }
    .validation-list { list-style: none; margin: 20px 0; padding: 0; }
    .validation-list li { padding: 14px 0; border-top: 1px solid var(--line); }
    .validation-list strong, .validation-list span { display: block; }
    .validation-list span { font-size: .8rem; color: var(--muted); margin-top: 3px; }
    .form-error, .admin-message { padding: 15px; background: #eee8da; }
    .slideshow { min-height: 100dvh; display: flex; flex-direction: column; background: #102737; color: #f6f1e8; padding: 30px 50px 10px; }
    .slideshow:fullscreen { overflow-y: auto; }
    .slideshow:focus { outline: none; }
    .slideshow-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
    .slideshow-brand { display: flex; align-items: center; gap: 20px; font-size: .6rem; letter-spacing: .16em; }
    .slideshow .footer-mark { color: var(--gold); font-size: 1.9rem; }
    .slideshow .company-logo { width: 116px; max-height: 52px; filter: brightness(0) invert(1); }
    .slideshow .back-link { color: #c4cfd7; }
    .slide-body { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 65px; align-items: center; width: min(1350px, 100%); margin: 35px auto; }
    .slide-image { height: min(66dvh, 750px); min-height: 350px; background: #0b202e; padding: 14px; }
    .slide-image img { width: 100%; height: 100%; object-fit: contain; }
    .slide-copy { min-width: 0; }
    .slide-copy > .eyebrow { color: #aebfc9; margin-bottom: 40px; }
    .slide-copy .branch-label { color: var(--gold); }
    .slide-copy h1 { margin-top: 15px; font-size: clamp(2.5rem, 4.5vw, 5.2rem); overflow-wrap: anywhere; }
    .slide-years { color: var(--gold); font-size: 1rem; margin-top: 18px; }
    .slide-tribute { color: #c3cfd6; white-space: pre-line; line-height: 1.8; font-size: clamp(.8rem, 1.1vw, 1.1rem); margin-top: 25px; overflow-wrap: anywhere; max-height: 35dvh; overflow-y: auto; }
    .slide-connection { font-size: .7rem; color: #a4b7c4; padding-top: 25px; margin-top: 25px; border-top: 1px solid #ffffff22; }
    .slide-controls { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid #ffffff22; padding-top: 18px; font-size: .75rem; }
    .slide-controls .muted { color: #9fb1be; }
    .slide-controls button { padding: 10px; display: inline-flex; gap: 10px; align-items: center; }
    .slide-playback { display: flex; gap: 20px; align-items: center; }
    .playback-toggle { border: 1px solid #ffffff44; min-width: 110px; justify-content: center; }
    .slide-help { text-align: center; color: #a6b7c4; min-height: 24px; margin-top: 12px; font-size: .65rem; }
    .reconnect-notice { display: none; position: fixed; inset: auto 15px 15px; background: #142b3d; color: white; padding: 18px; z-index: 100; box-shadow: 0 4px 30px #0004; text-align: center; }
    .reconnect-notice button, #blazor-error-ui button { text-decoration: underline; padding: 0; }
    .reconnect-notice span { display: none; }
    .components-reconnect-show, .components-reconnect-failed, .components-reconnect-rejected { display: block; }
    .components-reconnect-show .reconnect-retrying, .components-reconnect-failed .reconnect-failed, .components-reconnect-rejected .reconnect-rejected { display: inline; }
    #blazor-error-ui { display: none; position: fixed; bottom: 0; width: 100%; background: #eee2c9; color: var(--navy); padding: 15px; z-index: 110; text-align: center; }
    #blazor-error-ui a { text-decoration: underline; }
}
@layer responsive {
    @media (min-width: 1550px) { .hero-inner { min-height: 660px; } }
    @media (max-width: 1100px) {
        .content-width { width: calc(100% - 64px); }
        .site-header { padding-inline: 32px; }
        .hero-inner { gap: 25px; }
        .hero-secondary { display: inline-flex; margin-left: 0; margin-top: 20px; }
        .hero-copy .button { margin-right: 12px; }
        .hero-exhibit { height: 420px; }
        .exhibit-photo img { height: 220px; }
        .exhibit-photo-1 img { height: 180px; }
        .exhibit-photo-2 { top: 190px; }
        .exhibit-photo-2 img { height: 130px; }
        .veteran-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .profile-layout { gap: 35px; }
        .slideshow { padding-inline: 30px; }
        .slide-body { gap: 35px; }
    }
    @media (max-width: 760px) {
        .workforce-metrics { gap: 18px; }
        .workforce-branches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        .content-width { width: calc(100% - 40px); }
        .site-header { padding-inline: 20px; height: 80px; }
        .brand-description { display: none; }
        .site-header nav { gap: 18px; font-size: .7rem; }
        .site-header .header-download { padding: 8px; }
        .header-download span { display: none; }
        .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 45px; }
        .hero h1 { font-size: 5rem; }
        .hero-description { max-width: 480px; }
        .hero-secondary { margin-left: 15px; }
        .hero-exhibit { max-width: 420px; justify-self: center; margin-top: 10px; }
        .hero-bottom > span:last-child { display: none; }
        .hero-bottom i { margin-inline: 4px; }
        .section-heading { display: block; }
        .section-heading > p { margin-top: 18px; }
        .wall-section { padding-block: 45px 50px; }
        .filter-controls { grid-template-columns: 1fr 1fr; }
        .search-field { grid-column: 1 / -1; }
        .connection-filters { gap: 20px; overflow-x: auto; }
        .connection-filters button { font-size: .68rem; }
        .collection-label { display: none; }
        .veteran-grid { gap: 16px; }
        .remembrance-inner { flex-wrap: wrap; gap: 20px; }
        .remembrance-inner > svg { display: none; }
        .remembrance-inner .button { margin-left: 0; }
        .site-footer { flex-wrap: wrap; gap: 20px; }
        .profile-layout { grid-template-columns: 1fr; gap: 30px; }
        .gallery-main > img { height: min(500px, 65dvh); }
        .profile-copy { padding-top: 0; }
        .slideshow { padding: 22px 20px 10px; }
        .slideshow-brand > span:last-child { display: none; }
        .slide-body { grid-template-columns: 1fr; gap: 25px; margin-block: 25px; }
        .slide-image { height: 42dvh; min-height: 220px; }
        .slide-copy > .eyebrow { margin-bottom: 18px; }
        .slide-copy h1 { font-size: 2.8rem; }
        .slide-tribute { max-height: none; }
        .slide-connection { margin-top: 16px; padding-top: 16px; }
        .slide-playback { gap: 5px; }
        .slide-controls { gap: 10px; }
        .slide-photo-number { display: block; }
        .fullscreen-button span { display: none; }
        .admin-publication { flex-wrap: wrap; }
    }
    @media (max-width: 520px) {
        .workforce-metrics { grid-template-columns: 1fr; gap: 4px; }
        .workforce-metrics dd { font-size: 2.5rem; }
        .workforce-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .site-header .company-logo { width: 78px; }
        .veteran-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
        .hero h1 { font-size: clamp(2.5rem, 12vw, 4.6rem); }
        .hero-secondary { margin-left: 0; }
        .hero-copy .button { margin-right: 10px; }
        .connection-filters { gap: 16px; }
        .connection-filters button span { display: none; }
        .hero-exhibit { height: 385px; }
        .exhibit-photo img { height: 190px; }
        .exhibit-photo-1 img { height: 160px; }
        .exhibit-photo-2 img { height: 110px; }
        .exhibit-photo-2 { top: 180px; }
        .exhibit-photo > span { font-size: .83rem; padding-inline: 3px; }
        .exhibit-photo small { font-size: .4rem; }
        .profile-navigation a { font-size: .9rem; }
        .slide-playback button { padding: 8px; }
        .playback-toggle { min-width: 44px; }
        .playback-toggle span { display: none; }
    }
    @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        *, *::before, *::after { transition: none !important; animation: none !important; }
    }
}
