:root {
    color-scheme: light;
    --navy: #142b48;
    --navy-deep: #0c1d32;
    --blue: #2874b8;
    --blue-soft: #e9f2fb;
    --gold: #d7a348;
    --ink: #1c2b3d;
    --muted: #64748b;
    --line: #e1e8ef;
    --surface: #ffffff;
    --canvas: #f5f7fa;
    --green: #237a52;
    --red: #a93535;
    font-family: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); line-height: 1.55; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
.site-header { min-height: 82px; padding: 14px max(5vw, 22px); background: var(--surface); display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 12px; align-items: center; color: var(--navy); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--navy); font-family: Georgia, serif; font-size: 24px; border-bottom: 3px solid var(--gold); }
.brand strong, .brand small { display: block; }
.brand strong { font-family: Georgia, serif; font-size: 15px; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 2px; }
.site-header nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-header nav a, .nav-button { color: #43536a; font-size: 13px; font-weight: 600; }
.site-header nav a.active { color: var(--blue); }
.inline-form { display: inline; }
.nav-button { border: 0; background: none; padding: 0; cursor: pointer; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; min-height: calc(100vh - 190px); }
.hero { position: relative; margin: 42px 0 52px; border-radius: 24px; min-height: 420px; overflow: hidden; background: linear-gradient(118deg, var(--navy-deep), var(--navy) 62%, #245989); color: white; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 32px; padding: 56px clamp(28px, 6vw, 76px); }
.hero:before { content: ""; position: absolute; width: 390px; height: 390px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 11%); right: 20%; top: -210px; }
.hero-copy, .hero-card { position: relative; z-index: 1; }
.eyebrow { color: var(--blue); text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 800; margin: 0 0 10px; }
.hero .eyebrow { color: #f0c66f; }
.hero h1 { font-family: Georgia, serif; font-weight: 500; font-size: clamp(42px, 6vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin: 10px 0 18px; }
.hero-copy > p:not(.eyebrow) { color: #d8e2ec; max-width: 580px; font-size: 16px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 27px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: white; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; transition: background .15s, transform .15s; }
.button:hover { background: #1f619c; color: white; text-decoration: none; transform: translateY(-1px); }
.button-outline { color: white; background: transparent; border-color: rgb(255 255 255 / 45%); }
.button-outline:hover { background: rgb(255 255 255 / 10%); }
.hero-card { background: rgb(255 255 255 / 9%); border: 1px solid rgb(255 255 255 / 17%); border-radius: 18px; padding: 28px; backdrop-filter: blur(8px); }
.card-icon { display: grid; place-items: center; border: 1px solid rgb(240 198 111 / 70%); border-radius: 50%; width: 64px; height: 64px; color: #f0c66f; font-size: 15px; letter-spacing: .08em; font-weight: 800; }
.hero-card h2 { font: 500 25px/1.2 Georgia, serif; margin: 20px 0 10px; }
.hero-card p { color: #d8e2ec; font-size: 13px; }
.college-facts { display: flex; gap: 26px; border-top: 1px solid rgb(255 255 255 / 18%); padding-top: 17px; margin-top: 19px; }
.college-facts strong, .college-facts span { display: block; }
.college-facts strong { font-size: 17px; }
.college-facts span { color: #c4d2df; font-size: 11px; margin-top: 2px; }
.content-section { padding: 18px 0 54px; }
.content-section h2 { font: 500 34px/1.2 Georgia, serif; color: var(--navy); margin: 4px 0 13px; }
.lead { max-width: 720px; color: var(--muted); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 27px; }
.value-card, .stat-card, .registration-card, .profile-summary, .empty-state { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.value-card { padding: 22px; }
.value-card > span { color: var(--gold); font-weight: 800; font-size: 12px; }
.value-card h3 { margin: 9px 0 5px; color: var(--navy); }
.value-card p, .content-section p { color: var(--muted); }
.form-card { width: min(780px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 4vw, 38px); margin: 40px auto; box-shadow: 0 14px 40px rgb(23 43 66 / 5%); }
.form-card.narrow { width: min(480px, 100%); margin-top: 60px; }
.form-card h1, .dashboard-welcome h1 { color: var(--navy); font: 500 34px/1.15 Georgia, serif; margin: 4px 0 10px; }
.form-intro { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; color: #34465c; font-size: 13px; font-weight: 700; }
.field > span { color: var(--red); }
.field-wide { grid-column: 1 / -1; }
.field input, .field select { width: 100%; min-height: 43px; border: 1px solid #d5dee8; border-radius: 7px; padding: 9px 11px; background: white; color: var(--ink); outline: none; }
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb(40 116 184 / 12%); }
.field small { color: var(--muted); font-weight: 400; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; color: #526277; font-size: 13px; }
.checkbox-field input { margin-top: 4px; accent-color: var(--blue); }
.stack-form { display: grid; gap: 17px; }
.form-bottom { border-top: 1px solid var(--line); padding-top: 17px; margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.alert { padding: 12px 14px; border-radius: 8px; font-size: 13px; margin: 14px 0; }
.alert ul { margin: 8px 0 0; padding-left: 20px; }
.alert-error { background: #fff1f0; border: 1px solid #f1cbc8; color: #8d2924; }
.alert-success { background: #eaf6ef; border: 1px solid #c8e8d4; color: #236742; }
.alert-info { background: #edf5fd; border: 1px solid #cbdff3; color: #285982; }
.success-state { text-align: center; }
.success-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: var(--green); background: #eaf6ef; font-size: 25px; margin-bottom: 15px; }
.success-state p:not(.eyebrow) { color: var(--muted); }
.dashboard-welcome { padding: 36px 0 22px; display: flex; justify-content: space-between; align-items: end; gap: 25px; }
.dashboard-welcome p:not(.eyebrow) { color: var(--muted); margin: 6px 0 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card { padding: 20px; }
.stat-card span, .summary-label { display: block; color: var(--muted); font-size: 12px; }
.stat-card strong { display: block; color: var(--navy); font: 500 32px Georgia, serif; margin-top: 7px; }
.stat-pending { border-top: 3px solid var(--gold); }
.stat-approved { border-top: 3px solid #4d9d72; }
.compact-section { padding: 35px 0 50px; }
.compact-section h2 { font-size: 26px; }
.profile-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 25px; }
.profile-summary strong { display: block; margin-top: 5px; overflow-wrap: anywhere; }
.filter-links { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-links a { color: #53647a; background: white; border: 1px solid var(--line); border-radius: 20px; padding: 7px 12px; font-size: 12px; font-weight: 700; }
.filter-links a.selected { background: var(--navy); color: white; border-color: var(--navy); }
.registration-list { display: grid; gap: 16px; padding-bottom: 40px; }
.registration-card { padding: 22px; }
.registration-heading { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.registration-heading h2 { color: var(--navy); font: 500 22px Georgia, serif; margin: 0; }
.registration-heading p { color: var(--muted); margin: 5px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.status-pill { display: inline-block; border-radius: 20px; padding: 5px 10px; background: #f0f3f6; color: #596a7d; font-size: 11px; font-weight: 800; white-space: nowrap; }
.status-approved { background: #e7f4ec; color: #28724d; }
.status-pending { background: #fff4dc; color: #87601a; }
.status-rejected, .status-blocked { background: #fff0ef; color: #9a3832; }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin: 17px 0; }
.details-grid div { min-width: 0; }
.details-grid dt { color: var(--muted); font-size: 11px; }
.details-grid dd { color: var(--ink); margin: 3px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.registration-actions { display: flex; gap: 9px; border-top: 1px solid var(--line); padding-top: 15px; }
.registration-actions form { margin: 0; }
.button-danger { background: white; color: var(--red); border-color: #e5b7b4; }
.button-danger:hover { background: #fff1f0; color: #8d2924; }
.empty-state { text-align: center; padding: 42px 20px; margin: 10px 0 40px; }
.empty-state > span { display: inline-grid; place-items: center; color: var(--green); background: #eaf6ef; width: 42px; height: 42px; border-radius: 50%; font-size: 20px; }
.empty-state h2 { color: var(--navy); font: 500 23px Georgia, serif; margin: 13px 0 5px; }
.empty-state p { color: var(--muted); margin: 0; }
.portal-grid, .directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.portal-card, .directory-card { display: block; min-width: 0; padding: 21px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.portal-card strong, .portal-card span { display: block; }
.portal-card strong { color: var(--navy); font-size: 16px; }
.portal-card span { color: var(--muted); font-size: 13px; margin-top: 6px; }
.directory-card h2 { color: var(--navy); font: 500 21px Georgia, serif; margin: 12px 0 5px; }
.directory-card p { color: var(--muted); font-size: 13px; margin: 5px 0; }
.directory-card small { color: var(--muted); }
.directory-avatar { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--blue); background: var(--blue-soft); font-weight: 800; }
.career-line { color: var(--ink) !important; }
.filter-form { display: grid; grid-template-columns: 2fr 1.5fr 1fr auto; gap: 13px; align-items: end; padding: 18px; margin: 15px 0 22px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.filter-form .button { min-width: 95px; }
.mentor-form { border-top: 1px solid var(--line); margin-top: 15px; padding-top: 14px; }
textarea { width: 100%; resize: vertical; border: 1px solid #d5dee8; border-radius: 7px; padding: 9px 11px; font: inherit; color: var(--ink); }
textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgb(40 116 184 / 12%); }
.table-wrap { width: 100%; overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #53647a; background: #f7f9fb; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
tr:last-child td { border-bottom: 0; }
.table-actions { display: flex; gap: 8px; align-items: center; }
.table-actions .button { min-height: 34px; padding: 6px 10px; font-size: 12px; }
.event-meta { color: var(--muted); font-size: 13px; }
.event-date { display: inline-flex; flex-direction: column; min-width: 54px; text-align: center; padding: 7px; border-radius: 8px; color: var(--navy); background: var(--blue-soft); }
.event-date strong { font-size: 19px; line-height: 1.1; }
.event-date span { font-size: 10px; text-transform: uppercase; font-weight: 800; }
.event-card { display: grid; grid-template-columns: 64px 1fr; gap: 17px; }
.event-card h2 { margin: 0 0 5px; color: var(--navy); font: 500 22px Georgia, serif; }
.event-card p { margin: 8px 0; }
.event-card .registration-actions { grid-column: 2; }
.inline-alert { display: inline-block; margin-left: 8px; color: var(--muted); font-size: 12px; }
.site-footer { display: flex; justify-content: space-between; gap: 25px; padding: 24px max(5vw, 22px); background: #101f32; color: #d2dbe5; font-size: 12px; }
.site-footer strong { color: white; }
.site-footer a { color: #d2dbe5; }

@media (max-width: 760px) {
    .site-header { align-items: flex-start; flex-direction: column; }
    .site-header nav { gap: 12px 17px; }
    .hero { grid-template-columns: 1fr; margin-top: 24px; padding: 36px 27px; }
    .hero-card { max-width: 450px; }
    .values-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-summary, .details-grid { grid-template-columns: repeat(2, 1fr); }
    .dashboard-welcome { align-items: flex-start; flex-direction: column; }
    .portal-grid, .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filter-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
    .container { width: min(100% - 26px, 1120px); }
    .brand strong { font-size: 13px; }
    .site-header nav { gap: 10px 14px; }
    .hero { border-radius: 16px; }
    .hero h1 { font-size: 43px; }
    .form-grid { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .stat-grid, .profile-summary, .details-grid { grid-template-columns: 1fr; }
    .portal-grid, .directory-grid, .filter-form { grid-template-columns: 1fr; }
    .event-card { grid-template-columns: 1fr; }
    .event-card .registration-actions { grid-column: auto; }
    .registration-heading { flex-direction: column; }
    .site-footer { flex-direction: column; }
}
