:root {
  --bg: #0f1b2d;
  --panel: #1c2c44;
  --panel-inner: #16243a;
  --muted: #c9d4e3;
  --accent: #f2b134;
  --text: #ffffff;
  --radius: 6px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

main { max-width: 960px; margin: 0 auto; padding: 12px 16px 24px; }

.site-header {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px;
  max-width: 960px; margin: 0 auto; padding: 10px 16px;
  border-bottom: 1px solid var(--panel);
}
.site-name { color: var(--text); font-weight: 700; text-decoration: none; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 15px; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }

.site-footer {
  max-width: 960px; margin: 0 auto; padding: 12px 16px 20px;
  border-top: 1px solid var(--panel); font-size: 15px;
}

/* Homepage banner photo */
.banner { margin: 0 0 8px; }
.banner img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 600px) { .banner img { height: 160px; } }

/* Profile card */
.profile-card { background: var(--bg); padding: 4px 0 12px; border-bottom: 1px solid var(--panel); }
.profile-top { display: flex; gap: 14px; align-items: flex-start; }
.headshot { width: 165px; flex-shrink: 0; overflow: hidden; border-radius: var(--radius); }
.headshot img { width: 165px; height: 200px; object-fit: cover; border-radius: var(--radius); }
.initials {
  width: 165px; height: 200px; border-radius: var(--radius); background: var(--panel);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; color: var(--muted);
}
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.profile-id h1 { font-size: 28px; line-height: 1.15; margin: 2px 0 4px; }
.profile-id p { margin: 0; color: var(--muted); font-size: 15px; }
.profile-id .gpa { margin-top: 4px; }
.profile-id .gpa b { color: var(--accent); font-size: 17px; }
.attributes { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 6px 0 0; font-size: 14px; }
.attributes div { display: flex; gap: 4px; }
.attributes dt { color: var(--muted); }
.attributes dd { margin: 0; font-weight: 600; }


.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
@media (max-width: 480px) {
  .headshot, .headshot img, .initials { width: 120px; height: 146px; }
  .actions .btn { padding: 6px 10px; }
}
.btn {
  display: inline-block; padding: 8px 14px; border-radius: var(--radius);
  border: 1px solid #5b6f8c; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* Section tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }
.tile { position: relative; background: var(--panel); border-radius: var(--radius); padding: 10px 12px; }
.tile:hover { outline: 1px solid var(--accent); }
.tile h2 { font-size: 17px; margin: 0 0 4px; }
.tile p { margin: 0 0 4px; color: var(--muted); font-size: 15px; }
.tile-lines { list-style: none; margin: 0 0 4px; padding: 0; color: var(--muted); font-size: 15px; }
.tile .more { font-size: 15px; font-weight: 600; text-decoration: none; }
.tile .more::after { content: ""; position: absolute; inset: 0; } /* whole tile clickable */

/* Testimonials */
.quote-strip { margin-top: 12px; }
.testimonial { margin: 0; background: var(--panel-inner); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 8px 12px; }
.testimonial blockquote { margin: 0; font-style: italic; }
.testimonial figcaption { margin-top: 4px; font-size: 14px; color: var(--muted); }
.badge-sample { display: inline-block; margin-left: 6px; padding: 0 6px; border: 1px solid var(--accent); border-radius: 3px; color: var(--accent); font-size: 12px; font-style: normal; text-transform: uppercase; letter-spacing: .05em; }

/* Detail pages */
.page-title { font-size: 24px; margin: 4px 0 10px; }
.panel { background: var(--panel); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 8px; }
.panel h2 { font-size: 16px; margin: 0 0 6px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.panel p { margin: 0 0 4px; }
.muted { color: var(--muted); font-size: 15px; }
.big { font-size: 30px; font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 2px 0; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 6px 0; border-top: 1px solid var(--panel-inner); }
.timeline li:first-child { border-top: 0; }
.season { color: var(--accent); font-weight: 700; }
.data { border-collapse: collapse; width: 100%; font-size: 15px; }
.data th, .data td { text-align: left; padding: 4px 6px; border-bottom: 1px solid var(--panel-inner); }
.data th { color: var(--muted); font-weight: 600; }
.gcse tbody { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.gcse tr { display: flex; justify-content: space-between; border-bottom: 1px solid var(--panel-inner); }
.gcse td { border: 0; }
.gcse td:last-child { font-weight: 700; }
@media (max-width: 420px) { .gcse tbody { grid-template-columns: 1fr; } }
.quote-list { display: grid; gap: 6px; }

/* Video */
.video-facade, .video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-facade .play {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }
.video-card { display: flex; flex-direction: column; background: var(--panel-inner); border-radius: var(--radius); padding: 8px 10px; }
.video-card h3 { font-size: 16px; margin: 0 0 2px; }
.video-card p { margin: 0 0 6px; }
.video-card .video-facade, .video-card .video-frame { margin-top: auto; } /* line players up along the bottom */

/* Photos */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (max-width: 600px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.photo-grid figcaption { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* Detail page with a tall photo on the right (wide screens only) */
.page-layout.has-feature { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.page-feature { position: sticky; top: 12px; }
.page-feature img { width: 100%; height: auto; border-radius: var(--radius); }
@media (max-width: 800px) {
  .page-layout.has-feature { display: block; }
  .page-feature { display: none; }
}
