/* Shared navigation and commitment proof; inherits PCG's existing visual identity. */
@font-face { font-family: 'PCG Barlow Condensed'; font-style: normal; font-weight: 700; font-display: block; src: url('/fonts/barlow-condensed-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'PCG Barlow Condensed'; font-style: normal; font-weight: 900; font-display: block; src: url('/fonts/barlow-condensed-latin-900.woff2') format('woff2'); }
.site-nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #e2e8f0; background: rgba(255,255,255,0.97); color: #1e3a5f; font-family: 'Barlow', sans-serif; }
.site-nav-shell { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 16px; align-items: center; max-width: 1152px; margin-inline: auto; padding: 16px clamp(20px,4vw,32px); }
.site-brand { grid-column: 1; display: flex; align-items: center; width: 225px; max-width: 100%; }
.site-wordmark { display: block; width: 225px; max-width: 100%; height: 40px; object-fit: contain; object-position: left center; }
.site-footer-wordmark { display: block; width: auto; max-width: 100%; height: 32px; object-fit: contain; object-position: left center; }
.site-desktop-links { display: none; }
.site-nav a { text-decoration: none; }
.site-nav a:focus-visible, .site-mobile-menu summary:focus-visible { outline: 2px solid #2a4f80; outline-offset: 4px; border-radius: 3px; }
.site-mobile-menu { grid-column: 2; justify-self: end; }
.site-mobile-menu summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; border: 1px solid #dce5ee; border-radius: 8px; background: white; cursor: pointer; }
.site-mobile-menu summary::-webkit-details-marker { display: none; }
.site-mobile-menu summary:hover, .site-mobile-menu[open] summary { background: #eef4f8; }
.site-mobile-menu summary svg { width: 22px; height: 22px; }
.site-mobile-menu summary path { transform-box: fill-box; transform-origin: center; transition: transform 180ms ease, opacity 180ms ease; }
.site-mobile-menu[open]:not(.is-closing) summary path:first-child { transform: translateY(6px) rotate(45deg); }
.site-mobile-menu[open]:not(.is-closing) summary path:nth-child(2) { opacity: 0; }
.site-mobile-menu[open]:not(.is-closing) summary path:last-child { transform: translateY(-6px) rotate(-45deg); }
.site-mobile-links { position: absolute; right: clamp(20px,4vw,32px); top: calc(100% + 4px); width: min(22rem,calc(100% - 40px)); display: grid; gap: 4px; padding: 10px; border: 1px solid #d5dfe9; border-radius: 10px; background: #fff; box-shadow: 0 10px 28px rgba(30,58,95,.13); }
.site-mobile-links a { display: flex; align-items: center; min-height: 46px; padding: 8px 14px; border-radius: 5px; color: #1e3a5f; font-size: 1rem; font-weight: 600; }
.site-mobile-links a:hover, .site-mobile-links a[aria-current='page'] { background: #eef4f8; }
.site-mobile-links .site-book-link { justify-content: center; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) { .site-mobile-menu summary path { transition: none; } }
.site-nav .site-book-link { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 20px; border-radius: 4px; background: #1e3a5f; color: #fff; font-family: 'PCG Barlow Condensed', 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 15px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav .site-book-link:hover { background: #2a4f80; color: #fff; }
@media (min-width: 1024px) {
  .site-nav-shell { display: flex; justify-content: space-between; gap: 24px; min-height: 88px; }
  .site-brand { max-width: none; flex-shrink: 0; }
  .site-desktop-links { display: flex; align-items: center; gap: clamp(20px,3vw,36px); }
  .site-desktop-links > a { display: inline-flex; align-items: center; min-height: 44px; color: #475569; font-size: 14px; font-weight: 500; white-space: nowrap; }
  .site-desktop-links > a:hover, .site-desktop-links > a[aria-current='page'] { color: #1e3a5f; text-decoration: underline; text-underline-offset: 6px; }
  .site-desktop-links > .site-book-link { color: #fff; }
  .site-mobile-menu { display: none; }
}
/* Navy editorial player cards shared by the homepage and commitment archive. */
.commitment-board { --board-ink: #1e3a5f; --board-muted: #475569; --board-line: #dce5ee; --board-paper: #eef4f8; color: var(--board-ink); }
.commitment-board .font-display, .commitment-dialog .font-display { font-family: 'PCG Barlow Condensed', 'Barlow Condensed', sans-serif; }
.board-heading { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.board-heading p { max-width: 58ch; margin: 0.75rem 0 0; color: #475569; font-size: 1rem; line-height: 1.5; }
.commitment-board .commitment-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; align-items: start; }
.commitment-card { min-width: 0; margin: 0; scroll-margin-top: 112px; }
.commitment-card[hidden], .board-expand[hidden], .board-tools[hidden], .board-empty[hidden] { display: none !important; }
.commitment-link {
  position: relative; text-decoration: none; width: 100%; font: inherit;
  display: grid; grid-template-rows: minmax(0,1fr) auto; justify-items: center; align-items: center;
  box-sizing: border-box; height: clamp(12rem, 69cqw, 14.25rem);
  padding: .75rem .4rem .85rem; gap: .45rem; list-style: none;
  border: 1px solid var(--board-line); border-radius: 8px; background: var(--board-paper);
  color: var(--board-ink); text-align: center; cursor: pointer;
}
/* Use the stationary card as the hover target so a lifted edge stays active. */
@media (hover: hover) and (pointer: fine) {
  .commitment-card:hover { --card-lift: -3px; --crest-scale: 1.025; --card-edge: #abc2d2; --card-shadow: 0 6px 16px rgb(30 58 95 / 10%); }
}
.commitment-link:focus-visible { --card-lift: -3px; --crest-scale: 1.025; --card-edge: #abc2d2; --card-shadow: 0 6px 16px rgb(30 58 95 / 10%); }
.commitment-link:active { --card-lift: 0px; --crest-scale: 1; --card-edge: #92adc1; --card-shadow: 0 1px 3px rgb(30 58 95 / 10%); }
.commitment-link { border-color: var(--card-edge, var(--board-line)); box-shadow: var(--card-shadow, none); }
@media (prefers-reduced-motion: no-preference) {
  .commitment-link {
    transform: translateY(var(--card-lift, 0px));
    transition: transform 170ms ease-out, box-shadow 170ms ease-out, border-color 170ms ease-out;
  }
  .commitment-crest { transform: scale(var(--crest-scale, 1)); transition: transform 170ms ease-out; }
}
.commitment-link:focus-visible, .board-expand-button:focus-visible, .commitment-announcement:focus-visible { outline: 3px solid #2a4f80; outline-offset: 4px; }
.commitment-card { container-type: inline-size; }
.commitment-crest {
  display: block; place-self: center; width: clamp(70px, 35cqw, 116px);
  height: 100%; max-height: clamp(64px, 30cqw, 96px); min-height: 0;
  object-fit: contain; object-position: center;
}
.commitment-caption { width: 100%; min-width: 0; }
.commitment-name {
  display: block; font-size: clamp(1.45rem, 12cqw, 2.25rem); line-height: .98;
  font-weight: 900; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere;
}
.commitment-school {
  display: block; margin-top: .3rem; color: #445f78;
  font: 700 clamp(1rem, 8cqw, 1.25rem)/1.1 'PCG Barlow Condensed', 'Arial Narrow', sans-serif;
}
.commitment-destination { display: flex; align-items: center; gap: 14px; }
.commitment-destination img { display: block; flex: 0 0 56px; width: 56px; height: 56px; padding: 0; object-fit: contain; background: transparent; }
.commitment-profile { padding: 16px 2px; font-family: 'Barlow', sans-serif; }
.commitment-facts { display: grid; gap: 1.25rem; margin: 0; }
.commitment-facts dt { margin-bottom: 5px; color: #475569; font-size: 0.8125rem; line-height: 1.4; }
.commitment-facts dd { margin: 0; color: #1e3a5f; font-size: 1rem; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.commitment-path { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid #dce5ee; color: #1e3a5f; font-size: 1rem; line-height: 1.5; }
.commitment-bio { max-width: 65ch; margin: 1.5rem 0 0; color: #475569; font-size: 1rem; line-height: 1.65; }
.commitment-quote { margin: 1.5rem 0 0; color: #1e3a5f; }
.commitment-quote p { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
.commitment-quote cite { display: block; margin-top: 0.75rem; color: #475569; font-size: 0.875rem; font-style: normal; }
.commitment-announcement { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 1.5rem; color: #1e3a5f; font-size: 0.875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.commitment-announcement svg { flex: 0 0 16px; width: 16px; height: 16px; }
.board-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #1e3a5f; font-family: 'Barlow', sans-serif; font-size: 0.9375rem; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.board-text-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.board-text-link:focus-visible { outline: 2px solid #2a4f80; outline-offset: 4px; }
.board-archive-link { display: flex; justify-content: center; margin-top: 1.75rem; }
.board-expand { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #dce5ee; }
.board-count { margin: 0; color: #475569; font-family: 'Barlow', sans-serif; font-size: 0.875rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.board-expand-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 16px; border: 1px solid #1e3a5f; border-radius: 4px; background: #fff; color: #1e3a5f; font-family: 'Barlow', sans-serif; font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: background-color 160ms ease-out, color 160ms ease-out; }
.board-expand-button svg { width: 16px; height: 16px;  }
.board-expand-button[aria-expanded='true'] svg { transform: rotate(-90deg); }
.board-expand-button:hover { background: #1e3a5f; color: #fff; }
.commitment-board-home { scroll-margin-top: 104px; }
.board-home-shell { padding-inline: clamp(20px,4vw,32px); }
.board-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 640px) {
  .commitment-board .commitment-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .commitment-board .commitment-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.5rem; }
  .board-heading { flex-direction: row; align-items: flex-end; gap: 2rem; }
  .board-heading > a { flex-shrink: 0; }
}
.commitment-board-home .commitment-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(5px,1.5vw,12px); }
.commitment-board-home .commitment-link { height: clamp(112px,96cqw,150px); padding: .45rem .18rem; gap: .3rem; border-radius: 6px; }
.commitment-board-home .commitment-crest { width: 56%; max-height: clamp(32px,36cqw,56px); }
.commitment-board-home .commitment-name { font-size: clamp(.875rem,15cqw,1.4rem); line-height: 1; }
.commitment-board-home .commitment-school { margin-top: .2rem; font-size: clamp(.75rem,10cqw,1rem); line-height: 1.05; }
@media (width < 1024px) {
  .commitment-board-home .commitment-card:nth-child(n + 9) { display: none; }
}
@media (min-width: 1024px) {
  .commitment-board-home .commitment-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
}
/* Player details share the advisor section's focused native-dialog pattern. */
.commitment-dialog { width: min(960px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 0; border-radius: 8px; background: #fff; color: #1e3a5f; font-family: 'Barlow', sans-serif; box-shadow: 0 24px 80px rgba(10,28,49,0.22); scrollbar-width: thin; scrollbar-color: #94a8bd #eef4f8; }
.commitment-dialog:not([open]) { display: none; }
.commitment-dialog::backdrop { background: rgba(12,29,50,0.72); }
.commitment-dialog[open] { animation: commitment-open 180ms cubic-bezier(0.16,1,0.3,1); }
.commitment-dialog-layout { display: grid; }
.commitment-dialog-art { display: grid; place-items: center; min-width: 0; padding: 20px; background: #1e3a5f; }
.commitment-dialog-art img { display: block; width: 100%; height: auto; max-height: 44dvh; object-fit: contain; }
.commitment-dialog-body { min-width: 0; padding: 28px 24px; }
.commitment-dialog-body > h2 { margin: 0 0 1.5rem; padding-right: 20px; font-size: clamp(2.5rem,5vw,3.75rem); font-weight: 900; line-height: 0.98; text-transform: uppercase; overflow-wrap: anywhere; }
.commitment-dialog-body .commitment-profile { padding: 0; }
.commitment-dialog-tools { position: sticky; top: 0; z-index: 2; height: 0; }
.commitment-dialog-close { position: absolute; top: 10px; right: 10px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #dce5ee; border-radius: 4px; background: #fff; color: #1e3a5f; cursor: pointer; }
.commitment-dialog-close svg { width: 20px; height: 20px; }
.commitment-dialog-close:hover { background: #1e3a5f; color: #fff; border-color: #1e3a5f; }
.commitment-dialog-close:focus-visible { outline: 3px solid #2a4f80; outline-offset: 3px; }
.commitment-dialog ::selection { background: #a8d0e3; color: #1e3a5f; }
@keyframes commitment-open { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 760px) {
  .commitment-dialog-layout { grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); }
  .commitment-dialog-art { position: sticky; top: 0; align-self: start; min-height: 100%; padding: 24px; }
  .commitment-dialog-art img { max-height: calc(100dvh - 96px); }
  .commitment-dialog-body { padding: 56px 36px 36px; }
}
.commitments-page { margin: 0; background: #fff; color: #1e3a5f; font-family: 'Barlow', sans-serif; font-size: 17px; line-height: 1.6; }
.commitments-page ::selection { background: #a8d0e3; color: #1e3a5f; }
.commitments-page .font-display { font-family: 'PCG Barlow Condensed', 'Barlow Condensed', sans-serif; }
.board-page-shell { max-width: 1152px; margin-inline: auto; padding: clamp(2rem, 4.5vw, 4rem) clamp(20px,4vw,32px) 0; }
.board-page-header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.board-page-header h1 { margin: 0; font-size: clamp(1.65rem,4vw,2.75rem); font-weight: 900; line-height: 1; text-transform: uppercase; }
.board-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 19rem);
  border: 1px solid #cedae4;
  border-radius: 8px;
  background: #fff;
}
.board-control { position: relative; min-width: 0; }
.board-control + .board-control::before {
  content: ''; position: absolute; top: 10px; bottom: 10px; left: 0;
  width: 1px; background: #dce5ee; pointer-events: none;
}
.board-control label {
  position: absolute; top: 5px; left: 14px; z-index: 1; pointer-events: none;
  color: #50657b; font-size: .75rem; font-weight: 500; line-height: 1.2;
}
.board-select { position: relative; }
.board-select::after {
  content: ''; position: absolute; right: 15px; top: 50%; width: 6px; height: 6px;
  border: solid #50657b; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.board-tools select {
  appearance: none; display: block; box-sizing: border-box; width: 100%; height: 50px;
  padding: 18px 29px 4px 14px; border: 0; border-radius: 7px;
  background: transparent; color: #1e3a5f; font: inherit; font-size: 1rem;
  font-weight: 600; line-height: 1.25; cursor: pointer;
}
.board-tools select:hover { background: #f5f8fb; }
.board-tools select:focus-visible { outline: 2px solid #315d87; outline-offset: -2px; }
@media (max-width: 600px) {
  .board-page-header { flex-direction: column; align-items: stretch; gap: 1rem; }
  .board-tools { width: 100%; }
}
.board-empty { padding: 3rem 1.25rem; border: 1px solid #dce5ee; border-radius: 8px; color: #475569; text-align: center; }
.board-empty h2 { margin: 0; color: #1e3a5f; font-size: 2rem; font-weight: 700; text-transform: uppercase; }
.board-empty p { margin-top: 0.5rem; }
.board-empty button { min-height: 44px; margin-top: 1rem; padding: 0.5rem 1rem; border: 1px solid #1e3a5f; border-radius: 4px; background: #fff; color: #1e3a5f; font: inherit; cursor: pointer; }
.board-empty button:hover { background: #eef4f8; }
.board-empty button:focus-visible { outline: 2px solid #2a4f80; outline-offset: 4px; }
.board-close { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; margin-block: clamp(3rem,6vw,5rem); padding: clamp(1.5rem,4vw,3rem); border-radius: 8px; background: #1e3a5f; color: #fff; }
.board-close > div:first-child { flex: 1; min-width: min(100%,16rem); }
.board-close h2 { font-size: clamp(2rem,4vw,3rem); font-weight: 700; line-height: 1; text-transform: uppercase; }
.board-close p { max-width: 46ch; margin-top: 1rem; color: #a8d0e3; font-size: 1rem; line-height: 1.6; }
.board-close-links { display: grid; gap: 0.5rem; }
.board-primary-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.75rem 1.25rem; border-radius: 4px; background: #a8d0e3; color: #1e3a5f; font-family: 'PCG Barlow Condensed', 'Barlow Condensed', sans-serif; font-size: 1.0625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; text-align: center; }
.board-primary-link:hover { background: #fff; }
.board-close .board-text-link { color: #fff; justify-content: center; }
.board-close a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.board-page-footer { border-top: 1px solid #dce5ee; }
.board-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; max-width: 1152px; margin-inline: auto; padding: 2rem clamp(20px,4vw,32px); }
.board-footer-inner img { display: block; width: 200px; max-width: 100%; height: auto; }
.board-footer-inner a { color: #1e3a5f; font-size: 0.9375rem; }
.board-footer-inner a:focus-visible { outline: 2px solid #2a4f80; outline-offset: 4px; }
.board-skip { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 100; padding: 0.75rem 1rem; border-radius: 4px; transform: translateY(-200%); background: #1e3a5f; color: #fff; }
.board-skip:focus { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .site-nav *, .commitment-board *, .board-skip, .commitment-dialog { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}



.commitment-level {
  position: absolute; top: .55rem; left: .55rem; padding: .13rem .42rem;
  border: 1px solid #c4d4e0; border-radius: 5px; background: #fff;
  color: #34516a; font: 700 .72rem/1.25 'Barlow', sans-serif; letter-spacing: .035em;
}
.commitment-card[data-division="D1"] .commitment-level { background: #e1edf7; border-color: #adcadf; color: #234969; }
.commitment-card[data-division="D2"] .commitment-level { background: #e0f0eb; border-color: #b0d3c9; color: #28584d; }
.commitment-card[data-division="D3"] .commitment-level { background: #ebe7f3; border-color: #cdc3df; color: #53456d; }
.commitment-card[data-division="NAIA"] .commitment-level { background: #f7efdb; border-color: #dfcea2; color: #675222; }
.commitment-card[data-division="JUCO"] .commitment-level { background: #f5e7df; border-color: #ddc3b5; color: #764a38; }
/* Keep level selection functional in script-free previews. */
.commitment-board-archive:has(option[value="D1"]:checked) .commitment-card:not([data-division="D1"]),
.commitment-board-archive:has(option[value="D2"]:checked) .commitment-card:not([data-division="D2"]),
.commitment-board-archive:has(option[value="D3"]:checked) .commitment-card:not([data-division="D3"]),
.commitment-board-archive:has(option[value="JUCO"]:checked) .commitment-card:not([data-division="JUCO"]),
.commitment-board-archive:has(option[value="NAIA"]:checked) .commitment-card:not([data-division="NAIA"]) { display: none; }
.commitment-board-archive:has(option[value="D1"]:checked):not(:has(.commitment-card[data-division="D1"])) .board-empty,
.commitment-board-archive:has(option[value="D2"]:checked):not(:has(.commitment-card[data-division="D2"])) .board-empty,
.commitment-board-archive:has(option[value="D3"]:checked):not(:has(.commitment-card[data-division="D3"])) .board-empty,
.commitment-board-archive:has(option[value="JUCO"]:checked):not(:has(.commitment-card[data-division="JUCO"])) .board-empty,
.commitment-board-archive:has(option[value="NAIA"]:checked):not(:has(.commitment-card[data-division="NAIA"])) .board-empty { display: block !important; }

.commitment-board-archive:has(#commitment-sort option[value="level"]:checked) .commitment-card { order: var(--level-rank); }
.commitment-board-archive:has(#commitment-sort option[value="name"]:checked) .commitment-card { order: var(--name-rank); }

body:has(.commitment-dialog[open]) { overflow: hidden; }
