:root { --gob: #611232; --gob-dark: #4a0d27; --gold: #bc955c; --ceti-blue: #003b7a; --ceti-bright: #075aa8; --ceti-orange: #f47b20; --ink: #152638; --muted: #5d6874; --line: #d8dee5; --surface: #f4f7fa; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-top: 0 !important; color: var(--ink); background: #fff; font-family: Montserrat, "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(1400px, calc(100% - 40px)); margin: 0 auto; }
.federal-header { position: static; width: 100%; min-height: 98px; color: #fff; background: var(--gob); border-bottom: 5px solid var(--gold); }
.federal-header__inner { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.government-brand { display: inline-flex; align-items: center; gap: 20px; color: #fff; text-decoration: none; }
.government-brand img { display: block; width: 250px; height: 66px; object-fit: contain; }
.government-separator { width: 1px; height: 42px; background: rgba(255,255,255,.7); }
.government-brand strong { font-size: 26px; }
.federal-agency { font-size: 17px; }
.site-nav { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 3px 12px rgba(0,0,0,.08); }
.site-nav__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.site-brand img { width: 54px; height: 60px; object-fit: contain; }
.site-brand span { display: flex; flex-direction: column; }
.site-brand strong { color: var(--ceti-blue); font-size: 25px; line-height: 1; }
.site-brand small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.site-nav__links { display: flex; align-items: center; gap: 28px; font-weight: 700; }
.site-nav__links a { text-decoration: none; }
.site-nav__links > a:not(.systems-button):hover { color: var(--ceti-orange); }
.systems-button, .welcome__action, .community-band a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border: 2px solid var(--ceti-orange); background: var(--ceti-orange); color: #111; text-decoration: none; font-weight: 800; }
.systems-button:hover, .welcome__action:hover { background: #fff; color: var(--ceti-blue); }
.welcome { position: relative; min-height: 500px; overflow: hidden; background: var(--ceti-blue); color: #fff; }
.welcome__wordmark { position: absolute; z-index: 1; top: 50%; right: max(4vw, 42px); width: min(42vw, 580px); transform: translateY(-48%); line-height: .76; text-align: right; pointer-events: none; user-select: none; }
.welcome__wordmark span { display: block; padding-right: 1.1em; color: #f47b20; font-family: Georgia, serif; font-size: clamp(76px, 8vw, 126px); font-style: italic; font-weight: 700; letter-spacing: 0; }
.welcome__wordmark strong { display: block; color: #1263a8; font-size: clamp(96px, 11vw, 168px); font-weight: 900; letter-spacing: 0; }
.welcome__shade { position: absolute; z-index: 0; inset: 0; background: rgba(0, 45, 94, .58); }
.welcome::after { content: ""; position: absolute; inset: auto 0 0; height: 12px; background: var(--ceti-orange); }
.welcome__content { position: relative; z-index: 2; min-height: 500px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 72px; }
.welcome__kicker { margin-bottom: 18px; color: var(--ceti-orange); font-size: 15px; font-weight: 900; text-transform: uppercase; }
.welcome h1 { width: min(650px, 58%); margin: 0; font-family: Georgia, serif; font-size: clamp(42px, 5vw, 72px); line-height: 1.06; letter-spacing: 0; text-align: left; }
.welcome p { width: min(670px, 100%); margin: 24px 0 30px; font-size: 21px; line-height: 1.55; text-align: left; }
.calendar-section { padding: 72px 0 84px; background: var(--surface); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 30px; }
.section-kicker { color: var(--ceti-orange); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.section-heading h2 { margin: 4px 0 8px; color: var(--ceti-blue); font-family: Georgia, serif; font-size: 44px; }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; text-align: left; }
.today-button { min-height: 42px; padding: 8px 17px; border: 1px solid var(--ceti-blue); background: #fff; color: var(--ceti-blue); font-weight: 800; cursor: pointer; }
.calendar-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 24px; }
.calendar-tool { min-width: 0; }
.calendar-toolbar { min-height: 70px; display: grid; grid-template-columns: 46px 1fr 46px; align-items: center; background: var(--ceti-blue); color: #fff; border-bottom: 5px solid var(--ceti-orange); }
.calendar-toolbar h3 { margin: 0; text-align: center; font-size: 24px; text-transform: capitalize; }
.month-button { width: 42px; height: 42px; margin: 2px; border: 0; background: transparent; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; }
.month-button:hover, .month-button:focus-visible { background: rgba(255,255,255,.16); outline: 2px solid #fff; }
.calendar-scroll { overflow-x: auto; border: 1px solid var(--line); border-top: 0; background: #fff; }
.calendar-grid { min-width: 700px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays { background: #e8edf2; color: #32465a; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.calendar-weekdays span { padding: 11px 9px; text-align: center; }
.calendar-day { position: relative; min-height: 108px; padding: 9px; border: 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day:hover { background: #f3f8fd; }
.calendar-day:focus-visible { z-index: 1; outline: 3px solid var(--ceti-orange); outline-offset: -3px; }
.calendar-day.is-outside { background: #f4f4f4; color: #9099a1; }
.calendar-day.is-today .day-number { background: var(--ceti-orange); color: #111; }
.calendar-day.is-selected { box-shadow: inset 0 0 0 3px var(--ceti-blue); }
.day-number { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; font-weight: 900; }
.day-markers { display: flex; flex-direction: column; gap: 4px; margin-top: 7px; }
.day-marker { overflow: hidden; padding: 3px 5px; border-left: 5px solid var(--event-color); background: color-mix(in srgb, var(--event-color) 13%, white); color: #243342; font-size: 11px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.day-marker-more { color: var(--ceti-blue); font-size: 11px; font-weight: 800; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 9px 18px; padding: 18px 4px 0; color: #445262; font-size: 12px; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 7px; }
.calendar-legend i { width: 11px; height: 11px; background: var(--event-color); }
.day-details { min-height: 430px; border-top: 6px solid var(--ceti-orange); background: #fff; padding: 24px; box-shadow: 0 10px 28px rgba(31, 52, 74, .12); }
.day-details__heading span { color: var(--ceti-orange); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.day-details__heading h3 { margin: 4px 0 22px; color: var(--ceti-blue); font-family: Georgia, serif; font-size: 28px; }
.empty-day { color: var(--muted); line-height: 1.6; }
.event-detail { padding: 16px 0; border-top: 1px solid var(--line); }
.event-detail:first-child { border-top: 0; padding-top: 0; }
.event-detail__category { display: inline-flex; padding: 3px 7px; background: var(--event-color); color: var(--event-text); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.event-detail h4 { margin: 9px 0 7px; font-size: 18px; line-height: 1.25; }
.event-detail p { margin: 7px 0 0; color: #4f5c68; line-height: 1.45; text-align: left; white-space: pre-line; }
.event-detail__meta { color: var(--ceti-blue) !important; font-size: 13px; font-weight: 700; }
.calendar-alert { padding: 22px; border-left: 6px solid var(--ceti-orange); background: #fff; }
.community-band { padding: 38px 0; background: var(--ceti-orange); color: #101820; }
.community-band__inner { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 26px; }
.community-band img { width: 88px; height: 88px; object-fit: contain; }
.community-band span { color: var(--ceti-blue); font-weight: 900; text-transform: uppercase; }
.community-band h2 { margin: 2px 0 4px; color: var(--ceti-blue); font-family: Georgia, serif; font-size: 34px; }
.community-band p { margin: 0; text-align: left; }
.community-band a { border-color: var(--ceti-blue); background: var(--ceti-blue); color: #fff; }
.site-footer { background: var(--gob-dark); color: #fff; border-top: 6px solid var(--gold); }
.site-footer__inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-footer p { margin: 6px 0 0; color: #e7d9df; text-align: left; }
.site-footer__inner > div:last-child { display: flex; gap: 24px; }
@media (max-width: 980px) {
  .federal-agency { display: none; }
  .calendar-workspace { grid-template-columns: 1fr; }
  .day-details { min-height: 0; }
}
@media (max-width: 720px) {
  .shell { width: min(100% - 24px, 1400px); }
  .federal-header, .federal-header__inner { min-height: 76px; }
  .government-brand img { width: 180px; height: 50px; }
  .government-brand strong, .government-separator { display: none; }
  .site-nav__inner { min-height: 72px; }
  .site-brand img { width: 43px; height: 50px; }
  .site-brand strong { font-size: 21px; }
  .site-brand small, .site-nav__links > a:not(.systems-button) { display: none; }
  .systems-button { min-height: 42px; padding: 8px 12px; font-size: 13px; }
  .welcome, .welcome__content { min-height: 610px; }
  .welcome__wordmark { top: auto; right: -20px; bottom: 34px; width: 78%; transform: none; line-height: .78; }
  .welcome__wordmark span { padding-right: .9em; color: #e76818; font-size: 72px; }
  .welcome__wordmark strong { color: #0b5797; font-size: 96px; }
  .welcome__content { justify-content: flex-start; padding-block: 64px 210px; }
  .welcome h1 { width: 100%; font-size: 43px; }
  .welcome p { font-size: 18px; }
  .calendar-section { padding: 54px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2 { font-size: 38px; }
  .calendar-day { min-height: 96px; }
  .community-band__inner { grid-template-columns: 64px 1fr; }
  .community-band img { width: 64px; height: 64px; }
  .community-band a { grid-column: 1 / -1; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; padding-block: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
