/* ============================================================
   UCF CLASSLESS THEME
   University of Central Florida — Brand-Aligned Stylesheet
   ============================================================
   Fonts   : Playfair Display (serif) · DM Sans (sans) · JetBrains Mono
   Colors  : UCF Gold #FFC904 · UCF Black · warm neutrals
   Usage   : <link rel="stylesheet" href="ucf-classless.css">
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400;1,9..40,500&family=JetBrains+Mono:ital,wght@0,400;0,500;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');


/* ── Design Tokens ─────────────────────────────────────────── */
:root {

  /* Typefaces */
  --font-serif  : 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans   : 'DM Sans', system-ui, sans-serif;
  --font-mono   : 'JetBrains Mono', 'Courier New', monospace;

  /* UCF Brand Palette */
  --ucf-gold        : #FFC904;
  --ucf-gold-light  : #FFE375;
  --ucf-gold-pale   : #FFF6CC;
  --ucf-gold-dark   : #C99B00;
  --ucf-gold-deeper : #8A6A00;

  --ucf-black       : #0D0D0D;
  --ucf-charcoal    : #1C1C1C;
  --ucf-dark        : #2E2E2E;

  /* Neutrals (warm-tinted to complement gold) */
  --neutral-50  : #FAFAF8;
  --neutral-100 : #F3F2EE;
  --neutral-200 : #E5E3DC;
  --neutral-300 : #CCC9BE;
  --neutral-400 : #A8A49A;
  --neutral-500 : #848077;
  --neutral-600 : #635F57;
  --neutral-700 : #474440;
  --neutral-800 : #2E2C29;
  --neutral-900 : #1A1917;

  /* Semantic Color Tokens */
  --color-bg          : var(--neutral-50);
  --color-surface     : #FFFFFF;
  --color-surface-2   : var(--neutral-100);
  --color-surface-3   : var(--neutral-200);

  --color-text        : var(--neutral-900);
  --color-text-2      : var(--neutral-600);
  --color-text-3      : var(--neutral-400);
  --color-text-inv    : var(--ucf-black);

  --color-accent      : var(--ucf-gold);
  --color-accent-dark : var(--ucf-gold-dark);
  --color-accent-bg   : var(--ucf-gold-pale);
  --color-accent-text : var(--ucf-gold-deeper);

  --color-border      : var(--neutral-200);
  --color-border-2    : var(--neutral-300);

  --color-link        : var(--ucf-gold-dark);
  --color-link-hover  : var(--ucf-gold-deeper);

  --color-danger      : #C0392B;
  --color-danger-bg   : #FDECEA;
  --color-success     : #1E7E5E;
  --color-success-bg  : #E6F6F1;
  --color-warning     : #B45309;
  --color-warning-bg  : #FEF3C7;

  /* Type Scale (8px grid) */
  --text-xs   : 0.75rem;    /* 12px */
  --text-sm   : 0.875rem;   /* 14px */
  --text-base : 1rem;       /* 16px */
  --text-lg   : 1.125rem;   /* 18px */
  --text-xl   : 1.25rem;    /* 20px */
  --text-2xl  : 1.5rem;     /* 24px */
  --text-3xl  : 2rem;       /* 32px */
  --text-4xl  : 2.75rem;    /* 44px */

  /* Spacing (8px grid) */
  --space-1 : 0.25rem;
  --space-2 : 0.5rem;
  --space-3 : 0.75rem;
  --space-4 : 1rem;
  --space-5 : 1.25rem;
  --space-6 : 1.5rem;
  --space-8 : 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Shape */
  --radius-sm   : 4px;
  --radius-md   : 6px;
  --radius-lg   : 10px;
  --radius-xl   : 14px;
  --radius-pill : 9999px;

  /* Elevation */
  --shadow-sm : 0 1px 2px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.08);
  --shadow-md : 0 2px 6px rgba(0,0,0,.07), 0 4px 14px rgba(0,0,0,.1);
  --shadow-lg : 0 4px 12px rgba(0,0,0,.08), 0 10px 28px rgba(0,0,0,.12);

  /* Motion */
  --ease-out     : cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out  : cubic-bezier(0.45, 0, 0.55, 1);
  --dur-fast     : 120ms;
  --dur-normal   : 200ms;
  --dur-slow     : 320ms;
}

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg        : #141412;
    --color-surface   : #1C1B18;
    --color-surface-2 : #242320;
    --color-surface-3 : #2E2D29;

    --color-text      : #EDEADE;
    --color-text-2    : #A09C90;
    --color-text-3    : #6B6860;
    --color-text-inv  : #0D0D0D;

    --color-border    : #2E2D29;
    --color-border-2  : #3D3C37;

    --color-link      : var(--ucf-gold);
    --color-link-hover: var(--ucf-gold-light);

    --color-accent-bg : rgba(255, 201, 4, 0.1);
    --color-accent-text: var(--ucf-gold-light);

    --color-danger    : #E57373;
    --color-danger-bg : rgba(192, 57, 43, 0.15);
    --color-success   : #4DB88B;
    --color-success-bg: rgba(30, 126, 94, 0.15);
    --color-warning   : #F5A623;
    --color-warning-bg: rgba(180, 83, 9, 0.15);
  }
}


/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100dvh;
}


/* ── Layout Containers ─────────────────────────────────────── */
main, article {
  max-width: 76ch;
  margin-inline: auto;
  padding: var(--space-12) var(--space-6);
}

section {
  margin-bottom: var(--space-10);
}

/* ── Headings ──────────────────────────────────────────────── */

/* h1 & h2 — Playfair Display (serif, distinguished) */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-wrap: balance;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

/* h3 transitions — italic serif for elegance */
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-wrap: balance;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

/* h4–h6 — DM Sans (sans, functional) */
h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  text-wrap: balance;
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-2);
}

/* First heading on page needs no top margin */
h1:first-child, h2:first-child, h3:first-child { margin-top: 0; }

/* Lead paragraph — larger intro text after h1 */
h1 + p {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--color-text-2);
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

/* Gold accent rule under h2 */
h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--ucf-gold);
  border-radius: var(--radius-pill);
  margin-top: var(--space-3);
}


/* ── Body Text ─────────────────────────────────────────────── */
p {
  max-width: 68ch;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

p:last-child { margin-bottom: 0; }

strong, b {
  font-weight: 600;
  color: var(--color-text);
}

em, i { font-style: italic; }

small {
  font-size: var(--text-sm);
  color: var(--color-text-2);
}

mark {
  background-color: var(--ucf-gold-pale);
  color: var(--ucf-gold-deeper);
  padding: 0.05em 0.3em;
  border-radius: 3px;
}

@media (prefers-color-scheme: dark) {
  mark {
    background-color: rgba(255, 201, 4, 0.2);
    color: var(--ucf-gold-light);
  }
}

abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

sub, sup {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* ── Links ─────────────────────────────────────────────────── */
a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--color-link) 40%, transparent);
  transition:
    color var(--dur-fast) var(--ease-out),
    text-decoration-color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--color-link-hover);
  text-decoration-color: var(--color-link-hover);
}

a:focus-visible {
  outline: 2px solid var(--ucf-gold);
  outline-offset: 3px;
  border-radius: 3px;
}


/* ── Horizontal Rule ───────────────────────────────────────── */
hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-10) 0;
  position: relative;
}

/* Centered gold diamond ornament */
hr::after {
  content: '◆';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-bg);
  color: var(--ucf-gold);
  font-size: 0.6rem;
  padding: 0 var(--space-3);
  line-height: 1;
}


/* ── Blockquote ────────────────────────────────────────────── */
blockquote {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-2);
  border-left: 4px solid var(--ucf-gold);
  background: var(--color-accent-bg);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-8) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

blockquote p {
  font-size: inherit;
  color: inherit;
  max-width: none;
  margin-bottom: var(--space-2);
}

blockquote p:last-of-type { margin-bottom: 0; }

blockquote footer,
blockquote cite {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 600;
  color: var(--color-accent-text);
  margin-top: var(--space-4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

blockquote footer::before { content: '— '; }


/* ── Lists ─────────────────────────────────────────────────── */
ul, ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}

ul { list-style-type: disc; }
ol { list-style-type: decimal; }

ul ul, ol ol, ul ol, ol ul {
  margin-top: var(--space-1);
  margin-bottom: var(--space-2);
}

li {
  margin-bottom: var(--space-2);
  color: var(--color-text);
  padding-left: var(--space-1);
}

li::marker { color: var(--ucf-gold-dark); }

dl { margin-bottom: var(--space-5); }

dt {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-2);
  margin-top: var(--space-4);
}

dd {
  padding-left: var(--space-4);
  color: var(--color-text);
  margin-top: var(--space-1);
  margin-bottom: var(--space-2);
  border-left: 2px solid var(--color-border);
}


/* ── Code & Pre ────────────────────────────────────────────── */
code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  font-weight: 500;
  background: var(--color-surface-2);
  color: var(--color-danger);
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

pre {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.75;
  background: var(--ucf-charcoal);
  color: #E8E6DF;
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-6);
  overflow-x: auto;
  border: 1px solid rgba(255, 201, 4, 0.15);
  box-shadow: var(--shadow-md);
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
  border: none;
  font-size: 1em;
  font-weight: 400;
}

pre::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: var(--ucf-gold);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-4);
}

kbd {
  font-family: var(--font-mono);
  font-size: 0.8em;
  font-weight: 500;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-2);
  border-bottom-width: 3px;
  border-radius: var(--radius-sm);
  padding: 0.1em 0.45em;
  color: var(--color-text);
}


/* ── Tables ────────────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  margin-bottom: var(--space-8);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

caption {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-2);
  text-align: left;
  padding: var(--space-3) var(--space-4);
  caption-side: top;
  font-family: var(--font-sans);
}

thead {
  background: var(--ucf-black);
}

th {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ucf-gold);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 2px solid var(--ucf-gold);
  white-space: nowrap;
}

td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: top;
}

tbody tr:last-child td { border-bottom: none; }

tbody tr:hover { background: var(--color-accent-bg); }

tfoot td {
  font-weight: 600;
  background: var(--color-surface-2);
  border-top: 2px solid var(--color-border-2);
}


/* ── Forms ─────────────────────────────────────────────────── */
label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
  letter-spacing: 0.01em;
}

input,
textarea,
select {
  display: block;
  width: 100%;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-2);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  line-height: 1.5;
  transition:
    border-color var(--dur-fast) var(--ease-out),
    box-shadow   var(--dur-fast) var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  margin-bottom: var(--space-4);
}

input[type="checkbox"],
input[type="radio"] {
  display: inline-block;
  width: auto;
  margin: 0 var(--space-2) 0 0;
  margin-bottom: 0;
  vertical-align: middle;
  cursor: pointer;
  accent-color: var(--ucf-gold-dark);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--ucf-gold);
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
}

input:hover,
textarea:hover,
select:hover {
  border-color: var(--neutral-400);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--ucf-gold-dark);
  box-shadow: 0 0 0 3px rgba(255, 201, 4, 0.25);
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-3);
  font-weight: 400;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23848077' d='m7 10 5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  padding-right: var(--space-8);
  cursor: pointer;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

fieldset {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-6);
}

legend {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-2);
  padding: 0 var(--space-2);
}

input:disabled,
textarea:disabled,
select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--color-surface-2);
}


/* ── Buttons ───────────────────────────────────────────────── */
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ucf-black);
  background: var(--ucf-gold);
  border: 2px solid var(--ucf-gold);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-5);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  text-decoration: none;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color     var(--dur-fast) var(--ease-out),
    box-shadow       var(--dur-fast) var(--ease-out),
    transform        var(--dur-fast) var(--ease-out);
}

button:hover {
  background: var(--ucf-gold-dark);
  border-color: var(--ucf-gold-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
  box-shadow: none;
}

button:focus-visible {
  outline: 2px solid var(--ucf-gold);
  outline-offset: 3px;
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}


/* ── Navigation ────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex-wrap: wrap;
}

nav a {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-2);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  letter-spacing: 0.01em;
  transition:
    color      var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out);
}

nav a:hover {
  color: var(--color-text);
  background: var(--color-surface-3);
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--ucf-gold-deeper);
  background: var(--color-accent-bg);
  border-bottom: 2px solid var(--ucf-gold);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

@media (prefers-color-scheme: dark) {
  nav a[aria-current="page"] {
    color: var(--ucf-gold);
  }
}


/* ── Header ────────────────────────────────────────────────── */
header {
  background: var(--ucf-black);
  border-bottom: 3px solid var(--ucf-gold);
  padding: var(--space-4) var(--space-6);
  color: #FFFFFF;
}

header a {
  color: rgba(255, 255, 255, 0.8);
}

header a:hover {
  color: var(--ucf-gold);
  text-decoration: none;
}

header nav a {
  color: rgba(255, 255, 255, 0.7);
}

header nav a:hover {
  color: var(--ucf-gold);
  background: rgba(255, 201, 4, 0.1);
}

header nav a[aria-current="page"] {
  color: var(--ucf-gold);
  background: rgba(255, 201, 4, 0.12);
  border-bottom-color: var(--ucf-gold);
}


/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--ucf-black);
  border-top: 3px solid var(--ucf-gold);
  color: var(--neutral-400);
  font-size: var(--text-sm);
  padding: var(--space-8) var(--space-6);
}

footer a {
  color: var(--ucf-gold);
}

footer a:hover {
  color: var(--ucf-gold-light);
  text-decoration-color: var(--ucf-gold-light);
}


/* ── Aside ─────────────────────────────────────────────────── */
aside {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--ucf-gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-5) var(--space-6);
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
}


/* ── Details / Accordion ───────────────────────────────────── */
details {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  background: var(--color-surface);
}

summary {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text);
  user-select: none;
  transition: background var(--dur-fast);
}

summary::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ucf-gold-dark);
  border-bottom: 2px solid var(--ucf-gold-dark);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur-normal) var(--ease-out);
  flex-shrink: 0;
}

details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}

summary::-webkit-details-marker { display: none; }
summary:hover { background: var(--color-surface-2); }

details[open] summary {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-accent-bg);
  color: var(--color-accent-text);
}

details > *:not(summary) {
  padding: var(--space-5);
}


/* ── Images & Figures ──────────────────────────────────────── */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: var(--space-8) 0;
}

figure img {
  border-radius: var(--radius-lg);
  width: 100%;
  border: 1px solid var(--color-border);
}

figcaption {
  font-size: var(--text-sm);
  color: var(--color-text-3);
  text-align: center;
  margin-top: var(--space-2);
  font-style: italic;
}


/* ── Address ───────────────────────────────────────────────── */
address {
  font-style: normal;
  color: var(--color-text-2);
  line-height: 1.8;
  font-size: var(--text-sm);
}


/* ── Selection ─────────────────────────────────────────────── */
::selection {
  background: var(--ucf-gold-pale);
  color: var(--ucf-gold-deeper);
}

@media (prefers-color-scheme: dark) {
  ::selection {
    background: rgba(255, 201, 4, 0.25);
    color: var(--ucf-gold-light);
  }
}


/* ── Focus visible (global) ────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--ucf-gold);
  outline-offset: 3px;
}


/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: var(--color-border-2);
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--ucf-gold-dark); }


/* ── Responsive Typography ─────────────────────────────────── */
@media (max-width: 640px) {
  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }

  main, article { padding: var(--space-8) var(--space-4); }
}


/* ── Print ─────────────────────────────────────────────────── */
@media print {
  body { background: white; color: black; font-size: 12pt; }
  header, footer, nav, button { display: none; }
  a { color: black; }
  a[href]::after { content: ' (' attr(href) ')'; font-size: 0.8em; color: #555; }
  pre { border: 1px solid #ccc; background: #f5f5f5; color: black; }
  h1, h2, h3 { page-break-after: avoid; }
  table { page-break-inside: avoid; }
}
