/* Argus Design System tokens and base styles (students theme is applied on the page root).
   Source: the Argus Design System. Fonts are loaded with <link> tags in each page head. */
/* Argus Design System — generated from tokens.json */
:root, [data-theme="master"] {
  --argus-ink: #1B2540;
  --argus-ink-soft: #2C3A5C;
  --argus-bone: #F4EFE5;
  --argus-paper: #E8E0D0;
  --argus-rule: #D8CFBE;
  --argus-muted: #6B7280;
  --argus-gold: #C9A24B;
  --argus-saffron: #E89B3F;
  --argus-indigo: #3B4F8C;
  --argus-gold-deep: #A8843A;
  --argus-saffron-deep: #CE7F26;
  --argus-indigo-deep: #2E3F73;
  --argus-gold-tint: #FBF6EA;
  --argus-saffron-tint: #FFF6E8;
  --argus-indigo-tint: #EDF0F8;
  --argus-red: #A8453A;
  --argus-red-tint: #F6ECEA;
  --argus-green: #3D7A56;
  --argus-green-tint: #EAF1ED;
  --argus-on-ink: #F4EFE5;
  --argus-on-ink-soft: rgba(244,239,229,.66);
  --argus-on-ink-faint: rgba(244,239,229,.14);
  --bg-page: var(--argus-bone);
  --bg-tile: var(--argus-paper);
  --surface-card: var(--argus-bone);
  --surface-sunken: var(--argus-paper);
  --surface-ink: var(--argus-ink);
  --text-strong: var(--argus-ink);
  --text-body: var(--argus-ink-soft);
  --text-muted: var(--argus-muted);
  --text-on-ink: var(--argus-on-ink);
  --border-rule: var(--argus-rule);
  --border-strong: var(--argus-ink);
  --accent: var(--argus-gold);
  --accent-deep: var(--argus-gold-deep);
  --accent-tint: var(--argus-gold-tint);
  --accent-on: var(--argus-ink);
  --accent-text: var(--argus-gold);
  --shadow-none: none;
  --shadow-hover: 0 4px 14px rgba(27, 37, 64, 0.10);
  --shadow-pop: 0 8px 28px rgba(27, 37, 64, 0.14);
  --shadow-modal: 0 24px 60px rgba(27, 37, 64, 0.26);
  --shadow-icon: 0 12px 24px rgba(27, 37, 64, 0.22);
}
[data-theme="students"] {
  --bg-page: var(--argus-saffron-tint);
  --accent: var(--argus-saffron);
  --accent-deep: var(--argus-saffron-deep);
  --accent-tint: var(--argus-saffron-tint);
  --accent-on: var(--argus-ink);
  --accent-text: var(--argus-saffron);
}
[data-theme="admissions"] {
  --bg-page: var(--argus-indigo-tint);
  --accent: var(--argus-indigo);
  --accent-deep: var(--argus-indigo-deep);
  --accent-tint: var(--argus-indigo-tint);
  --accent-on: var(--argus-bone);
  --accent-text: var(--argus-indigo);
}
:root {
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;
  --space-13: 128px;
  --pad-card: 28px;
  --pad-card-lg: 32px;
  --pad-button-y: 10px;
  --pad-button-x: 18px;
  --gap-section: 64px;
  --rule-width: 1px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-pill: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 999px;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fs-eyebrow: 11px;
  --lh-eyebrow: 1;
  --fs-caption: 12px;
  --lh-caption: 1.4;
  --fs-mono: 13px;
  --lh-mono: 1.5;
  --fs-body-sm: 13px;
  --lh-body-sm: 1.5;
  --fs-body: 15px;
  --lh-body: 1.55;
  --fs-body-lg: 17px;
  --lh-body-lg: 1.65;
  --fs-subhead: 20px;
  --lh-subhead: 1.25;
  --fs-heading: 30px;
  --lh-heading: 1.12;
  --fs-title: 34px;
  --lh-title: 1.1;
  --fs-display: 48px;
  --lh-display: 1.05;
  --fs-display-lg: 64px;
  --lh-display-lg: 1.02;
  --track-eyebrow: 0.22em;
  --track-label: 0.08em;
  --track-caption: 0.04em;
  --track-display: -0.015em;
  --track-heading: -0.005em;
  --track-wordmark: -0.01em;
  --measure-prose: 65ch;
  --width-deck: 520px;
  --width-content: 1180px;
  --control-h-sm: 32px;
  --control-h: 40px;
  --control-h-lg: 48px;
  --tap-min: 44px;
  --tld-opacity: 0.55;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, system-ui, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}
.argus-display--lg { font-family: var(--font-serif); font-size: 64px; line-height: 1.02; font-weight: 500; letter-spacing: -0.015em; font-variation-settings: 'opsz' 144; }
.argus-display { font-family: var(--font-serif); font-size: 48px; line-height: 1.05; font-weight: 500; letter-spacing: -0.015em; font-variation-settings: 'opsz' 144; }
.argus-heading { font-family: var(--font-serif); font-size: 30px; line-height: 1.12; font-weight: 500; letter-spacing: -0.005em; font-variation-settings: 'opsz' 96; }
.argus-subhead { font-family: var(--font-serif); font-size: 20px; line-height: 1.25; font-weight: 500; font-variation-settings: 'opsz' 36; }
.argus-prose { font-family: var(--font-serif); font-size: 17px; line-height: 1.65; font-weight: 400; }
.argus-body { font-family: var(--font-sans); font-size: 15px; line-height: 1.55; font-weight: 400; }
.argus-caption { font-family: var(--font-sans); font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: 0.04em; }
.argus-eyebrow { font-family: var(--font-sans); font-size: 11px; line-height: 1; font-weight: 600; letter-spacing: 0.22em; }
.argus-mono { font-family: var(--font-mono); font-size: 13px; line-height: 1.5; font-weight: 400; }

/* Argus Design System — what tokens.json cannot hold. Values live in tokens.json. */

:root {
  /* Optical-size presets for Fraunces (set via font-variation-settings) */
  --opsz-display: "opsz" 144;
  --opsz-heading: "opsz" 96;
  --opsz-subhead: "opsz" 36;

  /* Focus ring, accent-aware */
  --ring-focus: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent);

  /* Motion */
  --dur-fast:   120ms;
  --dur-base:   200ms;
  --dur-slow:   360ms;
  --ease-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-out:      cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in:       cubic-bezier(0.4, 0.0, 1, 1);

  /* The mark's two rotation registers (for reference / JS use) */
  --mark-idle-outer:  48s;
  --mark-idle-inner:  36s;
  --mark-infer-outer: 6s;
  --mark-infer-inner: 4s;
  --mark-pulse:       2s;
}

/* Theme scopes: the same stacks as tokens.json's themes, for any subtree. */
.theme-students {
  --accent:      var(--argus-saffron);
  --accent-deep: var(--argus-saffron-deep);
  --accent-tint: var(--argus-saffron-tint);
  --accent-on:   var(--argus-ink);
  --accent-text: var(--argus-saffron);
  --bg-page:     var(--argus-saffron-tint);
}
.theme-admissions {
  --accent:      var(--argus-indigo);
  --accent-deep: var(--argus-indigo-deep);
  --accent-tint: var(--argus-indigo-tint);
  --accent-on:   var(--argus-bone);
  --accent-text: var(--argus-indigo);
  --bg-page:     var(--argus-indigo-tint);
}
.theme-master {
  --accent:      var(--argus-gold);
  --accent-deep: var(--argus-gold-deep);
  --accent-tint: var(--argus-gold-tint);
  --accent-on:   var(--argus-ink);
  --accent-text: var(--argus-gold);
  --bg-page:     var(--argus-bone);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: color-mix(in srgb, var(--accent) 28%, transparent); }

a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }

hr {
  border: none;
  border-top: var(--rule-width) solid var(--border-rule);
  margin: var(--space-7) 0;
}

/* Type roles: size, weight and tracking come from tokens.json's type styles. */
.argus-eyebrow { text-transform: uppercase; color: var(--text-muted); }
.argus-display, .argus-display--lg, .argus-heading, .argus-subhead { color: var(--text-strong); margin: 0; }
.argus-body, .argus-prose { color: var(--text-body); }
.argus-caption { color: var(--text-muted); }

/* Accent emphasis inside a headline */
.argus-accent { color: var(--accent-text); }
.argus-italic { font-style: italic; font-weight: var(--fw-regular); }

/* The wordmark's .ai TLD treatment */
.argus-tld { opacity: var(--tld-opacity); }
