.site-theme-toggle { width:44px; height:44px; display:inline-grid; place-items:center; flex:0 0 44px; border:1px solid var(--line); border-radius:50%; padding:0; color:var(--ink); background:var(--white); cursor:pointer }
.site-theme-toggle[hidden] { display:none }
.site-theme-toggle:hover { color:var(--o-ink); border-color:var(--o-ink); background:var(--o-soft) }
.site-theme-toggle:focus-visible { outline:3px solid var(--o-ink); outline-offset:3px }
.site-theme-toggle span,.site-head .brand-light { display:flex }
.site-theme-toggle .theme-sun,.site-head .brand-dark { display:none }
html[data-theme=dark] .site-theme-toggle .theme-moon,html[data-theme=dark] .site-head .brand-light { display:none }
html[data-theme=dark] .site-theme-toggle .theme-sun,html[data-theme=dark] .site-head .brand-dark { display:flex }
@media(min-width:961px) and (max-width:1260px) {
  .head-row { gap:12px }
  .head-row .nav ul { gap:0 }
  .head-row .nav a { padding-inline:7px; font-size:.9rem }
  .head-cta { gap:7px }
}
@media(max-width:960px) { .head-cta { gap:9px } }

html[data-theme=dark] {
  color-scheme:dark;
  --white:#191716; --sand:#211e1c; --sand-2:#302b27; --line:#49413a;
  --ink:#f8f4ef; --ink-2:#ede5dd; --mut:#c3b9af;
  --o:#f59455; --o-ink:#ffb27d; --o-soft:#422c20;
  --green:#8bdfb7; --green-soft:#213b31; --red:#ffaaa2;
  --surface:#292522; --field:#1f1c1a; --deep:#121110; --on-orange:#28170b;
  --shadow:0 1px 4px #0003,0 16px 40px -18px #0009;
}
html[data-theme=dark] .site-head { background:rgba(25,23,22,.96); border-color:var(--line) }
html[data-theme=dark] :is(.topbar,.site-foot,.band-ink,.side-card,.next-box,.jt-end,.pass-tag,.skip) { background-color:var(--deep); color:#f3eae2 }
html[data-theme=dark] .btn-primary,html[data-theme=dark] .likert input:checked+span,html[data-theme=dark] .step.lit .num { background:var(--o); color:var(--on-orange) }
html[data-theme=dark] .btn-primary:hover { background:#ffb17e }
html[data-theme=dark] .btn-dark,html[data-theme=dark] .btn-light { background:#f2e6da; color:#261f1b; border-color:transparent }
html[data-theme=dark] .btn-dark:hover,html[data-theme=dark] .btn-light:hover { background:#fff4e9; color:#211c18 }
html[data-theme=dark] .page-hero { background-color:var(--sand) }
html[data-theme=dark] .hero { background-color:var(--white) }
html[data-theme=dark] .hero-map .map-dots { filter:grayscale(1) invert(1); opacity:.42 }
html[data-theme=dark] :is(.pin-label,.home-label) { stroke:var(--white) }
html[data-theme=dark] .pass,html[data-theme=dark] .pass-path .ic { background:var(--surface) }
html[data-theme=dark] .pass-stub { background:#342b24 }
html[data-theme=dark] .pass-top .pass-brand { background:var(--o); color:var(--on-orange) }
html[data-theme=dark] .pass::before,html[data-theme=dark] .pass-stub::before,html[data-theme=dark] .pass-stub::after { border-color:var(--line) }
html[data-theme=dark] :is(.dest,.stat,.proof,.step,.event,.quote,.office,.service-tile,.form-card,.ins,.guide,.member,.type,.likert,.quiz-card,.conversation,.scroller-nav button,.match-facts li) { background:var(--surface); color:var(--ink); border-color:var(--line) }
html[data-theme=dark] .service-overview .service-tile:is(:hover,:focus-visible) { background:#362b23; border-color:var(--o) }
html[data-theme=dark] :is(.dest-tag,.ins-tag,.dest-city) { color:#fcf8f5; background:rgba(28,25,22,.94) }
html[data-theme=dark] .dest-city b { color:#25190f; background:#f3d5ba }
html[data-theme=dark] .band:not(.band-sand) .jt-plane { background:var(--white) }
html[data-theme=dark] .jt-node { background:var(--surface); border-color:#ae9e8d }
html[data-theme=dark] .jt-node.on { background:var(--o); border-color:var(--o) }
html[data-theme=dark] :is(input[type=text],input[type=email],input[type=tel],input[type=number],input[type=date],input:not([type]),select,textarea) { background-color:var(--field); border-color:#72665c; color:var(--ink) }
html[data-theme=dark] :is(input,textarea)::placeholder { color:#ada299; opacity:1 }
html[data-theme=dark] :is(.callback-licence p,.callback-licence a,.alert-ok) { color:#b1efd0 }
html[data-theme=dark] .callback-licence { border-color:#426352 }
html[data-theme=dark] .alert-err { background:#482725; color:#ffc7c0 }
html[data-theme=dark] .match-intro { background:linear-gradient(125deg,#2b2521,#3c2b20) }
html[data-theme=dark] .answer-options button { color:var(--ink); background:var(--field); border-color:#665749 }
html[data-theme=dark] .answer-options button:is(:hover,[aria-pressed=true]) { color:var(--o-ink); background:var(--o-soft); border-color:var(--o-ink) }
html[data-theme=dark] .answer-options svg { color:var(--o-ink) }
html[data-theme=dark] .code span { color:var(--on-orange) }
html[data-theme=dark] .code span:nth-child(2) { background:#453a31; color:#fff }
html[data-theme=dark] .code span:nth-child(3) { background:var(--surface); color:var(--ink); box-shadow:inset 0 0 0 1px var(--line) }
html[data-theme=dark] :is(.student-stories,.insight-topics) { background:var(--sand) }
html[data-theme=dark] .insight-topics nav a:hover { background:#382f28; color:var(--o-ink) }
html[data-theme=dark] .insight-topics nav a[aria-current] { background:#f4c3a1; color:#302018 }
html[data-theme=dark] .topic-arrow { color:#f5af83 }
html[data-theme=dark] .insight-topics nav a[aria-current] .topic-arrow { color:#67300d }
html[data-theme=dark] .story-position { color:var(--mut) }
html[data-theme=dark] .story-controls button { background:var(--surface); color:var(--ink); border-color:#8f7f70 }
html[data-theme=dark] .story-controls button[data-story-step="1"] { background:#f1dfce; color:#241d17 }
html[data-theme=dark] .story-controls button:is(:hover,:focus-visible) { background:var(--o); color:var(--on-orange) }
html[data-theme=dark] .story-deck { box-shadow:0 0 0 1px var(--line) }
html[data-theme=dark] .up-chat,html[data-theme=dark] .up-chat-choice small,html[data-theme=dark] .up-chat-privacy { color:var(--mut) }
html[data-theme=dark] :is(.up-chat-panel,.up-chat-choice a,.up-chat-choice button,.up-chat-room textarea) { background:var(--surface); border-color:var(--line); color:var(--ink) }
html[data-theme=dark] .up-chat-choice :is(a,button):hover { background:var(--o-soft); border-color:var(--o) }
html[data-theme=dark] .up-chat-choice .up-chat-privacy a { color:var(--o-ink); background:transparent }
html[data-theme=dark] .up-message { background:var(--field); color:var(--ink) }
html[data-theme=dark] .up-message.from-visitor { background:var(--o-soft) }
html[data-theme=dark] .up-message small { color:var(--mut) }
@media(max-width:960px) { html[data-theme=dark] .nav { background:var(--white) } }


.prose blockquote.about-guidance-quote {
  margin:1.5rem 0;
  padding:.3rem 0 .35rem 1.2rem;
  border:0;
  border-inline-start:4px solid #e76c24;
  border-radius:0;
  background:transparent;
  color:var(--ink);
  box-shadow:none;
  font:normal clamp(1.3rem,2.2vw,1.85rem)/1.45 Georgia,serif;
}
@media(max-width:700px) {
  .match-feature::before { background-image:var(--mobile-match-photo,var(--banner-photo)) }
}

/* Public header alignment */
.topbar .topbar-row {
  justify-content:center;
  align-items:center;
  column-gap:clamp(18px,2.6vw,38px);
}
.topbar :is(.tb-contacts,.tb-right) { align-items:center }
.topbar :is(.tb-contacts,.tb-right) > :is(a,span) {
  align-items:center;
  min-height:32px;
  line-height:1.2;
  white-space:nowrap;
}
.topbar .ic,.site-head .head-cta svg { display:block; flex-shrink:0 }
.site-head .head-row { display:grid; align-items:center }
.site-head .head-row > .brand { justify-self:start; align-items:center }
.site-head :is(.brand-light,.brand-dark) { align-items:center }
.site-head .head-cta {
  justify-self:end;
  width:max-content;
  margin:0;
  align-items:center;
  flex-wrap:nowrap;
}
.site-head .head-cta :is(.site-theme-toggle,.nav-toggle) {
  box-sizing:border-box;
  width:44px;
  height:44px;
  margin:0;
  padding:0;
  flex:0 0 44px;
  align-items:center;
  justify-content:center;
  line-height:1;
}
@media(min-width:961px) {
  .site-head .head-row {
    grid-template-columns:minmax(max-content,1fr) max-content minmax(max-content,1fr);
    column-gap:clamp(9px,1.15vw,18px);
  }
  .site-head .head-row > .nav { justify-self:center; margin:0 }
  .site-head .head-row .nav ul { align-items:center; gap:0; flex-wrap:nowrap }
  .site-head .head-row .nav li > a {
    display:inline-flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    padding:0 clamp(5px,.58vw,9px);
    white-space:nowrap;
    font-size:clamp(.82rem,1.04vw,.955rem);
    line-height:1.2;
  }
  .site-head .head-cta .btn {
    min-height:44px;
    padding-block:0;
    align-items:center;
    white-space:nowrap;
  }
}
@media(min-width:961px) and (max-width:1100px) {
  .site-head .head-row { column-gap:8px }
  .site-head .head-cta { gap:6px }
  .site-head .head-cta .btn { padding-inline:10px; font-size:.83rem }
  .site-head .head-row .nav li > a { padding-inline:5px }
}
@media(max-width:960px) {
  .site-head .head-row { grid-template-columns:minmax(0,1fr) max-content; column-gap:12px }
  .site-head .head-cta { grid-column:2; gap:8px }
}

.photo-breadcrumb .page-hero::before {
  background-position:52% var(--photo-position,40%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.08) 19%,rgba(0,0,0,.73) 48%,#000 68%);
}
.airport-breadcrumb { --photo-position:34% }
@media(min-width:961px) and (max-width:1029px) {
  .site-head .head-row .nav li > a { padding-inline:3px }
}
@media(max-width:700px) {
  .photo-breadcrumb .page-hero { padding-bottom:clamp(158px,45vw,219px) }
  .photo-breadcrumb .page-hero::before {
    inset:auto 0 0;
    height:clamp(148px,42vw,205px);
    background-position:center var(--photo-position,43%);
    mask-image:linear-gradient(to bottom,transparent 0%,#000 13%);
  }
  .airport-breadcrumb .page-hero::before { background-position:center 21% }
  .photo-breadcrumb .page-hero :is(h1,.lead) { max-width:100% }
}

.site-head .head-cta { gap:12px }
.btn-row { gap:14px 18px }
.site-head .head-row .nav li > a,
.site-head .head-row .nav li > a[aria-current="page"],
.site-head .head-row .nav li > a:active {
  font-family:var(--font,sans-serif); font-style:normal; font-weight:500;
  color:var(--ink); text-decoration:none; background:transparent;
  transition:background-color .15s ease, transform .15s ease;
}
@media (hover:hover) {
  .site-head .head-row .nav li > a:hover {background:var(--sand);transform:scale(1.025)}
}
.site-head a:focus-visible,.country-sites a:focus-visible {outline:2px solid var(--o-ink);outline-offset:3px}
@media(min-width:961px) {
  .site-head .wrap.head-row {
    width:min(95%,1380px);
    grid-template-columns:max-content minmax(0,1fr) max-content;
    column-gap:clamp(14px,1.35vw,24px);
  }
  .site-head .head-row .nav ul { gap:clamp(8px,1.05vw,20px) }
  .site-head .head-row .nav li > a {
    padding-inline:clamp(5px,.5vw,9px);
    font-size:clamp(.84rem,1.03vw,.96rem);
  }
}
@media(min-width:961px) and (max-width:1079px) {
  .site-head .wrap.head-row {
    grid-template-columns:1fr auto;
    row-gap:0;
    padding-block:6px 2px;
  }
  .site-head .head-row > .nav { grid-row:2; grid-column:1/-1 }
  .site-head .head-cta { grid-row:1; grid-column:2 }
  .site-head .head-row .nav ul { gap:clamp(16px,2.1vw,24px) }
}
@media(max-width:960px) {
  .site-head .head-row .nav ul { display:grid; gap:5px }
  .site-head .head-row .nav li > a { display:flex; align-items:center; min-height:44px }
  .site-head .nav-cta-mobile { gap:14px }
}
.faq-tools:not([hidden]) { display:grid; gap:.5rem; max-width:38rem }
.faq-tools label { font-weight:750; color:var(--ink) }
.faq-tools input { width:100%; min-height:48px; border:1px solid var(--mut); border-radius:10px; padding:.7rem 1rem; background:var(--white); color:var(--ink); font:inherit }
.faq-tools input:focus-visible { outline:2px solid var(--o-ink); outline-offset:3px }
.faq-count { color:var(--mut); font-size:.9rem; margin:.7rem 0 1.3rem }
.faq-count:empty { display:none }
.faq-more:not([hidden]) { margin-top:1.3rem }
[data-faq-browser] [hidden] { display:none }
.guidance-photo { margin:0 0 .85rem; text-align:left }
.guidance-photo img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; border-radius:9px }
.guidance-photo figcaption { margin-top:.4rem; color:var(--mut); font-size:.78rem; font-weight:500; line-height:1.45 }
.service-directory .service-tile { min-width:0 }
.service-directory .service-tile .guidance-photo { grid-column:1/-1 }
.service-directory .service-tile h3 { margin-top:.7rem }
.journey .step .guidance-photo { margin-bottom:1rem }
.dest-art .dest-city { max-width:calc(100% - 20px); white-space:normal }
.story-image [data-city-credit],.story-image.city-fallback [data-campus-credit] { display:none }
.story-image.city-fallback [data-city-credit] { display:flex }
.story-place small { color:inherit; line-height:1.5 }
.story-place small a { color:inherit; text-decoration:underline }
.housing-options figure { margin:0 0 1rem }
.housing-options figure img { width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; display:block; border-radius:9px }
.housing-options figcaption { margin-top:.4rem; font-size:.78rem; color:var(--mut); line-height:1.45 }
.housing-options figcaption a { color:inherit }
.country-sites { display:flex; gap:.6rem; align-items:center; flex-wrap:wrap; font-size:.88rem }
.country-sites a { display:inline-flex; align-items:center; gap:.35rem; white-space:nowrap; text-decoration:none; font-style:normal; font-weight:500 }
.country-sites .country-flag { display:block; flex:none; width:1.25rem; height:.9375rem; border-radius:2px; fill:#000; box-shadow:0 0 0 1px rgba(128,128,128,.4) }
.country-sites a[aria-current] { font-weight:500; text-decoration:none; background:transparent }
.mobile-call { display:none }
@media (max-width:767.98px), (pointer:coarse) and (orientation:landscape) and (max-height:500px) and (max-width:960px) {
  .topbar { display:block }
  .topbar .topbar-row { display:flex; min-height:44px; padding-block:0 }
  .topbar .tb-contacts, .topbar .tb-right > .tb-social { display:none }
  .topbar .tb-right { display:flex; width:100%; align-items:center; justify-content:space-between; gap:.5rem; flex-wrap:nowrap }
  .topbar .country-sites { display:flex; flex-wrap:nowrap; gap:.35rem; font-size:.8125rem }
  .topbar .country-sites a, .topbar .tb-right > .tb-towns { display:inline-flex; align-items:center; min-height:44px }
  .topbar .tb-right > .tb-towns { margin-inline-start:auto; gap:.25rem; font-size:.8125rem }
  .mobile-call {
    display:grid; place-items:center; position:fixed; z-index:45;
    left:calc(.875rem + env(safe-area-inset-left,0px)); bottom:calc(.875rem + env(safe-area-inset-bottom,0px));
    width:52px; height:52px; border-radius:50%; background:#b4400b; color:#fff;
    box-shadow:0 4px 16px rgba(29,20,14,.25); text-decoration:none;
  }
  .mobile-call:hover, .mobile-call:focus-visible { background:#8c3109; color:#fff }
  .mobile-call:focus-visible { outline:3px solid #fff; outline-offset:2px; box-shadow:0 0 0 6px #30251d }
}
.site-head .btn[aria-current="page"] { font-family:inherit; font-style:normal; font-weight:500; color:var(--ink); background:transparent; text-decoration:none; box-shadow:none }
.ins-photo-caption { display:block; color:var(--mut); font-size:.78rem; line-height:1.45; margin:0 0 .75rem }
.offices .office p:has(br) { white-space:normal }


/* Successful registrations and newly completed Course Match results. */
:is(body[data-page="apply"],body[data-page="event"]) .success .tick,
.match-receipt .milestone-art {
  display: block;
  position: relative;
  width: min(100%, 290px);
  height: 80px;
  margin: 0 auto 12px;
  border-radius: 0;
  box-shadow: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 290 80' fill='none' stroke='%23588099' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 73h280M18 70l12-30 12 30m-12-30v26m-17-22h34m-31-9 29 18m-29 0 29-18'/%3E%3Ccircle cx='30' cy='42' r='18'/%3E%3Cpath d='M54 72V42h9v30m-10-30 5-11 6 11m-5-10v-8m11 47V54h24v17m8 1V61h12v11m17-1c7-9 10-14 13-25 6 9 9 17 10 25m-4 0c9-13 16-15 26-21-2 11-4 16-9 21m1 0c10-6 16-8 23-8l-5 8m-60 1h70m18 0 3-34h5l3 34m-10-34-2-4h13l-2 4m-5-4V15m-2 18V23h4v10m18 39V60h8v12m4 0V51h13v21m6 0V57h10v15'/%3E%3Cpath d='M61 31q49-29 96-14t88-7' stroke='%23c78a55' stroke-dasharray='3 5'/%3E%3C/svg%3E") center bottom / contain no-repeat;
}

:is(body[data-page="apply"],body[data-page="event"]) .success .tick svg {
  display: none;
}

:is(body[data-page="apply"],body[data-page="event"]) .success .tick::after,
.match-receipt .milestone-art::after {
  content: "";
  position: absolute;
  left: 72%;
  top: 0;
  width: 26px;
  height: 26px;
  background: #d3541b;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m22 2-1 5-6 6 .8 7.4-1.9 1.9-3-6.2-3.5 3.5-.3 2.4-1.4 1.4-1.8-4.9-4.9-1.8 1.4-1.4 2.4-.3 3.5-3.5-6.2-3 1.9-1.9 7.4.8 6-6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

:is(body[data-page="apply"],body[data-page="event"]) .success .tick::before,
.match-receipt .milestone-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, #168671 1.6px, transparent 2.5px),
    radial-gradient(circle at 37% 9%, #d3541b 2px, transparent 3px),
    radial-gradient(circle at 50% 32%, #c69021 1.7px, transparent 2.5px),
    radial-gradient(circle at 65% 20%, #2870a2 2px, transparent 3px),
    radial-gradient(circle at 90% 22%, #168671 1.6px, transparent 2.5px);
}

.match-receipt {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
  flex-wrap: wrap;
  margin: 30px 0 0;
  padding: 20px clamp(18px, 4vw, 42px);
  border: 1px solid var(--line, #c9d6da);
  border-radius: 18px;
}
.match-receipt .milestone-art { margin: 0; flex: 0 1 250px; }
.match-receipt > div { flex: 1 1 235px; }
.match-receipt h2 { margin: 0 0 4px; font-size: clamp(21px, 3vw, 28px); }
.match-receipt p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  :is(body[data-page="apply"],body[data-page="event"]) .success .tick::after,
  .match-receipt .milestone-art::after { animation: unipass-receipt-flight 1.3s ease-out both; }
  :is(body[data-page="apply"],body[data-page="event"]) .success .tick::before,
  .match-receipt .milestone-art::before { animation: unipass-receipt-confetti 850ms ease-out both; }
}
@keyframes unipass-receipt-flight {
  from { left: 16%; transform: translateY(19px) rotate(36deg); opacity: .3; }
  to { left: 72%; transform: translateY(0) rotate(5deg); opacity: 1; }
}
@keyframes unipass-receipt-confetti {
  from { opacity: 0; transform: translateY(9px) scale(.75); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.office-lines {display:grid;gap:.25rem;margin:.7rem 0}
.office-lines small {font-size:.875rem;color:var(--mut)}
.office-lines a {color:var(--o-ink);width:fit-content;font-weight:600}
.branch-team {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:clamp(1rem,2vw,1.7rem)}
.branch-team .leadership-photo {width:100%;height:auto;aspect-ratio:370/452;object-fit:cover;object-position:center 22%}
.branch-team figcaption span {display:block;margin-top:.25rem}
.branch-destination-map {margin:0 0 clamp(2rem,4vw,4rem)}
.hero-art.branch-hero-art {width:100%;min-width:0;padding-bottom:1.2rem}
.hero-art.branch-hero-art .pass {margin:1.2rem auto 0}
.more-places {margin:2.8rem 0}
.more-places h2 {font-size:clamp(1.4rem,2.5vw,2rem)}
.more-places ul {display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.4rem 1rem;list-style:none;padding:0}
.more-places li a {display:block;padding:.65rem 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}
.more-places li a:hover {color:var(--o-ink)}
@media(prefers-reduced-motion:reduce){.site-head .head-row .nav li > a,.site-head .head-row .nav li > a:hover{transition:none;transform:none}}

.branch-years{position:relative;isolation:isolate}
.branch-years .years-badge{position:absolute;z-index:1;left:clamp(.7rem,2vw,1.7rem);top:clamp(.7rem,2vw,1.7rem);border-radius:1.1rem;background:#231e1a;color:#fff;padding:.75rem 1rem;display:grid;gap:.2rem;box-shadow:0 5px 18px #19100c40}
.years-badge span{font-size:.78rem;font-weight:650;letter-spacing:.05em;color:#ffb888}
.years-badge strong{font-size:2rem;line-height:1}.years-badge small{font-size:.8rem}
