/* Data x Direction: Setting the Course (UC San Diego, 2025). A navy-and-gold page, distinct from the WMU event.
   Colors follow UC San Diego's navy and gold; no university logos are used. */
.dxd {
  --navy: #182b49;
  --navy-deep: #101e33;
  --gold: #ffcd00;
  --gold-ink: #8a6a00;
  --white: #ffffff;
  background: #f7f8fa;
  color: var(--navy);
  font-family: var(--font-ui);
}
.dxd a { color: #1b4f8a; }
.dxd a:hover { color: var(--navy); }
.dxd :focus-visible { outline-color: var(--gold); }
.dxd .strip { background: var(--navy-deep); }
.dxd .strip a:hover { color: var(--gold); }

.dxd-top { background: var(--navy); position: relative; }
.dxd-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--gold); }
.dxd-top-inner { display: flex; align-items: center; padding-top: 20px; padding-bottom: 14px; }

/* Hero: navy field framed by gold rules, top (header) and bottom */
.dxd-hero { position: relative; background: var(--navy); color: var(--white); padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 96px); border-bottom: 10px solid var(--gold); }
.dxd-eyebrow { position: relative; font: 600 .875rem/1.2 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.dxd-hero h1 { position: relative; max-width: 14em; font: 700 clamp(2.6rem, 7vw, 5.25rem)/1 var(--font-ui); letter-spacing: -.025em; }
.dxd-sub { max-width: 34em; margin-top: 22px; font: 600 clamp(1.15rem, 2.1vw, 1.5rem)/1.3 var(--font-ui); color: var(--gold); }
.dxd-facts { margin-top: 28px; font: 500 1rem/1.5 var(--font-ui); color: #d9e0ea; }

.dxd-body { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 72px; max-width: 1000px; }
.dxd-body section + section { margin-top: 48px; padding-top: 40px; border-top: 2px solid var(--navy); }
.dxd-body h2 { font: 700 clamp(1.6rem, 3vw, 2.25rem)/1.1 var(--font-ui); letter-spacing: -.01em; margin-bottom: 16px; }
.dxd-body p { max-width: 44em; font-size: 1.0625rem; }
.dxd-body p + p { margin-top: 1em; }

.dxd-program { counter-reset: item; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dxd-program li { counter-increment: item; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--white); border-left: 6px solid var(--gold); }
.dxd-program li::before { content: counter(item, decimal-leading-zero); font: 600 .8125rem/1 var(--font-mono); color: var(--gold-ink); }
.dxd-program span { font-weight: 700; font-size: 1.125rem; }
.dxd-program small { font-size: .9375rem; color: #44546b; }

.dxd-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; font-weight: 600; }

.dxd-foot { border-top: 6px solid var(--gold); background: var(--navy); color: #d9e0ea; }
.dxd-foot h2 { color: var(--gold); }
.dxd-foot li a { color: var(--white); text-decoration: none; }
.dxd-foot li a:hover { color: var(--gold); text-decoration: underline; }
.dxd-foot .lockup-name { font: 700 1.25rem/1.2 var(--font-ui); color: var(--white); }
.dxd-foot .lockup-tag { color: var(--gold); }
.dxd-foot .foot-base { border-top-color: rgba(255, 255, 255, .3); color: #d9e0ea; }

@media (max-width: 760px) { .dxd-program { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .dxd-program { grid-template-columns: minmax(0, 1fr); } 