/* ==========================================================================
   GNVS Institute of Management — stylesheet
   --------------------------------------------------------------------------
   Colours, fonts and spacing are set as variables in "Design tokens" below;
   change them there and the whole site follows.

   Contents
    1. Design tokens
    2. Base and reset
    3. Layout and typography
    4. Buttons
    5. Cards, tabs and accordions
    6. Scroll reveals and motion
    7. Intro screen
    8. Top bar and brand bar
    9. Header and navigation
   10. Inner page hero
   11. Home: slider
   12. Home: news ticker
   13. Home: quick tiles
   14. Home: welcome and stats
   15. Home: programme
   16. Home: why GNVS
   17. Home: admission steps
   18. Home: notice board
   19. Leadership and people
   20. Home: facilities
   21. Home: alumni
   22. Home: recruiters
   23. Home: visit us
   24. Gallery, photos and lightbox
   25. Documents, tables and timelines
   26. Forms and contact
   27. Call-to-action band
   28. Footer
   29. Keyframes
   ========================================================================== */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  /* Brand colours */
  --ink: #0c2a5b;
  --ink-2: #103473;
  --ink-3: #18418a;
  --navy-deep: #071a3b;
  --saffron: #f2b10a;
  --saffron-2: #ffcb3d;
  --ember: #c8102e;
  --teal: #11807a;
  --violet: #6b5cff;

  /* Surfaces and text */
  --paper: #ffffff;
  --paper-2: #f1f4f9;
  --text: #18203a;
  --muted: #4c566d;
  --line: rgba(12, 42, 91, 0.12);

  /* Typography */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;

  /* Shape, depth and motion */
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 60px -25px rgba(11, 16, 32, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
}

/* Large and 4K screens: widen the layout and scale the type up with it */
@media (min-width: 1800px) {
  :root {
    --maxw: 1480px;
  }
}

@media (min-width: 2200px) {
  :root {
    --maxw: 1840px;
  }

  html {
    font-size: 18px;
  }
}

@media (min-width: 3000px) {
  :root {
    --maxw: 2480px;
  }

  html {
    font-size: 23px;
  }
}

/* ==========================================================================
   2. Base and reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  background: #fff;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

::selection {
  background: var(--saffron);
  color: var(--ink);
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
}

h2 {
  font-family: var(--serif);
  line-height: 1.05;
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 999;
  background: var(--saffron);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 700;
}

.skip:focus {
  left: 10px;
  top: 10px;
}

main {
  animation: pageIn 0.8s var(--ease) both;
}

body.leaving main {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   3. Layout and typography
   ========================================================================== */

.container {
  width: min(var(--maxw), 100% - 40px);
  margin-inline: auto;
}

em.accent,
.accent {
  font-style: italic;
  color: var(--ember);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  font-size: 0.8rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.15s;
}

.dark .eyebrow {
  color: var(--saffron-2);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 60ch;
  color: #4c566d;
}

section {
  position: relative;
}

.dark {
  background: var(--ink);
  color: #e9ecf6;
  position: relative;
  overflow: hidden;
}

.dark h3 {
  color: #fff;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
}

.blob {
  position: absolute;
  inset: -20%;
  background: conic-gradient(
    from 0deg,
    var(--saffron),
    var(--ember),
    var(--violet),
    var(--teal),
    var(--saffron)
  );
  filter: blur(60px);
  opacity: 0.55;
  animation: spin 18s linear infinite;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.pill {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.cta .blob {
  opacity: 0.35;
}

.dd-feature .blob {
  opacity: 0.5;
}

.prose {
  font-size: 1.06rem;
  color: #333a55;
  max-width: 72ch;
}

.prose p {
  margin: 0 0 1.1em;
}

.prose h3 {
  margin: 1.6em 0 0.6em;
  font-size: 1.5rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  margin: 0 0 1.2em;
}

.prose li {
  margin: 0.4em 0;
}

.prose li::marker {
  color: var(--ember);
}

.prose blockquote {
  margin: 1.4em 0;
  padding: 24px 28px;
  border-left: 3px solid var(--saffron);
  background: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--ink);
}

.callout .blob {
  opacity: 0.25;
}

.dropdown a.dd-feature .blob {
  position: absolute;
  inset: -30%;
}

.split > * {
  min-width: 0;
}

.dark .accent {
  color: var(--saffron-2);
}

.eyebrow.drawn::before,
.eyebrow.in-view::before {
  transform: scaleX(1);
}

.dark::before {
  content: "";
  position: absolute;
  inset: -40%;
  background-image: radial-gradient(rgba(255, 203, 61, 0.22) 1.2px, transparent 1.4px);
  background-size: 36px 36px;
  animation: drift 60s linear infinite;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 85% 15%, #000, transparent 45%);
  mask-image: radial-gradient(circle at 85% 15%, #000, transparent 45%);
}

.dark::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  bottom: -220px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 203, 61, 0.22);
  animation: spin 70s linear infinite;
  pointer-events: none;
}

.dark > .container {
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(48px, 6vw, 84px) 0;
}

.dark h2 {
  color: #fff;
}

.dark .lead {
  color: rgba(255, 255, 255, 0.82);
}

.head-row h2 {
  max-width: 24ch;
}

@media (max-width: 1080px) {
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dark::before,
  .dark::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 40px 0;
  }
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn .arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.08);
  transition: transform 0.4s var(--ease);
}

.btn-sm {
  padding: 11px 18px;
  font-size: 0.88rem;
}

.btn-primary {
  box-shadow: 0 12px 26px -12px rgba(242, 177, 10, 0.8);
  background: var(--saffron);
  color: var(--ink);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  left: -70%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 1;
}

.btn:hover::after {
  left: 130%;
  transition: left 0.75s var(--ease);
}

.ldr-b .btn {
  margin-top: auto;
}

.btn:hover .arrow {
  transform: none;
  background: rgba(0, 0, 0, 0.12);
}

.btn-primary .arrow {
  animation: none;
}

.btn-ghost {
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-ghost::before {
  background: var(--ink);
}

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

.dark .btn-ghost,
.cta .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.dark .btn-ghost::before,
.cta .btn-ghost::before {
  background: #fff;
}

.dark .btn-ghost:hover,
.cta .btn-ghost:hover {
  color: var(--ink);
  border-color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid #fff;
}

.btn-light::before {
  background: var(--saffron);
}

.btn-light:hover {
  color: var(--ink);
  border-color: var(--saffron);
}

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

.btn-dark::before {
  background: var(--ember);
}

.btn-dark:hover {
  color: #fff;
}

.btn-primary::before {
  background: var(--ink);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(12, 42, 91, 0.6);
}

.dark .btn-primary::before,
.cta .btn-primary::before,
.sl-over .btn-primary::before,
.slider .btn-primary::before {
  background: #fff;
}

.dark .btn-primary:hover,
.cta .btn-primary:hover,
.sl-over .btn-primary:hover,
.slider .btn-primary:hover {
  color: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(255, 255, 255, 0.5);
}

.btn-primary:hover .arrow {
  background: rgba(255, 255, 255, 0.18);
}

.dark .btn-primary:hover .arrow,
.cta .btn-primary:hover .arrow,
.slider .btn-primary:hover .arrow {
  background: rgba(12, 42, 91, 0.1);
}

/* ==========================================================================
   5. Cards, tabs and accordions
   ========================================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cards.c4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.4s;
  overflow: hidden;
  transform-style: preserve-3d;
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card .ic {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  background: var(--paper-2);
  color: var(--ember);
  transition:
    transform 0.5s var(--ease),
    background 0.4s,
    color 0.4s;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--serif);
}

.card:hover .ic {
  background: var(--ink);
  color: var(--saffron);
  transform: none;
}

.card h3 {
  margin-bottom: 12px;
}

.c-card .ic {
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.card .num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
}

.card .glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 160, 28, 0.18), transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  left: var(--mx, 50%);
  top: var(--my, 50%);
}

.card:hover .glow {
  opacity: 1;
}

.dark .card {
  background: var(--ink-2);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark .card p {
  color: rgba(255, 255, 255, 0.62);
}

.dark .card .ic {
  background: rgba(255, 255, 255, 0.06);
  color: var(--saffron);
}

.bento .tile {
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s var(--ease);
}

.bento .tile:hover {
  transform: translateY(-6px);
}

.t-a {
  grid-column: span 3;
  grid-row: span 2;
  background: var(--ink);
  color: #fff;
}

.t-b {
  grid-column: span 3;
  background: var(--saffron);
  color: var(--ink);
}

.t-c {
  grid-column: span 2;
  background: #fff;
  border: 1px solid var(--line);
}

.t-d {
  grid-column: span 1;
  background: var(--ember);
  color: #fff;
}

.t-e {
  grid-column: span 2;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.t-f {
  grid-column: span 4;
  background: linear-gradient(135deg, var(--violet), var(--ink-3));
  color: #fff;
}

.tile .big {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.95;
}

.tile .label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.75;
}

.tile h3 {
  color: inherit;
}

.t-a .rings {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 320px;
  height: 320px;
}

.t-a .rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 160, 28, 0.35);
  border-radius: 50%;
  animation: ripple 4s linear infinite;
}

.t-a .rings span:nth-child(2) {
  animation-delay: -1.3s;
}

.t-a .rings span:nth-child(3) {
  animation-delay: -2.6s;
}

.visual-panel {
  position: relative;
  aspect-ratio: 1/1.05;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.visual-panel .vp-grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 25%, rgba(244, 160, 28, 0.85), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(43, 181, 160, 0.7), transparent 50%);
}

.visual-panel .vp-year {
  position: absolute;
  left: 30px;
  bottom: 24px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.visual-panel .vp-year small {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 10px;
}

.visual-panel .vp-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.visual-panel svg.pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
}

.tabs {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
}

.tab-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tab-btn {
  text-align: left;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.tab-btn small {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  opacity: 0.6;
}

.tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.tab-btn.active {
  color: var(--ink);
}

.tab-panel {
  display: none;
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 52px);
  position: relative;
  overflow: hidden;
}

.tab-panel.active {
  display: block;
  animation: panelIn 0.7s var(--ease);
}

.tab-panel h3 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 18px;
}

.acc {
  border-top: 1px solid var(--line);
}

.acc-item {
  border-bottom: 1px solid var(--line);
}

.acc-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.acc-q .pm {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  transition:
    background 0.4s,
    transform 0.5s var(--ease);
}

.acc-q .pm::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.acc-q .pm::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.4s var(--ease);
}

.acc-item.open .pm {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: rotate(180deg);
}

.acc-item.open .pm::after {
  transform: translate(-50%, -50%) rotate(0);
}

.acc-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.acc-a > div {
  overflow: hidden;
}

.acc-a p {
  color: var(--muted);
  padding-bottom: 26px;
  max-width: 70ch;
  margin: 0;
}

.acc-item.open .acc-a {
  grid-template-rows: 1fr;
}

.h-scroll {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 20px 30px;
  scrollbar-width: none;
  cursor: grab;
}

.h-scroll::-webkit-scrollbar {
  display: none;
}

.c-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.c-card .row {
  display: flex;
  gap: 16px;
}

.c-card .row .ic {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(244, 160, 28, 0.15);
  color: var(--saffron);
  display: grid;
  place-items: center;
}

.c-card .row small {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.c-card a:hover {
  color: var(--saffron);
}

.ltabs .tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  flex-direction: row;
  overflow: visible;
}

.ltabs .tab-btn {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ltabs .tab-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.ltabs .tab-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.ltabs .tab-btn .cnt {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.7rem;
  margin-left: 6px;
  padding: 0 5px;
}

.ltabs .tab-btn.active .cnt {
  background: var(--saffron);
}

.ltabs .tab-panel {
  display: none;
  background: none;
  border: 0;
  padding: 0;
}

.ltabs .tab-panel.active {
  display: block;
  animation: panelIn 0.6s var(--ease);
}

a.card {
  display: block;
  color: inherit;
}

.c-card a {
  overflow-wrap: anywhere;
}

.accred {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 26px 0 30px;
}

.accred div {
  border-left: 3px solid var(--saffron);
  background: var(--paper-2);
  border-radius: 0 12px 12px 0;
  padding: 12px 12px;
}

.accred b {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.25;
}

.accred span {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tab-btn.active {
  background: var(--saffron);
  border-color: var(--saffron);
}

.dark > .h-scroll {
  position: relative;
  z-index: 1;
}

.card .ic svg {
  transition: transform 0.5s var(--ease);
}

.card:hover .ic svg {
  transform: none;
}

@media (max-width: 1080px) {
  .cards,
  .cards.c4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .tabs {
    grid-template-columns: 1fr;
  }

  .tab-list {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tab-btn {
    flex: 0 0 auto;
    font-size: 1.1rem;
  }

  .tab-btn small {
    display: none;
  }

  .bento .tile {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .bento .t-a,
  .bento .t-f {
    grid-column: span 2 !important;
  }
}

@media (max-width: 640px) {
  .cards,
  .cards.c4 {
    grid-template-columns: 1fr;
  }

  .bento .tile {
    grid-column: span 1 !important;
  }
}

@media (max-width: 760px) {
  .accred {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   6. Scroll reveals and motion
   ========================================================================== */

[id] {
  scroll-margin-top: 100px;
}

.in-view .bar-fill {
  width: var(--w);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}

[data-reveal="left"] {
  transform: translateX(-60px);
}

[data-reveal="right"] {
  transform: translateX(60px);
}

[data-reveal="scale"] {
  transform: scale(0.88);
}

[data-reveal="clip"] {
  clip-path: inset(0 0 100% 0);
  transform: none;
  opacity: 1;
  transition: clip-path 1.3s var(--ease);
}

[data-reveal].in-view {
  opacity: 1;
  transform: none;
  clip-path: inset(0);
}

.split-words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
}

.split-words .w > span {
  display: inline-block;
  transform: translateY(110%) rotate(6deg);
  transition: transform 1s var(--ease);
  transition-delay: calc(var(--wi) * 40ms);
}

.split-words.in-view .w > span {
  transform: none;
}

.split-words .accent {
  background: linear-gradient(var(--saffron), var(--saffron)) no-repeat 0 94%/0% 0.09em;
  transition: background-size 1.1s var(--ease) 0.55s;
}

.split-words.in-view .accent {
  background-size: 100% 0.09em;
}

.lm-row {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 38s linear infinite;
  animation-name: lmScroll;
  padding: 6px 0;
}

.lm-row.rev {
  animation-direction: reverse;
  animation-duration: 44s;
}

.logo-marquee:hover .lm-row {
  animation-play-state: paused;
}

.lm-row .lg {
  width: 200px;
  flex: 0 0 200px;
  aspect-ratio: auto;
  height: 96px;
  padding: 14px 20px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 24px -20px rgba(12, 42, 91, 0.5);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s;
}

.lm-row .lg:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px -18px rgba(12, 42, 91, 0.5);
}

.lm-row .lg img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}

[data-reveal="sm"] {
  transform: translateY(24px);
}

[data-reveal="flip"] {
  transform: perspective(900px) rotateX(-22deg) translateY(30px);
  transform-origin: 50% 0;
}

[data-reveal="zoom"] {
  transform: scale(0.9);
}

[data-reveal="row"] {
  transform: translateX(-26px);
}

/* ==========================================================================
   7. Intro screen
   ========================================================================== */

.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition:
    clip-path 1s var(--ease) 0.1s,
    visibility 0s 1.2s;
  clip-path: circle(150% at 50% 50%);
}

.intro.done {
  clip-path: circle(0% at 50% 50%);
  visibility: hidden;
}

.intro-in {
  display: grid;
  justify-items: center;
  gap: 18px;
  color: #fff;
  text-align: center;
}

.intro-emb {
  position: relative;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
}

.intro-emb img {
  width: 84px;
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  animation: introPop 0.9s var(--ease) both;
}

.intro-emb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--saffron);
  border-right-color: var(--saffron);
  animation: spin 1s linear infinite;
}

.intro b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  animation: slideUp 0.8s var(--ease) 0.2s both;
}

.intro small {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron-2);
  animation: slideUp 0.8s var(--ease) 0.35s both;
}

@media (prefers-reduced-motion: reduce) {
  .intro {
    display: none;
  }
}

/* ==========================================================================
   8. Top bar and brand bar
   ========================================================================== */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.util {
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  z-index: 101;
  background: var(--navy-deep);
  font-size: 0.8rem;
  animation: dropIn 0.7s var(--ease) both;
}

.util .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 40px;
}

.util a {
  transition: color 0.3s;
}

.util a:hover {
  color: var(--saffron);
}

.util-contact {
  display: flex;
  gap: 22px;
  align-items: center;
  white-space: nowrap;
}

.util-contact svg {
  display: inline;
  vertical-align: -2px;
  margin-right: 6px;
  color: var(--saffron);
}

.util-links {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* quick links: solid yellow buttons so they read as buttons */
.util-links a {
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  background: var(--saffron);
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25), inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  animation: fadeDown 0.6s var(--ease) both;
}

.util .util-links a:hover,
.util .util-links a:focus-visible {
  background-color: #fff;
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* the admissions call-to-action stands apart from the quick links */
.util-links .apply {
  margin-left: 8px;
  background: var(--ember);
  color: #fff;
}

.brandbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 101;
  animation: dropIn 0.8s var(--ease) 0.08s both;
}

.bb-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand img {
  width: 74px;
  height: auto;
  flex: 0 0 auto;
  transition: transform 0.6s var(--ease);
  animation:
    emblemIn 1.2s var(--ease) 0.3s both,
    glow 4s ease-in-out 1.6s infinite;
}

.brand-t {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-t .soc {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  animation-delay: 0.45s;
}

.brand-t b {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.3vw, 2rem);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 2px 0 4px;
  animation-delay: 0.55s;
}

.brand-t .aff {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
  animation-delay: 0.65s;
}

.bb-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bb-badges {
  display: flex;
  gap: 8px;
}

.bb-badges span {
  display: grid;
  place-items: center;
  text-align: center;
  min-width: 76px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
  background: linear-gradient(#fff, #f7f9fc);
  position: relative;
  overflow: hidden;
  animation: fadeDown 0.6s var(--ease) both;
}

.bb-badges b {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0;
  color: var(--ink);
  text-transform: none;
}

.bb-help {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  animation: slideRight 0.8s var(--ease) 0.9s both;
}

.bb-help-ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--ink);
  display: grid;
  place-items: center;
  animation: ring 3s ease-in-out infinite;
}

.bb-help small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.bb-help b {
  color: var(--ink);
  font-size: 1.02rem;
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition:
    width 0.5s var(--ease),
    opacity 0.4s;
  flex: 0 0 auto;
}

.nav-mark img {
  background: #fff;
  border-radius: 10px;
  padding: 2px;
  width: 34px;
  height: auto;
}

.header.stuck .nav-mark {
  width: 140px;
  opacity: 1;
}

.footer .logo {
  align-items: center;
}

.brand-t > * {
  animation: slideRight 0.8s var(--ease) both;
}

.bb-badges span:nth-child(1) {
  animation-delay: 0.6s;
}

.bb-badges span:nth-child(2) {
  animation-delay: 0.7s;
}

.bb-badges span:nth-child(3) {
  animation-delay: 0.8s;
}

.bb-badges span::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(242, 177, 10, 0.35), transparent);
  transform: skewX(-20deg);
  animation: shine 5s ease-in-out infinite;
}

.bb-badges span:nth-child(2)::after {
  animation-delay: 0.4s;
}

.bb-badges span:nth-child(3)::after {
  animation-delay: 0.8s;
}

.brand:hover img {
  transform: none;
}

@media (max-width: 1080px) {
  .bb-badges {
    display: none;
  }
}

@media (max-width: 640px) {
  .util-contact .em {
    display: none;
  }

  .util .container {
    min-height: 36px;
  }

  .util-contact a {
    font-size: 0.75rem;
  }

  .util-links .apply {
    white-space: nowrap;
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

@media (max-width: 1180px) {
  .nav-mark,
  .header.stuck .nav-mark {
    width: auto;
    opacity: 1;
  }
}

@media (max-width: 1280px) {
  .util-links a:not(.apply) {
    display: none;
  }
}

@media (max-width: 400px) {
  .util-contact {
    display: none;
  }

  .util .container {
    justify-content: flex-end;
  }
}

@media (max-width: 760px) {
  .bb-right {
    display: none;
  }

  .brand img {
    width: 52px;
  }

  .brand-t .soc {
    font-size: 0.6rem;
  }

  .brand-t .aff {
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .brand-t .aff {
    display: none;
  }
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .header.stuck .nav-mark {
    width: 118px;
  }
}

/* ==========================================================================
   9. Header and navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition:
    background 0.4s,
    box-shadow 0.4s,
    backdrop-filter 0.4s;
  background: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: dropIn 0.8s var(--ease) 0.16s both;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 18px;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  position: relative;
  background: rgba(255, 255, 255, 0.12);
}

.burger span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #fff;
  transition:
    transform 0.4s var(--ease),
    opacity 0.3s;
}

.burger span:nth-child(1) {
  top: 17px;
}

.burger span:nth-child(2) {
  top: 22px;
}

.burger span:nth-child(3) {
  top: 27px;
}

.menu-open .burger span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

.menu-open .burger span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  clip-path: circle(0% at calc(100% - 44px) 40px);
  transition: clip-path 0.8s var(--ease);
  overflow-y: auto;
  padding: 110px 24px 40px;
  justify-content: flex-start;
  gap: 30px;
  z-index: 140;
  padding-top: 80px;
  background: var(--ink);
}

.menu-open .mobile-menu {
  clip-path: circle(150% at calc(100% - 44px) 40px);
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  display: block;
  padding: 4px 0;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.5s,
    transform 0.5s var(--ease),
    color 0.3s;
}

.mobile-menu a:hover {
  color: var(--saffron);
}

.menu-open .mobile-menu a {
  opacity: 1;
  transform: none;
}

.menu-open .mobile-menu li:nth-child(n) {
  transition-delay: calc(0.05s * var(--i));
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-open .header {
  background: transparent !important;
  box-shadow: none !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
}

.menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  background: none;
  border: 0;
  padding: 0;
  gap: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  height: 100%;
}

.menu > li {
  position: relative;
  height: 100%;
  display: flex;
  animation: fadeDown 0.6s var(--ease) both;
  animation-delay: calc(0.35s + var(--mi, 0) * 45ms);
}

.menu > li > a,
.menu > li > button {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition:
    color 0.3s,
    background 0.3s;
  height: 100%;
  border-radius: 0;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 700;
  position: relative;
}

.menu .chev {
  width: 10px;
  height: 10px;
  transition: transform 0.4s var(--ease);
}

.menu > li.open .chev {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  left: 50%;
  min-width: 290px;
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: 1px solid var(--line);
  box-shadow:
    0 40px 80px -30px rgba(11, 16, 32, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  padding: 12px;
  transition:
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease),
    visibility 0s 0.45s;
  z-index: 120;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  top: calc(100% + 8px);
  border-radius: 0 0 18px 18px;
  border-top: 3px solid var(--saffron);
  transform: translate(calc(-50% + var(--dx, 0px)), 12px) scale(0.98);
}

.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.dropdown::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 3px 0 0 0;
  display: none;
}

.menu > li.open > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease),
    visibility 0s;
  transform: translate(calc(-50% + var(--dx, 0px)), 0) scale(1);
}

.menu > li.align-right > .dropdown {
  left: auto;
  right: -10px;
  transform-origin: top right;
  transform: translate(var(--dx, 0px), 12px) scale(0.98);
}

.menu > li.align-right > .dropdown::after {
  left: auto;
  right: 40px;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0;
  transform: translateY(6px);
  transition:
    background 0.25s,
    color 0.25s,
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.menu > li.open .dropdown a {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 22ms);
}

.dropdown a:hover,
.dropdown a.active {
  color: var(--ink);
}

.dropdown a .di {
  flex: 0 0 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
  background: #eef2f9;
  color: var(--ink);
}

.dropdown a .ext {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 5px;
}

.dropdown.mega {
  display: grid;
  gap: 12px;
  padding: 12px;
  width: 780px;
  grid-template-columns: 270px 1fr;
  max-width: calc(100vw - 32px);
}

.dropdown.mega .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  align-content: start;
}

.dd-feature {
  border-radius: 16px;
  color: #fff;
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  background: var(--ink) !important;
}

.dd-feature > * {
  position: relative;
}

.dd-feature small {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron-2);
  font-weight: 800;
}

.dd-feature h4 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 10px 0 8px;
  line-height: 1.1;
}

.dd-feature p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 14px;
}

.dd-feature .go {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--saffron);
  display: inline-flex;
  gap: 6px;
}

.dropdown .dd-head {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 8px 12px 6px;
  color: var(--ember);
}

.m-acc {
  list-style: none;
  padding: 0;
  margin: 0;
}

.m-acc > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.m-acc > li > a,
.m-acc > li > button {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s,
    transform 0.5s var(--ease),
    color 0.3s;
}

.menu-open .m-acc > li > a,
.menu-open .m-acc > li > button {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.04s * var(--i));
}

.m-acc > li > button .pm {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
  flex: 0 0 30px;
}

.m-acc .pm::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.m-acc .pm::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.4s var(--ease);
}

.m-acc li.open .pm {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--ink);
}

.m-acc li.open .pm::after {
  transform: translate(-50%, -50%) rotate(0);
}

.m-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}

.m-sub > div {
  overflow: hidden;
}

.m-acc li.open .m-sub {
  grid-template-rows: 1fr;
}

.m-sub a {
  display: block;
  padding: 9px 0 9px 16px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
}

.m-sub a:hover,
.m-sub a.active {
  color: var(--saffron);
  border-color: var(--saffron);
}

.m-sub > div > div {
  padding-bottom: 14px;
}

.m-util {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.m-util a {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.subnav {
  position: sticky;
  top: 110px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.subnav h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  padding: 8px 12px 10px;
}

.subnav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}

.subnav a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s var(--ease);
}

.subnav a:hover {
  color: var(--ink);
  background: var(--paper-2);
  padding-left: 18px;
}

.subnav a:hover::after {
  opacity: 1;
  transform: none;
}

.subnav a.active {
  color: #fff;
  background: var(--ink);
}

.subnav a.active::after {
  opacity: 1;
  transform: none;
  color: var(--saffron);
}

.dropdown a.dd-feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0;
  padding: 24px;
  color: #fff;
  border-radius: 16px;
  background: var(--ink);
}

.dropdown a.dd-feature:hover {
  background: var(--ink-2);
  color: #fff;
}

.dropdown a.dd-feature h4 {
  color: #fff;
}

.dropdown.mega .cols a {
  padding: 9px 10px;
}

.mobile-menu .m-sub a {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 0 9px 16px;
  opacity: 1;
  transform: none;
  color: rgba(255, 255, 255, 0.72);
}

.mobile-menu .m-sub a:hover,
.mobile-menu .m-sub a.active {
  color: var(--saffron);
}

.mobile-menu .m-util a {
  font-family: var(--sans);
  font-size: 0.85rem;
  opacity: 1;
  transform: none;
  padding: 8px 14px;
}

.header.scrolled {
  background: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 10px 30px -12px rgba(7, 26, 59, 0.55);
}

.header .nav {
  height: 56px;
  gap: 10px;
  justify-content: center;
}

.header.stuck .nav {
  justify-content: space-between;
}

.menu > li > a::after,
.menu > li > button::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 3px;
  background: var(--saffron);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}

.menu > li > a:hover,
.menu > li > button:hover,
.menu > li.open > button,
.menu > li:focus-within > button {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.menu > li > a:hover::after,
.menu > li > button:hover::after,
.menu > li.open > button::after {
  transform: scaleX(1);
}

.menu > li > a.active,
.menu > li.active > button {
  background: transparent;
  color: var(--saffron-2);
}

.menu > li > a.active::after,
.menu > li.active > button::after {
  transform: scaleX(1);
}

.dropdown a:hover .di {
  background: var(--ink);
  color: var(--saffron);
  transform: none;
}

.dropdown a:hover,
.dropdown a.active {
  background: #f3f6fb;
}

.mm-head {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.mm-head img {
  background: #fff;
  border-radius: 10px;
  padding: 3px;
}

.menu > li.nav-btn-li {
  margin-left: 8px;
  align-items: center;
}

.menu > li > a.nav-btn {
  height: auto;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 20px -10px rgba(242, 177, 10, 0.8);
  transition:
    background 0.3s,
    transform 0.3s var(--ease);
}

.menu > li > a.nav-btn::after {
  display: none;
}

.menu > li > a.nav-btn:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

.menu > li > a.nav-btn.active {
  background: #fff;
  color: var(--ink);
}

.menu > li.align-right.open > .dropdown {
  transform: translate(var(--dx, 0px), 0) scale(1);
}

@media (max-width: 1080px) {
  .burger {
    display: block;
  }

  .subnav {
    position: static;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: none;
    border-radius: 999px;
  }

  .subnav h4 {
    display: none;
  }

  .subnav a {
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 999px;
  }

  .subnav a::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav {
    height: 70px;
  }
}

@media (max-width: 1180px) {
  .menu {
    display: none;
  }

  .burger {
    display: block;
  }

  .header .nav {
    justify-content: space-between;
  }
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .menu > li > a.nav-btn {
    padding: 8px 13px;
  }

  .menu > li > a,
  .menu > li > button {
    padding: 0 8px;
    font-size: 0.8rem;
  }

  .menu > li.nav-btn-li {
    margin-left: 4px;
  }
}

/* ==========================================================================
   10. Inner page hero
   ========================================================================== */

.page-hero {
  padding: 80px 0 90px;
  overflow: hidden;
}

.page-hero .crumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 22px;
  font-weight: 600;
}

.page-hero .crumbs a:hover {
  color: var(--ember);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 7.5vw, 6.5rem);
  max-width: 14ch;
}

.page-hero .lead {
  margin-top: 26px;
}

.page-hero .deco {
  position: absolute;
  right: -8%;
  top: -10%;
  width: min(560px, 60vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 90deg, var(--saffron), var(--ember), var(--violet), var(--saffron));
  filter: blur(80px);
  opacity: 0.35;
  animation: spin 25s linear infinite;
  z-index: -1;
  display: none;
}

.page-hero .ghost {
  position: absolute;
  right: 2%;
  bottom: -0.15em;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(6rem, 18vw, 16rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 16, 32, 0.08);
  line-height: 1;
  pointer-events: none;
  z-index: -1;
  display: none;
}

.h-card {
  flex: 0 0 min(380px, 82vw);
  scroll-snap-align: start;
  border-radius: var(--radius);
  padding: 34px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.5s var(--ease);
}

.h-card:hover {
  transform: translateY(-8px);
}

.h-card .tag {
  align-self: flex-start;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(244, 160, 28, 0.15);
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.h-card h3 {
  font-size: 1.8rem;
  margin: 30px 0 12px;
}

.h-card p {
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

.shell {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.block-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.block-title h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.shell > *,
.content {
  min-width: 0;
}

.photo-hero .accent {
  color: var(--saffron-2);
}

.page-hero.photo-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-bottom: 4px solid var(--saffron);
  isolation: isolate;
  padding: 44px 0 50px;
}

.photo-hero .ph-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.06);
  animation: phzoom 14s ease-out forwards;
}

.photo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(7, 26, 59, 0.96) 0%,
    rgba(12, 42, 91, 0.88) 50%,
    rgba(12, 42, 91, 0.6) 100%
  );
}

.photo-hero .crumbs {
  color: rgba(255, 255, 255, 0.72);
}

.photo-hero .crumbs a:hover {
  color: var(--saffron-2);
}

.photo-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  max-width: 22ch;
}

.photo-hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.photo-hero {
  position: relative;
  overflow: hidden;
}

.photo-hero .container {
  position: relative;
  z-index: 1;
}

.photo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.1) 48%, transparent 62%);
  transform: translateX(-100%);
  animation: sweep 3s var(--ease) 0.5s both;
}

.photo-hero .container::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 220px;
  height: 220px;
  margin-top: -110px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 203, 61, 0.35);
  animation: spin 40s linear infinite;
  pointer-events: none;
}

.content > * + * {
  margin-top: clamp(30px, 4vw, 48px);
}

@media (max-width: 1080px) {
  .shell {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-hero::before,
  .photo-hero .container::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .page-hero.photo-hero {
    padding: 34px 0 40px;
  }
}

/* ==========================================================================
   11. Home: slider
   ========================================================================== */

.slider {
  position: relative;
  background: #06142e;
  overflow: hidden;
  outline: none;
}

.sl-track {
  position: relative;
  height: clamp(480px, 50vw, calc(100svh - 96px));
  min-height: 0;
  max-height: none;
  touch-action: pan-y;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.1s var(--ease),
    visibility 0s 1.1s;
  overflow: hidden;
  z-index: 0;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 1.1s var(--ease),
    visibility 0s;
  z-index: 1;
}

.sl-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.sk-photo.is-active .sl-img {
  animation: kb 10s ease-out both;
}

.slide.sk-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 59, 0.88) 0%, rgba(7, 26, 59, 0.55) 45%, rgba(7, 26, 59, 0.05) 80%),
    linear-gradient(0deg, rgba(7, 26, 59, 0.5), transparent 40%);
  display: none;
}

.sl-over {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  color: #fff;
}

.sl-eb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sl-over .sl-h {
  color: #fff;
  margin: 18px 0 14px;
  line-height: 1.05;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
  max-width: 15ch;
}

.sl-over p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 28px;
  font-size: clamp(1.02rem, 1.25vw, 1.25rem);
}

.sl-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.slide.is-active .sl-over .container > * {
  animation: slideUp 0.9s var(--ease) both;
}

.slide.is-active .sl-over .container > *:nth-child(2) {
  animation-delay: 0.12s;
}

.slide.is-active .sl-over .container > *:nth-child(3) {
  animation-delay: 0.24s;
}

.slide.is-active .sl-over .container > *:nth-child(4) {
  animation-delay: 0.36s;
}

.sl-arrow {
  position: absolute;
  transform: translateY(-50%);
  z-index: 4;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.35s var(--ease);
  opacity: 0.85;
  background: rgba(7, 26, 59, 0.38);
  top: 50%;
  width: 60px;
  height: 60px;
}

.sl-arrow:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--ink);
  transform: translateY(-50%) scale(1.08);
  opacity: 1;
}

.sl-bar {
  background: var(--ink);
  border-top: 3px solid var(--saffron);
  position: relative;
  z-index: 3;
}

.sl-bar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0;
  gap: 28px;
}

.sl-count {
  font-family: var(--serif);
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.sl-count b {
  color: var(--saffron-2);
  font-size: 1.5rem;
  font-weight: 500;
  display: inline-block;
}

.sl-dots {
  align-items: center;
  display: grid;
  grid-template-columns: repeat(var(--slides, 7), minmax(0, 1fr));
  gap: 6px;
  flex: 1;
  align-self: stretch;
}

.sl-dot i {
  position: absolute;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
  inset: auto 4px 9px 4px;
  height: 3px;
  border-radius: 3px;
}

.slider.paused .sl-dot.is-active i {
  animation-play-state: paused;
}

.sl-ctrl {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.sl-cap-link {
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--ink);
  font-size: 0.86rem;
}

.sl-cap-link span {
  display: inline-block;
  transition: transform 0.3s;
}

.sl-cap-link:hover span {
  transform: translateX(4px);
}

.sl-pause {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: grid;
  place-items: center;
}

.sl-pause:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sl-pause .i-play,
.slider.paused .sl-pause .i-pause {
  display: none;
}

.slider.paused .sl-pause .i-play {
  display: block;
}

.slider[data-dir="next"] .slide.is-active {
  animation: wipeL 1.15s var(--ease) both;
}

.slider[data-dir="prev"] .slide.is-active {
  animation: wipeR 1.15s var(--ease) both;
}

.sl-over .sl-h .sw {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotate(4deg);
}

.slide.is-active .sl-over .sl-h {
  animation: none !important;
}

.slide.is-active .sl-over .sl-h .sw {
  animation: wordUp 0.9s var(--ease) both;
  animation-delay: calc(0.25s + var(--wi) * 70ms);
}

.slide.sk-photo .sl-over::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.14) 45%, transparent 60%);
  transform: translateX(-100%);
  pointer-events: none;
}

.slide.sk-photo.is-active .sl-over::before {
  animation: sweep 2.4s var(--ease) 0.6s both;
}

.sl-eb::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.6);
  animation: pulseDot 1.8s infinite;
}

.sl-count b.tick {
  animation: countFlip 0.6s var(--ease);
}

.sl-arrow svg {
  transition: transform 0.35s var(--ease);
}

.sl-arrow.next:hover svg {
  transform: translateX(3px);
}

.sl-arrow.prev:hover svg {
  transform: translateX(-3px);
}

.sl-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #06142e;
}

.sl-mcap {
  display: none;
}

.sk-photo .sl-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 26, 59, 0.9) 0%, rgba(7, 26, 59, 0.6) 42%, rgba(7, 26, 59, 0.08) 78%),
    linear-gradient(0deg, rgba(7, 26, 59, 0.55), transparent 38%);
}

.sk-photo .sl-over {
  z-index: 2;
  translate: 0 calc(var(--py, 0px) * -0.55);
  opacity: var(--po, 1);
}

.sk-photo .sl-img {
  inset: -8% 0 auto 0;
  height: 116%;
  translate: 0 var(--py, 0px);
}

.sl-over .container > * {
  max-width: 44rem;
}

.slide.was-active {
  opacity: 1;
  visibility: visible;
  z-index: 0;
}

.slide.was-active .sl-media {
  animation: recede 1.15s var(--ease) both;
}

.sl-hud {
  position: absolute;
  top: 22px;
  right: max(20px, calc((100% - var(--maxw)) / 2));
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px 8px 18px;
  border-radius: 999px;
  background: rgba(7, 26, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.sl-hud .sl-count {
  font-family: var(--serif);
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.sl-hud .sl-count b {
  font-size: 1.45rem;
  color: var(--saffron-2);
  font-weight: 500;
  min-width: 1.4em;
}

.sl-hud-line {
  position: relative;
  width: 110px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.sl-hud-line i {
  position: absolute;
  inset: 0;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: left;
}

.sl-hud-line i.run {
  animation: dotfill var(--dur, 6.5s) linear forwards;
}

.slider.paused .sl-hud-line i {
  animation-play-state: paused;
}

.sl-arrow.prev {
  left: max(18px, calc((100% - var(--maxw)) / 2 - 80px));
}

.sl-arrow.next {
  right: max(18px, calc((100% - var(--maxw)) / 2 - 80px));
}

.sl-scroll {
  position: absolute;
  left: 50%;
  z-index: 5;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  transition: opacity 0.5s;
  bottom: 46px;
}

.sl-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--saffron);
  animation: scrollhint 1.8s infinite;
}

.slider:not(.on-photo) .sl-scroll {
  opacity: 0;
  pointer-events: none;
}

.sl-dot {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  overflow: visible;
  padding: 16px 4px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
  position: relative;
  transition: color 0.3s;
}

.sl-dot.is-active {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  overflow: visible;
  padding: 16px 4px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  text-align: left;
  position: relative;
  transition: color 0.3s;
}

.sl-dot:hover {
  background: none;
  color: #fff;
}

.sl-dot.is-active {
  color: #fff;
}

.sl-dot .t-n {
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1;
  color: rgba(255, 203, 61, 0.6);
  transition: color 0.3s;
}

.sl-dot.is-active .t-n,
.sl-dot:hover .t-n {
  color: var(--saffron-2);
}

.sl-dot .t-l {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.sl-dot::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 9px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.sl-dot.seen i {
  transform: scaleX(1);
  background: rgba(255, 203, 61, 0.45);
}

.sl-dot.is-active i {
  animation: dotfill var(--dur, 6.5s) linear forwards;
  background: var(--saffron);
}

.t-thumb {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  width: 230px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #fff;
  background: #06142e;
  box-shadow: 0 24px 40px -14px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px) scale(0.94);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease),
    visibility 0s 0.3s;
  pointer-events: none;
  z-index: 10;
}

.t-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
}

.t-thumb em {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 10px 8px;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(transparent, rgba(7, 26, 59, 0.9));
}

.sl-dot:hover .t-thumb,
.sl-dot:focus-visible .t-thumb {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease),
    visibility 0s;
}

.sl-dot:first-child .t-thumb {
  left: 0;
  transform: translate(0, 12px) scale(0.94);
}

.sl-dot:first-child:hover .t-thumb {
  transform: none;
}

.sl-dot:last-child .t-thumb {
  left: auto;
  right: 0;
  transform: translate(0, 12px) scale(0.94);
}

.sl-dot:last-child:hover .t-thumb {
  transform: none;
}

.sl-cap-link:hover {
  background: #fff;
}

.slider.dragging .slide.is-active .sl-media {
  transition: none;
}

.slide .sl-media {
  transition: translate 0.45s var(--ease);
}

.slider:not(.on-photo) .sl-hud {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .sl-over .sl-h .sw {
    opacity: 1;
    transform: none;
  }

  .slide.was-active .sl-media {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .sl-dots {
    grid-template-columns: repeat(var(--slides, 7), minmax(0, 1fr));
  }

  .sl-dot .t-l {
    font-size: 0.72rem;
  }

  .sl-cap-link {
    padding: 9px 14px;
  }
}

@media (max-width: 760px) {
  .sl-over {
    display: none;
  }

  .slide.sk-photo::after {
    background: linear-gradient(0deg, rgba(7, 26, 59, 0.45), transparent 50%);
  }

  .sl-track {
    height: calc(56vw + 236px);
    clip-path: none;
  }

  .sl-media {
    inset: 0 0 auto 0;
    height: 56vw;
  }

  .sk-photo .sl-img {
    inset: 0;
    height: 100%;
    translate: none;
  }

  .sk-photo .sl-media::after {
    background: linear-gradient(0deg, rgba(7, 26, 59, 0.55), transparent 55%);
  }

  .sl-mcap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 236px;
    padding: 20px 18px 18px;
    background: var(--ink);
    color: #fff;
    border-top: 3px solid var(--saffron);
  }

  .sl-mcap-eb {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--saffron-2);
  }

  .sl-mcap strong {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.45rem;
    line-height: 1.15;
    margin: 6px 0 8px;
  }

  .sl-mcap p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .sl-mcap-link {
    margin-top: auto;
    display: inline-flex;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--saffron);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.86rem;
  }

  .slide.is-active .sl-mcap > * {
    animation: slideUp 0.7s var(--ease) both;
  }

  .slide.is-active .sl-mcap > *:nth-child(2) {
    animation-delay: 0.08s;
  }

  .slide.is-active .sl-mcap > *:nth-child(3) {
    animation-delay: 0.16s;
  }

  .slide.is-active .sl-mcap > *:nth-child(4) {
    animation-delay: 0.24s;
  }

  .sl-hud {
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    gap: 10px;
  }

  .sl-hud .sl-count b {
    font-size: 1.1rem;
  }

  .sl-hud-line {
    width: 60px;
  }

  .sl-scroll {
    display: none;
  }

  .sl-bar-in {
    min-height: 56px;
    flex-wrap: nowrap;
    padding: 0;
    gap: 14px;
  }

  .sl-dots {
    display: flex;
    gap: 7px;
    align-items: center;
    align-self: center;
  }

  .sl-dot.is-active {
    height: 5px;
    padding: 0;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
    width: 40px;
  }

  .sl-dot::before,
  .sl-dot .t-n,
  .t-thumb {
    display: none;
  }

  .sl-dot i {
    inset: 0;
    height: auto;
    border-radius: 0;
  }

  .sl-cap-link {
    display: none;
  }
}

@media (max-width: 1400px) {
  .sl-arrow.prev {
    left: 18px;
  }
}

@media (max-width: 760px) {
  .sl-arrow.prev {
    left: 10px;
  }
}

@media (max-width: 1400px) {
  .sl-arrow.next {
    right: 18px;
  }
}

@media (max-width: 760px) {
  .sl-arrow.next {
    right: 10px;
  }
}

@media (max-width: 960px) {
  .sl-dot .t-l {
    display: none;
  }
}

@media (max-width: 760px) {
  .sl-dot .t-l {
    display: none;
  }
}

@media (max-width: 960px) {
  .sl-dot {
    padding: 20px 4px;
  }
}

@media (max-width: 760px) {
  .sl-dot {
    width: 16px;
    height: 5px;
    padding: 0;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.25);
    overflow: hidden;
  }
}

@media (max-width: 960px) {
  .t-thumb {
    width: 180px;
  }
}

@media (hover: hover) and (min-width: 761px) {
  .sl-arrow {
    opacity: 0;
    transition:
      opacity 0.35s var(--ease),
      transform 0.35s var(--ease),
      background 0.3s,
      border-color 0.3s;
  }
}

@media (max-width: 760px) {
  .sl-arrow {
    top: 28vw;
    width: 40px;
    height: 40px;
    opacity: 0.75;
    background: rgba(7, 26, 59, 0.45);
  }
}

@media (hover: hover) and (min-width: 761px) {
  .sl-arrow.prev {
    transform: translate(-14px, -50%);
  }

  .sl-arrow.next {
    transform: translate(14px, -50%);
  }

  .slider:hover .sl-arrow,
  .slider:focus-within .sl-arrow {
    opacity: 0.95;
    transform: translateY(-50%);
  }

  .slider .sl-arrow:hover {
    transform: translateY(-50%) scale(1.08);
  }
}

/* Collage slides: text on the left, a mosaic of photos on the right */
.sk-collage .sl-media {
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 177, 10, 0.16), transparent 42%),
    radial-gradient(circle at 92% 95%, rgba(200, 16, 46, 0.2), transparent 45%),
    linear-gradient(135deg, #071a3b 0%, #0c2a5b 62%, #0a2350 100%);
}

.sk-collage .sl-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}

.sk-collage .sl-text {
  max-width: min(40%, 30rem);
}

.sk-collage .sl-h {
  font-size: clamp(2.2rem, 3.8vw, 4rem);
}

.sl-mosaic {
  position: absolute;
  z-index: 3;
  top: 8%;
  bottom: 8%;
  right: max(24px, calc((100% - var(--maxw)) / 2));
  width: min(calc(var(--maxw) * 0.57), 57%);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 0.9vw, 16px);
}

.sl-tile {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: clamp(12px, 1.2vw, 20px);
  background: #0a2350;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.75);
  outline: 1px solid rgba(255, 255, 255, 0.12);
  outline-offset: -1px;
}

.sl-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sl-tile.t0 {
  grid-area: 1 / 1 / 5 / 8;
}
.sl-tile.t1 {
  grid-area: 1 / 8 / 4 / 13;
}
.sl-tile.t2 {
  grid-area: 4 / 8 / 7 / 13;
}
.sl-tile.t3 {
  grid-area: 5 / 1 / 7 / 5;
}
.sl-tile.t4 {
  grid-area: 5 / 5 / 7 / 8;
}
.m3 .sl-tile.t0 {
  grid-area: 1 / 1 / 7 / 8;
}

.slide.is-active .sl-tile {
  animation: tileIn 1s var(--ease) both;
}

.slide.is-active .sl-tile.t1 {
  animation-delay: 0.1s;
}
.slide.is-active .sl-tile.t2 {
  animation-delay: 0.2s;
}
.slide.is-active .sl-tile.t3 {
  animation-delay: 0.3s;
}
.slide.is-active .sl-tile.t4 {
  animation-delay: 0.4s;
}

.slide.is-active .sl-tile.t0 img {
  animation: kb 12s ease-out both;
}

/* Rankings slide: accolade cards beside the text */
.sl-over .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.sl-awards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(44%, 33rem);
  flex: 0 0 auto;
}

.sl-awards li {
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: rgba(7, 26, 59, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}

.sl-awards b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1;
  color: var(--saffron-2);
}

.sl-awards span {
  display: block;
  margin-top: 8px;
  font-weight: 700;
}

.sl-awards small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
}

.slide.is-active .sl-awards li {
  animation: tileIn 0.9s var(--ease) both;
}

.slide.is-active .sl-awards li:nth-child(2) {
  animation-delay: 0.1s;
}
.slide.is-active .sl-awards li:nth-child(3) {
  animation-delay: 0.2s;
}
.slide.is-active .sl-awards li:nth-child(4) {
  animation-delay: 0.3s;
}

.slide:has(.sl-awards) .sl-media::after {
  background:
    linear-gradient(90deg, rgba(7, 26, 59, 0.92) 0%, rgba(7, 26, 59, 0.72) 50%, rgba(7, 26, 59, 0.45) 100%),
    linear-gradient(0deg, rgba(7, 26, 59, 0.55), transparent 40%);
}

@media (max-width: 1080px) {
  .sl-awards {
    display: none;
  }

  .sk-collage .sl-text {
    max-width: 42%;
  }
}

@media (max-width: 760px) {
  .slide:has(.sl-awards) .sl-media::after {
    background: linear-gradient(0deg, rgba(7, 26, 59, 0.55), transparent 55%);
  }

  .sl-mosaic {
    inset: 0;
    width: auto;
    padding: 10px;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .sl-tile.t0,
  .m3 .sl-tile.t0 {
    grid-area: 1 / 1 / 3 / 3;
  }
  .sl-tile.t1 {
    grid-area: 1 / 3 / 2 / 5;
  }
  .sl-tile.t2 {
    grid-area: 2 / 3 / 3 / 5;
  }
  .sl-tile.t3,
  .sl-tile.t4 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide.is-active .sl-tile,
  .slide.is-active .sl-tile.t0 img,
  .slide.is-active .sl-awards li {
    animation: none;
  }
}

/* ==========================================================================
   12. Home: news ticker
   ========================================================================== */

.ticker {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px -18px rgba(12, 42, 91, 0.4);
  position: relative;
  z-index: 2;
}

.tk-in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
}

.tk-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ember);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 18px 9px 14px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  border-radius: 6px 0 0 6px;
}

.tk-window {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.tk-track {
  display: inline-flex;
  gap: 46px;
  white-space: nowrap;
  animation: marquee 48s linear infinite;
  padding-left: 10px;
}

.ticker:hover .tk-track {
  animation-play-state: paused;
}

.tk-track a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}

.tk-track a:hover {
  color: var(--ember);
}

.tk-new {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--saffron);
  color: var(--ink);
  padding: 3px 7px;
  border-radius: 5px;
  animation: blink 1.6s ease-in-out infinite;
}

.tk-all {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
  border-bottom: 2px solid var(--saffron);
}

.tk-label svg {
  animation: spin 6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .tk-track {
    animation: none;
  }
}

@media (max-width: 760px) {
  .tk-all {
    display: none;
  }

  .tk-label {
    padding: 8px 14px 8px 10px;
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   13. Home: quick tiles
   ========================================================================== */

.qtiles {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.qt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 8px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--ink);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s,
    border-color 0.3s;
  opacity: 0;
  transform: translateY(16px);
  animation: slideUp 0.7s var(--ease) forwards;
  animation-delay: calc(0.3s + var(--i) * 60ms);
  position: relative;
}

.qt:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px -18px rgba(12, 42, 91, 0.45);
  border-color: transparent;
}

.qt-ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #eef2f9;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: all 0.4s var(--ease);
}

.qt:hover .qt-ic {
  background: var(--ink);
  color: var(--saffron);
  transform: none;
}

.qt:first-child {
  position: relative;
}

.qt:first-child::before {
  content: "Open";
  position: absolute;
  background: var(--ember);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  animation: pulseBadge 2s ease-in-out infinite;
  top: 10px;
  right: 10px;
  padding: 4px 9px;
  font-size: 0.62rem;
  line-height: 1.2;
  z-index: 2;
}

.qwrap {
  padding: 26px 0 0;
}

.qt:hover .qt-ic svg {
  animation: none;
}

@media (max-width: 1280px) {
  .qtiles {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .qtiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   14. Home: welcome and stats
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: var(--ink);
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 160, 28, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}

.stat:hover::before {
  opacity: 1;
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  color: #fff;
  line-height: 1;
}

.stat b sup {
  font-size: 0.45em;
  vertical-align: top;
  margin-left: 2px;
  color: var(--saffron);
}

.stat span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  font-weight: 600;
  display: block;
  margin-top: 12px;
}

.stats.s2 {
  grid-template-columns: 1fr 1fr;
}

.rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rank-list li {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: padding 0.5s var(--ease);
}

.rank-list li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 160, 28, 0.12), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
  z-index: 0;
}

.rank-list li:hover::before {
  transform: scaleX(1);
}

.rank-list li:hover {
  padding-left: 18px;
}

.rank-list li > * {
  position: relative;
  z-index: 1;
}

.rank-list .r-year {
  font-family: var(--serif);
  font-style: italic;
  color: var(--saffron);
  font-size: 1.3rem;
}

.rank-list h3 {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
}

.rank-list .r-src {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.mini-stats div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.mini-stats b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--ink);
  -webkit-text-fill-color: transparent;
  animation: goldShift 5s linear infinite;
  background: linear-gradient(
    100deg,
    var(--ink) 0%,
    var(--ink-3) 40%,
    var(--ember) 50%,
    var(--ink) 60%,
    var(--ink) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

.mini-stats span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.welcome-media {
  position: relative;
}

.welcome-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 34px 60px -30px rgba(12, 42, 91, 0.5);
  will-change: transform;
}

.welcome-badge {
  position: absolute;
  left: -14px;
  bottom: -22px;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  border-bottom: 4px solid var(--saffron);
  animation: bob 5s ease-in-out infinite;
}

.welcome-badge b {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--saffron-2);
  line-height: 1;
}

.welcome-badge span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.welcome-badge.b2 {
  left: auto;
  bottom: auto;
  right: -14px;
  top: 22px;
  background: #fff;
  color: var(--ink);
  border-bottom-color: var(--ember);
  animation-delay: -2.5s;
}

.welcome-badge.b2 b {
  color: var(--ember);
}

.welcome-badge.b2 span {
  color: var(--muted);
}

.welcome p {
  color: #3a4258;
  font-size: 1.04rem;
}

.statband {
  background:
    linear-gradient(rgba(7, 26, 59, 0.92), rgba(12, 42, 91, 0.92)),
    url(img/campus/building-1920.webp) center/cover fixed;
  color: #fff;
  border-top: 4px solid var(--saffron);
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.sb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.sb-grid div {
  text-align: center;
  padding: 6px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.sb-grid div:last-child {
  border-right: 0;
}

.sb-grid b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: var(--saffron-2);
  line-height: 1.05;
}

.sb-grid span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.awards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.awards div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  transition:
    transform 0.45s var(--ease),
    border-color 0.3s;
}

.awards div:hover {
  transform: translateY(-6px);
  border-color: var(--saffron);
}

.awards b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 3rem;
  color: var(--saffron-2);
  line-height: 1;
  background: linear-gradient(
    100deg,
    var(--saffron-2) 0%,
    #fff3c4 45%,
    var(--saffron) 55%,
    var(--saffron-2) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShift 5s linear infinite;
}

.awards sup {
  font-size: 0.4em;
}

.awards span {
  display: block;
  color: #fff;
  font-weight: 700;
  margin: 12px 0 4px;
  font-size: 1.02rem;
}

.awards small {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.sb-grid b span {
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
}

.sb-grid > div > span {
  display: block;
  margin-top: 6px;
}

.welcome-media.wipe {
  overflow: visible;
}

.welcome-media.wipe::after {
  border-radius: 22px;
}

.statband > .container {
  position: relative;
  z-index: 1;
}

.statband .sb-grid > div {
  position: relative;
}

.statband .sb-grid > div::after {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: -10px;
  height: 3px;
  border-radius: 3px;
  background: var(--saffron);
  transform: scaleX(0);
  transition: transform 1s var(--ease) calc(var(--d, 0s) + 0.5s);
}

.statband .sb-grid > div.in-view::after {
  transform: scaleX(1);
}

@media (max-width: 1080px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .sb-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sb-grid div:nth-child(3) {
    border-right: 0;
  }

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

  .welcome-badge {
    left: 10px;
  }

  .welcome-badge.b2 {
    right: 10px;
  }
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 28px 20px;
  }

  .rank-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .rank-list .r-src {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .sb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sb-grid div {
    border-right: 0;
  }

  .statband {
    background-attachment: scroll;
    padding: 32px 0;
  }

  .awards {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   15. Home: programme
   ========================================================================== */

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 200;
  background: linear-gradient(90deg, var(--saffron), var(--ember));
}

.prog {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 22px;
  align-items: stretch;
}

.prog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 50px -34px rgba(12, 42, 91, 0.45);
}

.prog-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.prog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.prog-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--saffron);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.prog-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.prog-body h3 {
  font-size: 1.65rem;
  font-weight: 600;
}

.prog-body p {
  color: var(--muted);
  margin: 4px 0 12px;
}

.prog-facts {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.prog-facts li {
  background: var(--paper-2);
  border-radius: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--saffron);
}

.prog-facts b {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.prog-facts span {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.spec {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s,
    border-color 0.3s;
  overflow: hidden;
}

.spec::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ink), var(--saffron));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.spec:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -24px rgba(12, 42, 91, 0.5);
  border-color: transparent;
}

.spec:hover::before {
  transform: scaleX(1);
}

.spec-n {
  position: absolute;
  right: 16px;
  top: 14px;
  font-family: var(--serif);
  font-style: italic;
  color: #9aa3b8;
  font-size: 0.9rem;
}

.spec-ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #eef2f9;
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  transition: all 0.4s var(--ease);
}

.spec:hover .spec-ic {
  background: var(--ink);
  color: var(--saffron);
}

.spec h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.spec p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 4px;
}

.spec-tags i {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
}

.spec-roles {
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
}

.spec-roles small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 800;
  margin-bottom: 2px;
}

.spec-go {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.spec-go svg {
  transition: transform 0.3s;
}

.spec:hover .spec-go svg {
  transform: translateX(4px);
}

.spec-cta {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.spec-cta .spec-ic {
  background: rgba(255, 255, 255, 0.1);
  color: var(--saffron);
}

.spec-cta h3 {
  color: #fff;
}

.spec-cta p {
  color: rgba(255, 255, 255, 0.75);
}

.spec-cta .spec-go {
  color: var(--saffron-2);
}

@media (max-width: 640px) {
  .prog-facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1180px) {
  .prog {
    grid-template-columns: 1fr;
  }

  .specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .specs {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   16. Home: why GNVS
   ========================================================================== */

.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.why-pics {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 1/1;
}

.why-p {
  margin: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.why-p img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.why-p:hover img {
  transform: scale(1.06);
}

.why-p.p0 {
  grid-row: 1/3;
}

.why-p figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(7, 26, 59, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.why-stamp {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
  border: 6px solid #fff;
  box-shadow: 0 18px 30px -12px rgba(12, 42, 91, 0.5);
  animation: bob 5s ease-in-out infinite;
}

.why-stamp b {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  display: block;
  font-weight: 600;
}

.why-stamp span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.why-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition:
    border-color 0.3s,
    box-shadow 0.4s,
    transform 0.4s var(--ease);
}

.why-list li:hover {
  border-color: var(--saffron);
  box-shadow: 0 16px 30px -22px rgba(12, 42, 91, 0.5);
  transform: translateY(-3px);
}

.why-ic {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--saffron);
  display: grid;
  place-items: center;
}

.why-list h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.why-list p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .why-list {
    grid-template-columns: 1fr;
  }

  .why-stamp {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 1180px) {
  .why {
    grid-template-columns: 1fr;
  }

  .why-pics {
    max-width: 560px;
    aspect-ratio: 16/11;
  }
}

/* ==========================================================================
   17. Home: admission steps
   ========================================================================== */

.asteps-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.as-help {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 8px 20px 8px 8px;
}

.as-help > span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--ink);
  display: grid;
  place-items: center;
}

.as-help small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
}

.as-help a {
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.asteps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  counter-reset: s;
}

.asteps::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 27px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 203, 61, 0.6) 0 10px, transparent 10px 18px);
}

.asteps li {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 68px 20px 22px;
  transition:
    transform 0.45s var(--ease),
    border-color 0.3s,
    background 0.3s;
}

.asteps li:hover {
  transform: translateY(-6px);
  border-color: var(--saffron);
  background: rgba(255, 255, 255, 0.08);
}

.as-n {
  position: absolute;
  top: 8px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px var(--ink);
}

.as-ic {
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(255, 203, 61, 0.75);
}

.asteps h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.asteps p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin: 0;
}

.as-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.as-link {
  color: var(--saffron-2);
  font-weight: 700;
  font-size: 0.92rem;
  margin-left: 6px;
  border-bottom: 1px solid rgba(255, 203, 61, 0.4);
}

.as-link:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .asteps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .asteps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .asteps::before {
    display: none;
  }
}

/* ==========================================================================
   18. Home: notice board
   ========================================================================== */

.nboard {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.8fr;
  gap: 20px;
  align-items: stretch;
}

.nb-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nb-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--ink);
  color: #fff;
}

.nb-head svg {
  color: var(--saffron);
  animation: swing 3s ease-in-out infinite;
  transform-origin: 50% 0;
}

.nb-head h3 {
  font-size: 1.15rem;
  color: #fff;
  flex: 1;
}

.nb-head a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--saffron-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nb-scroll {
  height: 380px;
  overflow: hidden;
  position: relative;
}

.nb-scroll .nb-list {
  animation: vscroll 26s linear infinite;
}

.nb-scroll:hover .nb-list {
  animation-play-state: paused;
}

.nb-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nb-list li a {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px dashed var(--line);
  transition: background 0.25s;
}

.nb-list li a:hover {
  background: #f6f8fc;
}

.nb-d {
  flex: 0 0 58px;
  text-align: center;
  border-radius: 12px;
  background: #eef2f9;
  padding: 7px 4px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.nb-d b {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: 0;
}

.nb-t {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text);
}

.nb-list li a:hover .nb-t {
  color: var(--ember);
}

.nb-poster {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  display: block;
}

.nb-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s var(--ease);
}

.nb-poster:hover img {
  transform: scale(1.04);
}

.nb-poster-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: var(--ember);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .nboard {
    grid-template-columns: 1fr 1fr;
  }

  .nb-poster {
    grid-column: 1/-1;
    max-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nb-scroll .nb-list {
    animation: none;
  }
}

@media (max-width: 760px) {
  .nboard {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   19. Leadership and people
   ========================================================================== */

.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.roles div {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 16px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
}

.roles div small {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s;
  position: relative;
}

.person:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.person .ph {
  aspect-ratio: 1/1.05;
  background: linear-gradient(140deg, var(--ink-3), var(--ink));
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.person .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
  transition: transform 1s var(--ease);
}

.person:hover .ph img {
  transform: scale(1.07);
  filter: none;
}

.person .ph .ini {
  font-family: var(--serif);
  font-style: italic;
  font-size: 4rem;
  color: var(--saffron);
}

.person .ph::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(11, 16, 32, 0.35));
}

.person .pi {
  padding: 18px 20px 20px;
}

.person .pi b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
}

.person .pi small {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
}

.people.compact {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

/* Clickable faculty cards (open the profile page) */
.person.is-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.person.is-link .more {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.person.is-link .more svg {
  transition: transform 0.35s var(--ease);
}

.person.is-link:hover .more,
.person.is-link:focus-visible .more {
  color: var(--ember);
}

.person.is-link:hover .more svg {
  transform: translateX(4px);
}

.person.is-link:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
}

/* Faculty profile page */
.prof {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}

.prof-card {
  position: sticky;
  top: 110px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.2);
  overflow: hidden;
  box-shadow: 0 24px 48px -32px rgba(12, 42, 91, 0.45);
}

.prof-ph {
  aspect-ratio: 1 / 1.08;
  background: linear-gradient(140deg, var(--ink-3), var(--ink));
}

.prof-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prof-id {
  padding: 22px 24px 6px;
}

.prof-id h2 {
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 12px 0 6px;
}

.prof-role {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}

.prof-contact {
  display: grid;
  gap: 2px;
  padding: 14px 16px 18px;
}

.prof-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background 0.3s;
}

.prof-contact a:hover {
  background: var(--paper-2);
}

.prof-contact svg {
  flex: none;
  color: var(--ember);
}

.prof-body {
  min-width: 0;
}

.prof-sec {
  padding: 0 0 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.prof-sec h3 {
  font-size: 1.35rem;
  margin: 0 0 14px;
}

.prof-sec p {
  color: var(--text);
  line-height: 1.75;
  margin: 0 0 14px;
}

.prof-sec p:last-child {
  margin-bottom: 0;
}

.prof-quals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prof-quals span {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--saffron);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

.prof-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}

.prof-pager a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.prof-pager a:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.prof-pager small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prof-pager b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
}

.prof-pager .pp-next {
  text-align: right;
}

.prof-pager .pp-all {
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.prof-pager .pp-all:hover {
  background: var(--ember);
  border-color: var(--ember);
}

.page-hero .crumbs a {
  color: inherit;
}

@media (max-width: 980px) {
  .prof {
    grid-template-columns: 1fr;
  }

  .prof-card {
    position: static;
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
  }

  .prof-ph {
    grid-row: span 2;
    height: 100%;
  }

  .prof-contact {
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .prof-card {
    grid-template-columns: 1fr;
  }

  .prof-ph {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .prof-pager {
    grid-template-columns: 1fr 1fr;
  }

  .prof-pager .pp-all {
    grid-column: 1 / -1;
    order: 3;
    padding: 12px;
  }
}

.people.compact .person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
}

.people.compact .ph {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  aspect-ratio: auto;
  border-radius: 16px;
}

.people.compact .ph .ini {
  font-size: 1.6rem;
}

.people.compact .ph::after {
  display: none;
}

.people.compact .pi {
  padding: 0;
}

.people.compact .pi b {
  font-size: 1.02rem;
}

.message {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.portrait {
  position: sticky;
  top: 110px;
}

.portrait .frame {
  aspect-ratio: 4/5;
  border-radius: 200px 200px 24px 24px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--saffron), var(--ember) 50%, var(--violet));
  position: relative;
  box-shadow: var(--shadow);
}

.portrait .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait .frame .ini {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 7rem;
  color: rgba(255, 255, 255, 0.9);
}

.portrait h3 {
  margin-top: 22px;
  font-size: 1.6rem;
}

.portrait small {
  color: var(--ember);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--ink);
  margin-top: 10px;
}

.message > * {
  min-width: 0;
}

.leaders2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ldr {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  transition:
    box-shadow 0.45s,
    transform 0.45s var(--ease);
}

.ldr:hover {
  box-shadow: 0 26px 50px -30px rgba(12, 42, 91, 0.5);
  transform: translateY(-4px);
}

.ldr-ph {
  border-radius: 120px 120px 18px 18px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--saffron), var(--ember));
  aspect-ratio: 4/5;
  border-bottom: 4px solid var(--saffron);
}

.ldr-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 1s var(--ease);
}

.ldr:hover .ldr-ph img {
  transform: scale(1.05);
}

.ldr-b {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ldr-b small {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
}

.ldr-b h3 {
  font-size: 1.45rem;
  font-weight: 600;
  margin: 4px 0 12px;
}

.ldr-b blockquote {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.45;
  color: var(--ink);
  border-left: 3px solid var(--saffron);
  padding-left: 14px;
}

.ldr-b p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 16px;
}

@media (max-width: 1080px) {
  .message {
    grid-template-columns: 1fr;
  }

  .portrait {
    position: static;
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .roles {
    grid-template-columns: 1fr;
  }

  .ldr {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .ldr-ph {
    max-width: 220px;
  }
}

@media (max-width: 1180px) {
  .leaders2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   20. Home: facilities
   ========================================================================== */

.facs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.fac {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s,
    border-color 0.3s;
}

.fac::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 177, 10, 0.18), transparent 70%);
  transition: transform 0.6s var(--ease);
}

.fac:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -26px rgba(12, 42, 91, 0.5);
  border-color: transparent;
}

.fac:hover::after {
  transform: scale(2.2);
}

.fac-ph {
  margin: -22px -20px 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}

.fac-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.fac:hover .fac-ph img {
  transform: scale(1.05);
}

.fac-ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--saffron);
  display: grid;
  place-items: center;
  margin: -26px 0 12px;
  position: relative;
  z-index: 1;
  border: 3px solid #fff;
  transition: transform 0.45s var(--ease);
}

.fac h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.fac p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.fac:hover .fac-ic {
  transform: none;
}

@media (max-width: 640px) {
  .fac {
    padding: 16px 14px;
  }

  .fac-ph {
    margin: -16px -14px 0;
  }

  .fac-ic {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin: -21px 0 10px;
  }

  .fac h3 {
    font-size: 0.98rem;
  }

  .fac p {
    font-size: 0.8rem;
  }
}

@media (max-width: 1180px) {
  .facs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .facs {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

/* ==========================================================================
   21. Home: alumni
   ========================================================================== */

.acar {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: clamp(26px, 4vw, 48px);
  overflow: hidden;
}

.ac-q {
  position: absolute;
  right: 30px;
  top: -30px;
  font-family: var(--serif);
  font-size: 16rem;
  line-height: 1;
  color: rgba(255, 203, 61, 0.12);
  pointer-events: none;
}

.ac-track {
  position: relative;
  min-height: 220px;
}

.ac-s {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-template-rows: auto auto;
  column-gap: 34px;
  align-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.7s var(--ease),
    visibility 0s 0.7s;
}

.ac-s.is-on {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.6s var(--ease),
    transform 0.7s var(--ease);
}

.ac-ph {
  grid-row: 1/3;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--saffron);
  box-shadow: 0 0 0 8px rgba(255, 203, 61, 0.12);
  align-self: center;
}

.ac-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ac-s blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  line-height: 1.45;
  color: #fff;
  font-weight: 400;
}

.ac-s figcaption {
  margin-top: 16px;
}

.ac-s figcaption b {
  display: block;
  color: var(--saffron-2);
  font-size: 1.05rem;
}

.ac-s figcaption span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  font-weight: 600;
}

.ac-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.ac-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.ac-btn:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--ink);
}

.ac-avs {
  display: flex;
  gap: 10px;
}

.ac-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: all 0.35s var(--ease);
  padding: 0;
}

.ac-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ac-av.is-on,
.ac-av:hover {
  opacity: 1;
  border-color: var(--saffron);
  transform: scale(1.08);
}

@media (max-width: 640px) {
  .ac-s {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .ac-ph {
    grid-row: auto;
    width: 96px;
    height: 96px;
  }

  .ac-track {
    min-height: 360px;
  }

  .ac-avs {
    gap: 6px;
  }

  .ac-av {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================================
   22. Home: recruiters
   ========================================================================== */

.logo-text {
  line-height: 1.1;
}

.logo-text b {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.logo-text small {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-open .logo-text b {
  color: #fff;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-style: italic;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 60px;
  color: var(--ink);
}

.marquee-item::after {
  content: "✺";
  font-style: normal;
  font-size: 0.8em;
  color: var(--saffron);
}

.footer .logo-text b {
  color: #fff;
}

.footer .logo-text small {
  color: rgba(255, 255, 255, 0.5);
}

.logo-marquee {
  display: grid;
  gap: 14px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

@media (max-width: 640px) {
  .logo-text small {
    display: none;
  }
}

/* ==========================================================================
   23. Home: visit us
   ========================================================================== */

.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/7;
  background: var(--paper-2);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.visit-map {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 380px;
  box-shadow: 0 24px 50px -34px rgba(12, 42, 91, 0.45);
  background: #e6ebf3 url(img/campus/main-gate-1280.webp) center/cover;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.visit-info {
  align-self: center;
}

.vi-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.vi-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}

.vi-list li > span {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--saffron);
  display: grid;
  place-items: center;
}

.vi-list small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 800;
}

.vi-list li div {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.vi-list a:hover {
  color: var(--ember);
}

@media (max-width: 640px) {
  .visit-map,
  .visit-map iframe {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  .visit {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   24. Gallery, photos and lightbox
   ========================================================================== */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 18px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.g-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
  isolation: isolate;
}

.g-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* --bg is set inline for gradient tiles; photo tiles set their own background and the layer inherits it */
  background: var(--bg, inherit);
  transition: transform 1s var(--ease);
}

.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(transparent 40%, rgba(11, 16, 32, 0.75));
}

.g-item h3 {
  font-size: 1.35rem;
}

.g-item small {
  display: block;
  opacity: 0.75;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.g-item .g-ic {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease);
}

.g-wide {
  grid-column: span 2;
}

.g-tall {
  grid-row: span 2;
}

.album-title {
  font-size: 1.3rem;
  margin: 34px 0 16px;
}

.album-title:first-child {
  margin-top: 0;
}

.photos {
  columns: 3 280px;
  column-gap: 16px;
}

.photo {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: var(--paper-2);
  display: block;
}

.photo img {
  width: 100%;
  transition: transform 1s var(--ease);
}

.photo:hover img {
  transform: scale(1.05);
}

.photo figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 16px 14px;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  background: linear-gradient(transparent, rgba(11, 16, 32, 0.85));
  transform: translateY(30%);
  opacity: 0;
  transition: all 0.5s var(--ease);
}

.photo:hover figcaption {
  transform: none;
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(11, 16, 32, 0.92);
  display: grid;
  place-items: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s,
    visibility 0s 0.4s;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 80vh;
  border-radius: 16px;
  transform: scale(0.94);
  transition: transform 0.5s var(--ease);
}

.lightbox.show img {
  transform: none;
}

.lightbox p {
  color: #fff;
  text-align: center;
  margin-top: 16px;
  max-width: 70ch;
}

.lightbox button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.4rem;
}

.wipe {
  position: relative;
  overflow: hidden;
}

.wipe::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--saffron);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1.1s var(--ease) var(--wd, 0.1s);
  z-index: 3;
  pointer-events: none;
}

.wipe.wiped::after {
  transform: scaleX(0);
}

.wipe img {
  transform: scale(1.18);
  transition: transform 1.6s var(--ease) var(--wd, 0.1s);
}

.wipe.wiped img {
  transform: scale(1);
}

.gbento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 12px;
}

.gb {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  background: var(--ink);
}

.gb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.gb:hover img {
  transform: scale(1.07);
}

.gb span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 14px 12px;
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.3;
  background: linear-gradient(transparent, rgba(7, 26, 59, 0.9));
  transform: translateY(6px);
  transition: transform 0.4s var(--ease);
}

.gb:hover span {
  transform: none;
}

.gb0 {
  grid-column: span 2;
  grid-row: span 2;
}

.gb1 {
  grid-row: span 2;
}

.gb-more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 22px;
  background: var(--ink);
  color: #fff;
}

.gb-more b {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--saffron-2);
  line-height: 1;
  font-weight: 500;
}

.gb-more span {
  position: static;
  background: none;
  padding: 6px 0 10px;
  transform: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.gb-more em {
  font-style: normal;
  font-weight: 800;
  color: var(--saffron-2);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.g-item:hover .g-ic {
  transform: none;
}

.g-item:hover::before {
  transform: scale(1.05);
}

@media (max-width: 1080px) {
  .bento,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .g-wide,
  .g-tall {
    grid-column: auto;
    grid-row: auto;
  }

  .bento {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wipe::after {
    display: none;
  }

  .wipe img {
    transform: none;
  }
}

@media (max-width: 900px) {
  .gbento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
  }
}

@media (max-width: 640px) {
  .gbento {
    grid-auto-rows: 150px;
  }
}

@media (max-width: 900px) {
  .gb0 {
    grid-column: span 2;
  }

  .gb1 {
    grid-row: span 1;
  }
}

/* ==========================================================================
   25. Documents, tables and timelines
   ========================================================================== */

.checklist {
  list-style: none;
  padding: 0;
  margin: 28px 0 36px;
  display: grid;
  gap: 14px;
}

.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 600;
}

.checklist li::before {
  content: "";
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4a01c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E")
    center/14px no-repeat;
  margin-top: 1px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 30px;
  padding-left: 60px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--line);
}

.timeline .fill {
  position: absolute;
  left: 21px;
  top: 10px;
  width: 2px;
  height: 0;
  background: linear-gradient(var(--saffron), var(--ember));
  transition: height 0.2s linear;
}

.t-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.t-step:hover {
  box-shadow: var(--shadow);
}

.t-step .dot {
  position: absolute;
  left: -60px;
  top: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  transition: all 0.5s var(--ease);
}

.t-step.on .dot {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--saffron);
  transform: scale(1.1);
}

.t-step h3 {
  margin-bottom: 8px;
}

.t-step p {
  color: var(--muted);
  margin: 0;
}

.bars {
  display: grid;
  gap: 22px;
}

.bar-row .bar-top {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 10px;
}

.bar-track {
  height: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--saffron), var(--ember));
  transition: width 1.6s var(--ease);
}

.callout {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}

.callout > * {
  position: relative;
}

.callout h3 {
  color: #fff;
  margin-bottom: 10px;
}

.callout p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.docs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.doc {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.doc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(244, 160, 28, 0.12));
  opacity: 0;
  transition: opacity 0.4s;
}

.doc:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -22px rgba(11, 16, 32, 0.4);
  border-color: transparent;
}

.doc:hover::before {
  opacity: 1;
}

.doc .fi {
  flex: 0 0 46px;
  height: 54px;
  border-radius: 8px 14px 8px 8px;
  background: var(--paper-2);
  position: relative;
  display: grid;
  place-items: end center;
  padding-bottom: 7px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ember);
  transition:
    transform 0.45s var(--ease),
    background 0.4s,
    color 0.4s;
}

.doc .fi::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(225deg, var(--paper) 50%, rgba(11, 16, 32, 0.12) 50%);
  border-radius: 0 14px 0 4px;
}

.doc:hover .fi {
  background: var(--ink);
  color: var(--saffron);
  transform: none;
}

.doc .dt {
  flex: 1;
  min-width: 0;
  position: relative;
}

.doc .dt b {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.doc .dt small {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
}

.doc .go {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: all 0.4s var(--ease);
  position: relative;
}

.doc:hover .go {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: none;
}

.docs.numbered {
  counter-reset: d;
}

.docs.numbered .doc .fi::after {
  counter-increment: d;
  content: counter(d, decimal-leading-zero);
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: 0;
}

.doc:hover .fi::after {
  color: #fff;
}

.empty {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
}

.empty b {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 6px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.dtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 520px;
}

.dtable th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  padding: 16px 20px;
  background: var(--paper-2);
  white-space: nowrap;
}

.dtable td {
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

.dtable tr {
  transition: background 0.25s;
}

.dtable tbody tr:hover {
  background: #fdf8ef;
}

.dtable td.n {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  width: 60px;
}

.dtable a.pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.3s;
}

.dtable a.pdf:hover {
  background: var(--ember);
}

.dtable .role {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.feed {
  display: grid;
  gap: 14px;
}

.ev {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s;
}

.ev:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.ev .date {
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 12px 6px;
  align-self: start;
  transition: transform 0.45s var(--ease);
}

.ev .date b {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--saffron);
}

.ev .date small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
}

.ev h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.ev p {
  color: var(--muted);
  margin: 0;
}

.ev .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ev .meta span {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--paper-2);
}

.callout .accent {
  color: var(--saffron-2);
}

tr[data-reveal] {
  transition-duration: 0.7s;
}

.dtable tbody tr td:first-child {
  transition: color 0.3s;
}

.dtable tbody tr:hover td:first-child {
  color: var(--ember);
}

.ev:hover .date {
  transform: none;
}

@media (max-width: 640px) {
  .timeline {
    padding-left: 52px;
  }

  .t-step {
    padding: 22px;
  }

  .t-step .dot {
    left: -52px;
  }

  .ev {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ev .date {
    display: inline-flex;
    gap: 8px;
    align-items: baseline;
    padding: 8px 14px;
    justify-self: start;
  }

  .ev .date small {
    margin: 0;
  }

  .docs {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   26. Forms and contact
   ========================================================================== */

.form {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.field {
  position: relative;
  min-width: 0;
}

.field.full {
  grid-column: 1/-1;
}

.field input {
  width: 100%;
  padding: 24px 18px 10px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  appearance: none;
}

.field select {
  width: 100%;
  padding: 24px 18px 10px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  appearance: none;
  text-overflow: ellipsis;
}

.field textarea {
  width: 100%;
  padding: 24px 18px 10px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--text);
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  appearance: none;
  min-height: 140px;
  resize: vertical;
}

.field label {
  position: absolute;
  left: 18px;
  top: 17px;
  color: var(--muted);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.25s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 4px rgba(244, 160, 28, 0.15);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select + label {
  top: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 150%);
  background: var(--ink);
  color: #fff;
  padding: 16px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 400;
  transition: transform 0.6s var(--ease);
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
}

.toast.show {
  transform: translate(-50%, 0);
}

.toast::before {
  content: "✓";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-grid > * {
  min-width: 0;
}

@media (max-width: 1080px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .form {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   27. Call-to-action band
   ========================================================================== */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta {
  border-radius: calc(var(--radius) * 1.6);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 72px);
}

.cta h2 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  max-width: 15ch;
  margin: 20px auto 22px;
}

.cta .lead {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 38px;
}

.cta > * {
  position: relative;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .accent,
.cta .eyebrow {
  color: var(--saffron-2);
}

.prog-body .hero-actions {
  margin-top: auto;
}

/* ==========================================================================
   28. Footer
   ========================================================================== */

.footer {
  color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  position: relative;
  background: var(--navy-deep);
  animation: pageIn 0.8s var(--ease) both;
  padding: 64px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 44px;
}

.footer h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
  font-weight: 700;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer a {
  transition: color 0.3s;
  position: relative;
}

.footer a:hover {
  color: var(--saffron);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: center;
  gap: 24px;
  font-size: 0.82rem;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  transition:
    transform 0.4s var(--ease),
    background 0.3s,
    color 0.3s;
}

.socials a:hover {
  background: var(--saffron);
  color: var(--ink);
  border-color: var(--saffron);
  transform: translateY(-3px);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--saffron);
  display: grid;
  place-items: center;
  z-index: 80;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 0.5s var(--ease);
}

.to-top.show {
  opacity: 1;
  transform: none;
}

.to-top svg {
  transition: transform 0.4s var(--ease);
}

.to-top:hover svg {
  transform: translateY(-3px);
}

.to-top .ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.to-top .ring circle {
  fill: none;
  stroke: var(--saffron);
  stroke-width: 2;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
}

.footer-top.footer-top-5 {
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr 1fr;
  gap: 40px;
}

body.leaving .footer {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.footer ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 100%;
  background: var(--saffron);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.footer ul a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.powered {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.powered a {
  color: var(--saffron-2);
  font-weight: 700;
}

.powered a::after {
  display: none;
}

.powered a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom > span {
  white-space: nowrap;
}

.footer-bottom .powered {
  margin: 0;
  padding: 0;
  border: 0;
  text-align: right;
  font-size: inherit;
}

@media (max-width: 1080px) {
  .footer-top,
  .footer-top.footer-top-5 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-top,
  .footer-top.footer-top-5 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .footer {
    padding: 48px 0 20px;
  }
}

@media (max-width: 1100px) {
  .footer-bottom {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    row-gap: 8px;
  }

  .footer-bottom > span {
    white-space: normal;
  }

  .footer-bottom .powered {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .footer-bottom {
    padding-bottom: 72px;
  }
}

/* ==========================================================================
   29. Keyframes
   ========================================================================== */

@keyframes load {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes ripple {
  from {
    transform: scale(0.3);
    opacity: 1;
  }
  to {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes scrollhint {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ring {
  0%,
  80%,
  100% {
    transform: rotate(0);
  }
  84% {
    transform: rotate(-14deg);
  }
  88% {
    transform: rotate(12deg);
  }
  92% {
    transform: rotate(-8deg);
  }
  96% {
    transform: rotate(6deg);
  }
}

@keyframes phzoom {
  to {
    transform: scale(1);
  }
}

@keyframes kb {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1.01);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes dotfill {
  to {
    transform: scaleX(1);
  }
}

@keyframes blink {
  50% {
    opacity: 0.45;
  }
}

@keyframes vscroll {
  to {
    transform: translateY(-50%);
  }
}

@keyframes introPop {
  from {
    transform: scale(0.4) rotate(-90deg);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes emblemIn {
  from {
    opacity: 0;
    transform: rotate(-120deg) scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes glow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(242, 177, 10, 0));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(242, 177, 10, 0.55));
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes shine {
  0%,
  70% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}

@keyframes wipeL {
  from {
    clip-path: inset(0 0 0 100%);
  }
  to {
    clip-path: inset(0);
  }
}

@keyframes wipeR {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}

@keyframes wordUp {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sweep {
  to {
    transform: translateX(100%);
  }
}

@keyframes pulseDot {
  70% {
    box-shadow: 0 0 0 10px rgba(200, 16, 46, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
  }
}

@keyframes countFlip {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes drift {
  to {
    transform: translate(36px, 36px);
  }
}

@keyframes goldShift {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -150% 0;
  }
}

@keyframes pulseBadge {
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 0 6px rgba(200, 16, 46, 0.15);
  }
}

@keyframes swing {
  0%,
  80%,
  100% {
    transform: rotate(0);
  }
  85% {
    transform: rotate(12deg);
  }
  90% {
    transform: rotate(-10deg);
  }
  95% {
    transform: rotate(5deg);
  }
}

@keyframes lmScroll {
  to {
    transform: translateX(-33.3333%);
  }
}

@keyframes recede {
  to {
    transform: scale(0.92);
    filter: brightness(0.45) blur(2px);
  }
}

@keyframes tileIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Visiting faculty: card button + details pop-up */
button.person {
  display: block;
  width: 100%;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.people.compact .person .pi small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fac-dlg {
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: clamp(22px, 4vw, 36px);
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  color: var(--text, inherit);
  box-shadow: 0 30px 80px rgba(11, 16, 32, 0.35);
}

.fac-dlg::backdrop {
  background: rgba(11, 16, 32, 0.6);
  backdrop-filter: blur(3px);
}

.fac-dlg[open] {
  animation: dlgIn 0.35s var(--ease) both;
}

@keyframes dlgIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

.fd-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 36px;
  margin-bottom: 22px;
}

.fd-head img {
  width: 84px;
  height: 84px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--saffron);
}

.fd-head h3 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.15;
  color: var(--ink);
}

.fac-dlg dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(120px, 170px) 1fr;
  border-top: 1px solid var(--line);
}

.fac-dlg dt,
.fac-dlg dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}

.fac-dlg dt {
  padding-right: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember);
}

.fac-dlg dd {
  color: var(--ink);
}

.fd-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.fd-x:hover {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 560px) {
  .fac-dlg dl {
    grid-template-columns: 1fr;
  }

  .fac-dlg dt {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

/* Admissions: side tabs (as on the old site's Admission page) */
.atabs {
  display: grid;
  grid-template-columns: minmax(230px, 290px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.atabs .tab-list {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  gap: 4px;
}

.atabs .tab-btn,
.atabs .tab-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 12px;
  background: none;
  font: 600 0.98rem/1.3 var(--sans);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.atabs .tab-btn:hover,
.atabs .tab-link:hover {
  background: var(--paper-2);
}

.atabs .tab-btn.active {
  background: var(--ink);
  color: #fff;
}

.atabs .tab-btn.active::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--saffron);
}

.atabs .tab-link {
  color: var(--ember);
  text-decoration: none;
}

.atabs .tab-link:first-of-type {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  padding-top: 17px;
}

.atabs .tab-link svg {
  flex: none;
  transition: transform 0.3s var(--ease);
}

.atabs .tab-link:hover svg {
  transform: translateX(4px);
}

.atabs .tab-panel {
  display: none;
  scroll-margin-top: 110px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 40px);
  color: var(--text, var(--ink));
  overflow: visible;
}

.atabs .tab-panel.active {
  display: block;
  animation: panelIn 0.6s var(--ease);
}

.atabs .tab-panel h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink);
}

.atabs .tab-panel > p {
  line-height: 1.7;
}

.policy-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pol;
}

.policy-list li {
  counter-increment: pol;
  position: relative;
  padding: 12px 0 12px 52px;
  border-bottom: 1px solid var(--line);
  line-height: 1.65;
}

.policy-list li::before {
  content: counter(pol, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  width: 36px;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ember);
}

.at-note {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 3px solid var(--saffron);
  background: var(--paper-2);
  border-radius: 0 12px 12px 0;
  line-height: 1.6;
}

.at-intake {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.at-intake b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 4.6rem);
  line-height: 1;
  color: var(--saffron);
}

.at-intake span {
  max-width: 30ch;
  font-size: 1.05rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .atabs {
    grid-template-columns: 1fr;
  }

  .atabs .tab-list {
    position: static;
  }
}

/* =========================================================================
   Core values: iceberg (vision above the water, values beneath it)
   ========================================================================= */
.berg {
  --iw: min(44vw, 540px); /* iceberg width; connectors are measured against it */
  --sea: 0.249; /* waterline: share of the iceberg image's height */
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #034f7c;
}

.berg-head {
  position: relative;
  z-index: 2;
  padding-top: clamp(48px, 7vw, 90px);
  padding-bottom: clamp(10px, 2vw, 24px);
}

.berg-sky {
  background: linear-gradient(180deg, #2a72c2 0%, #5aa6e6 100%);
}

.berg-kicker {
  display: block;
  font: 500 clamp(1.2rem, 2.4vw, 2rem) / 1.1 var(--sans);
  color: rgba(255, 255, 255, 0.92);
}

.berg-head h1 {
  margin: 4px 0 0;
  font: 800 clamp(1.9rem, 4.6vw, 3.6rem) / 1.05 var(--sans);
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(6, 40, 90, 0.35);
}

.berg-head h1::after {
  content: "";
  display: block;
  width: 120px;
  height: 5px;
  margin-top: 16px;
  border-radius: 9px;
  background: var(--saffron);
}

.berg-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr var(--iw) 1fr;
  background: linear-gradient(
    180deg,
    #5aa6e6 0%,
    #bfe3fe calc(var(--sea) * 100% - 0.4%),
    #4cc8e9 calc(var(--sea) * 100%),
    #1ba7cf 42%,
    #0b80b4 72%,
    #04679c 100%
  );
}

/* light rays under the surface */
.berg-stage::before {
  content: "";
  position: absolute;
  inset: calc(var(--sea) * 100%) 0 0;
  background: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0) 0 70px, rgba(255, 255, 255, 0.06) 70px 110px);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  pointer-events: none;
}

/* the surface line */
.berg-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--sea) * 100%);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85) 20%, rgba(255, 255, 255, 0.85) 80%, transparent);
  pointer-events: none;
}

.berg-ice {
  position: relative;
  z-index: 1;
}

.berg-ice img {
  display: block;
  width: 100%;
  height: auto;
}

.berg-side {
  position: relative;
  z-index: 3;
}

/* one value: pill + connector to the point where it meets the iceberg */
.bv {
  position: absolute;
  top: calc(var(--y) * 100%);
  display: flex;
  align-items: center;
  transform: translateY(-50%);
  outline: none;
  z-index: 1;
}

.bv:hover,
.bv:focus-visible {
  z-index: 5;
}

.bv-l {
  right: calc(var(--iw) * var(--in) * -1);
}

.bv-r {
  left: calc(var(--iw) * var(--in) * -1);
  flex-direction: row-reverse;
}

.bv-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 22px 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(3, 50, 90, 0.18);
  font: 700 clamp(0.78rem, 1.15vw, 1rem) / 1.1 var(--sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(3, 50, 90, 0.35);
  transition: background 0.3s, transform 0.4s var(--ease), border-color 0.3s;
}

.bv-pill i,
.bl i {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--ink);
  font-style: normal;
  font-size: 0.75rem;
  text-shadow: none;
}

.bv-line {
  position: relative;
  flex: none;
  width: calc(var(--iw) * var(--in) + 26px);
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
}

.bv-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--saffron);
  transform: translateY(-50%);
}

.bv-l .bv-line::after {
  right: -6px;
}

.bv-r .bv-line::after,
.bvision .bv-line::after {
  left: -6px;
}

.bv-tip {
  position: absolute;
  top: calc(100% + 10px);
  width: max-content;
  max-width: 260px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 14px 34px rgba(3, 40, 80, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.25s;
  pointer-events: none;
}

.bv-l .bv-tip {
  left: 0;
}

.bv-r .bv-tip {
  right: 0;
}

.bv:hover .bv-pill,
.bv:focus-visible .bv-pill {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
  transform: scale(1.04);
}

.bv:hover .bv-tip,
.bv:focus-visible .bv-tip {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* vision, joined to the tip of the iceberg */
.bvision {
  position: absolute;
  top: calc(var(--ty) * 100%);
  left: calc(var(--iw) * (1 - var(--tx)) * -1);
  display: flex;
  align-items: flex-end;
  transform: translateY(calc(-100% + 1px)); /* the line (at the bottom) meets the tip; the card sits above it */
}

.bvision .bv-line {
  width: calc(var(--iw) * (1 - var(--tx)) + 40px);
}

.bvision-card {
  max-width: 330px;
  margin-bottom: -16px;
  padding: 16px 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  background: rgba(14, 70, 140, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 40px rgba(6, 50, 100, 0.2);
}

.bvision-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--ink);
  font: 800 0.85rem / 1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bvision-card p {
  margin: 12px 0 0;
  font: 600 clamp(1rem, 1.5vw, 1.2rem) / 1.35 var(--sans);
  color: #fff;
  text-shadow: 0 1px 8px rgba(3, 50, 90, 0.35);
}

/* bottom: the two pillars and the "Core values" base */
.berg-foot {
  position: relative;
  background: linear-gradient(180deg, #04679c, #034f7c);
  padding: 8px 0 clamp(40px, 6vw, 70px);
}

.berg-pillars {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 20px;
}

.bp {
  margin: 0;
  font: 800 clamp(1.6rem, 3.4vw, 2.9rem) / 1.02 var(--sans);
  letter-spacing: -0.02em;
  color: #fff;
}

.bp span {
  display: block;
}

.bp::before {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  margin-bottom: 16px;
  border-radius: 9px;
  background: var(--saffron);
}

.bp-r {
  text-align: right;
}

.bp-r::before {
  margin-left: auto;
}

.berg-core {
  margin-bottom: 6px;
  padding: 14px 44px;
  border: 2px solid var(--saffron);
  border-radius: 999px;
  background: var(--ink);
  font: 800 clamp(1rem, 1.8vw, 1.45rem) / 1 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.berg-lists,
.berg-vision-m {
  display: none;
}

.berg-vision-m {
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  font: 600 1.05rem / 1.4 var(--sans);
}

.berg-vision-m b {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* tablets and phones: the iceberg on its own, values listed beneath */
@media (max-width: 900px) {
  .berg {
    --iw: min(92vw, 520px);
  }

  .berg-stage {
    grid-template-columns: var(--iw);
    justify-content: center;
  }

  .berg-side {
    display: none;
  }

  .berg-pillars {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-top: 6px;
  }

  .bp {
    display: none;
  }

  .berg-lists {
    display: grid;
    gap: 26px;
    margin-top: 30px;
  }

  .bl h3 {
    margin: 0 0 12px;
    font: 800 1.35rem / 1.1 var(--sans);
    color: #fff;
  }

  .bl h3::before {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin-bottom: 12px;
    border-radius: 9px;
    background: var(--saffron);
  }

  .bl ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
  }

  .bl li {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
  }

  .bl b {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 700 0.95rem / 1.2 var(--sans);
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .bl li span {
    display: block;
    margin: 6px 0 0 36px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .berg-vision-m {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .berg {
    --iw: min(40vw, 460px);
  }

  .bv-pill {
    padding: 7px 14px 7px 8px;
    gap: 8px;
  }

  .bv-pill i {
    width: 22px;
    height: 22px;
  }

  .bvision-card {
    max-width: 250px;
  }
}
