.contact-page { --contact-blue: #115F52; --contact-ink: #1C1B17; --contact-muted: #5F5D58; margin-top: var(--site-header-height, 114px); background: #fff; color: var(--contact-ink); font-family: "Sora", sans-serif; overflow: hidden; }
.contact-page *, .contact-page *::before, .contact-page *::after { box-sizing: border-box; }
.contact-page h1, .contact-page h2, .contact-page p { margin: 0; }
.contact-page a { text-decoration: none; }
.contact-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.contact-section { padding: clamp(56px, 6vw, 88px) 0; }
.contact-eyebrow { display: block; color: var(--mobile-brand-text, #054285); font-size: 11px; font-weight: 800; line-height: 1.7; letter-spacing: .13em; text-transform: uppercase; }
.contact-breadcrumb { display: flex; gap: 12px; color: #637890; font-size: 12px; margin-bottom: 35px; }
.contact-breadcrumb a { color: inherit; }
.contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 15px 24px; border: 0; border-radius: 8px; background: var(--contact-blue); color: #fff; font: 700 14px/1.5 "Sora", sans-serif; cursor: pointer; transition: background .2s, transform .2s; }
.contact-button:hover { background: #0B4038; transform: translateY(-2px); }
.contact-channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-block: 48px; }
.contact-channel { display: flex; align-items: flex-start; gap: 14px; padding: 26px 20px; background: #f5faff; border: 1px solid #dce8f2; border-radius: 18px; color: var(--contact-ink); transition: border-color .2s, box-shadow .2s; }
.contact-channel:hover { border-color: #68b6d8; box-shadow: 0 12px 25px #0542850c; }
.contact-channel > div { flex: 1; min-width: 0; }
.contact-channel__icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 12px; color: var(--mobile-brand-text, #054285); background: #ffe500; font-size: 23px; }
.contact-channel .contact-eyebrow { font-size: 9px; letter-spacing: .08em; }
.contact-channel h2 { font-size: 17px; margin: 8px 0; line-height: 1.4; }
.contact-channel p { color: var(--contact-muted); font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.contact-enquiry { background: #eef8fd; scroll-margin-top: calc(var(--site-header-height, 114px) + 20px); }
.contact-enquiry__layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.contact-note { padding: 30px 0; }
.contact-note h2 { margin: 18px 0 25px; }
.contact-note > p { color: var(--contact-muted); font-size: 16px; line-height: 1.85; }
.contact-note__hours { margin-top: 30px; padding: 24px; border-radius: 18px; background: #054285; color: #fff; }
.contact-note__hours .contact-eyebrow { color: #ffe500; }
.contact-note__hours strong { display: block; margin: 10px 0; font-size: 17px; }
.contact-note__hours p { color: #dae8f7; font-size: 14px; line-height: 1.9; }
.contact-note__links { margin-top: 24px; display: grid; gap: 14px; }
.contact-note__links a { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #d5e3ef; color: var(--mobile-brand-text, #054285); font-size: 14px; font-weight: 600; }
.contact-form-card { padding: clamp(25px, 3vw, 44px); border: 1px solid #e0eaf1; border-radius: 26px; background: #fff; box-shadow: 0 20px 50px #05428508; }
.contact-form-card h2 { margin: 12px 0; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.25; letter-spacing: -.04em; }
.contact-form-card > p { color: var(--contact-muted); font-size: 12px; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; margin-top: 32px; }
.contact-form label { display: grid; gap: 10px; font-size: 13px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; min-height: 54px; padding: 14px; border: 1px solid #d7e3ec; border-radius: 10px; background: #f8fbfc; color: var(--contact-ink); font: 400 16px/1.5 "Sora", sans-serif; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid #2ea2d426; border-color: #168fbd; }
.contact-form__wide { grid-column: 1 / -1; }
.contact-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.contact-form__footer p { color: var(--contact-muted); font-size: 11px; line-height: 1.8; }
.contact-visit__layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.contact-visit__copy h2 { margin: 16px 0 24px; }
.contact-visit__copy > p { color: var(--contact-muted); font-size: 16px; line-height: 1.9; margin-bottom: 24px; }
.contact-visit iframe { width: 100%; height: 430px; border: 1px solid #dce8f2; border-radius: 24px; }
.contact-social { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.contact-social a { color: var(--mobile-brand-text, #054285); font-size: 12px; font-weight: 600; }
.contact-cta { background: #ffe500; padding: 42px 0; }
.contact-cta > div { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.contact-cta h2 { max-width: 870px; font-size: clamp(24px, 2.5vw, 36px); font-weight: 500; line-height: 1.4; letter-spacing: -.035em; }
.contact-cta .contact-button { flex-shrink: 0; }
.contact-page a:focus-visible, .contact-page button:focus-visible { outline: 3px solid #168fbd; outline-offset: 5px; }
@media (max-width: 1050px) {
    .contact-enquiry__layout, .contact-visit__layout { gap: 30px; }
    .contact-channels { grid-template-columns: 1fr; }
    .contact-channel { align-items: center; }
    .contact-channel h2 { margin: 4px 0; }
}
@media (max-width: 760px) {
    .contact-shell { width: calc(100% - 32px); }
    .contact-enquiry__layout, .contact-visit__layout { grid-template-columns: 1fr; }

    .contact-note { padding: 0; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-form__footer { flex-direction: column; align-items: stretch; }
    .contact-visit iframe { height: 340px; }
    .contact-cta > div { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .contact-button, .contact-channel { transition: none; } }

/* Match the photo banner and palette used on the admission page. */
.contact-hero { position: relative; min-height: 500px; background: #dbeafb; }
.contact-hero__image { display: block; width: 100%; height: auto; min-height: 500px; aspect-ratio: 1904 / 850; object-fit: cover; object-position: center 42%; }
.contact-hero__card { position: absolute; left: 0; bottom: 40px; width: min(46vw, 670px); padding: clamp(26px, 2.6vw, 44px); border: 1px solid #ffffffcc; border-left: 0; border-right: 4px solid #f9bc16; border-radius: 0 22px 22px 0; background: #fffffff0; box-shadow: 0 12px 30px #182d491f; }
.contact-hero h1 { margin: 14px 0 18px; color: #343133; font-size: clamp(34px, 2.8vw, 52px); line-height: 1.08; letter-spacing: -.04em; font-weight: 750; }
.contact-hero__card > p { max-width: 54ch; margin-bottom: 24px; color: #403d3f; font-size: 15px; line-height: 1.75; }
.contact-hero .contact-breadcrumb { margin-bottom: 22px; }
.contact-channel__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-form-card { min-width: 0; border-top: 4px solid #72c9e5; }
@media (min-width: 761px) and (max-width: 1050px) {
    .contact-hero__card { width: 58%; bottom: 28px; }
}
@media (max-width: 760px) {
    .contact-hero { min-height: 0; }
    .contact-hero__image { min-height: 0; height: 280px; aspect-ratio: auto; }
    .contact-hero__card { position: relative; bottom: auto; width: calc(100% - 32px); margin: -36px auto 24px; padding: 26px 22px; border-left: 1px solid #ffffffcc; border-radius: 18px; }
    .contact-hero h1 { font-size: clamp(32px, 7vw, 44px); }
    .contact-channels { padding-block: 30px; }
    .contact-cta .contact-button { width: 100%; }
}
