/* Extend the marquee's type and palette without altering project media colors.
   Anton is for page display; Google Sans is for content headings and reading. */
:root {
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: var(--body);
  --portfolio-surface: #111111;
  --portfolio-text: #d2d2c8;
  --portfolio-muted: #aaa99c;
  --portfolio-line: rgba(242, 232, 92, .25);
  --portfolio-heading: clamp(3rem, 6.4vw, 6.5rem);
  --portfolio-item-heading: clamp(1.9rem, 3.1vw, 3rem);
  color-scheme: dark;
  background: var(--portfolio-surface);
  color: var(--portfolio-text);
}

body, .about-section, .experience-section, .works-section, .site-footer {
  background: var(--portfolio-surface);
  color: var(--portfolio-text);
}
::selection { background: var(--hero-yellow); color: var(--ink); }
:focus-visible { outline-color: var(--hero-yellow); }
.skip-link { background: var(--hero-yellow); color: var(--ink); }
.nav-link { opacity: .75; }

/* A single numbered index, display scale, and rule treatment across sections. */
.section-heading,
.works-section > .section-heading {
  color: var(--portfolio-muted);
  border-color: var(--portfolio-line);
  font-family: var(--mono);
  font-size: .8125rem;
  line-height: 1.5;
  letter-spacing: .025em;
}
.about-section, .experience-section, .works-section {
  padding-top: clamp(64px, 7vw, 112px);
  padding-bottom: clamp(72px, 8vw, 128px);
}
.section-statement, .about-main .section-statement, .works-intro h2 {
  font-family: var(--display);
  font-size: var(--portfolio-heading);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.015em;
  text-transform: uppercase;
  color: var(--hero-yellow);
  white-space: normal;
}
.section-statement, .about-main .section-statement { margin: 0 0 40px; }
.section-transition > span { font-family: var(--display); font-weight: 400; letter-spacing: -.015em; }

/* About: balanced columns and an education record, not a competing poster. */
.about-overview {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 96px);
  margin-top: 56px;
}
.about-intro { max-width: 65ch; }
.about-intro p, .experience-highlights, .work-detail,
.works-intro-description {
  color: var(--portfolio-text);
  font-size: 1.125rem;
  line-height: 1.65;
}
.about-keyword, .experience-keyword { color: var(--hero-yellow); }
.about-quote { margin-top: 36px; padding: 4px 0 4px 22px; }
.about-traits span, .work-tags span {
  border: 1px solid var(--portfolio-line);
  border-radius: 0;
  color: var(--portfolio-text);
  font-family: var(--mono);
  font-size: .8125rem;
  line-height: 1.5;
  padding: 8px 11px;
}
.about-reference {
  justify-self: stretch;
  width: 100%;
  background: #181815;
  border: 1px solid var(--portfolio-line);
  border-top: 2px solid var(--hero-yellow);
  padding: clamp(24px, 3vw, 44px);
}
.education-block h4, .education-block p { white-space: normal; }
.about-reference .small-heading, .about-reference .education-entry-meta p {
  font-family: var(--mono);
  font-size: .8125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--portfolio-muted);
}
.education-entry-meta { flex-wrap: wrap; gap: 6px 18px; margin: 30px 0 18px; }
.about-reference .education-block h4 {
  font-family: var(--body);
  font-size: clamp(1.6rem, 2.25vw, 2.25rem);
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: 0;
}
.education-programs { gap: 2px; }
.about-reference .education-programs p { color: var(--portfolio-text); font-size: 1rem; font-style: italic; line-height: 1.45; }
.about-reference .education-programs .education-focus { font-style: inherit; }
.about-reference .education-gpa {
  color: var(--portfolio-muted);
  font-family: var(--mono);
  font-size: .8125rem;
  border-color: var(--portfolio-line);
  margin-top: 22px;
  padding-top: 18px;
}

/* Experience and project titles share the same typographic hierarchy. */
.experience-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); align-items: start; gap: 48px; margin-top: 56px; }
.experience-list { min-width: 0; max-width: none; }
.experience-item { border-color: var(--portfolio-line); padding-bottom: 48px; margin-bottom: 48px; }
.experience-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.experience-item h3, .work-content h3 {
  font-family: var(--body);
  font-size: var(--portfolio-item-heading);
  font-weight: 550;
  line-height: 1.16;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--hero-yellow);
}
.experience-meta, .experience-skills, .work-number, .work-status,
.work-artifact, .work-figure figcaption {
  font-family: var(--mono);
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--portfolio-muted);
  letter-spacing: 0;
}
.experience-meta { flex-wrap: wrap; margin-bottom: 22px; }
.experience-company { margin-top: 12px; color: var(--portfolio-text); line-height: 1.6; }
.experience-highlights { max-width: 65ch; }
.experience-highlights li::marker { color: var(--hero-yellow); }
.experience-skills { max-width: 65ch; }
.experience-keyword { white-space: normal; }

.works-intro { padding: 56px 0; gap: 48px; }
.work-list, .work-entry { border-color: var(--portfolio-line); }
.work-entry { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); }
.work-entry[hidden] { display: none; }
.work-content h3 { margin-bottom: 24px; }
.work-status { text-transform: none; margin-bottom: 18px; }
.work-link {
  font-family: var(--mono);
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--hero-yellow);
  border-color: var(--portfolio-line);
}
.work-link { gap: 18px; }
.work-link span[aria-hidden] { flex-shrink: 0; }
.work-link:focus-visible, .video-card :focus-visible { outline-color: var(--hero-yellow); }
.work-link:hover { border-color: var(--hero-yellow); }
.video-trigger small { font-family: var(--mono); }
.play-button { border-color: var(--hero-yellow); color: var(--hero-yellow); }

/* Contact stays concise and belongs to the same continuous dark surface. */
.site-footer { padding-top: 0; padding-bottom: 32px; }
.footer-right { border-color: var(--portfolio-line); padding-top: 28px; }
.footer-email, .footer-links {
  font-family: var(--mono);
  color: var(--hero-yellow);
  font-size: .875rem;
}
.footer-links { font-size: .8125rem; }
.footer-links a:hover { color: var(--hero-yellow); text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 1100px) {
  .about-overview, .experience-layout { grid-template-columns: minmax(0, 1fr); }
  .about-reference { max-width: none; }
  .experience-layout { gap: 0; }
  .work-entry { grid-template-columns: 64px minmax(0, 1fr); }
  .work-media, .work-figure { grid-column: 2; max-width: none; }
}
@media (max-width: 620px) {
  .about-overview, .experience-layout { margin-top: 36px; }
  .section-statement, .about-main .section-statement { margin-bottom: 30px; }
  .about-intro p, .experience-highlights, .work-detail,
  .works-intro-description { font-size: 1rem; }
  .works-intro { padding: 36px 0; }
  .work-entry { grid-template-columns: minmax(0, 1fr); }
  .work-media, .work-figure { grid-column: 1; }
  .work-media-unlock, .work-media-carrot-video, .work-media-snoots-video { aspect-ratio: 16 / 9; }
  .experience-meta { gap: 6px 16px; }
  .experience-item { padding-bottom: 36px; margin-bottom: 36px; }
  .footer-email { font-size: .8125rem; }
}
