/* =========================================================
   ADMISSIONS PAGE
   Brand: purple #423f9e / #5b57d1, ink #14142b
   Unique accent for this page: warm gold, used only for
   the deadline "ticket" and timeline status — ties to the
   idea of admission as something time-bound, worth acting on.
========================================================= */

:root {
    --ad-purple: #5b57d1;
    --ad-purple-deep: #423f9e;
    --ad-ink: #14142b;
    --ad-muted: #6a6a7a;
    --ad-paper: #fbfaf7;
    --ad-border: #ece9e2;
    --ad-gold: #d7a233;
    --ad-gold-bg: #fbf2de;
    --ad-radius: 20px;
    --ad-shadow: 0 10px 30px rgba(20, 20, 43, 0.08);
    --ad-shadow-lg: 0 24px 60px rgba(20, 20, 43, 0.16);
}

.admissions-section {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--ad-ink);
    background: #ffffff;
}

.admissions-section h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.adm-block-sub {
    color: var(--ad-muted);
    font-size: 1rem;
    margin-bottom: 48px;
    max-width: 520px;
}

.adm-block {
    max-width: 1160px;
    margin: 0 auto;
    padding: 88px 6vw;
}

.adm-block.alt {
    background: var(--ad-paper);
    max-width: none;
}

.adm-block.alt>* {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Hero ===== */

.adm-hero {
    max-width: 1160px;
    margin: 0 auto;
    padding: 96px 6vw 80px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}

.adm-eyebrow {
    display: inline-block;
    color: var(--ad-purple);
    background: rgba(91, 87, 209, 0.1);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.adm-hero-text h1 {
    font-size: 3.1rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.adm-hero-text p {
    color: var(--ad-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 32px;
}

.adm-hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--ad-ink);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 15px 32px;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--ad-shadow-lg);
}

.btn-primary.light {
    background: #ffffff;
    color: var(--ad-purple-deep);
}

.btn-text {
    color: var(--ad-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1.5px solid var(--ad-ink);
    padding-bottom: 2px;
}

/* ===== Application "ticket" ===== */

.adm-ticket {
    display: flex;
    background: var(--ad-ink);
    border-radius: var(--ad-radius);
    box-shadow: var(--ad-shadow-lg);
    overflow: visible;
    position: relative;
}

.ticket-main {
    flex: 1;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.ticket-label {
    color: var(--ad-gold);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.ticket-date {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 6px;
}

.ticket-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    margin-bottom: 26px;
}

.ticket-row {
    display: flex;
    gap: 36px;
    border-top: 1px dashed rgba(255, 255, 255, 0.25);
    padding-top: 18px;
    margin-top: auto;
}

.ticket-row>div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticket-key {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.ticket-value {
    font-weight: 700;
    font-size: 0.95rem;
}

.ticket-stub {
    width: 118px;
    flex-shrink: 0;
    background: var(--ad-gold);
    border-left: 2px dashed rgba(20, 20, 43, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 12px;
    position: relative;
}

/* Perforation notches on the ticket divider */
.ticket-stub::before,
.ticket-stub::after {
    content: "";
    position: absolute;
    left: -11px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
}

.ticket-stub::before {
    top: -11px;
}

.ticket-stub::after {
    bottom: -11px;
}

.stub-label {
    color: rgba(20, 20, 43, 0.6);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.stub-btn {
    color: var(--ad-ink);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.92rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* ===== How to apply: zigzag path ===== */

.adm-path {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.adm-path::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--ad-border);
}

.adm-path li {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 26px 0;
}

.path-num {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--ad-purple);
    color: var(--ad-purple-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}

.path-card {
    padding-top: 10px;
}

.path-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.path-card p {
    color: var(--ad-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    max-width: 560px;
}

/* ===== Requirements + tuition split ===== */

.adm-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.req-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.req-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.req-check {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ad-purple);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.req-list strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 3px;
}

.req-list span {
    color: var(--ad-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.tuition-table {
    background: #ffffff;
    border: 1px solid var(--ad-border);
    border-radius: var(--ad-radius);
    padding: 8px 0;
    box-shadow: var(--ad-shadow);
}

.tuition-head,
.tuition-row {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    padding: 16px 26px;
    align-items: center;
}

.tuition-head {
    color: var(--ad-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 1px solid var(--ad-border);
}

.tuition-head span:nth-child(2),
.tuition-head span:nth-child(3),
.tuition-row span:nth-child(2),
.tuition-row span:nth-child(3) {
    text-align: right;
}

.tuition-row {
    border-bottom: 1px solid var(--ad-border);
    font-size: 0.92rem;
}

.tuition-row:last-of-type {
    border-bottom: none;
}

.tuition-row span:first-child {
    font-weight: 600;
}

.tag {
    display: inline-block;
    margin-left: auto;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 999px;
}

.tag-yes {
    background: rgba(91, 87, 209, 0.1);
    color: var(--ad-purple-deep);
}

.tag-partial {
    background: var(--ad-gold-bg);
    color: var(--ad-gold);
}

.tuition-note {
    padding: 16px 26px 6px;
    color: var(--ad-muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* ===== Key dates timeline ===== */

.adm-timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 640px;
}

.adm-timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--ad-border);
}

.tl-item {
    display: flex;
    gap: 26px;
    padding: 22px 0;
    position: relative;
}

.tl-dot {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--ad-border);
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

.tl-open .tl-dot {
    background: var(--ad-gold);
    border-color: var(--ad-gold);
}

.tl-status {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--ad-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.tl-open .tl-status {
    color: var(--ad-gold);
}

.tl-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.tl-content p {
    color: var(--ad-muted);
    font-size: 0.9rem;
}

/* ===== FAQ (native details/summary) ===== */

.adm-faq {
    max-width: 760px;
    display: flex;
    flex-direction: column;
}

.adm-faq details {
    border-bottom: 1px solid var(--ad-border);
    padding: 22px 0;
}

.adm-faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
}

.adm-faq summary::-webkit-details-marker {
    display: none;
}

.adm-faq summary::after {
    content: "+";
    color: var(--ad-purple);
    font-size: 1.4rem;
    font-weight: 400;
    margin-left: 20px;
    transition: transform 0.2s ease;
}

.adm-faq details[open] summary::after {
    content: "−";
}

.adm-faq p {
    color: var(--ad-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: 14px;
    max-width: 640px;
}

/* ===== Final CTA ===== */

.adm-final {
    background: linear-gradient(135deg, var(--ad-purple-deep), var(--ad-purple) 80%);
    color: #ffffff;
    text-align: center;
    padding: 96px 6vw;
}

.adm-final h2 {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.adm-final p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

/* ===== Responsive ===== */

@media (max-width: 980px) {
    .adm-hero {
        grid-template-columns: 1fr;
        padding-top: 64px;
    }
    .adm-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .adm-hero-text h1 {
        font-size: 2.2rem;
    }
    .adm-block {
        padding: 64px 6vw;
    }
    .ticket-date {
        font-size: 2.3rem;
    }
    .tuition-head,
    .tuition-row {
        grid-template-columns: 1.2fr 0.8fr 0.8fr;
        padding: 14px 18px;
        font-size: 0.82rem;
    }
}