/* 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; } }

/* ───────── Gallery: AI-vision style motion ───────── */
.hx-gal { perspective: 1200px; }
.hx-gal__item { --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; --d: 0ms; transform-style: preserve-3d; background: var(--hx-navy-deep, #061a40);
  opacity: 0; transform: translateY(36px) scale(.94); filter: blur(10px);
  transition: opacity .8s ease var(--d), transform .9s cubic-bezier(.2,.8,.2,1) var(--d), filter .9s ease var(--d), box-shadow .4s ease; }
.hx-gal.is-in .hx-gal__item { opacity: 1; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); filter: none; }
.hx-gal.is-in .hx-gal__item:hover, .hx-gal.is-in .hx-gal__item.is-focus { box-shadow: 0 26px 50px -24px rgba(10,45,110,.75), 0 0 0 1px rgba(120,169,255,.5); }
.hx-gal.is-in .hx-gal__item { transition: opacity .8s ease var(--d), filter .9s ease var(--d), box-shadow .4s ease, transform .18s ease-out; }
.hx-gal__item img { transform: scale(1.04); transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter .5s; }
.hx-gal__item:hover img, .hx-gal__item.is-focus img { transform: scale(1.12); filter: saturate(1.12) contrast(1.04); }

/* cursor-following light */
.hx-gal__item::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(120,169,255,.35), transparent 60%); mix-blend-mode: screen; }
.hx-gal__item:hover::before { opacity: 1; }

/* scanning beam */
.hx-gal__scan { position: absolute; left: 0; right: 0; top: 0; height: 36%; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(120,200,255,.28) 70%, rgba(160,225,255,.9) 100%); border-bottom: 2px solid #8fd3ff; box-shadow: 0 6px 22px rgba(120,200,255,.6); transform: translateY(-100%); }
.hx-gal__item:hover .hx-gal__scan, .hx-gal__item.is-focus .hx-gal__scan { animation: hxScan 1.6s cubic-bezier(.4,0,.2,1) 1; }
@keyframes hxScan { 0% { opacity: 1; transform: translateY(-100%); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(300%); } }

/* focus reticle */
.hx-gal__reticle { position: absolute; inset: 14px; z-index: 3; pointer-events: none; opacity: 0; transform: scale(1.12); transition: opacity .35s, transform .5s cubic-bezier(.2,.8,.2,1); }
.hx-gal__reticle i { position: absolute; width: 22px; height: 22px; border: 0 solid #8fd3ff; filter: drop-shadow(0 0 6px rgba(143,211,255,.8)); }
.hx-gal__reticle i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
.hx-gal__reticle i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; border-top-right-radius: 6px; }
.hx-gal__reticle i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: 6px; }
.hx-gal__reticle i:nth-child(4) { right: 0; bottom: 0; border-width: 0 2px 2px 0; border-bottom-right-radius: 6px; }
.hx-gal__item:hover .hx-gal__reticle, .hx-gal__item.is-focus .hx-gal__reticle { opacity: 1; transform: none; }

/* caption chip */
.hx-gal__cap { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 12px; text-align: left;
  background: rgba(6,26,64,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: .84rem; font-weight: 600; line-height: 1.3; border: 1px solid rgba(143,211,255,.35);
  opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.hx-gal__cap b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .74rem; color: #8fd3ff; letter-spacing: .08em; }
.hx-gal__item:hover .hx-gal__cap, .hx-gal__item.is-focus .hx-gal__cap, .hx-gal__item:focus-visible .hx-gal__cap { opacity: 1; transform: none; }
.hx-gal__item:first-child .hx-gal__cap { font-size: .95rem; padding: 12px 18px; }

/* touch / no-JS / reduced motion */
@media (hover: none) { .hx-gal__cap { opacity: 1; transform: none; font-size: .76rem; padding: 7px 10px; left: 8px; right: 8px; bottom: 8px; } .hx-gal__reticle { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hx-gal__item { opacity: 1; transform: none; filter: none; transition: none; }
  .hx-gal__scan { display: none; } .hx-gal__item img { transition: none; transform: none; }
}
/* 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; } }
