/* HCET Premium Experience — homepage & shared refinements
   Builds on the Carbon tokens; brand navy #0a2d6e + crimson #be1d3e preserved. */

:root {
  --hx-navy: #0a2d6e;
  --hx-navy-deep: #061a40;
  --hx-crimson: #be1d3e;
  --hx-gold: #e8b84a;
  --hx-ink: #12182b;
  --hx-muted: #566078;
  --hx-line: #e3e8f1;
  --hx-paper: #f6f8fc;
  --hx-radius: 18px;
  --hx-shadow: 0 1px 2px rgba(10,29,70,.06), 0 12px 32px -12px rgba(10,29,70,.18);
  --hx-shadow-lg: 0 2px 4px rgba(10,29,70,.06), 0 30px 60px -20px rgba(10,29,70,.30);
  --hx-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

.hx-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hx-section { padding: clamp(64px, 9vw, 120px) 0; }
.hx-section--paper { background: var(--hx-paper); }
.hx-section--navy { background: var(--hx-navy-deep); color: #fff; }

.hx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--hx-crimson);
}
.hx-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hx-section--navy .hx-eyebrow { color: var(--hx-gold); }

.hx-h2 {
  font-family: var(--hx-serif); font-weight: 500; color: var(--hx-ink);
  font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.1; letter-spacing: -.01em;
  margin: 14px 0 0;
}
.hx-section--navy .hx-h2 { color: #fff; }
.hx-lead { color: var(--hx-muted); font-size: 1.125rem; line-height: 1.7; max-width: 60ch; margin-top: 18px; }
.hx-section--navy .hx-lead { color: rgba(255,255,255,.75); }
.hx-head { margin-bottom: clamp(36px, 5vw, 64px); }
.hx-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* Buttons */
.hx-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px;
  border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none;
  border: 1.5px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.hx-btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.hx-btn:hover svg { transform: translateX(4px); }
.hx-btn--primary { background: var(--hx-crimson); color: #fff; box-shadow: 0 10px 24px -10px rgba(190,29,62,.7); }
.hx-btn--primary:hover { background: #a51833; transform: translateY(-2px); color: #fff; }
.hx-btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.hx-btn--glass:hover { background: #fff; color: var(--hx-navy); }
.hx-btn--ghost { background: transparent; color: #fff; border-color: transparent; padding-left: 8px; }
.hx-btn--ghost:hover { color: var(--hx-gold); }
.hx-btn--outline { color: var(--hx-navy); border-color: var(--hx-navy); }
.hx-btn--outline:hover { background: var(--hx-navy); color: #fff; }
.hx-link { color: var(--hx-navy); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.hx-link:hover { color: var(--hx-crimson); }
.hx-link svg { width: 16px; height: 16px; transition: transform .25s; }
.hx-link:hover svg { transform: translateX(4px); }

/* Focus */
.hx-btn:focus-visible, .hx-link:focus-visible, .hx-prog:focus-visible, .hx-gal__item:focus-visible, .hx-faq summary:focus-visible {
  outline: 3px solid var(--hx-gold); outline-offset: 3px;
}

/* ───────── Hero ───────── */
.hx-hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hx-hero__bg { position: absolute; inset: 0; z-index: -2; }
.hx-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: hx-drift 22s ease-out forwards; }
.hx-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,26,64,.55) 0%, rgba(6,26,64,.15) 35%, rgba(6,26,64,.85) 100%),
    linear-gradient(90deg, rgba(6,26,64,.8) 0%, rgba(6,26,64,.1) 70%);
}
.hx-hero__inner { padding-top: 140px; padding-bottom: 120px; width: 100%; box-sizing: border-box; }
.hx-hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px);
  font-size: .85rem; text-decoration: none; color: #fff; margin-bottom: 28px;
}
.hx-hero__badge b { background: var(--hx-gold); color: var(--hx-navy-deep); padding: 3px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.hx-hero__badge:hover { background: rgba(255,255,255,.22); color: #fff; }
.hx-hero h1 {
  font-family: var(--hx-serif); font-weight: 500; font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.02; letter-spacing: -.02em; max-width: 14ch; margin: 0; color: #fff;
}
.hx-hero h1 em { font-style: italic; color: var(--hx-gold); }
.hx-hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.65; max-width: 54ch; margin: 28px 0 40px; color: rgba(255,255,255,.88); }
.hx-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hx-hero__scroll { position: absolute; right: 24px; bottom: 36px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 12px; }
.hx-hero__scroll::after { content: ""; width: 1px; height: 56px; background: rgba(255,255,255,.5); }
@keyframes hx-drift { to { transform: scale(1); } }

/* ───────── Trust bar (overlaps hero) ───────── */
.hx-trust { position: relative; z-index: 3; margin-top: -64px; }
.hx-trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--hx-radius);
  box-shadow: var(--hx-shadow-lg); overflow: hidden;
}
.hx-trust__item { padding: 30px 28px; border-right: 1px solid var(--hx-line); }
.hx-trust__item:last-child { border-right: 0; }
.hx-trust__num { font-family: var(--hx-serif); font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--hx-navy); line-height: 1; }
.hx-trust__num sup { font-size: .5em; color: var(--hx-crimson); }
.hx-trust__label { margin-top: 10px; color: var(--hx-muted); font-size: .92rem; line-height: 1.4; }

/* ───────── Why HCET ───────── */
.hx-why { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hx-collage { position: relative; aspect-ratio: 5/6; }
.hx-collage img { position: absolute; object-fit: cover; border-radius: var(--hx-radius); box-shadow: var(--hx-shadow-lg); }
.hx-collage__a { width: 72%; height: 70%; top: 0; left: 0; }
.hx-collage__b { width: 52%; height: 44%; right: 0; bottom: 14%; border: 8px solid #fff; }
.hx-collage__c { width: 38%; height: 28%; left: 8%; bottom: 0; border: 8px solid #fff; }
.hx-collage__tag {
  position: absolute; left: -10px; top: 52%; background: var(--hx-navy); color: #fff; padding: 14px 20px;
  border-radius: 14px; box-shadow: var(--hx-shadow); z-index: 2; line-height: 1.2;
}
.hx-collage__tag small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-gold); }
.hx-collage__tag strong { font-family: var(--hx-serif); font-size: 1.7rem; font-weight: 500; }
.hx-points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.hx-points li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.hx-points__ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(10,45,110,.08); color: var(--hx-navy); display: grid; place-items: center; }
.hx-points__ic svg { width: 22px; height: 22px; }
.hx-points h3 { margin: 0 0 4px; font-size: 1.1rem; color: var(--hx-ink); }
.hx-points p { margin: 0; color: var(--hx-muted); line-height: 1.6; }

/* ───────── Programs ───────── */
.hx-tabs { display: inline-flex; padding: 5px; background: #fff; border: 1px solid var(--hx-line); border-radius: 999px; gap: 4px; }
.hx-tab { border: 0; background: transparent; padding: 10px 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .92rem; color: var(--hx-muted); cursor: pointer; transition: all .2s; }
.hx-tab[aria-selected="true"] { background: var(--hx-navy); color: #fff; }
.hx-tab:focus-visible { outline: 3px solid var(--hx-gold); outline-offset: 2px; }
.hx-progs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hx-prog {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--hx-radius); overflow: hidden;
  text-decoration: none; color: inherit; box-shadow: var(--hx-shadow); transition: transform .35s ease, box-shadow .35s ease;
}
.hx-prog:hover { transform: translateY(-6px); box-shadow: var(--hx-shadow-lg); color: inherit; }
.hx-prog[hidden] { display: none; }
.hx-prog__img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.hx-prog__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.hx-prog:hover .hx-prog__img img { transform: scale(1.06); }
.hx-prog__tag { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.95); color: var(--hx-navy); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.hx-prog__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.hx-prog h3 { font-family: var(--hx-serif); font-weight: 500; font-size: 1.45rem; line-height: 1.2; margin: 0 0 10px; color: var(--hx-ink); }
.hx-prog p { color: var(--hx-muted); line-height: 1.6; margin: 0 0 20px; font-size: .96rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hx-prog__meta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hx-line); display: flex; gap: 18px; align-items: center; font-size: .86rem; color: var(--hx-muted); }
.hx-prog__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hx-prog__meta svg { width: 16px; height: 16px; color: var(--hx-crimson); }
.hx-prog__go { margin-left: auto; color: var(--hx-navy); font-weight: 600; }

/* ───────── Campus life ───────── */
.hx-life { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 110px; gap: 16px; }
.hx-life figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--hx-radius); }
.hx-life img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hx-life figure:hover img { transform: scale(1.05); }
.hx-life figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; color: #fff; font-weight: 600; background: linear-gradient(0deg, rgba(6,26,64,.85), transparent); }
.hx-life figcaption small { display: block; font-weight: 400; opacity: .8; margin-top: 2px; }
.hx-life__1 { grid-column: 1 / 8; grid-row: 1 / 5; }
.hx-life__2 { grid-column: 8 / 13; grid-row: 1 / 3; }
.hx-life__3 { grid-column: 8 / 13; grid-row: 3 / 5; }
.hx-life__4 { grid-column: 1 / 5; grid-row: 5 / 7; }
.hx-life__5 { grid-column: 5 / 9; grid-row: 5 / 7; }
.hx-life__q { grid-column: 9 / 13; grid-row: 5 / 7; background: var(--hx-navy); color: #fff; padding: 26px; border-radius: var(--hx-radius); display: flex; flex-direction: column; justify-content: center; }
.hx-life__q strong { font-family: var(--hx-serif); font-weight: 500; font-size: 1.35rem; line-height: 1.3; }
.hx-life__q a { color: var(--hx-gold); margin-top: 14px; font-weight: 600; text-decoration: none; }
.hx-amen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hx-chip { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--hx-line); font-size: .92rem; font-weight: 500; color: var(--hx-ink); }

/* ───────── Admissions steps ───────── */
.hx-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.hx-steps li { position: relative; padding: 0 28px 0 0; counter-increment: s; }
.hx-steps li::before {
  content: counter(s, decimal-leading-zero); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--hx-gold); color: var(--hx-navy-deep); font-family: var(--hx-serif); font-size: 1.2rem; font-weight: 600; position: relative; z-index: 1;
}
.hx-steps li::after { content: ""; position: absolute; top: 28px; left: 64px; right: 8px; height: 1px; background: rgba(255,255,255,.25); }
.hx-steps li:last-child::after { display: none; }
.hx-steps h3 { color: #fff; font-size: 1.15rem; margin: 22px 0 8px; }
.hx-steps p { color: rgba(255,255,255,.72); line-height: 1.6; margin: 0; font-size: .95rem; }
.hx-admit { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: clamp(40px, 6vw, 72px); padding: 32px 36px; border-radius: var(--hx-radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); }
.hx-admit h3 { margin: 0 0 6px; font-family: var(--hx-serif); font-weight: 500; font-size: 1.6rem; color: #fff; }
.hx-admit p { margin: 0; color: rgba(255,255,255,.75); }
.hx-admit__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────── Heritage ───────── */
.hx-heritage { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.hx-heritage__img { position: relative; }
.hx-heritage__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--hx-radius); box-shadow: var(--hx-shadow-lg); }
.hx-timeline { list-style: none; padding: 0; margin: 32px 0 0; border-left: 2px solid var(--hx-line); }
.hx-timeline li { position: relative; padding: 0 0 26px 28px; }
.hx-timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--hx-crimson); box-shadow: 0 0 0 4px #fff; }
.hx-timeline b { font-family: var(--hx-serif); font-size: 1.4rem; font-weight: 500; color: var(--hx-navy); }
.hx-timeline span { display: block; color: var(--hx-muted); line-height: 1.6; margin-top: 2px; }

/* ───────── Gallery ───────── */
.hx-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hx-gal__item { all: unset; cursor: pointer; display: block; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 14px; }
.hx-gal__item:first-child { grid-column: span 2; grid-row: span 2; }
.hx-gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.hx-gal__item:hover img { transform: scale(1.07); }

/* ───────── Final CTA & contact ───────── */
.hx-cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: clamp(40px, 7vw, 88px); color: #fff; background: var(--hx-navy); }
.hx-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hx-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,26,64,.96) 30%, rgba(6,26,64,.55)); }
.hx-cta h2 { font-family: var(--hx-serif); font-weight: 500; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.08; max-width: 18ch; margin: 0 0 18px; color: #fff; }
.hx-cta p { max-width: 52ch; color: rgba(255,255,255,.82); line-height: 1.7; margin: 0 0 32px; }
.hx-contact { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; font-size: .95rem; color: rgba(255,255,255,.85); }
.hx-contact a { color: #fff; }

/* ───────── Motion ───────── */
.hx-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.hx-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hx-reveal { opacity: 1; transform: none; transition: none; }
  .hx-hero__bg img { animation: none; transform: none; }
  .hx-btn, .hx-prog, .hx-prog img, .hx-life img, .hx-gal__item img { transition: none; }
}

/* ───────── Responsive ───────── */
@media (max-width: 1000px) {
  .hx-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .hx-trust__item:nth-child(2) { border-right: 0; }
  .hx-trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--hx-line); }
  .hx-why, .hx-heritage { grid-template-columns: 1fr; }
  .hx-collage { max-width: 520px; }
  .hx-progs { grid-template-columns: repeat(2, 1fr); }
  .hx-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .hx-steps li:nth-child(2)::after { display: none; }
  .hx-gal { grid-template-columns: repeat(3, 1fr); }
  .hx-admit { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hx-wrap { padding: 0 18px; }
  .hx-hero { min-height: 88vh; }
  .hx-hero__inner { padding-top: 110px; padding-bottom: 100px; }
  .hx-hero__scroll { display: none; }
  .hx-hero__cta .hx-btn { width: 100%; justify-content: center; }
  .hx-hero__cta .hx-btn--ghost { justify-content: flex-start; }
  .hx-trust { margin-top: -48px; }
  .hx-trust__item { padding: 22px 18px; }
  .hx-progs { grid-template-columns: 1fr; }
  .hx-life { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .hx-life figure, .hx-life__q { grid-column: auto !important; grid-row: auto !important; }
  .hx-life__1 { grid-column: 1 / 3 !important; grid-row: span 2 !important; }
  .hx-life__q { grid-column: 1 / 3 !important; min-height: 150px; }
  .hx-steps { grid-template-columns: 1fr; }
  .hx-steps li::after { display: none; }
  .hx-gal { grid-template-columns: repeat(2, 1fr); }
  .hx-tabs { width: 100%; }
  .hx-tab { flex: 1; padding: 10px 8px; }
  .hx-cta { border-radius: 20px; }
}

/* ───────── Desktop navbar: prominent college logo ───────── */
@media (min-width: 1001px) {
  .cds-navbar { height: 82px; }
  .cds-navbar__logo { gap: 14px; padding-right: 18px; border-right: 1px solid var(--hx-line); }
  .cds-navbar__logo-img { width: auto; height: 62px; max-width: 140px; }
  .cds-navbar__logo-name { font-size: 16px !important; color: var(--hx-navy) !important; }
  .cds-navbar__logo-tagline { color: var(--hx-muted) !important; }
}

/* ───────── Unified inner-page hero (all page types) ───────── */
.cds-hero, .cds-page-hero, .hero-arera {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background-color: var(--hx-navy-deep);
}
.cds-hero { min-height: 0 !important; display: flex; align-items: flex-end; padding: clamp(72px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); }
.cds-page-hero { min-height: 0; padding: clamp(72px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); }
.cds-hero__bg, .cds-page-hero__bg { z-index: -2; }
.cds-hero__overlay, .cds-page-hero__overlay { background: none !important; }
.cds-hero::before, .cds-page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,26,64,.55) 0%, rgba(6,26,64,.85) 100%),
              linear-gradient(90deg, rgba(6,26,64,.85) 0%, rgba(6,26,64,.35) 100%);
}
.cds-hero::after { display: none; }

/* container for wrappers that never had one */
.cds-hero__inner { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.cds-hero > .cds-container, .cds-page-hero > .cds-container { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.cds-hero__content, .cds-page-hero__content { max-width: 60rem; padding: 0; }
.cds-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: .78rem; letter-spacing: .16em; font-weight: 600; text-transform: uppercase; color: var(--hx-gold);
}
.cds-hero__eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.cds-hero__title, .cds-page-hero__title {
  font-family: var(--hx-serif); font-weight: 500 !important; letter-spacing: -.015em;
  font-size: clamp(2rem, 4.6vw, 3.6rem) !important; line-height: 1.1 !important; margin: 0 !important;
  color: #fff !important; text-shadow: none !important; text-transform: none; max-width: 22ch;
}
.cds-hero__description {
  margin: 18px 0 0; max-width: 58ch; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.65; color: rgba(255,255,255,.88);
}

/* breadcrumbs */
.cds-breadcrumb, .hero-arera .breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .88rem; }
.cds-breadcrumb__item, .hero-arera .breadcrumb-item { color: rgba(255,255,255,.75); display: inline-flex; gap: 6px; }
.cds-breadcrumb__item + .cds-breadcrumb__item::before, .hero-arera .breadcrumb-item + .breadcrumb-item::before { content: "/"; color: rgba(255,255,255,.4); padding-right: 0; float: none; }
.cds-breadcrumb__link, .hero-arera .breadcrumb-item a { color: #fff !important; text-decoration: none; }
.cds-breadcrumb__link:hover, .hero-arera .breadcrumb-item a:hover { color: var(--hx-gold) !important; text-decoration: underline; }
.cds-breadcrumb__item--current { color: var(--hx-gold); }

/* legacy hero (department / about pages that had no banner styling) */
.hero-arera {
  padding: clamp(64px, 9vw, 112px) 0 clamp(36px, 5vw, 64px);
  background-image: linear-gradient(180deg, rgba(6,26,64,.6), rgba(6,26,64,.9)), url('/assets/hcet/homepage/hcet_aerial_02.jpg');
  background-size: cover; background-position: center 40%;
}
.hero-arera .container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hero-arera .hero-course-1-text h2, .hero-arera h2 {
  font-family: var(--hx-serif); font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.1;
  letter-spacing: -.015em; color: #fff; margin: 0 0 16px; max-width: 24ch;
}
.hero-arera .course-title-breadcrumb { margin: 0; }
.hero-arera .breadcrumb { margin: 0; }

@media (max-width: 680px) {
  .cds-hero__inner, .hero-arera .container, .cds-hero > .cds-container, .cds-page-hero > .cds-container { padding: 0 18px; }
  .cds-hero__title, .cds-page-hero__title { max-width: none; }
}

/* ───────── News & circulars ───────── */
.hx-news { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: stretch; }
.hx-news__feature {
  position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--hx-radius);
  background: linear-gradient(160deg, var(--hx-navy) 0%, var(--hx-navy-deep) 100%); color: #fff; box-shadow: var(--hx-shadow-lg);
}
.hx-news__flag { align-self: flex-start; background: var(--hx-gold); color: var(--hx-navy-deep); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 22px; }
.hx-news__fmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .88rem; color: rgba(255,255,255,.75); }
.hx-news__feature h3 { font-family: var(--hx-serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; margin: 18px 0 14px; }
.hx-news__feature h3 a { color: #fff; text-decoration: none; }
.hx-news__feature h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hx-news__feature p { color: rgba(255,255,255,.8); line-height: 1.65; margin: 0 0 28px; }
.hx-news__feature .hx-btn { align-self: flex-start; margin-top: auto; }

.hx-news__cat { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hx-navy); background: rgba(10,45,110,.08); padding: 4px 10px; border-radius: 999px; }
.hx-news__cat--on-dark { color: #fff; background: rgba(255,255,255,.16); }
.hx-news__pdf { display: inline-flex; align-items: center; gap: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--hx-crimson); background: rgba(190,29,62,.1); padding: 4px 9px; border-radius: 999px; }
.hx-news__feature .hx-news__pdf { color: #fff; background: rgba(190,29,62,.65); }
.hx-news__pdf svg { width: 12px; height: 12px; }

.hx-news__list { background: #fff; border-radius: var(--hx-radius); box-shadow: var(--hx-shadow); padding: 8px; }
.hx-news__list ul { list-style: none; margin: 0; padding: 0; }
.hx-news__row[hidden] { display: none; }
.hx-news__row + .hx-news__row { border-top: 1px solid var(--hx-line); }
.hx-news__row a { display: grid; grid-template-columns: 68px 1fr 24px; gap: 20px; align-items: center; padding: 18px 16px; border-radius: 12px; text-decoration: none; color: inherit; transition: background .2s; }
.hx-news__row a:hover { background: var(--hx-paper); color: inherit; }
.hx-news__row a:focus-visible { outline: 3px solid var(--hx-gold); outline-offset: -3px; }
.hx-news__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 14px; background: rgba(10,45,110,.07); color: var(--hx-navy); line-height: 1; }
.hx-news__date b { font-family: var(--hx-serif); font-size: 1.6rem; font-weight: 500; }
.hx-news__date span { font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; margin-top: 5px; color: var(--hx-muted); }
.hx-news__main { min-width: 0; display: block; }
.hx-news__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.hx-news__title { display: block; font-weight: 600; color: var(--hx-ink); line-height: 1.4; font-size: 1.02rem; }
.hx-news__arrow { width: 20px; height: 20px; color: var(--hx-muted); transition: transform .25s, color .25s; }
.hx-news__row a:hover .hx-news__arrow { transform: translateX(4px); color: var(--hx-crimson); }
.hx-news__empty { padding: 32px; text-align: center; color: var(--hx-muted); margin: 0; }

@media (max-width: 1000px) { .hx-news { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .hx-news__row a { grid-template-columns: 56px 1fr; gap: 14px; padding: 16px 10px; }
  .hx-news__arrow { display: none; }
  .hx-news__date { width: 56px; height: 56px; }
  .hx-news__date b { font-size: 1.3rem; }
}

/* ═════════ Site-wide refinements (all inner pages) ═════════ */
:root { --cds-container-max: 1288px; --cds-grid-margin: 24px; --cds-header-height: 88px; }
@media (max-width: 680px) { :root { --cds-grid-margin: 18px; } }
.container { max-width: 1240px; }
.cds-page__main { background: #fff; }
.cds-section { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.cds-section--alt { background: var(--hx-paper); }
.cds-section-title, .cds-section__header h2, .section-title h2 {
  font-family: var(--hx-serif); font-weight: 500; letter-spacing: -.01em; color: var(--hx-ink);
}
.cds-section-eyebrow { color: var(--hx-crimson); font-weight: 600; letter-spacing: .16em; font-size: .78rem; text-transform: uppercase; }
.cds-title-accent::after { background: var(--hx-crimson); }

/* Cards */
.cds-card { border: 1px solid var(--hx-line); border-radius: var(--hx-radius); box-shadow: var(--hx-shadow); background: #fff; overflow: hidden; }
.cds-card:hover { box-shadow: var(--hx-shadow-lg); }

/* Forms */
.cds-form { display: grid; gap: 22px; }
.cds-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cds-form-item { display: grid; gap: 8px; margin: 0; }
.cds-label { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: none; color: var(--hx-ink); margin: 0; }
.cds-label--required::after { content: " *"; color: var(--hx-crimson); }
.cds-text-input, .cds-select {
  width: 100%; height: auto; padding: 14px 16px; background: #fff; color: var(--hx-ink);
  border: 1.5px solid #cfd7e6; border-bottom: 1.5px solid #cfd7e6; border-radius: 12px; font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
textarea.cds-text-input { min-height: 160px; resize: vertical; }
.cds-text-input:hover, .cds-select:hover { border-color: #9fb0cf; }
.cds-text-input:focus, .cds-select:focus { outline: none; border-color: var(--hx-navy); box-shadow: 0 0 0 4px rgba(10,45,110,.14); }
.cds-text-input:invalid:not(:placeholder-shown):not(:focus) { border-color: var(--hx-crimson); }
.cds-text-input::placeholder { color: #8a94a8; }
@media (max-width: 680px) { .cds-form-row { grid-template-columns: 1fr; } }

/* Primary buttons everywhere */
.cds-btn { border-radius: 999px; font-weight: 600; }
.cds-btn--primary { background: var(--hx-crimson); border-color: var(--hx-crimson); color: #fff; }
.cds-btn--primary:hover { background: #a51833; border-color: #a51833; }

/* Tables */
.cds-table-container { border: 1px solid var(--hx-line); border-radius: var(--hx-radius); overflow: hidden; box-shadow: var(--hx-shadow); background: #fff; }
.cds-table th { background: var(--hx-navy); color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

/* Reusable premium form panel & page intro */
.hx-panel { background: #fff; border: 1px solid var(--hx-line); border-radius: 22px; box-shadow: var(--hx-shadow-lg); padding: clamp(24px, 4vw, 48px); }
.hx-panel__head { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--hx-line); }
.hx-panel__head h2 { font-family: var(--hx-serif); font-weight: 500; font-size: 1.8rem; margin: 0 0 6px; color: var(--hx-ink); }
.hx-panel__head p { margin: 0; color: var(--hx-muted); line-height: 1.6; }
.hx-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: rgba(10,45,110,.06); color: var(--hx-ink); font-size: .92rem; line-height: 1.55; }
.hx-note svg { width: 20px; height: 20px; flex: none; color: var(--hx-navy); margin-top: 2px; }

/* ───────── Footer ───────── */
.hx-footer { background: var(--hx-navy-deep); color: rgba(255,255,255,.78); position: relative; }
.hx-footer a { color: inherit; text-decoration: none; transition: color .2s; }
.hx-footer a:hover { color: var(--hx-gold); }
.hx-footer a:focus-visible { outline: 3px solid var(--hx-gold); outline-offset: 3px; border-radius: 4px; }
.hx-footer__cta { border-bottom: 1px solid rgba(255,255,255,.12); }
.hx-footer__cta .hx-wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.hx-footer__cta h2 { font-family: var(--hx-serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.2rem); color: #fff; margin: 0; max-width: 24ch; line-height: 1.2; }
.hx-footer__main { padding: 64px 0 48px; }
.hx-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 48px; }
.hx-footer__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hx-footer__brand img { height: 56px; width: auto; background: #fff; padding: 4px; border-radius: 8px; }
.hx-footer__brand strong { display: block; color: #fff; font-family: var(--hx-serif); font-weight: 500; font-size: 1.25rem; line-height: 1.2; }
.hx-footer h3 { color: #fff; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin: 0 0 20px; }
.hx-footer p { line-height: 1.7; margin: 0; font-size: .95rem; }
.hx-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: .95rem; }
.hx-footer__social { display: flex; gap: 10px; margin-top: 22px; }
.hx-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.hx-footer__social a:hover { background: var(--hx-gold); border-color: var(--hx-gold); color: var(--hx-navy-deep); }
.hx-footer__social svg { width: 18px; height: 18px; }
.hx-footer__contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.hx-footer__contact svg { width: 18px; height: 18px; color: var(--hx-gold); margin-top: 3px; }
.hx-footer__map { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: .9rem; font-weight: 600; }
.hx-footer__map:hover { background: #fff; color: var(--hx-navy) !important; }
.hx-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.hx-footer__bottom .hx-wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: .85rem; color: rgba(255,255,255,.6); }
.hx-footer__bottom ul { display: flex; gap: 22px; }
@media (max-width: 1000px) { .hx-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 600px) { .hx-footer__grid { grid-template-columns: 1fr; } .hx-footer__main { padding: 48px 0 32px; } }

/* ───────── Students mega menu ───────── */
.hx-mega.cds-mega-menu {
  grid-template-columns: 1fr 1fr 1.25fr; gap: 0; min-width: min(58rem, calc(100vw - 2rem)); padding: 0;
  left: 50%; transform: translate(-50%, 12px); border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid var(--hx-line); box-shadow: 0 30px 60px -20px rgba(10,29,70,.35);
}
.cds-nav__item:hover > .hx-mega.cds-mega-menu, .cds-nav__item:focus-within > .hx-mega.cds-mega-menu, .cds-nav__item.is-open > .hx-mega.cds-mega-menu { transform: translate(-50%, 0); }
.hx-mega__col { padding: 26px 28px 28px; }
.hx-mega__col + .hx-mega__col { border-left: 1px solid var(--hx-line); }
.hx-mega__col:last-child { background: var(--hx-paper); }
.hx-mega__title { margin: 0 0 16px; font-family: var(--hx-serif); font-weight: 500; font-size: 1.15rem; color: var(--hx-navy); line-height: 1.2; }
.hx-mega__title small { display: block; margin-top: 4px; font-family: var(--cds-font-family); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--hx-muted); }
.hx-mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hx-mega__list--2 { grid-template-columns: 1fr 1fr; column-gap: 8px; }
.hx-mega__link { display: block; padding: 8px 10px; border-radius: 8px; font-size: .88rem; font-weight: 500; color: var(--hx-ink); text-decoration: none; transition: background .15s, color .15s, padding .15s; }
.hx-mega__link:hover, .hx-mega__link:focus-visible { background: var(--hx-navy); color: #fff; padding-left: 14px; }
.hx-mega__link:focus-visible { outline: 3px solid var(--hx-gold); outline-offset: 1px; }
.hx-drawer-sub { padding: 14px 16px !important; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.hx-drawer-subsub { padding-left: 24px; background: rgba(10,45,110,.04); margin: 0; }

/* ───────── About page components ───────── */
.hx-prose { color: var(--hx-muted); line-height: 1.8; font-size: 1.05rem; margin-top: 22px; display: grid; gap: 14px; }
.hx-prose p { margin: 0; }
.hx-prose strong, .hx-prose b { color: var(--hx-ink); }
.hx-miles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.hx-miles li { background: #fff; border: 1px solid var(--hx-line); border-radius: var(--hx-radius); padding: 28px 26px; box-shadow: var(--hx-shadow); border-top: 4px solid var(--hx-crimson); }
.hx-miles b { display: block; font-family: var(--hx-serif); font-weight: 500; font-size: 2.4rem; color: var(--hx-navy); line-height: 1; }
.hx-miles h3 { margin: 16px 0 8px; font-size: 1.05rem; color: var(--hx-ink); }
.hx-miles p { margin: 0; color: var(--hx-muted); line-height: 1.65; font-size: .95rem; }
.hx-vm { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.hx-vm__card { padding: clamp(28px, 4vw, 48px); border-radius: 22px; border: 1px solid var(--hx-line); background: #fff; box-shadow: var(--hx-shadow); }
.hx-vm__card--vision { background: linear-gradient(160deg, var(--hx-navy), var(--hx-navy-deep)); color: #fff; border: 0; }
.hx-vm__card--vision .hx-eyebrow { color: var(--hx-gold); }
.hx-vm__card p { font-family: var(--hx-serif); font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.4; margin: 18px 0 0; }
.hx-vm__card ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; counter-reset: m; }
.hx-vm__card li { counter-increment: m; display: grid; grid-template-columns: 36px 1fr; gap: 14px; color: var(--hx-ink); line-height: 1.6; }
.hx-vm__card li::before { content: counter(m); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(190,29,62,.1); color: var(--hx-crimson); font-weight: 700; font-size: .9rem; }
.hx-prin { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hx-prin__card { padding: 30px 26px; border-radius: var(--hx-radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); transition: background .25s, transform .25s; }
.hx-prin__card:hover { background: rgba(255,255,255,.11); transform: translateY(-4px); }
.hx-prin__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--hx-gold); color: var(--hx-navy-deep); margin-bottom: 22px; }
.hx-prin__ic svg { width: 26px; height: 26px; }
.hx-prin__card h3 { color: #fff; font-family: var(--hx-serif); font-weight: 500; font-size: 1.35rem; margin: 0 0 10px; }
.hx-prin__card p { margin: 0; color: rgba(255,255,255,.75); line-height: 1.65; font-size: .95rem; }
.hx-inst { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hx-inst__item { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px solid var(--hx-line); border-radius: 16px; background: #fff; transition: box-shadow .25s, transform .25s; }
.hx-inst__item:hover { box-shadow: var(--hx-shadow); transform: translateY(-3px); }
.hx-inst__year { font-family: var(--hx-serif); font-size: 1.7rem; color: var(--hx-crimson); line-height: 1; }
.hx-inst__name { font-weight: 600; color: var(--hx-ink); line-height: 1.4; }
.hx-inst__item--current { background: var(--hx-navy); border-color: var(--hx-navy); }
.hx-inst__item--current .hx-inst__name { color: #fff; }
.hx-inst__item--current .hx-inst__year { color: var(--hx-gold); }
.hx-inst__flag { position: absolute; top: 16px; right: 16px; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hx-navy-deep); background: var(--hx-gold); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 1000px) { .hx-miles, .hx-prin { grid-template-columns: repeat(2, 1fr); } .hx-vm { grid-template-columns: 1fr; } .hx-inst { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hx-miles, .hx-prin, .hx-inst { grid-template-columns: 1fr; } }

/* ───────── People: avatars, leaders, members ───────── */
.hx-avatar { position: relative; display: inline-grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--hx-navy), #1d4fa8); color: #fff; font-family: var(--hx-serif); font-size: 1.2rem; font-weight: 500; letter-spacing: .02em; }
.hx-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx-avatar--xl { width: 168px; height: 168px; font-size: 3rem; border-radius: 24px; box-shadow: var(--hx-shadow); }
.hx-leaders { display: grid; gap: 28px; }
.hx-leader { display: grid; grid-template-columns: 168px 1fr; gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--hx-line); border-radius: 22px; background: #fff; box-shadow: var(--hx-shadow); align-items: start; }
.hx-leader__role { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-crimson); margin-bottom: 8px; }
.hx-leader h3 { font-family: var(--hx-serif); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; margin: 0 0 16px; color: var(--hx-ink); }
.hx-leader__msg { color: var(--hx-muted); line-height: 1.8; display: grid; gap: 12px; position: relative; padding-left: 22px; border-left: 3px solid var(--hx-gold); }
.hx-leader__msg p { margin: 0; }
.hx-members { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hx-member { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--hx-line); border-radius: 16px; transition: box-shadow .25s, transform .25s; }
.hx-member:hover { box-shadow: var(--hx-shadow); transform: translateY(-3px); }
.hx-member h3 { margin: 0 0 3px; font-size: 1rem; font-weight: 600; color: var(--hx-ink); line-height: 1.3; }
.hx-member span { font-size: .85rem; color: var(--hx-muted); line-height: 1.4; display: block; }
@media (max-width: 1000px) { .hx-members { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .hx-leader { grid-template-columns: 1fr; } .hx-avatar--xl { width: 120px; height: 120px; font-size: 2.2rem; } .hx-members { grid-template-columns: 1fr; } }

/* ───────── Faculty directory ───────── */
.hx-avatar--lg { width: 84px; height: 84px; font-size: 1.7rem; }
.hx-tabs--wrap { display: flex; flex-wrap: wrap; border-radius: 18px; margin-bottom: 28px; }
.hx-tab em { font-style: normal; font-size: .75rem; opacity: .7; margin-left: 4px; }
.hx-fac-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.hx-search { position: relative; flex: 1 1 340px; max-width: 520px; }
.hx-search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--hx-muted); pointer-events: none; }
.hx-search input { width: 100%; padding: 15px 18px 15px 48px; border: 1.5px solid #cfd7e6; border-radius: 999px; font: inherit; background: #fff; }
.hx-search input:focus { outline: none; border-color: var(--hx-navy); box-shadow: 0 0 0 4px rgba(10,45,110,.14); }
.hx-fac-count { margin: 0; color: var(--hx-muted); }
.hx-fac-count b { color: var(--hx-navy); font-family: var(--hx-serif); font-size: 1.4rem; font-weight: 500; }
.hx-facs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hx-fac { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px; background: #fff; border: 1px solid var(--hx-line); border-radius: 18px; transition: box-shadow .25s, transform .25s; align-content: start; position: relative; }
.hx-fac[hidden] { display: none; }
.hx-fac:hover { box-shadow: var(--hx-shadow); transform: translateY(-3px); }
.hx-fac h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 600; color: var(--hx-ink); line-height: 1.3; }
.hx-fac__role { display: block; color: var(--hx-crimson); font-size: .82rem; font-weight: 600; }
.hx-fac__dept { display: block; color: var(--hx-muted); font-size: .85rem; margin-top: 3px; line-height: 1.4; }
.hx-fac__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; }
.hx-fac__facts dt { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hx-muted); }
.hx-fac__facts dd { margin: 2px 0 0; font-weight: 600; color: var(--hx-ink); font-size: .9rem; }
.hx-fac__links { grid-column: 1 / -1; display: flex; gap: 8px; padding-top: 14px; border-top: 1px solid var(--hx-line); }
.hx-fac__links:empty { display: none; }
.hx-fac__links a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--hx-paper); color: var(--hx-navy); text-decoration: none; transition: background .2s, color .2s; }
.hx-fac__links a:hover { background: var(--hx-navy); color: #fff; }
@media (max-width: 1100px) { .hx-facs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .hx-facs { grid-template-columns: 1fr; } }

/* ───────── Legacy page components (admissions, departments, courses) restyled ───────── */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-title { text-align: left; padding-bottom: 36px; }
.section-title h2, .section h2 { font-family: var(--hx-serif); font-weight: 500; letter-spacing: -.01em; color: var(--hx-ink); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-title p { color: var(--hx-muted); }
.section-title h2::after, .section-title h2::before, .section-divider { display: none !important; }
.light-background { background: var(--hx-paper); }
.container.section-title, .section .container { max-width: 1240px; }

.admission-contact-banner { background: linear-gradient(120deg, var(--hx-navy), var(--hx-navy-deep)); border-radius: 20px; padding: 26px 32px; box-shadow: var(--hx-shadow-lg); }
.phone-chip { border-radius: 999px; padding: 10px 20px; font-weight: 600; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff; transition: background .2s, color .2s; }
.phone-chip:hover { background: #fff; color: var(--hx-navy); }
.notice-box { border-radius: 14px; border: 1px solid #f2d9a4; border-left: 4px solid var(--hx-gold); background: #fff9ec; padding: 16px 20px; }
.info-card, .intake-block, .eligibility-box, .eligibility-card { border: 1px solid var(--hx-line); border-radius: var(--hx-radius); box-shadow: var(--hx-shadow); background: #fff; }
.info-card-icon, .intake-block-icon { border-radius: 14px; background: var(--hx-navy); }
.category-label { border-radius: 8px; }
.admission-tabs { gap: 6px; border-bottom: 0 !important; }
.admission-tabs .nav-link { border-radius: 999px !important; border: 1px solid var(--hx-line) !important; background: #fff; color: var(--hx-muted); font-weight: 600; padding: 10px 22px; }
.admission-tabs .nav-link.active { background: var(--hx-navy) !important; color: #fff !important; border-color: var(--hx-navy) !important; }
.intake-table thead th { background: var(--hx-paper); color: var(--hx-navy); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.intake-table .total-row td { background: var(--hx-paper); font-family: var(--hx-serif); font-size: 1.1rem; }
.intake-badge { border-radius: 999px; background: rgba(10,45,110,.08); color: var(--hx-navy); font-weight: 700; }
.fee-cell { font-weight: 600; color: var(--hx-ink); }

/* Bootstrap buttons used on legacy pages */
.btn-primary { background: var(--hx-crimson); border-color: var(--hx-crimson); }
.btn-primary:hover { background: #a51833; border-color: #a51833; }

/* ───────── Mandatory disclosure ───────── */
.hx-doc-switches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.hx-doc-switch { display: block; padding: 22px 24px; background: #fff; border: 1.5px solid var(--hx-line); border-radius: 18px; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.hx-doc-switch strong { display: block; font-family: var(--hx-serif); font-weight: 500; font-size: 1.25rem; color: var(--hx-navy); margin-bottom: 6px; }
.hx-doc-switch span { color: var(--hx-muted); font-size: .88rem; line-height: 1.5; }
.hx-doc-switch:hover { transform: translateY(-3px); box-shadow: var(--hx-shadow); color: inherit; }
.hx-doc-switch.is-active { background: var(--hx-navy); border-color: var(--hx-navy); }
.hx-doc-switch.is-active strong { color: #fff; }
.hx-doc-switch.is-active span { color: rgba(255,255,255,.75); }
.hx-doc-switch:focus-visible, .hx-year:focus-visible { outline: 3px solid var(--hx-gold); outline-offset: 3px; }
.hx-doc-card { display: grid; grid-template-columns: 250px 1fr; background: #fff; border: 1px solid var(--hx-line); border-radius: 22px; box-shadow: var(--hx-shadow); overflow: hidden; }
.hx-doc-years { padding: 28px 24px; border-right: 1px solid var(--hx-line); background: #fbfcfe; }
.hx-doc-years h2 { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-muted); margin: 0 0 16px; font-family: inherit; font-weight: 600; }
.hx-years { display: grid; gap: 6px; max-height: 640px; overflow: auto; padding-right: 4px; }
.hx-year { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--hx-ink); font-weight: 500; font-size: .95rem; transition: background .15s; }
.hx-year:hover { background: var(--hx-paper); color: var(--hx-ink); }
.hx-year.is-active { background: rgba(10,45,110,.1); color: var(--hx-navy); font-weight: 700; box-shadow: inset 3px 0 0 var(--hx-crimson); }
.hx-doc-panel { padding: 28px clamp(20px, 3vw, 36px) 32px; min-width: 0; }
.hx-doc__bar { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.hx-doc__title { display: flex; gap: 16px; align-items: center; }
.hx-doc__title h3 { margin: 0 0 4px; font-family: var(--hx-serif); font-weight: 500; font-size: 1.5rem; color: var(--hx-ink); line-height: 1.2; }
.hx-doc__title span:not(.hx-doc__ic) { color: var(--hx-muted); font-size: .9rem; }
.hx-doc__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(190,29,62,.1); color: var(--hx-crimson); flex: none; }
.hx-doc__ic svg { width: 26px; height: 26px; }
.hx-doc__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hx-doc__actions .hx-btn { padding: 11px 20px; font-size: .9rem; }
.hx-doc__actions .hx-btn svg { width: 16px; height: 16px; }
.hx-doc__viewer { border: 1px solid var(--hx-line); border-radius: 14px; overflow: hidden; background: #eef1f7; }
.hx-doc__viewer iframe { display: block; width: 100%; height: min(78vh, 820px); border: 0; }
.hx-doc__fallback { margin: 14px 0 0; font-size: .88rem; color: var(--hx-muted); }
.hx-doc-empty { text-align: center; padding: clamp(36px, 6vw, 72px) 20px; border: 1.5px dashed #cfd7e6; border-radius: 16px; background: var(--hx-paper); }
.hx-doc-empty__ic { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #fff; color: var(--hx-navy); box-shadow: var(--hx-shadow); }
.hx-doc-empty__ic svg { width: 30px; height: 30px; }
.hx-doc-empty h3 { font-family: var(--hx-serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 10px; color: var(--hx-ink); }
.hx-doc-empty p { max-width: 52ch; margin: 0 auto 24px; color: var(--hx-muted); line-height: 1.65; }
.hx-doc-empty__cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1000px) { .hx-doc-switches { grid-template-columns: 1fr; } .hx-doc-card { grid-template-columns: 1fr; } .hx-doc-years { border-right: 0; border-bottom: 1px solid var(--hx-line); } .hx-years { display: flex; flex-wrap: wrap; max-height: none; } .hx-year { padding: 8px 14px; border: 1px solid var(--hx-line); border-radius: 999px; } .hx-year.is-active { box-shadow: none; } }

/* ───────── Legacy layout shells (committees, clubs, campus-life) ───────── */
main.main > .section > .row, main.main > section.section > .row { max-width: 1288px; margin: 0 auto; padding: 0 24px; --bs-gutter-x: 0; }
main.main > .section > .row > *, main.main > section.section > .row > * { padding-left: 0; padding-right: 0; }
main.main > .section { padding-top: 48px; }
.card { border: 1px solid var(--hx-line); border-radius: var(--hx-radius); box-shadow: var(--hx-shadow); }
.card-title { font-family: var(--hx-serif); font-weight: 500; font-size: 1.6rem; color: var(--hx-ink); }
.accordion-item { border: 1px solid var(--hx-line) !important; border-radius: 14px !important; margin-bottom: 12px; overflow: hidden; }
.accordion-button { font-weight: 600; color: var(--hx-ink); padding: 18px 22px; }
.accordion-button:not(.collapsed) { background: rgba(10,45,110,.07); color: var(--hx-navy); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 4px rgba(10,45,110,.14); }
.table > :not(caption) > * > * { padding: 14px 16px; }
.table thead th { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hx-navy); background: var(--hx-paper); }

.hx-clubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hx-club { display: flex; flex-direction: column; gap: 14px; padding: 30px; background: #fff; border: 1px solid var(--hx-line); border-radius: 20px; text-decoration: none; color: inherit; box-shadow: var(--hx-shadow); transition: transform .3s, box-shadow .3s; }
.hx-club:hover { transform: translateY(-5px); box-shadow: var(--hx-shadow-lg); color: inherit; }
.hx-club__mono { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: var(--hx-navy); color: var(--hx-gold); font-family: var(--hx-serif); font-size: 1.7rem; }
.hx-club h3 { font-family: var(--hx-serif); font-weight: 500; font-size: 1.5rem; margin: 0; color: var(--hx-ink); }
@media (max-width: 1000px) { .hx-clubs { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .hx-clubs { grid-template-columns: 1fr; } }

/* Campus life headers */
.cds-section__header.cds-text-center, .cds-section__header--center { text-align: center; }
.cds-section__header.cds-text-center .cds-title-accent::after, .cds-section__header--center .cds-title-accent::after { margin-left: auto; margin-right: auto; }
.cds-section__header.cds-text-center .cds-section-subtitle { margin-left: auto; margin-right: auto; }

/* ───────── Grievance & forms ───────── */
.hx-griev { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hx-griev__aside { position: sticky; top: 130px; }
.hx-griev__steps { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 22px; }
.hx-griev__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.hx-griev__steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--hx-navy); color: var(--hx-gold); font-family: var(--hx-serif); font-size: 1.15rem; font-weight: 500; }
.hx-griev__steps h3 { margin: 0 0 4px; font-size: 1.05rem; color: var(--hx-ink); }
.hx-griev__steps p { margin: 0; color: var(--hx-muted); line-height: 1.6; font-size: .94rem; }
.hx-form-actions { display: flex; justify-content: flex-end; padding-top: 6px; }
.hx-form-actions .hx-btn { cursor: pointer; border: 0; }
@media (max-width: 1000px) { .hx-griev { grid-template-columns: 1fr; } .hx-griev__aside { position: static; } }
.cds-text-input:invalid, .cds-select:invalid { border-color: #cfd7e6; border-bottom-color: #cfd7e6; box-shadow: none; outline: 0; }
.cds-text-input:user-invalid, .cds-select:user-invalid { border-color: var(--hx-crimson); border-bottom-color: var(--hx-crimson); }
.cds-text-input:focus:invalid, .cds-select:focus:invalid { border-color: var(--hx-navy); box-shadow: 0 0 0 4px rgba(10,45,110,.14); }

/* ───────── Contact ───────── */
.hx-contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hx-cinfo { list-style: none; padding: 0; margin: 30px 0 22px; display: grid; gap: 22px; }
.hx-cinfo li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.hx-cinfo__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--hx-navy); color: var(--hx-gold); }
.hx-cinfo__ic svg { width: 24px; height: 24px; }
.hx-cinfo h3 { margin: 0 0 4px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-muted); font-weight: 600; }
.hx-cinfo p { margin: 0; line-height: 1.65; color: var(--hx-ink); font-weight: 500; }
.hx-cinfo a { color: var(--hx-navy); text-decoration: none; } .hx-cinfo a:hover { color: var(--hx-crimson); text-decoration: underline; }
.hx-contact-near { color: var(--hx-muted); line-height: 1.7; margin: 0; padding-top: 18px; border-top: 1px solid var(--hx-line); }
.hx-map { border-radius: 22px; overflow: hidden; box-shadow: var(--hx-shadow-lg); border: 1px solid var(--hx-line); }
.hx-map iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 1000px) { .hx-contact-grid { grid-template-columns: 1fr; } }

/* ───────── FAQ ───────── */
.hx-faq-wrap { max-width: 920px; }
.hx-faq-group { margin-bottom: 36px; }
.hx-faq-group h3 { font-family: var(--hx-serif); font-weight: 500; font-size: 1.5rem; color: var(--hx-navy); margin: 0 0 16px; }
.hx-faq { background: #fff; border: 1px solid var(--hx-line); border-radius: 14px; margin-bottom: 10px; transition: box-shadow .2s; }
.hx-faq[open] { box-shadow: var(--hx-shadow); border-color: #c9d4ea; }
.hx-faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--hx-ink); line-height: 1.5; position: relative; }
.hx-faq summary::-webkit-details-marker { display: none; }
.hx-faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--hx-navy); border-bottom: 2px solid var(--hx-navy); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.hx-faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.hx-faq summary:focus-visible { outline: 3px solid var(--hx-gold); outline-offset: -3px; border-radius: 14px; }
.hx-faq__a { padding: 0 22px 20px; color: var(--hx-muted); line-height: 1.8; }

/* ───────── Blog ───────── */
.hx-blog-search { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }
.hx-blog-search .hx-search { flex: 1 1 320px; max-width: 560px; }
.hx-blog-search .hx-btn { cursor: pointer; border: 0; padding: 14px 26px; }
.hx-post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--hx-muted); }
.hx-post-meta > * + *::before { content: "·"; margin-right: 16px; color: #aab4c8; }
.hx-post-meta--hero { color: rgba(255,255,255,.8); margin-top: 18px; }
.hx-post-meta--hero > * + *::before { color: rgba(255,255,255,.5); }
.hx-post-feature { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--hx-shadow-lg); margin-bottom: 36px; border: 1px solid var(--hx-line); }
.hx-post-feature__img { display: block; min-height: 340px; background: var(--hx-paper); }
.hx-post-feature__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-post-feature__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.hx-post-feature h2 { font-family: var(--hx-serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.2; margin: 0; }
.hx-post-feature h2 a, .hx-post h3 a { color: var(--hx-ink); text-decoration: none; }
.hx-post-feature h2 a:hover, .hx-post h3 a:hover { color: var(--hx-crimson); }
.hx-post-feature p { margin: 0 0 6px; color: var(--hx-muted); line-height: 1.7; }
.hx-post-feature .hx-news__flag { margin-bottom: 0; }
.hx-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hx-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hx-line); border-radius: 20px; overflow: hidden; box-shadow: var(--hx-shadow); transition: transform .3s, box-shadow .3s; }
.hx-post:hover { transform: translateY(-5px); box-shadow: var(--hx-shadow-lg); }
.hx-post__img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--hx-paper); }
.hx-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; display: block; }
.hx-post:hover .hx-post__img img { transform: scale(1.05); }
.hx-post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hx-post h3 { font-family: var(--hx-serif); font-weight: 500; font-size: 1.3rem; line-height: 1.3; margin: 0; }
.hx-post p { margin: 0 0 6px; color: var(--hx-muted); line-height: 1.65; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hx-post .hx-link { margin-top: auto; }
.hx-article { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.hx-article__cover { margin: 0 0 32px; border-radius: 22px; overflow: hidden; box-shadow: var(--hx-shadow-lg); background: var(--hx-paper); }
.hx-article__cover img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.hx-prose--article { font-size: 1.12rem; line-height: 1.85; color: #2c3550; margin: 0; max-width: 72ch; }
.hx-prose--article h2, .hx-prose--article h3 { font-family: var(--hx-serif); font-weight: 500; color: var(--hx-ink); margin: 1.6em 0 .4em; line-height: 1.25; }
.hx-prose--article img { max-width: 100%; height: auto; border-radius: 14px; }
.hx-prose--article a { color: var(--hx-navy); text-decoration: underline; text-underline-offset: 3px; }
.hx-prose--article ul, .hx-prose--article ol { padding-left: 1.3em; }
.hx-article__side { position: sticky; top: 130px; display: grid; gap: 18px; }
.hx-side { background: #fff; border: 1px solid var(--hx-line); border-radius: 18px; padding: 22px; }
.hx-side h2 { font-family: inherit; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hx-muted); font-weight: 600; margin: 0 0 14px; }
.hx-share { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-share a, .hx-share button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--hx-line); background: var(--hx-paper); color: var(--hx-navy); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; text-decoration: none; }
.hx-share a:hover, .hx-share button:hover { background: var(--hx-navy); color: #fff; }
.hx-side__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hx-side__list a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--hx-ink); text-decoration: none; font-weight: 500; line-height: 1.4; font-size: .94rem; }
.hx-side__list a:hover { background: var(--hx-paper); color: var(--hx-navy); }
.hx-side__list time { display: block; font-size: .78rem; color: var(--hx-muted); margin-top: 3px; font-weight: 400; }
@media (max-width: 1000px) { .hx-posts { grid-template-columns: 1fr 1fr; } .hx-post-feature { grid-template-columns: 1fr; } .hx-post-feature__img { min-height: 240px; } .hx-article { grid-template-columns: 1fr; } .hx-article__side { position: static; } }
@media (max-width: 640px) { .hx-posts { grid-template-columns: 1fr; } }

/* ───────── Breadcrumb separator (avoid doubles) ───────── */
.cds-breadcrumb__item::after { content: none !important; }

/* ───────── Department pages ───────── */
body .carbon-subnav { background: #fff !important; border: 1px solid var(--hx-line) !important; border-radius: 999px; padding: 6px; gap: 4px; box-shadow: var(--hx-shadow); margin-bottom: 36px !important; overflow-x: auto; flex-wrap: nowrap !important; }
body .carbon-subnav-link { border-radius: 999px; padding: 10px 20px !important; border-bottom: 0 !important; white-space: nowrap; color: var(--hx-muted) !important; }
body .carbon-subnav-link:hover { background: var(--hx-paper) !important; color: var(--hx-ink) !important; }
body .carbon-subnav-link.active { background: var(--hx-navy) !important; color: #fff !important; border-bottom: 0 !important; }
body .fixed-top-subnav { border-radius: 0 !important; padding: 8px 16px; top: 88px !important; }
.dept-flow-section > h3 { font-family: var(--hx-serif) !important; font-weight: 500 !important; font-size: 1.7rem !important; color: var(--hx-ink) !important; letter-spacing: -.01em !important; border-bottom: 1px solid var(--hx-line) !important; }
.dept-flow-section > h3 i { color: var(--hx-crimson) !important; }
.cds-rich-content .section-heading, .cds-rich-content h2 { font-family: var(--hx-serif); font-weight: 500; color: var(--hx-ink); letter-spacing: -.01em; }
.cds-rich-content .section-label { color: var(--hx-crimson); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }
.cds-rich-content .lead { color: var(--hx-muted); }
.cds-rich-content p { line-height: 1.8; }
.carbon-about-feature { border-radius: 14px; }
.carbon-about-image-frame, .carbon-about-image-frame img { border-radius: 20px !important; }
.vision-box { border-radius: 18px !important; }
.pso-card, .peo-card { border-radius: 16px !important; }
.border-left-carbon { border-left-color: var(--hx-crimson) !important; }

/* ───────── Legacy content pages (departments list, vision, principal, …) ───────── */
.pt-110 { padding-top: clamp(48px, 7vw, 96px); }
.pb-105 { padding-bottom: clamp(48px, 7vw, 96px); }
.mb-30 { margin-bottom: 30px; }
.university-message-area .container { max-width: 1288px; padding: 0 24px; }
.university-message-area .message-profile-text { color: var(--hx-muted); line-height: 1.8; }
.university-message-area h2, .university-message-area h3 { font-family: var(--hx-serif); font-weight: 500; color: var(--hx-ink); letter-spacing: -.01em; }
.university-message-area .section-title h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.university-message-area img { max-width: 100%; height: auto; border-radius: 16px; }
.university-message-area .message-sticker img { box-shadow: var(--hx-shadow-lg); }
.university-message-area a { color: var(--hx-navy); }
.university-message-area [class*="card"] { border-radius: 16px; }

/* ═════════ Link hover: no underline, text turns blue ═════════ */
:root { --hx-hover-blue: #0f62fe; --hx-hover-blue-dark: #78a9ff; }
a:hover, a:focus-visible { text-decoration: none !important; }

/* Light surfaces */
a:not([class]):hover,
.hx-link:hover, .hx-prose a:hover, .hx-prose--article a:hover, .hx-cinfo a:hover, .hx-note a:hover, .hx-side__list a:hover,
.hx-post h3 a:hover, .hx-post-feature h2 a:hover, .hx-doc__fallback a:hover, .hx-leader a:hover,
.cds-card__title a:hover, .cds-nav__link:hover, .cds-nav__link:focus-visible,
.cds-topbar__contact-item:hover, .university-message-area a:hover, .cds-rich-content a:hover,
.hx-news__row a:hover .hx-news__title, .hx-footer__cta a:not(.hx-btn):hover {
  color: var(--hx-hover-blue) !important;
}
.hx-news__row a:hover .hx-news__arrow, .hx-link:hover svg { color: var(--hx-hover-blue); }
.hx-prog:hover h3, .hx-club:hover h3, .hx-doc-switch:hover strong { color: var(--hx-hover-blue); }
.hx-doc-switch.is-active:hover strong { color: #fff; }

/* Dark surfaces: a lighter blue keeps contrast */
.hx-footer a:hover, .hx-footer a:focus-visible,
.hx-hero a:not(.hx-btn):hover, .hx-hero__badge:hover,
.cds-hero a:hover, .cds-page-hero a:hover, .cds-breadcrumb__link:hover, .hero-arera .breadcrumb-item a:hover,
.hx-section--navy a:not(.hx-btn):hover, .hx-news__feature h3 a:hover, .hx-btn--ghost:hover,
.cds-topbar a:hover, .hx-vm__card--vision a:hover {
  color: var(--hx-hover-blue-dark) !important;
}
.hx-footer__map:hover { background: #fff; color: var(--hx-hover-blue) !important; }
.hx-btn--ghost:hover { color: var(--hx-hover-blue-dark) !important; }
.hx-footer__social a:hover { background: var(--hx-hover-blue-dark); border-color: var(--hx-hover-blue-dark); color: var(--hx-navy-deep) !important; }

/* Buttons keep their own hover treatment */
.hx-btn:hover, .cds-btn:hover { text-decoration: none !important; }

/* ───────── Social icons in brand colours ───────── */
.hx-social { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hx-social li { display: flex; }
.hx-social .hx-social__link, .hx-footer .hx-social .hx-social__link {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; color: #fff !important;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.cds-topbar .hx-social .hx-social__link { width: 28px; height: 28px; box-shadow: none; }
.hx-social__link svg { width: 20px; height: 20px; }
.cds-topbar .hx-social__link svg { width: 15px; height: 15px; }
.hx-social__link--fb { background: #1877f2; }
.hx-social__link--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.hx-social .hx-social__link:hover, .hx-footer .hx-social .hx-social__link:hover, .cds-topbar .hx-social .hx-social__link:hover {
  color: #fff !important; transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 10px 18px -8px rgba(0,0,0,.55);
}
.cds-topbar .hx-social .hx-social__link:hover { box-shadow: none; }
.hx-social .hx-social__link:focus-visible { outline: 3px solid var(--hx-gold); outline-offset: 3px; }
.hx-footer .hx-social { margin-top: 22px; }

/* ───────── Programme cards: immersive photo cards ───────── */
.hx-progs { gap: 24px; }
.hx-prog { position: relative; display: block; aspect-ratio: 4 / 5; min-height: 380px; border-radius: 22px; background: var(--hx-navy-deep, #061a40); isolation: isolate;
  box-shadow: 0 18px 40px -22px rgba(6,26,64,.6); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease; }
.hx-prog:hover { transform: translateY(-8px); box-shadow: 0 30px 55px -24px rgba(6,26,64,.75); }
.hx-prog__img { position: absolute; inset: 0; aspect-ratio: auto; z-index: -2; }
.hx-prog__img img { transition: transform 1s cubic-bezier(.2,.8,.2,1), filter .5s; filter: saturate(1.05); }
.hx-prog:hover .hx-prog__img img { transform: scale(1.09); }
.hx-prog::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,26,64,0) 28%, rgba(6,26,64,.72) 62%, rgba(6,26,64,.96) 100%); transition: background .5s; }
.hx-prog:hover::before { background: linear-gradient(180deg, rgba(6,26,64,.25) 0%, rgba(6,26,64,.88) 50%, rgba(6,26,64,.97) 100%); }
.hx-prog::after { content: ""; position: absolute; left: 26px; bottom: 0; width: 56px; height: 4px; border-radius: 4px 4px 0 0; background: var(--hx-crimson); transition: width .4s ease; }
.hx-prog:hover::after { width: calc(100% - 52px); }
.hx-prog__tag { left: 20px; top: 20px; background: var(--hx-gold, #e8b84a); color: #1a1405; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.hx-prog__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 26px 28px; color: #fff; }
.hx-prog h3 { color: #fff; font-size: 1.7rem; margin: 0 0 8px; text-shadow: 0 2px 12px rgba(0,0,0,.35); transition: color .2s; }
.hx-prog p { color: rgba(255,255,255,.88); margin: 0; font-size: .95rem; -webkit-line-clamp: 3; max-height: 0; opacity: 0; transform: translateY(10px); transition: max-height .5s ease, opacity .4s ease, transform .4s ease, margin .4s ease; }
.hx-prog:hover p, .hx-prog:focus-visible p { max-height: 6em; opacity: 1; transform: none; margin: 0 0 16px; }
.hx-prog__meta { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.9); }
.hx-prog__meta svg { color: var(--hx-gold, #e8b84a); }
.hx-prog__go { display: inline-flex; align-items: center; margin-left: auto; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--hx-navy) !important; font-weight: 700; transition: background .2s, color .2s, transform .2s; }
.hx-prog:hover .hx-prog__go { background: var(--hx-crimson); color: #fff !important; transform: translateX(3px); }
.hx-prog:hover h3, .hx-prog:hover { color: #fff; }
/* touch devices have no hover: always show the description */
@media (hover: none), (max-width: 900px) {
  .hx-prog { aspect-ratio: auto; min-height: 400px; }
  .hx-prog p { max-height: 6em; opacity: 1; transform: none; margin: 0 0 12px; }
}
@media (max-width: 600px) { .hx-prog { min-height: 420px; } .hx-prog h3 { font-size: 1.5rem; } }

/* lightbox entrance */
#homeLightbox[style*="flex"] #homeLightboxImg { animation: hxLb .5s cubic-bezier(.2,.8,.2,1); }
@keyframes hxLb { from { opacity: 0; transform: scale(.92); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* Contact: form switcher + map link */
.hx-ctabs { display: flex; width: 100%; margin-bottom: 22px; }
.hx-ctabs .hx-tab { flex: 1; padding: 11px 14px; }
.hx-panel [hidden] { display: none !important; }
.hx-panel select.cds-text-input { appearance: auto; height: auto; min-height: 44px; }
.hx-btn--ghost-dark { border: 1.5px solid var(--hx-navy); color: var(--hx-navy) !important; background: transparent; }
.hx-btn--ghost-dark:hover { background: var(--hx-navy); color: #fff !important; }

/* About: programmes + quick links */
.hx-abprogs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hx-abprog a { display: grid; gap: 6px; padding: 20px 22px; background: #fff; border: 1px solid var(--hx-line); border-left: 4px solid var(--hx-navy); border-radius: 14px; text-decoration: none; color: inherit; height: 100%; transition: transform .25s, box-shadow .25s, border-color .25s; }
.hx-abprog a:hover { transform: translateY(-4px); box-shadow: var(--hx-shadow-lg); border-left-color: var(--hx-crimson); }
.hx-abprog strong { font-family: var(--hx-serif); font-weight: 500; font-size: 1.15rem; line-height: 1.3; color: var(--hx-ink); }
.hx-abprog__tag { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hx-crimson); }
.hx-abprog__meta { font-size: .86rem; color: var(--hx-muted); }
.hx-quicks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hx-quick { position: relative; display: grid; gap: 6px; padding: 22px 24px 40px; background: #fff; border: 1px solid var(--hx-line); border-radius: 16px; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, background .25s; }
.hx-quick strong { font-size: 1.05rem; color: var(--hx-navy); }
.hx-quick span { font-size: .88rem; color: var(--hx-muted); line-height: 1.5; }
.hx-quick i { position: absolute; right: 20px; bottom: 14px; font-style: normal; font-size: 1.3rem; color: var(--hx-crimson); transition: transform .25s; }
.hx-quick:hover { transform: translateY(-4px); box-shadow: var(--hx-shadow-lg); }
.hx-quick:hover i { transform: translateX(6px); }
@media (max-width: 1000px) { .hx-quicks { grid-template-columns: repeat(2, 1fr); } .hx-abprogs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .hx-quicks, .hx-abprogs { grid-template-columns: 1fr; } }
.hx-avatar .hx-avatar__mono, .hx-member .hx-avatar .hx-avatar__mono { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font-size: inherit; line-height: 1; letter-spacing: .02em; text-transform: none; }

/* ───────── Responsive hardening (all devices) ───────── */
html { -webkit-text-size-adjust: 100%; }
img, video, iframe, canvas { max-width: 100%; }
table { max-width: 100%; }
.hx-wrap, .cds-container { box-sizing: border-box; }
pre, code { overflow-wrap: anywhere; }
.page-content-rich, .hx-leader__msg, .hx-article, .hx-prose { overflow-wrap: anywhere; }
.page-content-rich table, .hx-article table, .hx-prose table { display: block; overflow-x: auto; }
.page-content-rich img, .hx-article img, .hx-prose img { height: auto; }
.hx-btn { min-height: 44px; }

/* Touch devices: comfortable tap targets */
@media (hover: none), (max-width: 900px) {
  .hx-footer li a, .hx-footer__bottom a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 0; }
  .hcet-subnav__item { min-height: 44px; display: inline-flex; align-items: center; padding-top: 8px; padding-bottom: 8px; }
  .cds-breadcrumb__link, .hero-arera .breadcrumb-item a { display: inline-flex; align-items: center; min-height: 32px; }
  .hx-tab { min-height: 44px; }
  .hx-faq summary { min-height: 48px; }
  .hx-contact a, .hx-cinfo a, .hx-card a, .hx-aside a { display: inline-block; padding: 6px 0; }
}

/* Tablet */
@media (max-width: 1024px) {
  .hx-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* Phones */
@media (max-width: 700px) {
  .hx-head--split { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hx-head--split > * { max-width: 100%; }
  .hx-tabs { display: flex; flex-wrap: wrap; width: 100%; max-width: 100%; box-sizing: border-box; border-radius: 22px; }
  .hx-tabs .hx-tab { flex: 1 1 auto; min-width: 0; padding: 10px 14px; text-align: center; white-space: nowrap; }
  .hx-tabs .hx-tab em { font-style: normal; opacity: .7; margin-left: 4px; }
  .hx-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hx-footer__cta .hx-wrap { flex-direction: column; align-items: flex-start; }
  .hx-footer__bottom .hx-wrap { flex-direction: column; gap: 8px; }
  .hx-hero__cta { flex-direction: column; align-items: stretch; }
  .hx-hero__cta .hx-btn { justify-content: center; }
  .hx-h2 { overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
  .hx-wrap, .cds-container { padding-left: 16px; padding-right: 16px; }
  .hx-tabs .hx-tab { padding: 10px 10px; font-size: .86rem; }
}
/* Landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
  .hx-hero { min-height: auto; }
}

.hx-ctabs { flex-wrap: nowrap !important; }
.hx-ctabs .hx-tab { flex: 1 1 0 !important; white-space: normal !important; }
@media (hover: none), (max-width: 900px) {
  nav[aria-label="breadcrumb"] a, nav[aria-label="Breadcrumb"] a { display: inline-flex; align-items: center; min-height: 32px; }
  a.hx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
  a[href^="tel:"]:not([class*="btn"]), a[href^="mailto:"]:not([class*="btn"]) { display: inline-block; padding: 4px 0; }
  .cds-topbar a[href^="tel:"], .cds-topbar a[href^="mailto:"] { padding: 0; }
}

/* Faculty / filter chips: visible outline on small screens */
@media (max-width: 700px) {
  .hx-tabs--wrap { gap: 8px; padding: 10px; }
  .hx-tabs--wrap .hx-tab { border: 1px solid var(--hx-line); background: #fff; flex: 0 1 auto; }
  .hx-tabs--wrap .hx-tab[aria-selected="true"] { background: var(--hx-navy); border-color: var(--hx-navy); }
  .hx-blog-search, form[role="search"] { flex-wrap: wrap; }
}

/* Placements marquee heading keeps a gutter on every device */
.cds-marquee-section-title { padding-left: max(16px, env(safe-area-inset-left)); padding-right: 16px; box-sizing: border-box; }
@media (min-width: 701px) { .cds-marquee-section-title { padding-left: 24px; } }
@media (min-width: 1300px) { .cds-marquee-section-title { padding-left: max(24px, calc((100vw - 1240px) / 2 + 24px)); } }
section.cds-marquee-section .cds-marquee-section-title { padding-left: 16px; padding-right: 16px; }
@media (min-width: 701px) { section.cds-marquee-section .cds-marquee-section-title { padding-left: 24px; } }
@media (min-width: 1300px) { section.cds-marquee-section .cds-marquee-section-title { padding-left: calc((100vw - 1240px) / 2 + 24px); } }
@media (hover: none), (max-width: 900px) { .hx-link { min-height: 44px; } }

/* Trust bar count-up */
.hx-trust__num { position: relative; font-variant-numeric: tabular-nums; padding-bottom: 14px; }
.hx-trust__num::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--hx-crimson), var(--hx-gold)); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.hx-trust__num.is-counting::after, .hx-trust__num.is-done::after { width: 44px; }
.hx-trust__item { transition: background .3s ease; }
.hx-trust__item:hover { background: #f6f8fc; }
.hx-trust__item:hover .hx-trust__num::after { width: 72px; }
@media (prefers-reduced-motion: reduce) { .hx-trust__num::after { width: 44px; transition: none; } }

/* Vision & Mission page */
.hx-vmp__vision { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 64px); border-radius: 26px; color: #fff; background: radial-gradient(900px 400px at 100% 0%, rgba(232,184,74,.18), transparent 60%), linear-gradient(160deg, var(--hx-navy), var(--hx-navy-deep)); box-shadow: var(--hx-shadow); }
.hx-vmp__vision::after { content: "\201C"; position: absolute; right: clamp(16px, 4vw, 48px); top: -30px; font-family: var(--hx-serif); font-size: 15rem; line-height: 1; color: rgba(255,255,255,.07); pointer-events: none; }
.hx-vmp__vision .hx-eyebrow { color: var(--hx-gold); }
.hx-vmp__ic { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; background: rgba(255,255,255,.12); color: var(--hx-gold); }
.hx-vmp__ic svg { width: 28px; height: 28px; }
.hx-vmp__big { position: relative; z-index: 1; max-width: 30em; margin: 16px 0 0; font-family: var(--hx-serif); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.32; font-weight: 400; }
.hx-vmp__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.hx-vmp__card { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: #fff; border: 1px solid var(--hx-line); box-shadow: var(--hx-shadow); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.hx-vmp__card:hover { transform: translateY(-4px); border-color: rgba(190,29,62,.35); box-shadow: 0 24px 50px -24px rgba(6,26,64,.35); }
.hx-vmp__card b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(190,29,62,.08); color: var(--hx-crimson); font-family: var(--hx-serif); font-size: 1.25rem; font-weight: 600; }
.hx-vmp__card p { margin: 0; align-self: center; color: var(--hx-ink); line-height: 1.7; font-size: 1.02rem; }
.hx-vmp__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 56px; padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: #fff; border: 1px solid var(--hx-line); }
.hx-vmp__cta h3 { margin: 0 0 4px; font-family: var(--hx-serif); font-weight: 500; font-size: 1.5rem; color: var(--hx-navy-deep); }
.hx-vmp__cta p { margin: 0; color: var(--hx-muted, #566078); }
.hx-vmp__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-vmp__btns .hx-btn--ghost { color: var(--hx-navy); border: 1.5px solid var(--hx-navy); }
@media (max-width: 800px) { .hx-vmp__grid { grid-template-columns: 1fr; } .hx-vmp__card { grid-template-columns: 44px 1fr; gap: 14px; } .hx-vmp__card b { width: 42px; height: 42px; } .hx-vmp__vision::after { font-size: 9rem; top: -10px; } }
@media (prefers-reduced-motion: reduce) { .hx-vmp__card { transition: none; } .hx-vmp__card:hover { transform: none; } }

/* Milestones: circles first, then the cards */
.hx-miles { align-items: start; gap: 28px 20px; }
.hx-miles li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 0; background: none; border: 0; box-shadow: none; }
.hx-miles__dot { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 auto; width: 104px; height: 104px; border-radius: 50%; background: #fff; box-shadow: 0 14px 30px -14px rgba(6,26,64,.45); }
.hx-miles__dot svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.hx-miles__dot circle { fill: none; stroke-width: 4; }
.hx-miles__dot .trk { stroke: #e3e9f4; }
.hx-miles__dot .ring { stroke: var(--hx-crimson); stroke-linecap: round; stroke-dasharray: 283; stroke-dashoffset: 0; }
.hx-miles__dot b { position: relative; font-family: var(--hx-serif); font-weight: 500; font-size: 1.5rem; color: var(--hx-navy); line-height: 1; }
.hx-miles li::after { content: ""; position: absolute; z-index: 0; top: 51px; left: 104px; width: calc(100% - 104px + 20px); height: 2px; background: linear-gradient(90deg, var(--hx-crimson), rgba(190,29,62,.15)); transform-origin: left; }
.hx-miles li:last-child::after { display: none; }
.hx-miles__card { width: 100%; padding: 24px 24px 26px; background: #fff; border: 1px solid var(--hx-line); border-top: 4px solid var(--hx-crimson); border-radius: var(--hx-radius); box-shadow: var(--hx-shadow); transition: transform .3s ease, box-shadow .3s ease; }
.hx-miles__card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(6,26,64,.35); }
.hx-miles__card h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--hx-ink); }
.hx-miles__card p { margin: 0; color: var(--hx-muted); line-height: 1.65; font-size: .95rem; }
.hx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* morph sequence: dots are moved by script (scatter > ring > arc > row), then lines and cards follow */
.hx-miles__dot { will-change: transform; }
.hx-miles.is-armed .hx-miles__dot { opacity: 0; }
.hx-miles.is-morph .hx-miles__dot { z-index: 5; }
.hx-miles.is-armed li::after { transform: scaleX(0); }
.hx-miles.is-armed.is-lines li::after { transform: none; transition: transform .5s ease calc(var(--i) * .12s); }
.hx-miles.is-armed .hx-miles__card { opacity: 0; transform: translateY(26px); }
.hx-miles.is-armed.is-cards .hx-miles__card { opacity: 1; transform: none; transition: opacity .6s ease calc(var(--i) * .14s), transform .6s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .14s); }
.hx-miles__skip { margin-top: 14px; padding: 7px 16px; border: 1px solid var(--hx-line); border-radius: 999px; background: #fff; color: var(--hx-navy); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; transition: background .2s, border-color .2s; }
.hx-miles__skip:hover { background: #f1f5fb; border-color: var(--hx-navy); }
.hx-miles__skip:focus-visible { outline: 3px solid #e8b84a; outline-offset: 2px; }

@media (max-width: 1000px) { .hx-miles li::after { display: none; } }
@media (max-width: 600px) {
  .hx-miles { gap: 30px; }
  .hx-miles li { flex-direction: row; align-items: flex-start; gap: 14px; }
  .hx-miles__dot { width: 76px; height: 76px; }
  .hx-miles__dot b { font-size: 1.05rem; }
  .hx-miles__card { padding: 18px 18px 20px; }
  .hx-miles li:not(:last-child)::after { display: block; top: 76px; left: 37px; width: 2px; height: calc(100% - 76px + 30px); background: linear-gradient(180deg, var(--hx-crimson), rgba(190,29,62,.15)); transform-origin: top; }
  .hx-miles.is-armed li::after { transform: scaleY(0); }
  .hx-miles.is-armed.is-lines li::after { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .hx-miles__card { transition: none; } .hx-miles__card:hover { transform: none; } .hx-miles__skip { display: none; } }

/* Vision & Mission: bullet lists */
.hx-vmp__bul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.hx-vmp__bul li { position: relative; padding-left: 38px; line-height: 1.7; }
.hx-vmp__bul li::before { content: ""; position: absolute; left: 0; top: .2em; width: 24px; height: 24px; border-radius: 50%; background: rgba(190,29,62,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23be1d3e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.500l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.hx-vmp__list { padding: clamp(26px, 4vw, 44px); border-radius: 22px; background: #fff; border: 1px solid var(--hx-line); box-shadow: var(--hx-shadow); }
.hx-vmp__list .hx-vmp__bul { gap: 20px; font-size: 1.05rem; color: var(--hx-ink); }
.hx-vmp__focus { position: relative; z-index: 1; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.hx-vmp__focus h3 { margin: 0 0 14px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--hx-gold); }
.hx-vmp__bul--light { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; color: #fff; font-size: 1.05rem; }
.hx-vmp__bul--light li::before { background-color: rgba(232,184,74,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8b84a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.500l4 4 8-9'/%3E%3C/svg%3E"); }
@media (max-width: 600px) { .hx-vmp__bul--light { grid-template-columns: 1fr; } }

/* sub-points inside a mission bullet */
.hx-vmp__bul .hx-vmp__sub { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 12px 0 2px; padding: 0; list-style: none; }
.hx-vmp__bul .hx-vmp__sub li { padding: 6px 14px 6px 28px; border-radius: 999px; background: #f3f6fb; border: 1px solid var(--hx-line); color: var(--hx-navy); font-size: .92rem; font-weight: 600; line-height: 1.3; position: relative; }
.hx-vmp__bul .hx-vmp__sub li::before { content: ""; position: absolute; left: 11px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--hx-crimson); background-image: none; }

/* Milestones: tighter vertical spacing */
section[aria-label="Key Milestones"].hx-section { padding: clamp(36px, 4.5vw, 60px) 0; }
section[aria-label="Key Milestones"] .hx-head { margin-bottom: clamp(20px, 2.8vw, 34px); }

/* Campus life: circle-photo intro, then the usual photo layout */
.hx-lifeorb { position: relative; height: 340px; margin-bottom: 8px; overflow: visible; transition: height .7s cubic-bezier(.4,0,.2,1), opacity .5s ease, margin .7s ease; }
.hx-lifeorb[hidden] { display: none; }
.hx-lifeorb.is-away { opacity: 0; margin-bottom: 0; pointer-events: none; }
.hx-orb { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 16px 34px -14px rgba(6,26,64,.55), 0 0 0 1px rgba(10,45,110,.12); opacity: 0; will-change: transform; background: #e6edf8; }
.hx-orb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hx-lifeorb__skip { position: absolute; right: 0; bottom: 0; z-index: 6; padding: 7px 16px; border: 1px solid var(--hx-line); border-radius: 999px; background: #fff; color: var(--hx-navy); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.hx-lifeorb__skip:hover { background: #f1f5fb; border-color: var(--hx-navy); }
.hx-lifeorb__skip:focus-visible { outline: 3px solid #e8b84a; outline-offset: 2px; }
.hx-lifewrap.is-armed:not(.is-shown) .hx-life > * { opacity: 0 !important; transform: translateY(26px) !important; }
.hx-lifewrap.is-armed.is-shown .hx-life > * { opacity: 1 !important; transform: none !important; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.hx-lifewrap.is-armed.is-shown .hx-life > *:nth-child(2) { transition-delay: .08s; }
.hx-lifewrap.is-armed.is-shown .hx-life > *:nth-child(3) { transition-delay: .16s; }
.hx-lifewrap.is-armed.is-shown .hx-life > *:nth-child(4) { transition-delay: .24s; }
.hx-lifewrap.is-armed.is-shown .hx-life > *:nth-child(5) { transition-delay: .32s; }
.hx-lifewrap.is-armed.is-shown .hx-life > *:nth-child(6) { transition-delay: .4s; }
@media (max-width: 600px) { .hx-lifeorb { height: 300px; } .hx-orb { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-width: 3px; } }
@media (prefers-reduced-motion: reduce) { .hx-lifeorb { display: none; } }

.hx-lifewrap.is-armed .hx-life { transition: height .7s cubic-bezier(.4,0,.2,1); }
.hx-lifewrap.is-armed:not(.is-shown) .hx-life { height: 0; overflow: hidden; }
.hx-lifewrap.is-armed.is-shown .hx-life { overflow: hidden; }

/* Campus life: centre photo + outer circle that stays in place */
.hx-lifeorb { height: 380px; margin-bottom: 28px; }
.hx-lifeorb.is-away { opacity: 1; margin-bottom: 28px; }
.hx-orb--c { border-width: 5px; z-index: 2; }
.hx-lifeorb.is-set .hx-orb { transition: box-shadow .3s ease; }
.hx-lifeorb.is-set .hx-orb:hover { box-shadow: 0 22px 44px -14px rgba(6,26,64,.6), 0 0 0 3px rgba(190,29,62,.45); }
@media (max-width: 600px) { .hx-lifeorb { height: 320px; } }
.hx-lifeorb { height: 420px; }
.hx-orb { width: 112px; height: 112px; margin: -56px 0 0 -56px; }
@media (max-width: 600px) { .hx-lifeorb { height: 330px; } .hx-orb { width: 68px; height: 68px; margin: -34px 0 0 -34px; } }

/* Admissions steps: one by one, with sparkle */
.hx-steps li::before { background: linear-gradient(135deg, #f8dc86, #e8b84a 55%, #c98d1f); box-shadow: 0 0 0 0 rgba(232,184,74,.55), 0 10px 24px -8px rgba(232,184,74,.6); }
.hx-steps li::after { height: 2px; top: 27px; background: linear-gradient(90deg, #e8b84a, rgba(190,29,62,.85) 60%, rgba(190,29,62,0)); transform-origin: left; }
.hx-spark { position: absolute; left: 28px; top: 28px; width: var(--s, 10px); height: var(--s, 10px); margin: calc(var(--s, 10px) / -2) 0 0 calc(var(--s, 10px) / -2); background: var(--c, #e8b84a); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; pointer-events: none; z-index: 2; filter: drop-shadow(0 0 6px var(--c, #e8b84a)) drop-shadow(0 0 2px #fff); }
.hx-steps.is-armed li::before { transform: scale(.3); opacity: 0; }
.hx-steps.is-armed li::after { transform: scaleX(0); }
.hx-steps.is-armed h3, .hx-steps.is-armed p { opacity: 0; transform: translateY(18px); }
.hx-steps.is-armed li.is-on::before { animation: hxBadge .8s cubic-bezier(.34,1.56,.64,1) both, hxGlow 2.6s ease-out .6s infinite; }
.hx-steps.is-armed li.is-on::after { transform: none; transition: transform .8s ease .45s; }
.hx-steps.is-armed li.is-on h3, .hx-steps.is-armed li.is-on p { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.hx-steps.is-armed li.is-on h3 { transition-delay: .3s; }
.hx-steps.is-armed li.is-on p { transition-delay: .45s; }
.hx-steps.is-armed li.is-on .hx-spark { animation: hxSpark 1.1s ease-out var(--dl, 0s) both; }
.hx-steps.is-armed li.is-on .hx-spark--t { animation: hxSpark 1.1s ease-out var(--dl, 0s) both, hxTwinkle 2.4s ease-in-out 1.4s infinite; }
@keyframes hxBadge { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.18); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes hxGlow { 0% { box-shadow: 0 0 0 0 rgba(232,184,74,.55), 0 10px 24px -8px rgba(232,184,74,.6); } 70%, 100% { box-shadow: 0 0 0 16px rgba(232,184,74,0), 0 10px 24px -8px rgba(232,184,74,.6); } }
@keyframes hxSpark { 0% { opacity: 0; transform: translate(0, 0) scale(0) rotate(0); } 25% { opacity: 1; transform: translate(calc(var(--dx) * .5), calc(var(--dy) * .5)) scale(1) rotate(45deg); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.2) rotate(180deg); } }
@keyframes hxTwinkle { 0%, 100% { opacity: 0; transform: translate(calc(var(--dx) * .6), calc(var(--dy) * .6)) scale(.2); } 50% { opacity: 1; transform: translate(calc(var(--dx) * .6), calc(var(--dy) * .6)) scale(1) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .hx-spark { display: none; } }

/* Admissions steps: fly in from the middle and land in their usual place */
.hx-steps.is-armed li { transform: translate(var(--fx, 0), var(--fy, 0)) scale(.5); opacity: 0; transform-origin: 28px 28px; z-index: 0; }
.hx-steps.is-armed li.is-on { transform: none; opacity: 1; z-index: 3; transition: transform 1s cubic-bezier(.22,1,.36,1), opacity .35s ease; }
.hx-steps.is-armed li.is-on:not(:hover) { z-index: 1; transition: transform 1s cubic-bezier(.22,1,.36,1), opacity .35s ease, z-index 0s 1s; }
.hx-steps.is-armed li::before { transform: none; opacity: 1; }
.hx-steps.is-armed li.is-on::before { animation: hxLand .55s cubic-bezier(.34,1.56,.64,1) .8s both, hxGlow 2.6s ease-out 1.5s infinite; }
.hx-steps.is-armed li.is-on::after { transition: transform .8s ease 1s; }
.hx-steps.is-armed li.is-on h3 { transition-delay: .95s; }
.hx-steps.is-armed li.is-on p { transition-delay: 1.1s; }
@keyframes hxLand { 0% { transform: scale(1); } 55% { transform: scale(1.22); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hx-steps.is-armed li { transform: none; opacity: 1; } }

/* Campus life: circles gather over the photo area, then fly into their tiles */
.hx-lifewrap { position: relative; }
.hx-lifeorb, .hx-lifeorb.is-away { position: absolute !important; inset: 0; height: auto !important; margin: 0 !important; z-index: 4; pointer-events: none; transition: opacity .45s ease; }
.hx-lifeorb.is-away { opacity: 0; }
.hx-lifeorb .hx-orb { position: absolute; left: 0; top: 0; width: 112px; height: 112px; margin: 0 !important; border-radius: 50%; border: 0; box-shadow: 0 16px 34px -14px rgba(6,26,64,.55), 0 0 0 4px #fff; transform: none; opacity: 0; }
.hx-lifeorb__skip { pointer-events: auto; right: 0; bottom: 8px; }
.hx-lifewrap.is-armed .hx-life { height: auto !important; overflow: visible !important; }
.hx-lifewrap.is-armed:not(.is-shown) .hx-life > * { transition: none; }
@media (max-width: 600px) { .hx-lifeorb .hx-orb { width: 68px; height: 68px; } }


/* Gallery: plain tiles, no entrance animation */
.hx-gal__item { background: var(--hx-navy-deep, #061a40); box-shadow: 0 1px 2px rgba(10,29,70,.08); transition: box-shadow .3s ease; }
.hx-gal__item:hover { box-shadow: 0 18px 36px -18px rgba(10,29,70,.55); }
.hx-gal__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 34px 14px 12px; color: #fff; font-size: .88rem; font-weight: 600; line-height: 1.3; text-align: left; background: linear-gradient(0deg, rgba(6,26,64,.85), transparent); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.hx-gal__item:hover .hx-gal__cap, .hx-gal__item:focus-visible .hx-gal__cap { opacity: 1; transform: none; }
@media (hover: none) { .hx-gal__cap { opacity: 1; transform: none; font-size: .78rem; padding: 26px 10px 8px; } }
/* Departments page: programme cards (same style as the home page) with a staggered entrance */
.hx-deps__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -6px 0 34px; }
.hx-deps__chips > span { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-muted); margin-right: 4px; }
.hx-deps__chips .hx-chip { text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.hx-deps__chips .hx-chip:hover { background: var(--hx-navy); color: #fff; border-color: var(--hx-navy); transform: translateY(-2px); }
.hx-deps__group[hidden] { display: none; }
.hx-deps__group + .hx-deps__group { margin-top: clamp(40px, 5vw, 64px); }
.hx-deps__title { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; font-family: var(--hx-serif); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--hx-ink); }
.hx-deps__title span { display: block; width: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--hx-crimson), var(--hx-gold)); transition: width .9s cubic-bezier(.2,.8,.2,1) .15s; }
.hx-deps__title.is-in span { width: 44px; }
.hx-deps__title em { font-style: normal; font-family: inherit; font-size: .8rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; background: rgba(190,29,62,.1); color: var(--hx-crimson); }
.hx-deps .hx-prog { transform: translateY(34px) scale(.97); }
.hx-deps .hx-prog.is-in { transform: none; }
.hx-deps .hx-prog .hx-prog__img img { transform: scale(1.14); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.hx-deps .hx-prog.is-in .hx-prog__img img { transform: scale(1); }
.hx-deps .hx-prog.is-in:hover .hx-prog__img img { transform: scale(1.06); }
.hx-deps .hx-prog.is-in:hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .hx-deps .hx-prog, .hx-deps .hx-prog .hx-prog__img img { transform: none; } .hx-deps__title span { width: 44px; transition: none; } }

/* Intake & Fee Details page */
.hx-intake .hx-lead a { color: var(--hx-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hx-intake__links { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-intake__tabs { display: inline-flex; margin: 8px 0 28px; }
.hx-intake__panel[hidden] { display: none; }
.hx-intake__panel > * { opacity: 0; transform: translateY(18px); }
.hx-intake__panel.is-in > * { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.hx-intake__panel.is-in > *:nth-child(2) { transition-delay: .12s; }
.hx-intake__panel.is-in > *:nth-child(3) { transition-delay: .24s; }
.hx-intake__panel.is-in > *:nth-child(4) { transition-delay: .36s; }
.hx-intake__card { margin-bottom: 24px; background: #fff; border: 1px solid var(--hx-line); border-radius: 20px; box-shadow: var(--hx-shadow); overflow: hidden; }
.hx-intake__card header { display: flex; align-items: center; gap: 16px; padding: 22px 26px; border-bottom: 1px solid var(--hx-line); background: linear-gradient(180deg, #fff, #f9fbfe); }
.hx-intake__ic { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; background: var(--hx-navy); color: var(--hx-gold); }
.hx-intake__ic svg { width: 24px; height: 24px; }
.hx-intake__card h3 { margin: 0; font-family: var(--hx-serif); font-weight: 500; font-size: 1.4rem; color: var(--hx-ink); }
.hx-intake__card small { color: var(--hx-muted); font-size: .88rem; }
.hx-intake__sum { margin-left: auto; padding: 8px 16px; border-radius: 999px; background: rgba(190,29,62,.08); color: var(--hx-crimson); font-size: .9rem; white-space: nowrap; }
.hx-intake__sum b { font-family: var(--hx-serif); font-size: 1.2rem; }
.hx-intake__scroll { overflow-x: auto; }
.hx-intake table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hx-intake th { padding: 14px 26px; text-align: left; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-muted); background: #f6f8fc; white-space: nowrap; }
.hx-intake td { padding: 16px 26px; border-top: 1px solid var(--hx-line); color: var(--hx-ink); line-height: 1.5; }
.hx-intake td:first-child, .hx-intake th:first-child { width: 56px; color: var(--hx-muted); }
.hx-intake .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hx-intake tbody tr { transition: background .2s; }
.hx-intake tbody tr:hover { background: #f6f9ff; }
.hx-intake__pill { display: inline-block; min-width: 46px; padding: 4px 12px; border-radius: 999px; background: rgba(10,45,110,.08); color: var(--hx-navy); font-weight: 700; text-align: center; }
.hx-intake__total { margin: 4px 4px 0; text-align: right; color: var(--hx-muted); }
.hx-intake__total b { font-family: var(--hx-serif); font-size: 1.5rem; font-weight: 500; color: var(--hx-navy); margin-left: 6px; }
.hx-intake__note { margin-top: 34px; padding: 18px 22px; border-radius: 16px; background: #fff8e6; border: 1px solid #f0dca0; color: #6b5314; line-height: 1.65; }
@media (max-width: 640px) {
  .hx-intake__card header { flex-wrap: wrap; padding: 18px; }
  .hx-intake__sum { margin-left: 0; }
  .hx-intake th, .hx-intake td { padding: 12px 16px; }
  .hx-intake td:first-child, .hx-intake th:first-child { width: 36px; }
  .hx-intake__tabs { display: flex; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .hx-intake__panel > * { opacity: 1; transform: none; } }

/* ═════════ Campus life: colourful section cards, themed gallery pages ═════════ */
.hx-cl-head { max-width: 640px; margin: 0 auto clamp(30px, 4vw, 52px); text-align: center; }
.hx-cl-head .hx-lead { margin-left: auto; margin-right: auto; }
.hx-cl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.hx-cl-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--t1); box-shadow: 0 14px 34px -18px rgba(6,26,64,.55); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.hx-cl-card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -22px var(--t1); color: #fff; }
.hx-cl-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); z-index: -2; }
.hx-cl-card:hover > img { transform: scale(1.14); }
.hx-cl-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--t1) 25%, transparent) 0%, transparent 34%, color-mix(in srgb, var(--t1) 70%, #000 0%) 78%, var(--t1) 100%); mix-blend-mode: normal; transition: opacity .4s; }
.hx-cl-card::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s ease; }
.hx-cl-card:hover::after { transform: translateX(120%); }
.hx-cl-card__ic { position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #fff; color: var(--t1); font-size: 1.55rem; box-shadow: 0 10px 22px -8px rgba(0,0,0,.5); transition: transform .45s cubic-bezier(.34,1.56,.64,1); z-index: 2; }
.hx-cl-card:hover .hx-cl-card__ic { transform: rotate(-8deg) scale(1.12); }
.hx-cl-card__count { position: absolute; right: 16px; top: 22px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: .76rem; font-weight: 600; white-space: nowrap; }
.hx-cl-card__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 20px 20px; display: grid; gap: 4px; }
.hx-cl-card__body b { font-family: var(--hx-serif); font-weight: 500; font-size: 1.55rem; line-height: 1.15; }
.hx-cl-card__body small { color: rgba(255,255,255,.88); font-size: .92rem; line-height: 1.4; }
.hx-cl-card__body em { margin-top: 8px; font-style: normal; font-weight: 600; font-size: .85rem; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.hx-cl-card__body em i { transition: transform .3s; }
.hx-cl-card:hover .hx-cl-card__body em i { transform: translateX(6px); }
/* colour wash that sweeps off each card as it arrives */
.hx-cl-card.hx-reveal::before { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(135deg, var(--t1), var(--t2)); transform-origin: 50% 0; transition: transform .9s cubic-bezier(.65,0,.35,1) inherit; transform: scaleY(1); pointer-events: none; }
.hx-cl-card.hx-reveal.is-in::before { transform: scaleY(0); transition: transform .9s cubic-bezier(.65,0,.35,1); transition-delay: inherit; transform-origin: 50% 100%; }

/* section pages */
.hx-clhero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 84px); color: #fff; background: linear-gradient(120deg, var(--t1), var(--t2)); isolation: isolate; }
.hx-clhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; mix-blend-mode: luminosity; z-index: -2; }
.hx-clhero__wash { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 320px at 85% 0%, rgba(255,255,255,.28), transparent 60%), linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(6,26,64,.35)); }
.hx-clhero__inner { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.hx-clhero__ic { position: relative; display: grid; place-items: center; flex: 0 0 auto; width: clamp(72px, 10vw, 112px); height: clamp(72px, 10vw, 112px); border-radius: 28px; background: #fff; color: var(--t1); font-size: clamp(2rem, 4.6vw, 3.2rem); box-shadow: 0 24px 40px -18px rgba(0,0,0,.55); animation: hxFloat 4.5s ease-in-out infinite; }
.hx-clhero__ic::after { content: ""; position: absolute; inset: -10px; border-radius: 34px; border: 2px solid rgba(255,255,255,.5); animation: hxPulse 2.6s ease-out infinite; }
.hx-clhero__eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 8px; }
.hx-clhero h1 { margin: 0; font-family: var(--hx-serif); font-weight: 500; font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.05; color: #fff; animation: hxRise .8s cubic-bezier(.2,.8,.2,1) both; }
.hx-clhero p { margin: 10px 0 0; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.9); animation: hxRise .8s .12s cubic-bezier(.2,.8,.2,1) both; }
.hx-clhero__bubble { position: absolute; z-index: -1; border-radius: 50%; background: rgba(255,255,255,.12); animation: hxDrift 9s ease-in-out infinite; }
.hx-clhero__bubble--1 { width: 180px; height: 180px; right: 8%; top: -50px; }
.hx-clhero__bubble--2 { width: 90px; height: 90px; right: 24%; bottom: 20px; animation-delay: -3s; }
.hx-clhero__bubble--3 { width: 60px; height: 60px; left: 46%; top: 22px; animation-delay: -6s; }
@keyframes hxFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(2deg); } }
@keyframes hxPulse { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes hxRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hxDrift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-18px, 14px); } }

.hx-clnav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hx-line); }
.hx-clnav__scroll { display: flex; gap: 8px; padding: 12px 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hx-clnav__scroll::-webkit-scrollbar { display: none; }
.hx-clchip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1.5px solid color-mix(in srgb, var(--t1) 30%, #fff); color: var(--t1); font-weight: 600; font-size: .9rem; text-decoration: none; scroll-snap-align: center; transition: transform .25s, background .25s, color .25s, box-shadow .25s; }
.hx-clchip i { font-size: 1.05rem; }
.hx-clchip:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--t1) 10%, #fff); color: var(--t1); }
.hx-clchip.is-active { background: linear-gradient(120deg, var(--t1), var(--t2)); color: #fff; border-color: transparent; box-shadow: 0 10px 20px -10px var(--t1); }

.hx-clsec { background: linear-gradient(180deg, color-mix(in srgb, var(--t1) 6%, #fff) 0%, #fff 70%); }
.hx-clsec__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.hx-clsec__head .hx-h2 { margin: 0; }
.hx-clsec__count { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: color-mix(in srgb, var(--t1) 10%, #fff); color: var(--t1); font-weight: 700; font-size: .9rem; }

.hx-clg { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.hx-clg__item { all: unset; cursor: pointer; position: relative; overflow: hidden; border-radius: 18px; background: var(--t1); display: block; box-shadow: 0 10px 24px -16px rgba(6,26,64,.6); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.hx-clg__item--big { grid-column: span 2; grid-row: span 2; }
.hx-clg__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.hx-clg__item:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -18px var(--t1); }
.hx-clg__item:hover img { transform: scale(1.1); }
.hx-clg__item:focus-visible { outline: 3px solid var(--t2); outline-offset: 3px; }
.hx-clg__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--t1) 85%, transparent)); opacity: 0; transition: opacity .35s; }
.hx-clg__item:hover::after, .hx-clg__item:focus-visible::after { opacity: 1; }
.hx-clg__zoom { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--t1); transform: scale(.4); opacity: 0; transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s; }
.hx-clg__item:hover .hx-clg__zoom, .hx-clg__item:focus-visible .hx-clg__zoom { transform: none; opacity: 1; }
.hx-clg__cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; color: #fff; font-weight: 600; font-size: .9rem; line-height: 1.3; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; text-align: left; }
.hx-clg__item:hover .hx-clg__cap, .hx-clg__item:focus-visible .hx-clg__cap { opacity: 1; transform: none; }
@media (hover: none) { .hx-clg__cap { opacity: 1; transform: none; font-size: .78rem; } .hx-clg__item::after { opacity: 1; } .hx-clg__zoom { opacity: 1; transform: none; width: 32px; height: 32px; } }
/* colourful pop-in with a colour flash, one tile after another */
.hx-clg.is-armed:not(.is-in) .hx-clg__item { opacity: 0; }
.hx-clg.is-armed.is-in .hx-clg__item { animation: hxPopIn .75s cubic-bezier(.34,1.45,.5,1) var(--d, 0ms) both; }
.hx-clg.is-armed.is-in .hx-clg__item::before { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(135deg, var(--t1), var(--t2)); pointer-events: none; animation: hxWash .9s ease var(--d, 0ms) both; }
@keyframes hxPopIn { 0% { opacity: 0; transform: translateY(40px) scale(.7) rotate(-3deg); } 100% { opacity: 1; transform: none; } }
@keyframes hxWash { 0% { opacity: 1; transform: scaleX(1); transform-origin: 0 50%; } 100% { opacity: 1; transform: scaleX(0); transform-origin: 100% 50%; } }

@media (max-width: 1100px) { .hx-cl-grid { grid-template-columns: repeat(3, 1fr); } .hx-clg { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .hx-cl-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .hx-clg { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .hx-cl-card__body b { font-size: 1.25rem; } .hx-cl-card__ic { width: 46px; height: 46px; font-size: 1.3rem; border-radius: 14px; } }
@media (max-width: 520px) { .hx-clhero__inner { flex-direction: column; align-items: flex-start; } .hx-cl-card { aspect-ratio: 3 / 4; border-radius: 18px; } .hx-cl-card__count { font-size: .68rem; padding: 4px 9px; } .hx-cl-card__body small { display: none; } .hx-clg { grid-auto-rows: 150px; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .hx-clhero__ic, .hx-clhero__bubble, .hx-clhero__ic::after { animation: none; } .hx-cl-card.hx-reveal::before { display: none; } .hx-clg.is-armed .hx-clg__item { opacity: 1; animation: none; } }

.hx-clg__item:only-child { grid-column: span 2; grid-row: span 2; }

/* ═════════ Student clubs ═════════ */
.hx-ccs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hx-cc { position: relative; display: flex; flex-direction: column; padding: 0 26px 24px; border-radius: 26px; background: #fff; text-decoration: none; color: var(--hx-ink); overflow: hidden; border: 1px solid var(--hx-line); box-shadow: var(--hx-shadow); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .3s; }
.hx-cc:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -26px var(--t1); border-color: color-mix(in srgb, var(--t1) 40%, #fff); color: var(--hx-ink); }
.hx-cc__top { position: relative; display: block; height: 150px; margin: 0 -26px; background: linear-gradient(125deg, var(--t1), var(--t2)); overflow: hidden; }
.hx-cc__big { position: absolute; right: -10px; bottom: -34px; font-size: 9.5rem; color: rgba(255,255,255,.2); transform: rotate(-12deg); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.hx-cc:hover .hx-cc__big { transform: rotate(0) scale(1.12); }
.hx-cc__dot { position: absolute; color: rgba(255,255,255,.5); animation: hxDrift 7s ease-in-out infinite; }
.hx-cc__dot--1 { left: 18px; top: 18px; font-size: .5rem; }
.hx-cc__dot--2 { left: 38%; top: 30px; font-size: 1.1rem; animation-delay: -2s; }
.hx-cc__dot--3 { left: 16%; bottom: 20px; font-size: 1rem; animation-delay: -4s; }
.hx-cc__ic { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 14px; border-radius: 20px; background: #fff; color: var(--t1); font-size: 1.9rem; box-shadow: 0 14px 26px -12px rgba(0,0,0,.45); transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.hx-cc:hover .hx-cc__ic { transform: rotate(-8deg) scale(1.1); }
.hx-cc h3 { margin: 0 0 12px; font-family: var(--hx-serif); font-weight: 500; font-size: 1.7rem; line-height: 1.15; }
.hx-cc__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hx-cc__chips small { flex: 0 0 100%; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-muted); }
.hx-cc__chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--t1) 9%, #fff); color: var(--t1); font-size: .86rem; font-weight: 600; }
.hx-cc__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--t1); }
.hx-cc__go i { transition: transform .3s; }
.hx-cc:hover .hx-cc__go i { transform: translateX(7px); }
.hx-cwhy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(44px, 6vw, 72px); }
.hx-cwhy__item { padding: 28px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--hx-line); text-align: center; transition: transform .35s, box-shadow .35s; }
.hx-cwhy__item:hover { transform: translateY(-5px); box-shadow: var(--hx-shadow); }
.hx-cwhy__item span { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--hx-navy), #2f6fe0); color: var(--hx-gold); font-size: 1.7rem; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.hx-cwhy__item:hover span { transform: rotate(-10deg) scale(1.12); }
.hx-cwhy__item h3 { margin: 0 0 6px; font-family: var(--hx-serif); font-weight: 500; font-size: 1.35rem; }
.hx-cwhy__item p { margin: 0; color: var(--hx-muted); line-height: 1.6; }
.hx-joinbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 28px; padding: 28px 32px; border-radius: 22px; background: linear-gradient(120deg, var(--hx-navy-deep), var(--hx-navy)); color: #fff; }
.hx-joinbar h3 { margin: 0 0 4px; font-family: var(--hx-serif); font-weight: 500; font-size: 1.6rem; color: #fff; }
.hx-joinbar p { margin: 0; color: rgba(255,255,255,.8); }

/* club page */
.hx-clubhero { position: relative; overflow: hidden; padding: clamp(52px, 8vw, 96px) 0 clamp(40px, 6vw, 70px); color: #fff; background: linear-gradient(120deg, var(--t1), var(--t2)); isolation: isolate; }
.hx-clubhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .2; mix-blend-mode: luminosity; z-index: -2; }
.hx-clubhero__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 90% 0%, rgba(255,255,255,.25), transparent 60%); }
.hx-clubhero__inner { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.hx-clubhero__ic { position: relative; display: grid; place-items: center; flex: 0 0 auto; width: clamp(72px, 10vw, 110px); height: clamp(72px, 10vw, 110px); border-radius: 50%; background: #fff; color: var(--t1); font-size: clamp(2rem, 4.6vw, 3.1rem); box-shadow: 0 24px 40px -18px rgba(0,0,0,.55); animation: hxFloat 4.5s ease-in-out infinite; }
.hx-clubhero__ic::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); animation: hxPulse 2.6s ease-out infinite; }
.hx-clubhero__eyebrow { display: inline-block; margin-bottom: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.hx-clubhero h1 { margin: 0 0 16px; font-family: var(--hx-serif); font-weight: 500; font-size: clamp(2.2rem, 5.4vw, 3.8rem); line-height: 1.05; color: #fff; animation: hxRise .8s cubic-bezier(.2,.8,.2,1) both; }
.hx-clubhero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-clubhero__chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5); color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .25s, color .25s, transform .25s; }
.hx-clubhero__chips a:hover { background: #fff; color: var(--t1); transform: translateY(-2px); }
.hx-club-page .carbon-subnav { background: transparent; border: 0; box-shadow: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 8px; }
.hx-club-page .carbon-subnav-link { border: 1.5px solid color-mix(in srgb, var(--t1) 30%, #fff); border-radius: 999px; padding: 8px 18px; color: var(--t1) !important; background: #fff; }
.hx-club-page .carbon-subnav-link:hover { background: color-mix(in srgb, var(--t1) 10%, #fff); }
.hx-club-page .carbon-subnav-link.active { background: linear-gradient(120deg, var(--t1), var(--t2)); color: #fff !important; border-color: transparent; }
.hx-club-page .fixed-top-subnav { background: rgba(255,255,255,.95) !important; padding: 8px 16px !important; }
.hx-club-page .club-flow-section { padding: 6px 0 14px; }
.hx-club-page .club-flow-section h3 { display: flex; align-items: center; gap: 12px; font-family: var(--hx-serif); font-weight: 500 !important; font-size: 1.7rem !important; border-bottom: 0 !important; }
.hx-tabic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--t1), var(--t2)); color: #fff; font-size: 1.25rem; box-shadow: 0 10px 20px -10px var(--t1); }
.hx-coord { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; padding: 14px 22px 14px 16px; border-radius: 18px; background: color-mix(in srgb, var(--t1) 8%, #fff); border: 1px solid color-mix(in srgb, var(--t1) 25%, #fff); }
.hx-coord::before { content: "\F4D2"; font-family: "bootstrap-icons"; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--t1); color: #fff; font-size: 1.3rem; }
.hx-coord i { display: none; }
.hx-coord h6 { font-size: .74rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--hx-muted) !important; }
.hx-coord p { font-size: 1rem !important; font-weight: 600; color: var(--hx-ink) !important; }
.hx-club-page .cds-rich-content { font-size: 1.05rem; line-height: 1.75; color: #2c3550; }
.hx-club-page .cds-rich-content ul { list-style: none; padding: 0; display: grid; gap: 12px; margin: 16px 0; }
.hx-club-page .cds-rich-content ul li { position: relative; padding: 14px 16px 14px 56px; border-radius: 16px; background: #fff; border: 1px solid var(--hx-line); box-shadow: 0 6px 16px -12px rgba(6,26,64,.4); transition: transform .3s, border-color .3s; }
.hx-club-page .cds-rich-content ul li:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--t1) 45%, #fff); }
.hx-club-page .cds-rich-content ul li::before { content: "\F270"; font-family: "bootstrap-icons"; position: absolute; left: 14px; top: 12px; transform: none; line-height: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--t1) 14%, #fff); color: var(--t1); font-size: 1rem; }
.hx-club-page .club-flow-section .card { border-radius: 16px !important; transition: transform .4s, box-shadow .4s; }
.hx-club-page .club-flow-section .card:hover { transform: translateY(-6px); box-shadow: 0 24px 36px -20px var(--t1) !important; }
.hx-club-page .club-flow-section hr { opacity: .35 !important; margin: 34px 0 !important; }

@media (max-width: 1000px) { .hx-ccs { grid-template-columns: repeat(2, 1fr); } .hx-cwhy { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .hx-ccs { grid-template-columns: 1fr; } .hx-clubhero__inner { flex-direction: column; align-items: flex-start; } .hx-joinbar { padding: 22px; } }
@media (prefers-reduced-motion: reduce) { .hx-clubhero__ic, .hx-clubhero__ic::after, .hx-cc__dot { animation: none; } }

/* ═════════ Department pages ═════════ */
.hx-dhero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 100px) 0 clamp(44px, 6vw, 76px); color: #fff; background: linear-gradient(120deg, var(--t1), var(--t2)); isolation: isolate; }
.hx-dhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .24; mix-blend-mode: luminosity; z-index: -2; }
.hx-dhero__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 320px at 90% 0%, rgba(255,255,255,.28), transparent 60%), linear-gradient(180deg, transparent 50%, rgba(6,26,64,.3)); }
.hx-dhero__inner { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.hx-dhero__ic { position: relative; display: grid; place-items: center; flex: 0 0 auto; width: clamp(76px, 11vw, 124px); height: clamp(76px, 11vw, 124px); border-radius: 30px; background: #fff; color: var(--t1); font-size: clamp(2.2rem, 5vw, 3.6rem); box-shadow: 0 26px 44px -20px rgba(0,0,0,.6); animation: hxFloat 4.5s ease-in-out infinite; }
.hx-dhero__ic::after { content: ""; position: absolute; inset: -10px; border-radius: 36px; border: 2px solid rgba(255,255,255,.5); animation: hxPulse 2.6s ease-out infinite; }
.hx-dhero__eyebrow { display: inline-block; margin-bottom: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.hx-dhero h1 { margin: 0 0 10px; font-family: var(--hx-serif); font-weight: 500; font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.06; color: #fff; animation: hxRise .8s cubic-bezier(.2,.8,.2,1) both; }
.hx-dhero p { margin: 0 0 18px; max-width: 46em; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.6; color: rgba(255,255,255,.92); animation: hxRise .8s .12s cubic-bezier(.2,.8,.2,1) both; }
.hx-dhero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-dhero__chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5); color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .25s, color .25s, transform .25s; }
.hx-dhero__chips a:hover { background: #fff; color: var(--t1); transform: translateY(-2px); }

.hx-dglance { background: linear-gradient(180deg, color-mix(in srgb, var(--t1) 7%, #fff), #fff); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 60px); }
.hx-dfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-bottom: clamp(34px, 5vw, 54px); }
.hx-dfact { display: grid; justify-items: center; gap: 4px; padding: 26px 18px; border-radius: 22px; background: #fff; border: 1px solid color-mix(in srgb, var(--t1) 20%, #fff); text-align: center; box-shadow: 0 14px 28px -22px var(--t1); transition: transform .35s, box-shadow .35s; }
.hx-dfact:hover { transform: translateY(-6px); box-shadow: 0 26px 40px -24px var(--t1); }
.hx-dfact span { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 18px; background: linear-gradient(135deg, var(--t1), var(--t2)); color: #fff; font-size: 1.6rem; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.hx-dfact:hover span { transform: rotate(-10deg) scale(1.12); }
.hx-dfact b { font-family: var(--hx-serif); font-weight: 500; font-size: 2.4rem; line-height: 1; color: var(--t1); font-variant-numeric: tabular-nums; }
.hx-dfact small { color: var(--hx-muted); font-weight: 600; }
.hx-dhead { margin-bottom: 22px; }
.hx-dhead .hx-h2 { margin: 0 0 4px; }
.hx-dhead p { margin: 0; color: var(--hx-muted); }
.hx-dprogs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.hx-dprog { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--hx-line); text-decoration: none; color: var(--hx-ink); overflow: hidden; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .3s; }
.hx-dprog::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--t1), var(--t2)); }
.hx-dprog:hover { transform: translateY(-7px); box-shadow: 0 26px 40px -24px var(--t1); border-color: color-mix(in srgb, var(--t1) 40%, #fff); color: var(--hx-ink); }
.hx-dprog__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: color-mix(in srgb, var(--t1) 12%, #fff); color: var(--t1); font-size: 1.5rem; transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.hx-dprog:hover .hx-dprog__ic { transform: rotate(-8deg) scale(1.1); background: var(--t1); color: #fff; }
.hx-dprog__tag { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--t1); }
.hx-dprog h3 { margin: 0; font-family: var(--hx-serif); font-weight: 500; font-size: 1.3rem; line-height: 1.25; }
.hx-dprog__meta { display: inline-flex; align-items: center; gap: 6px; color: var(--hx-muted); font-size: .92rem; }
.hx-dprog__go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--t1); }
.hx-dprog__go i { transition: transform .3s; }
.hx-dprog:hover .hx-dprog__go i { transform: translateX(7px); }

/* the existing detail sections, restyled */
.hx-dept-page .carbon-subnav { background: transparent; border: 0; box-shadow: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 8px; }
.hx-dept-page .carbon-subnav-link { border: 1.5px solid color-mix(in srgb, var(--t1) 30%, #fff); border-radius: 999px; padding: 8px 18px; color: var(--t1) !important; background: #fff; }
.hx-dept-page .carbon-subnav-link:hover { background: color-mix(in srgb, var(--t1) 10%, #fff); }
.hx-dept-page .carbon-subnav-link.active { background: linear-gradient(120deg, var(--t1), var(--t2)); color: #fff !important; border-color: transparent; }
.hx-dept-page .fixed-top-subnav { background: rgba(255,255,255,.95) !important; padding: 8px 16px !important; }
.hx-dept-page .dept-flow-section > h3 { display: flex; align-items: center; gap: 12px; font-family: var(--hx-serif); font-weight: 500 !important; font-size: 1.7rem !important; border-bottom: 0 !important; }
.hx-dept-page .cds-rich-content { font-size: 1.05rem; line-height: 1.75; color: #2c3550; }
.hx-dept-page .cds-rich-content h3, .hx-dept-page .cds-rich-content h4 { display: flex; align-items: center; gap: 10px; border-bottom: 0 !important; color: var(--t1) !important; font-family: var(--hx-serif); font-weight: 500; }
.hx-dept-page .cds-rich-content h3 i, .hx-dept-page .cds-rich-content h4 i { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--t1) 12%, #fff); color: var(--t1); font-size: 1.1rem; margin: 0 !important; }
.hx-dept-page .carbon-about-feature { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--hx-line); display: flex; gap: 14px; align-items: flex-start; transition: transform .35s, box-shadow .35s, border-color .3s; }
.hx-dept-page .carbon-about-feature:hover { transform: translateY(-5px); box-shadow: 0 22px 34px -24px var(--t1); border-color: color-mix(in srgb, var(--t1) 40%, #fff); }
.hx-dept-page .carbon-about-feature__icon { display: grid !important; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 15px; background: linear-gradient(135deg, var(--t1), var(--t2)); color: #fff !important; font-size: 1.3rem; }
.hx-dept-page .carbon-about-feature__icon * { color: #fff !important; }
.hx-dept-page .carbon-about-image-frame img { border-radius: 22px; }
.hx-dept-page .cds-rich-content ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.hx-dept-page .cds-rich-content ul li { position: relative; padding: 12px 14px 12px 50px; border-radius: 14px; background: #fff; border: 1px solid var(--hx-line); }
.hx-dept-page .cds-rich-content ul li::before { content: "\F270"; font-family: "bootstrap-icons"; position: absolute; left: 12px; top: 10px; line-height: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--t1) 14%, #fff); color: var(--t1); }
.hx-po { position: relative; display: block; margin: 0 0 12px !important; padding: 14px 16px 14px 82px; border-radius: 16px; background: #fff; border: 1px solid var(--hx-line); box-shadow: 0 6px 16px -12px rgba(6,26,64,.4); transition: transform .3s, border-color .3s; }
.hx-po:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--t1) 45%, #fff); }
.hx-po__n { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); min-width: 54px; padding: 8px 0; border-radius: 12px; text-align: center; background: linear-gradient(135deg, var(--t1), var(--t2)); color: #fff; font-weight: 800; font-size: .86rem; letter-spacing: .04em; }

@media (max-width: 700px) { .hx-dhero__inner { flex-direction: column; align-items: flex-start; } .hx-po { padding-left: 74px; } }
@media (prefers-reduced-motion: reduce) { .hx-dhero__ic, .hx-dhero__ic::after { animation: none; } }

.hx-dept-page .hx-tabic, .hx-club-page .hx-tabic { color: #fff !important; }

/* Why choose HCET: original icon tiles; only the tag floats */
.hx-collage__tag { animation: hxFloat 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hx-collage__tag { animation: none; } }

/* Header sub-navigation: every dropdown lists its links in at least two columns (desktop menu only) */
@media (min-width: 1056px) {
  .cds-nav__item > .cds-dropdown-menu {
    display: grid; grid-template-columns: repeat(2, minmax(13rem, 1fr)); column-gap: 4px; align-content: start;
    min-width: 28rem; padding: 10px 6px; border-radius: 14px; border: 1px solid var(--hx-line);
    box-shadow: 0 26px 50px -22px rgba(10,29,70,.35);
  }
  .cds-nav__item > .cds-dropdown-menu .cds-dropdown-menu__item + .cds-dropdown-menu__item { margin-top: 0; }
  .cds-nav__item > .cds-dropdown-menu .cds-dropdown-menu__link { margin: 1px 4px; padding: 9px 12px; }
  /* menus near the right edge open leftwards so they stay on screen */
  .cds-nav__item:nth-last-child(-n+4) > .cds-dropdown-menu { left: auto; right: 0; }
}
@media (min-width: 1056px) {
  .cds-nav__item > .cds-dropdown-menu .hx-dd__head { grid-column: 1 / -1; margin: 6px 10px 8px; padding: 8px 6px 12px; border-bottom: 1px solid var(--hx-line); font-family: var(--hx-serif); font-weight: 500; font-size: 1.15rem; line-height: 1.2; color: var(--hx-navy); }
  .cds-nav__item > .cds-dropdown-menu .hx-dd__head small { display: block; margin-top: 4px; font-family: var(--cds-font-family); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--hx-muted); }
}
@media (max-width: 1055px) { .hx-dd__head { display: none; } }
