/* ============================================================
   Aster Institute of Education
   Design language: University of Warwick-inspired editorial style
   Primary palette: light purple / lavender
   ============================================================ */

:root {
  /* Purple palette */
  --purple-900: #3b1670;   /* deep — header bar, headings accent */
  --purple-800: #4a1d8f;
  --purple-700: #5b21b6;   /* primary deep purple */
  --purple-600: #6d28d9;
  --purple-500: #7c3aed;   /* primary action */
  --purple-200: #ddd0f4;   /* borders */
  --purple-100: #ece4f9;   /* soft panels */
  --purple-50:  #f6f1fc;   /* lightest lavender wash */

  /* Neutrals */
  --ink:    #2b2340;   /* near-black with purple tint */
  --ink-2:  #4a4560;
  --muted:  #6f6a85;
  --line:   #e3deee;   /* hairlines */
  --bg:     #ffffff;
  --bg-soft:#f7f5fb;

  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', 'Palatino Linotype', serif;
  --sans:  'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --radius: 2px;          /* flat, editorial — minimal rounding */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--purple-600); text-decoration: none; }
a:hover { color: var(--purple-800); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.2; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 720px; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.link { color: var(--purple-600); font-weight: 600; }
.crumb { color: var(--muted); font-size: 14px; }
.tag { color: var(--purple-600); font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; font-family: var(--sans); }

.sub-header { border-bottom: 1px solid var(--line); background: #fff; }
.sub-header-inner {
  max-width: 1160px; margin: 0 auto; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
.sub-header-right { display: flex; align-items: center; gap: 22px; }
.sub-header-label { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--purple-700); }
.sub-header-home { color: var(--ink-2); font-size: 14px; }
.sub-header-home:hover { color: var(--purple-700); text-decoration: none; }
.sub-nav { border-top: 1px solid var(--line); }
.sub-nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: flex; gap: 4px; }
.sub-nav a { display: block; padding: 12px 16px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.sub-nav a:hover { color: var(--purple-700); text-decoration: none; }
.sub-nav a.active { color: var(--purple-700); border-color: var(--purple-500); }

/* ============================================================
   HEADER — Warwick-style: thin utility strip + wordmark + nav
   ============================================================ */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }

.utility-bar {
  background: var(--purple-900);
  color: #e6ddf6;
  font-size: 13px;
}
.utility-inner {
  max-width: 1160px; margin: 0 auto; padding: 7px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.utility-links a { color: #d9cff0; margin-left: 20px; }
.utility-links a:hover { color: #fff; text-decoration: none; }
.lang-switch a { font-weight: 600; padding: 1px 5px; }
.lang-switch a.active { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.header-main {
  max-width: 1160px; margin: 0 auto; padding: 22px 24px 14px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 30px;
}
.brand { display: flex; align-items: baseline; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  font-family: var(--serif);
  font-size: 34px; line-height: 1;
  color: var(--purple-600); font-weight: 700;
}
.brand-text strong { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: 0.2px; }
.brand-text em { font-style: normal; color: var(--muted); font-size: 12.5px; display: block; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.recruit-link { font-size: 15px; font-weight: 600; color: var(--purple-700); border-bottom: 2px solid var(--purple-500); padding-bottom: 2px; }
.recruit-link:hover { color: var(--purple-900); text-decoration: none; }

.main-nav {
  border-top: 1px solid var(--line);
}
.main-nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.main-nav a {
  display: block; padding: 12px 16px;
  color: var(--ink-2); font-size: 15px; font-weight: 500;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.main-nav a:hover { color: var(--purple-700); text-decoration: none; border-color: var(--purple-500); }
.main-nav a.highlight { color: var(--purple-700); font-weight: 600; }

/* ============================================================
   BUTTONS — minimal, flat
   ============================================================ */
.btn {
  display: inline-block; padding: 11px 22px;
  font-weight: 600; font-size: 15px; border: 1px solid var(--purple-600);
  background: var(--purple-600); color: #fff;
  cursor: pointer; text-align: center;
}
.btn:hover { background: var(--purple-700); border-color: var(--purple-700); text-decoration: none; }
.btn-light { background: #fff; color: var(--purple-700); border-color: var(--purple-200); }
.btn-light:hover { border-color: var(--purple-600); background: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-primary.big { padding: 14px 30px; font-size: 16px; }
.btn-secondary { background: #fff; color: var(--purple-700); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--purple-400); background: var(--purple-50); }
.btn.full { width: 100%; }

/* ============================================================
   HERO — editorial statement, large serif
   ============================================================ */
.hero { position: relative; color: #fff; background: var(--purple-900); }
.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(59,22,112,0.96), rgba(93,40,179,0.88));
}
.hero-bg[style] { background: linear-gradient(120deg, rgba(59,22,112,0.94), rgba(93,40,179,0.86)), var(--bg, transparent) center/cover; }
.hero-inner { position: relative; z-index: 2; padding: 96px 24px 84px; max-width: 1160px; margin: 0 auto; }
.hero-badge {
  display: inline-block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: #cfc0ef; margin-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,0.35); padding-bottom: 6px;
}
.hero h1 { color: #fff; font-size: 48px; line-height: 1.12; max-width: 760px; margin-bottom: 22px; font-weight: 500; }
.hero-sub { font-size: 18px; max-width: 620px; color: #dcd2f2; margin-bottom: 38px; font-weight: 300; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,0.2); margin-top: 10px;
}
.hero-stats div { padding: 26px 24px 0; border-right: 1px solid rgba(255,255,255,0.2); }
.hero-stats div:last-child { border-right: none; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 34px; color: #fff; font-weight: 600; }
.hero-stats span { font-size: 13.5px; color: #cdbfe8; letter-spacing: 0.3px; }
.hero-stats.small { grid-template-columns: repeat(4, 1fr); }
.hero-stats.small strong { font-size: 26px; }

/* page hero (inner pages) */
.page-hero { background: var(--purple-900); color: #fff; border-bottom: 1px solid var(--line); }
.page-hero[style] { background: var(--ph, linear-gradient(120deg, var(--purple-900), var(--purple-700))); }
.page-hero .container { padding-top: 60px; padding-bottom: 54px; }
.page-hero h1 { color: #fff; font-size: 40px; margin-bottom: 10px; font-weight: 500; }
.page-hero p { color: #dcd2f2; }
.page-hero .tag, .page-hero .crumb { color: #cfc0ef; }

/* ============================================================
   SECTIONS — generous whitespace
   ============================================================ */
.section { padding: 72px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 34px; border-bottom: 1px solid var(--line); padding-bottom: 14px;
}
.section-head h2 { font-size: 30px; }
.section-head .link { font-size: 14px; }

h2 { font-size: 28px; margin-bottom: 14px; }
.section > h2, .section > .section-head { margin-bottom: 30px; }
h3 { font-size: 19px; margin-bottom: 8px; }

/* ============================================================
   CARDS — flat, hairline border, editorial
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.card:hover { border-color: var(--purple-200); }

/* news card — editorial with date + rule */
.news-date { color: var(--muted); font-size: 13px; letter-spacing: 0.3px; display: block; }
.news-card { padding: 26px 26px 22px; position: relative; }
.news-card .tag { display: block; margin: 10px 0 8px; }
.news-card h3 { font-size: 19px; color: var(--ink); }
.news-card p { color: var(--muted); font-size: 14.5px; }
.news-card .readmore { margin-top: 12px; }

/* ============================================================
   FACULTY — list rows + grid
   ============================================================ */
.faculty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.faculty-card {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: var(--radius); overflow: hidden; display: block;
}
.faculty-card:hover { border-color: var(--purple-200); text-decoration: none; }
.faculty-img { height: 150px; background-size: cover; background-position: center; }
.faculty-card:not(.no-img) { }
.faculty-body { padding: 22px; }
.faculty-body h3 { font-size: 19px; }
.faculty-body p { color: var(--muted); font-size: 14px; margin: 8px 0 14px; }
.faculty-body .link { font-size: 13.5px; }

.faculty-flag {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--purple-700); background: none; padding: 0; letter-spacing: 0.6px;
}

/* faculty row (faculties list page) */
.faculty-row {
  display: grid; grid-template-columns: 240px 1fr; gap: 0;
  border: 1px solid var(--line); margin-bottom: 30px; background: #fff; border-radius: var(--radius); overflow: hidden;
}
.faculty-thumb { background-size: cover; background-position: center; min-height: 210px; display: block; }
.faculty-main { padding: 32px; }
.faculty-main .faculty-flag { display: block; margin-bottom: 8px; }
.faculty-main h2 { font-size: 24px; margin-bottom: 6px; }
.faculty-main h2 a { color: var(--ink); }
.faculty-main p { color: var(--muted); margin-bottom: 16px; }
.faculty-meta { display: flex; gap: 26px; flex-wrap: wrap; }
.faculty-meta span { color: var(--muted); font-size: 14px; }
.faculty-meta strong { color: var(--ink); }

/* faculty hero (faculty page) */
.faculty-hero { position: relative; color: #fff; min-height: 340px; display: flex; align-items: flex-end; }
.faculty-hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.faculty-hero-overlay { width: 100%; background: linear-gradient(160deg, transparent, rgba(50,18,95,0.94)); }
.faculty-hero-overlay .container { position: relative; z-index: 2; padding: 80px 24px 46px; }
.faculty-hero h1 { color: #fff; font-size: 40px; margin: 10px 0 14px; font-weight: 500; }
.faculty-hero p { max-width: 760px; color: #e4dbf6; margin-bottom: 26px; }
.faculty-hero .faculty-flag { color: #fff; }
.faculty-hero .hero-stats { border-color: rgba(255,255,255,0.25); }
.faculty-hero .hero-stats div { border-right-color: rgba(255,255,255,0.25); }

.faculty-dean {
  display: flex; gap: 20px; align-items: center;
  border: 1px solid var(--line); padding: 26px; background: var(--bg-soft);
}
.avatar {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--fc, var(--purple-500)); color: #fff;
  font-family: var(--serif); font-size: 26px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.person-card .mail { font-size: 13px; }
.person-card p { color: var(--muted); font-size: 14px; margin: 8px 0; }
.person-card .tag { display: block; }

/* ============================================================
   CTA / rector / why
   ============================================================ */
.rector-banner { background: var(--purple-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 60px 0; }
.rector-banner h2 { font-size: 24px; color: var(--purple-900); }
.rector-banner blockquote { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--ink); max-width: 820px; margin: 14px 0 24px; line-height: 1.5; }
.rector-name strong { font-size: 16px; color: var(--purple-800); }
.rector-name span { color: var(--muted); font-size: 14px; }

.why-section h2, .why-section .center { text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-item { border-top: 2px solid var(--purple-500); padding-top: 20px; }
.why-icon { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--purple-500); display: block; margin-bottom: 10px; line-height: 1; }
.why-item h3 { font-size: 18px; }
.why-item p { color: var(--muted); font-size: 14.5px; }

.cta-banner {
  background: var(--purple-900); color: #fff; padding: 44px; text-align: center; border-radius: var(--radius);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #dcd2f2; margin: 8px 0 22px; }
.cta-banner a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Editorial two-column
   ============================================================ */
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; }
.two-col p + p { margin-top: 14px; }
.checklist { list-style: none; margin-top: 18px; }
.checklist li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px solid var(--line); }
.checklist li::before { content: '—'; position: absolute; left: 0; color: var(--purple-500); font-weight: 600; }

.stat-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-block { border-top: 2px solid var(--purple-500); padding-top: 16px; }
.stat-block strong { display: block; font-family: var(--serif); font-size: 40px; color: var(--purple-700); font-weight: 600; }
.stat-block span { color: var(--muted); font-size: 14px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select {
  padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus { outline: 1.5px solid var(--purple-500); border-color: transparent; }
.field.full-field { grid-column: 1 / -1; }

.form-msg { margin-top: 18px; padding: 14px 16px; font-weight: 600; font-size: 14px; border-radius: var(--radius); }
.form-msg.error { background: #fce8e8; color: #9b1c1c; }
.form-msg.success { background: #e3f5e9; color: #157347; }
.form-msg.info { background: var(--purple-50); color: var(--purple-800); }

.auth, .portal-form { max-width: 420px; margin: 20px auto; }
.auth h1 { margin-bottom: 24px; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-opt { border: 1px solid var(--line); padding: 18px 22px; background: var(--bg-soft); }
.admin-opt strong { font-family: var(--serif); font-size: 26px; color: var(--purple-700); }
.opt-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.opt-row .btn { margin-left: auto; }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th, .data-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.data-table th { font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--line); }
.data-table tr:hover td { background: var(--bg-soft); }
.status-select { padding: 6px; border-radius: var(--radius); border: 1px solid var(--line); }
.del-btn { border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink-2); width: 30px; height: 30px; border-radius: var(--radius); cursor: pointer; font-size: 15px; }
.del-btn:hover { color: #9b1c1c; border-color: #f0c0c0; }

/* ============================================================
   MISC
   ============================================================ */
.schedule { width: 100%; border-collapse: collapse; }
.schedule td { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.schedule td:first-child { font-family: var(--serif); font-size: 17px; color: var(--purple-700); font-weight: 600; white-space: nowrap; }

.recruit-fac p { color: var(--muted); font-size: 13.5px; }

.detail-list { display: grid; grid-template-columns: 130px 1fr; gap: 12px 20px; }
.detail-list dt { font-weight: 600; color: var(--purple-800); }
.detail-list dd { color: var(--ink-2); }

.sidebar-card { border-left: 3px solid var(--purple-500); padding-left: 22px; }
.sidebar-card h3 { font-size: 17px; margin-bottom: 14px; }
.sidebar .btn { margin-top: 18px; }

.news-list .news-item { display: block; margin-bottom: 26px; padding: 24px 26px; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius); }
.news-item:hover { border-color: var(--purple-200); text-decoration: none; }
.news-item h2 { font-size: 22px; margin: 8px 0; }
.news-item p { color: var(--muted); }

.article-body { max-width: 780px; padding: 60px 24px; font-size: 16.5px; }
.article-body p { margin-bottom: 20px; }

.pub-list { list-style: none; }
.pub-list li { padding: 14px 0 14px 24px; position: relative; border-bottom: 1px solid var(--line); }
.pub-list li::before { content: '—'; position: absolute; left: 0; color: var(--purple-500); }

.notfound { text-align: center; padding: 120px 24px; }
.notfound h1 { font-family: var(--serif); font-size: 96px; color: var(--purple-600); }

/* education multi-entry */
#eduList { display: flex; flex-direction: column; gap: 22px; margin-bottom: 18px; }
.edu-row { border: 1px solid var(--line); padding: 20px 20px 6px; background: var(--bg-soft); position: relative; }
.edu-row .field input, .edu-row .field select { width: 100%; }
.edu-remove-wrap { position: absolute; top: 14px; right: 16px; }
.edu-remove { border: 1px solid var(--line); background: #fff; color: var(--ink-2); width: 30px; height: 30px; border-radius: 2px; cursor: pointer; font-size: 17px; line-height: 1; }
.edu-remove:hover { color: #9b1c1c; border-color: #f0c0c0; }
#addEdu { margin-bottom: 6px; }

/* ============================================================
   APPLICATION WIZARD
   ============================================================ */
.field textarea { padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); width: 100%; }
.field textarea:focus { outline: 1.5px solid var(--purple-500); border-color: transparent; }
.hint { font-size: 12.5px; color: var(--muted); }
.full-field .hint { margin-top: -6px; }

.apply-card { max-width: 640px; margin: 0 auto; }
.start-card { border: 1px solid var(--line); padding: 44px; background: var(--bg-soft); text-align: center; }
.start-card .why-icon { font-size: 30px; color: var(--purple-500); display: block; margin-bottom: 12px; }
.start-card h2 { font-size: 26px; margin-bottom: 14px; }
.start-card p { margin-bottom: 26px; }
.start-card .btn { margin-bottom: 18px; }

.apply-id-bar {
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
  border: 1px solid var(--line); border-left: 3px solid var(--purple-500);
  padding: 14px 20px; background: var(--bg-soft); margin-bottom: 30px; font-size: 14px;
}
.apply-id-bar strong { color: var(--purple-700); }
.apply-id-bar .small { margin-left: auto; }

.wizard-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }

.wizard-steps { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 20px; }
.ws-step {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; cursor: pointer; text-align: left; font-family: inherit;
  color: var(--ink-2); font-size: 14px; font-weight: 500; position: relative;
}
.ws-step:hover { border-color: var(--purple-200); }
.ws-num {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--muted); font-weight: 600;
}
.ws-step.active { border-color: var(--purple-600); background: var(--purple-50); color: var(--purple-800); }
.ws-step.active .ws-num { background: var(--purple-600); color: #fff; border-color: var(--purple-600); }
.ws-step.done { color: var(--purple-700); }
.ws-step.done .ws-num { background: var(--purple-100); border-color: var(--purple-200); color: var(--purple-700); }
.ws-done { position: absolute; right: 12px; color: var(--purple-500); font-weight: 700; display: none; }
.ws-step.done .ws-done { display: inline; }

.ws-panel { border: 1px solid var(--line); padding: 34px; background: #fff; }
.ws-panel h2 { font-size: 24px; margin-bottom: 6px; }
.ws-panel h3.full-field { grid-column: 1 / -1; font-size: 17px; margin: 14px 0 0; border-top: 1px solid var(--line); padding-top: 18px; color: var(--purple-800); }
.ws-panel .muted.small { margin-bottom: 24px; }

.ws-controls { margin-top: 26px; display: flex; gap: 14px; align-items: center; justify-content: flex-end; }

/* uploads */
.upload-list { display: flex; flex-direction: column; gap: 12px; }
.upload-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 1px solid var(--line); padding: 16px 18px; background: var(--bg-soft);
}
.upload-label { font-weight: 600; font-size: 14.5px; }
.upload-control { display: flex; align-items: center; gap: 14px; }
.upload-meta { font-size: 13px; color: var(--muted); }
.upload-meta.ok { color: #157347; font-weight: 600; }

/* review */
.review-body { border: 1px solid var(--line); padding: 26px 28px; background: var(--bg-soft); }
.review-body h4 { margin: 22px 0 8px; color: var(--purple-800); }
.review-body h4:first-child { margin-top: 0; }
.stmt-text { white-space: pre-wrap; color: var(--ink-2); }
.review-consent { margin-top: 22px; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.checkbox input { margin-top: 4px; }

/* ============================================================
   TRACKING / STATUS
   ============================================================ */
.track-form { display: flex; gap: 0; align-items: stretch; border: 1px solid var(--line); background: #fff; }
.track-form .field { flex: 1; margin: 0; }
.track-form .field input { border: none; height: 100%; padding: 16px 18px; font-size: 16px; }
.track-form .field input:focus { outline: none; }
.track-form .btn { border-radius: 0; }

.track-result { margin-top: 34px; }
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.track-head h2 { font-size: 26px; margin-bottom: 4px; }

.status-banner {
  display: flex; gap: 16px; align-items: center;
  border: 1px solid var(--line); border-left: 4px solid var(--purple-500);
  padding: 20px 22px; background: var(--bg-soft); margin-bottom: 30px;
}
.status-banner strong { font-size: 17px; }
.status-banner .status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--purple-500); flex-shrink: 0; }
.status-banner.submitted, .status-banner.under_review, .status-banner.interview, .status-banner.offer, .status-banner.conditional { border-left-color: #2f7d4f; }
.status-banner.submitted .status-dot, .status-banner.under_review .status-dot, .status-banner.interview .status-dot, .status-banner.offer .status-dot, .status-banner.conditional .status-dot { background: #2f7d4f; }
.status-banner.enrolled { border-left-color: #1b6fb0; }
.status-banner.enrolled .status-dot { background: #1b6fb0; }
.status-banner.rejected, .status-banner.withdrawn { border-left-color: #b0301b; }
.status-banner.rejected .status-dot, .status-banner.withdrawn .status-dot { background: #b0301b; }

.timeline { margin: 10px 0 22px; }
.tl-step { display: flex; gap: 16px; position: relative; padding-bottom: 26px; }
.tl-step::before { content: ''; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.tl-step:last-child::before { display: none; }
.tl-icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--line); background: #fff; color: transparent;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.tl-step.done .tl-icon { background: var(--purple-600); border-color: var(--purple-600); color: #fff; }
.tl-step.current:not(.done) .tl-icon { border-color: var(--purple-500); color: var(--purple-500); }
.tl-step strong { display: block; }
.tl-step .err { color: #b0301b; }
.track-submitted { margin-top: 8px; }

.track-help { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.track-help h3 { margin-bottom: 8px; }
.track-help p { margin-bottom: 18px; }

/* track: email verification card */
.track-card {
  max-width: 520px; margin: 0 auto; border: 1px solid var(--line);
  padding: 40px; background: var(--bg-soft); text-align: center;
}
.track-card .why-icon { font-size: 28px; color: var(--purple-500); display: block; margin-bottom: 10px; }
.track-card h2 { font-size: 24px; margin-bottom: 10px; }
.track-card > p { margin-bottom: 26px; }
.track-form-inline { display: flex; flex-direction: column; gap: 16px; text-align: left; margin-bottom: 6px; }
.track-form-inline .field { margin: 0; }
.track-form-inline .field input, .track-form-inline .field select { width: 100%; }
.track-form-inline .btn { width: 100%; text-align: center; margin-top: 4px; }
.track-card .form-msg { text-align: left; }
.track-verified-tag { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px; }
.track-verified-tag .status-dot { width: 10px; height: 10px; border-radius: 50%; background: #2f7d4f; }
.track-again { margin-top: 26px; }

/* admin detail */
.detail-col { align-items: start; }
.detail-block { border: 1px solid var(--line); padding: 26px; margin-bottom: 22px; background: #fff; }
.detail-block h3 { font-size: 17px; color: var(--purple-800); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.status-chip { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; }
.status-chip.submitted, .status-chip.under_review, .status-chip.interview, .status-chip.offer, .status-chip.conditional { background: #e3f5e9; color: #157347; }
.status-chip.enrolled { background: #e3effa; color: #1b6fb0; }
.status-chip.rejected, .status-chip.withdrawn { background: #fce8e8; color: #9b1c1c; }
.status-chip.draft { background: var(--purple-100); color: var(--purple-800); }
.doc-list { list-style: none; }
.doc-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }

/* ============================================================
   FOOTER — Warwick-style dense columns
   ============================================================ */
.site-footer { background: var(--purple-900); color: #cfc2e6; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding: 56px 24px 40px; }
.site-footer h4 { color: #fff; font-size: 15px; font-family: var(--sans); letter-spacing: 0.5px; font-weight: 600; margin-bottom: 14px; }
.site-footer a { color: #cfc2e6; display: block; padding: 4px 0; font-size: 14.5px; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand p { margin-top: 12px; font-size: 14px; max-width: 320px; color: #dcd3ef; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 24px; font-size: 13px; max-width: 1160px; margin: 0 auto; }

/* subdomain footer: smaller, school info only */
.sub-footer { margin-top: 60px; }
.footer-sub { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding: 40px 24px 30px; flex-wrap: wrap; }
.sub-footer .footer-brand p { color: #dcd3ef; }
.footer-sub-contact { color: #cfc2e6; font-size: 14px; text-align: right; }
.footer-sub-contact a { color: #cfc2e6; display: inline; padding: 0; }
.footer-sub-contact a:hover { color: #fff; }
.footer-sub-contact p { padding: 3px 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .wizard-layout { grid-template-columns: 1fr; }
  .wizard-steps { position: static; flex-direction: row; flex-wrap: wrap; }
  .ws-step { width: auto; flex: 1 1 45%; }
  .card-grid, .faculty-grid, .why-grid, .hero-stats, .card-grid.cols-2, .card-grid.cols-4 {
    grid-template-columns: 1fr 1fr; }
  .two-col, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .faculty-row, .hero-stats.small { grid-template-columns: 1fr; }
  .faculty-thumb { min-height: 150px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 560px) {
  .card-grid, .faculty-grid, .why-grid, .hero-stats, .hero-stats.small, .card-grid.cols-2, .card-grid.cols-4 {
    grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .utility-inner { flex-direction: column; gap: 6px; }
  .utility-links a { margin-left: 0; margin-right: 16px; }
  .topbar-addr, .utility-addr { display: none; }
  .header-main { flex-direction: column; align-items: flex-start; }
}
