@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,500;6..72,600;6..72,700&display=swap');

.page-exam-centre {
    --exam-ink: #10243f;
    --exam-ink-2: #183657;
    --exam-red: #b7192e;
    --exam-gold: #e7bd63;
    --exam-paper: #f4f0e8;
    --exam-line: #ddd6c8;
    --exam-muted: #667083;
    --exam-serif: "Newsreader", "Noto Serif SC", Georgia, serif;
    color: var(--exam-ink);
    background: #fff;
}

.page-exam-centre h1,
.page-exam-centre h2,
.page-exam-centre h3 {
    font-family: var(--exam-serif);
}

.page-exam-centre .main-content {
    overflow: clip;
}

.exam-hero {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    color: #fff;
    background: var(--exam-ink);
    overflow: hidden;
}

.exam-hero__image,
.exam-hero__veil {
    position: absolute;
    inset: 0;
}

.exam-hero__image {
    background-size: cover;
    background-position: center 36%;
    transform: scale(1.02);
}

.exam-hero__veil {
    background:
        linear-gradient(90deg, rgba(8, 25, 46, .98) 0%, rgba(10, 31, 57, .91) 46%, rgba(10, 31, 57, .28) 78%, rgba(10, 31, 57, .14)),
        linear-gradient(0deg, rgba(8, 25, 46, .45), transparent 50%);
}

.exam-hero__mark {
    position: absolute;
    right: -2vw;
    bottom: -14vw;
    font-family: "Noto Serif SC", serif;
    font-size: clamp(22rem, 42vw, 42rem);
    font-weight: 700;
    line-height: .8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .12);
    transform: rotate(-6deg);
    pointer-events: none;
}

.exam-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.exam-kicker,
.exam-eyebrow {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1.15rem;
    color: var(--exam-red);
    font-family: var(--font-primary);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.exam-kicker {
    color: var(--exam-gold);
}

.exam-kicker span {
    width: 42px;
    height: 1px;
    background: currentColor;
}

.exam-hero h1 {
    max-width: 830px;
    margin: 0;
    color: #fff;
    font-size: clamp(3.5rem, 7.6vw, 7.2rem);
    font-weight: 600;
    line-height: .86;
    letter-spacing: -.04em;
}

.exam-hero h1 em {
    color: var(--exam-gold);
    font-size: .56em;
    font-weight: 500;
    letter-spacing: -.015em;
}

.exam-hero__lead {
    max-width: 700px;
    margin: 2rem 0 2.25rem;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    line-height: 1.7;
}

.exam-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .9rem;
}

.exam-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-height: 52px;
    padding: .85rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 0;
    font-family: var(--font-primary);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .015em;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.exam-btn:hover {
    transform: translateY(-2px);
}

.exam-btn--gold {
    color: var(--exam-ink);
    background: var(--exam-gold);
}

.exam-btn--gold:hover {
    color: var(--exam-ink);
    background: #f0cc7d;
}

.exam-btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .05);
}

.exam-btn--ghost:hover {
    color: #fff;
    border-color: #fff;
}

.exam-btn--ink {
    color: #fff;
    background: var(--exam-ink);
}

.exam-btn--ink:hover {
    color: #fff;
    background: var(--exam-ink-2);
}

.exam-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

.exam-text-link {
    padding: .7rem .4rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
}

.exam-subnav {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--exam-line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
}

.exam-subnav .container {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: none;
}

.exam-subnav a {
    flex: none;
    padding: 1.05rem .85rem .95rem;
    color: var(--exam-muted);
    border-bottom: 3px solid transparent;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.exam-subnav a:hover,
.exam-subnav a.active {
    color: var(--exam-red);
    border-bottom-color: var(--exam-red);
}

.exam-subnav a.exam-subnav__register {
    margin-left: auto;
    color: #fff;
    border-color: var(--exam-red);
    background: var(--exam-red);
}

.exam-proof {
    border-bottom: 1px solid var(--exam-line);
    background: #fff;
}

.exam-proof .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.exam-proof .container > div {
    min-height: 128px;
    padding: 1.6rem 1.4rem;
    border-right: 1px solid var(--exam-line);
}

.exam-proof .container > div:first-child {
    border-left: 1px solid var(--exam-line);
}

.exam-proof strong,
.exam-proof span {
    display: block;
}

.exam-proof strong {
    margin-bottom: .4rem;
    color: var(--exam-ink);
    font-family: var(--exam-serif);
    font-size: 1.15rem;
}

.exam-proof span {
    color: var(--exam-muted);
    font-size: .82rem;
    line-height: 1.5;
}

.exam-section {
    padding: clamp(5rem, 8vw, 8.5rem) 0;
}

.exam-section--ink {
    color: #fff;
    background:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
        var(--exam-ink);
    background-size: 44px 44px;
}

.exam-section--paper {
    background: var(--exam-paper);
}

.exam-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
}

.exam-copy h2,
.exam-heading h2 {
    margin: 0 0 1.4rem;
    color: var(--exam-ink);
    font-size: clamp(2.65rem, 5vw, 4.8rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.035em;
}

.exam-heading > p:last-child,
.exam-heading--row > p {
    max-width: 620px;
    color: var(--exam-muted);
    line-height: 1.7;
}

.exam-heading--light h2 {
    color: #fff;
}

.exam-heading--light > p:last-child {
    color: rgba(255, 255, 255, .68);
}

.exam-heading--row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .45fr);
    gap: 3rem;
    align-items: end;
    margin-bottom: 3.5rem;
}

.exam-lead {
    color: var(--exam-muted);
    font-size: 1.12rem;
    line-height: 1.85;
}

.exam-ticks {
    display: grid;
    gap: .9rem;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.exam-ticks li {
    position: relative;
    padding-left: 2rem;
    color: var(--exam-ink);
    font-weight: 600;
}

.exam-ticks li::before {
    position: absolute;
    left: 0;
    content: "✓";
    color: var(--exam-red);
}

.exam-arrow-link {
    display: inline-flex;
    gap: 1rem;
    color: var(--exam-red);
    border-bottom: 1px solid currentColor;
    font-weight: 700;
    text-decoration: none;
}

.exam-photo {
    position: relative;
    margin: 0;
}

.exam-photo::before {
    position: absolute;
    inset: -22px 22px 22px -22px;
    z-index: -1;
    border: 1px solid var(--exam-gold);
    content: "";
}

.exam-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.exam-photo figcaption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: .8rem;
    color: var(--exam-muted);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.exam-photo figcaption span {
    color: var(--exam-red);
    font-weight: 700;
}

.exam-track-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 4rem;
    background: rgba(255, 255, 255, .16);
}

.exam-track {
    display: grid;
    grid-template-columns: 120px 1fr;
    min-height: 520px;
    background: #173553;
}

.exam-track--red {
    background: #7d1d2e;
}

.exam-track__stamp {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-right: 1px solid rgba(255, 255, 255, .15);
    color: var(--exam-gold);
    font-family: var(--exam-serif);
    font-size: 2.1rem;
    writing-mode: vertical-rl;
    letter-spacing: .12em;
}

.exam-track > div {
    padding: clamp(2rem, 4vw, 4rem);
}

.exam-track h3 {
    margin: 1.3rem 0 1rem;
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 3.3rem);
}

.exam-track p {
    color: rgba(255, 255, 255, .72);
    line-height: 1.8;
}

.exam-track a {
    color: var(--exam-gold);
    font-weight: 700;
    text-decoration: none;
}

.exam-pill {
    display: inline-flex;
    padding: .4rem .7rem;
    color: var(--exam-gold);
    border: 1px solid rgba(231, 189, 99, .5);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.level-line {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin: 2.4rem 0;
    padding: 0;
    list-style: none;
}

.level-line li {
    min-height: 76px;
    color: rgba(255, 255, 255, .55);
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: .64rem;
    text-align: center;
}

.level-line span {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin: -17px auto .45rem;
    color: var(--exam-ink);
    border-radius: 50%;
    background: var(--exam-gold);
    font-weight: 800;
}

.exam-track--red .level-line {
    grid-template-columns: repeat(4, 1fr);
}

.schedule-board {
    margin: 1rem 0 2rem;
    border-top: 2px solid var(--exam-ink);
}

.schedule-row {
    display: grid;
    grid-template-columns: 150px 1fr 1fr 1fr 110px;
    gap: 1.4rem;
    align-items: center;
    min-height: 110px;
    border-bottom: 1px solid var(--exam-line);
}

.schedule-row > div:not(.schedule-date) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
}

.schedule-row small {
    color: var(--exam-muted);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.schedule-date {
    display: flex;
    align-items: baseline;
    gap: .65rem;
}

.schedule-date strong {
    font-family: var(--exam-serif);
    font-size: 3.1rem;
}

.schedule-date span {
    color: var(--exam-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.exam-type {
    display: inline-flex;
    padding: .18rem .45rem;
    color: #fff;
    background: var(--exam-ink);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.exam-type--yct {
    background: var(--exam-red);
}

.status-chip {
    display: inline-flex;
    justify-content: center;
    padding: .36rem .55rem;
    color: #26613c;
    border: 1px solid #b9d8c4;
    background: #eaf7ee;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.status-chip--closed,
.status-chip--completed {
    color: #6b6e73;
    border-color: #d9d9d9;
    background: #f2f2f2;
}

.status-chip--provisional {
    color: #765714;
    border-color: #e8d59d;
    background: #fff8df;
}

.status-chip--cancelled {
    color: #902035;
    border-color: #efc7cf;
    background: #fff0f3;
}

.exam-source-note {
    margin: 1.2rem 0;
    color: var(--exam-muted);
    font-size: .75rem;
    line-height: 1.6;
}

.fee-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

.fee-panels article {
    border: 1px solid var(--exam-line);
    background: #fff;
}

.fee-panels h3 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0;
    padding: 1.5rem;
    color: #fff;
    background: var(--exam-ink);
    font-size: 2rem;
}

.fee-panels h3 span {
    color: rgba(255, 255, 255, .6);
    font-family: var(--font-primary);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.fee-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.fee-list div {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 1.4rem;
    border-right: 1px solid var(--exam-line);
    border-bottom: 1px solid var(--exam-line);
}

.fee-list strong {
    color: var(--exam-red);
}

.candidate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    margin-top: 3rem;
}

.candidate-grid article {
    position: relative;
    min-height: 360px;
    padding: 2.2rem;
    border-top: 4px solid var(--exam-red);
    background: var(--exam-paper);
}

.candidate-grid article > span {
    color: var(--exam-red);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.candidate-grid h3 {
    margin: 1rem 0 1.7rem;
    color: var(--exam-ink);
    font-size: 2.25rem;
}

.candidate-grid ul {
    display: grid;
    gap: .8rem;
    padding-left: 1.1rem;
    color: var(--exam-muted);
    line-height: 1.6;
}

.policy-strip {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 2rem;
    align-items: center;
    margin-top: 1.4rem;
    padding: 1.4rem 1.6rem;
    color: #fff;
    background: var(--exam-red);
}

.policy-strip p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: .84rem;
}

.policy-strip a {
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
}

.exam-register-band {
    color: #fff;
    background: var(--exam-ink);
}

.exam-register-band .container {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(500px, 1.3fr) 220px;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.exam-register-band h2 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.5rem, 4vw, 4rem);
}

.exam-register-band p:not(.exam-eyebrow) {
    color: rgba(255, 255, 255, .65);
    line-height: 1.7;
}

.registration-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, .14);
    list-style: none;
}

.registration-flow li {
    min-height: 102px;
    padding: 1rem;
    color: rgba(255, 255, 255, .72);
    background: var(--exam-ink);
    font-size: .72rem;
    text-align: center;
}

.registration-flow span {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin: 0 auto .7rem;
    color: var(--exam-gold);
    border: 1px solid rgba(231, 189, 99, .55);
    border-radius: 50%;
}

.exam-register-band__action {
    display: grid;
    gap: 1rem;
}

.exam-register-band__action small {
    color: rgba(255, 255, 255, .55);
    line-height: 1.5;
}

.exam-split--faq {
    align-items: start;
}

.exam-faq details {
    border-top: 1px solid var(--exam-line);
}

.exam-faq details:last-child {
    border-bottom: 1px solid var(--exam-line);
}

.exam-faq summary {
    position: relative;
    padding: 1.4rem 2.5rem 1.4rem 0;
    color: var(--exam-ink);
    font-family: var(--exam-serif);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.exam-faq summary::after {
    position: absolute;
    right: .4rem;
    content: "+";
    color: var(--exam-red);
}

.exam-faq details[open] summary::after {
    content: "−";
}

.exam-faq details p {
    margin: 0;
    padding: 0 3rem 1.5rem 0;
    color: var(--exam-muted);
    line-height: 1.7;
}

/* Standalone information pages */
.exam-info-hero {
    padding: 7rem 0 5rem;
    color: #fff;
    background:
        radial-gradient(circle at 86% 20%, rgba(231, 189, 99, .17), transparent 26rem),
        var(--exam-ink);
}

.exam-info-hero h1 {
    max-width: 900px;
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 600;
    line-height: .95;
}

.exam-info-hero p:last-child {
    max-width: 700px;
    color: rgba(255, 255, 255, .68);
    font-size: 1.05rem;
}

.table-section-title {
    margin: 3.5rem 0 1rem;
    color: var(--exam-ink);
    font-size: 2rem;
}

.exam-table-wrap {
    overflow-x: auto;
    border-top: 2px solid var(--exam-ink);
}

.exam-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.exam-table th,
.exam-table td {
    padding: 1.1rem;
    border-bottom: 1px solid var(--exam-line);
    text-align: left;
}

.exam-table th {
    color: var(--exam-muted);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Registration */
.registration-section {
    background: var(--exam-paper);
}

.registration-shell {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.registration-aside {
    position: sticky;
    top: 80px;
    padding: 1.7rem;
    color: #fff;
    background: var(--exam-ink);
}

.form-progress {
    display: grid;
    gap: .45rem;
    margin: 1.5rem 0 2rem;
    padding: 0;
    list-style: none;
}

.form-progress li {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-height: 46px;
    color: rgba(255, 255, 255, .48);
    font-size: .78rem;
    font-weight: 700;
}

.form-progress span {
    display: flex;
    width: 30px;
    height: 30px;
    flex: none;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
}

.form-progress li.active,
.form-progress li.complete {
    color: #fff;
}

.form-progress li.active span,
.form-progress li.complete span {
    color: var(--exam-ink);
    border-color: var(--exam-gold);
    background: var(--exam-gold);
}

.secure-note {
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.secure-note strong {
    color: var(--exam-gold);
    font-family: var(--exam-serif);
    font-size: 1.1rem;
}

.secure-note p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .55);
    font-size: .72rem;
    line-height: 1.6;
}

.registration-form-card {
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--exam-line);
    background: #fff;
    scroll-margin-top: 86px;
}

.form-alert {
    margin-bottom: 1.5rem;
    padding: 1.1rem 1.3rem;
    border-left: 4px solid var(--exam-red);
    background: #fff0f3;
}

.form-alert p,
.form-alert ul {
    margin: .45rem 0 0;
    color: var(--exam-muted);
    font-size: .82rem;
}

.form-alert--notice {
    border-color: #bc8426;
    background: #fff8e8;
}

.form-step {
    display: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.form-step.active {
    display: block;
    animation: examStepIn .32s ease-out;
}

@keyframes examStepIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step legend {
    width: 100%;
    margin: 0;
    color: var(--exam-ink);
    font-family: var(--exam-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
}

.form-step legend span {
    display: block;
    margin-bottom: .4rem;
    color: var(--exam-red);
    font-family: var(--font-primary);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.step-intro {
    margin: .7rem 0 2rem;
    color: var(--exam-muted);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-field {
    display: grid;
    gap: .5rem;
    color: var(--exam-ink);
    font-size: .78rem;
    font-weight: 750;
}

.form-field small {
    color: var(--exam-muted);
    font-size: .68rem;
    font-weight: 500;
}

.form-field--wide {
    grid-column: 1 / -1;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: .75rem .85rem;
    color: var(--exam-ink);
    border: 1px solid #cfc8ba;
    border-radius: 0;
    outline: none;
    background: #fff;
    font: inherit;
    font-size: .9rem;
    font-weight: 500;
}

.form-field textarea {
    min-height: 110px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--exam-red);
    box-shadow: 0 0 0 3px rgba(183, 25, 46, .1);
}

.fee-display {
    display: grid;
    align-content: center;
    min-height: 116px;
    padding: 1rem 1.25rem;
    color: #fff;
    background: var(--exam-ink);
}

.fee-display span,
.fee-display small {
    color: rgba(255, 255, 255, .6);
    font-size: .68rem;
}

.fee-display strong {
    margin: .2rem 0;
    color: var(--exam-gold);
    font-family: var(--exam-serif);
    font-size: 2rem;
}

.step-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--exam-line);
}

.form-back {
    padding: .7rem;
    color: var(--exam-muted);
    border: 0;
    background: transparent;
    font-weight: 700;
    cursor: pointer;
}

.photo-upload {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 210px;
    padding: 2rem;
    border: 1px dashed #b9af9f;
    background: var(--exam-paper);
    text-align: center;
    cursor: pointer;
}

.photo-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.photo-upload__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--exam-red);
    font-size: 1.7rem;
}

.photo-upload small {
    color: var(--exam-muted);
}

.photo-upload:focus-within {
    outline: 3px solid rgba(183, 25, 46, .16);
}

.parent-panel {
    margin: 1.5rem 0;
    padding: 1.4rem;
    border: 1px solid var(--exam-line);
}

.parent-panel.required {
    border-left: 4px solid var(--exam-red);
}

.parent-panel h3 {
    margin: 0 0 1rem;
    color: var(--exam-ink);
    font-size: 1.35rem;
}

.parent-panel h3 span {
    color: var(--exam-muted);
    font-family: var(--font-primary);
    font-size: .68rem;
}

.registration-review {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 1.5rem 0;
    border-top: 2px solid var(--exam-ink);
}

.registration-review div {
    display: grid;
    gap: .3rem;
    padding: 1.1rem;
    border-right: 1px solid var(--exam-line);
    border-bottom: 1px solid var(--exam-line);
}

.registration-review span {
    color: var(--exam-muted);
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.check-field {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: .75rem;
    margin: 1rem 0;
    color: var(--exam-muted);
    font-size: .78rem;
    line-height: 1.6;
}

.check-field input {
    width: 18px;
    height: 18px;
    margin-top: .15rem;
    accent-color: var(--exam-red);
}

.payment-summary {
    margin-top: 1.5rem;
    padding: 1.35rem;
    color: #fff;
    background: var(--exam-ink);
}

.payment-summary > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.payment-summary strong {
    color: var(--exam-gold);
    font-family: var(--exam-serif);
    font-size: 2.1rem;
}

.payment-summary p {
    margin: .6rem 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: .72rem;
}

/* Completion */
.completion-page {
    min-height: 75vh;
    padding: 7rem 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(231, 189, 99, .23), transparent 28rem),
        var(--exam-paper);
}

.completion-card {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.5rem);
    border-top: 6px solid var(--exam-red);
    background: #fff;
    box-shadow: 0 24px 60px rgba(16, 36, 63, .12);
}

.completion-icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    margin-bottom: 1.5rem;
    color: #fff;
    border-radius: 50%;
    background: #bc8426;
    font-size: 2rem;
    font-weight: 800;
}

.completion-icon--success {
    background: #237b4b;
}

.completion-card h1 {
    margin: 0;
    color: var(--exam-ink);
    font-size: clamp(3rem, 6vw, 5rem);
}

.completion-lead {
    max-width: 700px;
    color: var(--exam-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 2.5rem 0;
    border-top: 2px solid var(--exam-ink);
}

.reference-grid div {
    padding: 1.2rem;
    border-right: 1px solid var(--exam-line);
    border-bottom: 1px solid var(--exam-line);
}

.reference-grid dt {
    color: var(--exam-muted);
    font-size: .67rem;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.reference-grid dd {
    margin: .35rem 0 0;
    color: var(--exam-ink);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.completion-next {
    padding: 1.5rem;
    background: var(--exam-paper);
}

.completion-next h2 {
    margin-top: 0;
    color: var(--exam-ink);
}

.completion-next li {
    margin: .55rem 0;
    color: var(--exam-muted);
}

.completion-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: 2rem;
}

@media (prefers-reduced-motion: no-preference) {
    .exam-hero__content > * {
        animation: examReveal .7s ease-out both;
    }
    .exam-hero__content > *:nth-child(2) { animation-delay: .08s; }
    .exam-hero__content > *:nth-child(3) { animation-delay: .16s; }
    .exam-hero__content > *:nth-child(4) { animation-delay: .24s; }
}

@keyframes examReveal {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1050px) {
    .exam-proof .container {
        grid-template-columns: 1fr 1fr;
    }
    .exam-register-band .container {
        grid-template-columns: 1fr;
    }
    .registration-flow {
        max-width: 700px;
    }
    .schedule-row {
        grid-template-columns: 130px 1fr 1fr 100px;
    }
    .schedule-row > div:nth-child(4) {
        display: none;
    }
}

@media (max-width: 820px) {
    .exam-hero {
        min-height: 620px;
    }
    .exam-hero__veil {
        background: linear-gradient(90deg, rgba(8, 25, 46, .97), rgba(8, 25, 46, .72));
    }
    .exam-subnav {
        position: relative;
    }
    .exam-subnav a.exam-subnav__register {
        margin-left: 0;
    }
    .exam-split,
    .exam-heading--row,
    .exam-track-grid,
    .fee-panels,
    .candidate-grid {
        grid-template-columns: 1fr;
    }
    .exam-photo {
        max-width: 560px;
    }
    .policy-strip {
        grid-template-columns: 1fr;
        gap: .6rem;
    }
    .registration-shell {
        grid-template-columns: 1fr;
    }
    .registration-aside {
        position: relative;
        top: 0;
    }
    .form-progress {
        grid-template-columns: repeat(5, 1fr);
    }
    .form-progress li {
        display: grid;
        justify-items: center;
        gap: .35rem;
        font-size: .62rem;
        text-align: center;
    }
}

@media (max-width: 620px) {
    .exam-hero {
        min-height: 660px;
    }
    .exam-hero h1 {
        font-size: clamp(3rem, 16vw, 4.6rem);
    }
    .exam-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }
    .exam-btn,
    .exam-text-link {
        width: 100%;
        text-align: center;
    }
    .exam-proof .container {
        grid-template-columns: 1fr;
    }
    .exam-proof .container > div {
        min-height: auto;
        border-left: 1px solid var(--exam-line);
        border-bottom: 1px solid var(--exam-line);
    }
    .exam-section {
        padding: 4.5rem 0;
    }
    .exam-copy h2,
    .exam-heading h2 {
        font-size: 2.55rem;
    }
    .exam-track {
        grid-template-columns: 1fr;
    }
    .exam-track__stamp {
        min-height: 88px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
        writing-mode: horizontal-tb;
    }
    .schedule-row {
        grid-template-columns: 82px minmax(0, 1fr) auto;
        gap: .75rem;
        min-height: 96px;
    }
    .schedule-row > div:nth-child(3),
    .schedule-row > div:nth-child(4) {
        display: none;
    }
    .schedule-date strong {
        font-size: 2.5rem;
        line-height: .9;
    }
    .schedule-date {
        align-items: flex-start;
        flex-direction: column;
        gap: .2rem;
    }
    .schedule-date span {
        font-size: .68rem;
    }
    .schedule-row > div:not(.schedule-date) strong {
        font-size: .82rem;
    }
    .fee-list {
        grid-template-columns: 1fr;
    }
    .registration-flow {
        grid-template-columns: repeat(4, 1fr);
    }
    .registration-flow li {
        min-height: 90px;
    }
    .exam-info-hero {
        padding: 5rem 0 3.5rem;
    }
    .form-grid,
    .registration-review,
    .reference-grid {
        grid-template-columns: 1fr;
    }
    .form-field--wide {
        grid-column: auto;
    }
    .registration-form-card {
        padding: 1.25rem;
    }
    .form-progress {
        overflow-x: auto;
        grid-template-columns: repeat(5, 92px);
    }
    .step-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }
    .step-actions .exam-btn {
        width: 100%;
    }
}
