/*
 * Takshshila Modern HiStudy visual layer
 * Loaded after the existing website styles. Header and footer dimensions,
 * colours and structure are intentionally left untouched.
 */

@font-face {
  font-family: "HiStudy Euclid";
  src: url("assets/fonts/EuclidCircularA-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Shared header social icons and beeping green section labels. */
.nori-header-social{display:flex;align-items:center;gap:10px}
.nori-header-social a{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;color:#fff;text-decoration:none;font-size:12px;font-weight:800;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);transition:.22s ease}
.nori-header-social a:hover{background:#f15a3a;border-color:#f15a3a;transform:translateY(-2px)}
.ts-refreshed :is(.refresh-kicker,.label){position:relative;display:inline-flex;align-items:center;gap:13px;padding:11px 18px;border:0;border-radius:999px;background:rgba(15,126,96,.06);color:#17192f;font-size:12px;font-weight:700;letter-spacing:1.5px;box-shadow:none}
.ts-refreshed :is(.refresh-kicker,.label)::before{content:"";width:11px;height:11px;flex:0 0 11px;border-radius:50%;background:#15936f;box-shadow:0 0 0 0 rgba(21,147,111,.55);animation:ts-live-pulse 1.55s ease-out infinite}
.ts-refreshed :is(.refresh-kicker,.label)::after{display:none;content:none}
@keyframes ts-live-pulse{0%{box-shadow:0 0 0 0 rgba(21,147,111,.58)}65%{box-shadow:0 0 0 10px rgba(21,147,111,0)}100%{box-shadow:0 0 0 0 rgba(21,147,111,0)}}

@font-face {
  font-family: "HiStudy Euclid";
  src: url("assets/fonts/EuclidCircularA-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.ts-refreshed {
  --hs-navy: #202540;
  --hs-navy-deep: #15192f;
  --hs-orange: #f58220;
  --hs-orange-soft: #fff0e3;
  --hs-canvas: #f7f7fb;
  --hs-ink: #202540;
  --hs-muted: #64697b;
  --hs-line: rgba(32, 37, 64, .1);
  --hs-shadow: 0 24px 70px rgba(29, 34, 66, .11);
  --hs-shadow-hover: 0 34px 85px rgba(29, 34, 66, .18);
  background:
    radial-gradient(circle at 8% 18%, rgba(245, 130, 32, .07), transparent 24rem),
    var(--hs-canvas);
  color: var(--hs-ink);
  font-family: "HiStudy Euclid", "Inter", sans-serif;
  overflow: clip;
}

.ts-refreshed :where(h1, h2, h3, h4) {
  font-family: "HiStudy Euclid", "Outfit", sans-serif;
  letter-spacing: -.035em;
}

.ts-refreshed :where(p, li) {
  color: var(--hs-muted);
}

/* Modern HiStudy section heading system. */
.ts-refreshed .refresh-kicker,
.ts-refreshed .label,
.ts-refreshed .language-caption {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid rgba(245, 130, 32, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  color: #a64b00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 8px 26px rgba(32, 37, 64, .05);
  backdrop-filter: blur(10px);
}

.ts-refreshed .refresh-kicker::before,
.ts-refreshed .label::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hs-orange);
  box-shadow: 0 0 0 5px rgba(245, 130, 32, .12);
}

.ts-refreshed .premium-heading h2,
.ts-refreshed .refresh-heading h2,
.ts-refreshed .section-head h2 {
  max-width: 980px;
  margin: 24px auto 18px;
  color: var(--hs-navy);
  font-size: clamp(42px, 5.3vw, 76px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.01;
}

.ts-refreshed .premium-heading p,
.ts-refreshed .refresh-heading p,
.ts-refreshed .section-subtitle {
  max-width: 760px;
  color: var(--hs-muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
}

/* Page hero: full visual statement instead of a plain grey banner. */
.ts-refreshed .policy-hero,
.ts-refreshed .inner-hero {
  position: relative;
  isolation: isolate;
  min-height: 500px;
  padding: 175px 24px 90px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0 0 54px 54px;
  background:
    radial-gradient(circle at 76% 18%, rgba(245, 130, 32, .45), transparent 17rem),
    radial-gradient(circle at 20% 84%, rgba(118, 126, 255, .22), transparent 22rem),
    linear-gradient(135deg, #15192f 0%, #202540 54%, #2d3152 100%);
}

.ts-refreshed .policy-hero::before,
.ts-refreshed .inner-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 70px;
  right: clamp(-90px, 2vw, 30px);
  width: 330px;
  aspect-ratio: 1;
  border: 68px solid rgba(255, 255, 255, .055);
  border-radius: 50%;
  animation: hs-float 7s ease-in-out infinite;
}

.ts-refreshed .policy-hero::after,
.ts-refreshed .inner-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .18;
  background-image: radial-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(100deg, transparent 10%, #000 55%, transparent 95%);
  mask-image: linear-gradient(100deg, transparent 10%, #000 55%, transparent 95%);
}

.ts-refreshed .policy-hero .premium-heading,
.ts-refreshed .inner-hero > * {
  position: relative;
  z-index: 2;
}

.ts-refreshed .policy-hero .premium-heading h2,
.ts-refreshed .inner-hero h1,
.ts-refreshed .inner-hero h2 {
  max-width: 1050px;
  color: #fff;
  font-size: clamp(48px, 6.3vw, 88px);
  letter-spacing: -.06em;
  line-height: .98;
  text-wrap: balance;
}

.ts-refreshed .policy-hero .premium-heading p,
.ts-refreshed .inner-hero p {
  color: rgba(255, 255, 255, .72);
}

.ts-refreshed .policy-hero .refresh-kicker,
.ts-refreshed .inner-hero .label,
.ts-refreshed .inner-hero span {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: #ffc18b;
}

/* Sticky language switcher with HiStudy-style action buttons. */
.ts-refreshed .language-nav {
  position: sticky;
  z-index: 25;
  top: 112px;
  width: fit-content;
  max-width: calc(100% - 28px);
  margin: -31px auto 0;
  padding: 10px;
  border: 1px solid rgba(32, 37, 64, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 48px rgba(26, 31, 62, .14);
  backdrop-filter: blur(18px);
}

.ts-refreshed .premium-button {
  position: relative;
  isolation: isolate;
  min-width: 165px;
  min-height: 56px;
  padding: 15px 25px;
  overflow: hidden;
  border: 0;
  border-radius: 13px;
  background: var(--hs-navy);
  color: #fff;
  box-shadow: 0 12px 30px rgba(32, 37, 64, .17);
  font-size: 14px;
  letter-spacing: .01em;
  transition: transform .3s ease, box-shadow .3s ease, color .3s ease;
}

.ts-refreshed .premium-button::before {
  inset: 0;
  background: linear-gradient(135deg, var(--hs-orange), #ffac63);
  transform: translateX(-103%);
  transition: transform .38s cubic-bezier(.2, .8, .2, 1);
}

.ts-refreshed .premium-button::after {
  content: "↗";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 3px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .13);
  font-size: 13px;
  transition: transform .3s ease;
}

.ts-refreshed .premium-button:hover,
.ts-refreshed .premium-button:focus-visible {
  color: var(--hs-navy);
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(245, 130, 32, .28);
}

.ts-refreshed .premium-button:hover::before,
.ts-refreshed .premium-button:focus-visible::before {
  transform: translateX(0);
}

.ts-refreshed .premium-button:hover::after { transform: rotate(45deg); }
.ts-refreshed .premium-button > span[aria-hidden="true"] { display: none; }
.ts-refreshed .language-nav .premium-button::after { display: none; }

/* Bilingual handbook pages: large staggered editorial panels. */
.ts-refreshed .policy-layout {
  max-width: 1240px;
  margin: 80px auto 90px;
  padding: 0 42px;
}

.ts-refreshed .policy-card {
  position: relative;
  scroll-margin-top: 210px;
  margin: 0 0 54px;
  padding: 62px 68px 62px 132px;
  overflow: hidden;
  border: 1px solid rgba(32, 37, 64, .08);
  border-radius: 32px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--hs-shadow);
}

.ts-refreshed .policy-card::before {
  content: "01";
  position: absolute;
  top: 46px;
  left: 32px;
  color: rgba(32, 37, 64, .09);
  font-size: 62px;
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: 1;
}

.ts-refreshed .policy-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: linear-gradient(var(--hs-orange), #ffb778);
}

.ts-refreshed .policy-card:nth-child(1) { transform: translateX(-24px); }

.ts-refreshed .policy-card.hindi-content {
  transform: translateX(24px);
  background:
    radial-gradient(circle at 92% 10%, rgba(245, 130, 32, .13), transparent 16rem),
    linear-gradient(135deg, #fffaf6, #fff1e5);
}

.ts-refreshed .policy-card.hindi-content::before { content: "02"; }
.ts-refreshed .policy-card.hindi-content::after { background: var(--hs-navy); }

.ts-refreshed .policy-card .language-caption {
  margin-bottom: 10px;
  background: var(--hs-orange-soft);
  box-shadow: none;
}

.ts-refreshed .policy-card h2 {
  margin: 12px 0 34px;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.06;
}

.ts-refreshed .policy-card h3 {
  margin: 38px 0 15px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}

.ts-refreshed .policy-card p,
.ts-refreshed .policy-card li {
  max-width: 940px;
  color: #555b70;
  font-size: 17px;
  line-height: 1.95;
}

.ts-refreshed .hindi-content p,
.ts-refreshed .hindi-content li {
  color: #50556a;
  font-size: 18px;
  line-height: 2;
}

/* HiStudy information directory. */
.ts-refreshed .information-grid {
  max-width: 1280px;
  margin: 70px auto 95px;
  padding: 0 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ts-refreshed .information-link {
  min-height: 250px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(32, 37, 64, .08);
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.ts-refreshed .information-link:nth-child(4n + 1) { background: linear-gradient(145deg, #fff, #fff1e5); }
.ts-refreshed .information-link:nth-child(4n + 2) { background: linear-gradient(145deg, #fff, #eff2ff); }
.ts-refreshed .information-link:nth-child(4n + 3) { background: linear-gradient(145deg, #fff, #eefaf7); }
.ts-refreshed .information-link:nth-child(4n) { background: linear-gradient(145deg, #fff, #fff8dc); }

.ts-refreshed .information-link::before {
  content: "";
  position: absolute;
  top: -52px;
  right: -52px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(245, 130, 32, .09);
  transition: transform .45s ease;
}

.ts-refreshed .information-link > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--hs-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.ts-refreshed .information-link h3 {
  max-width: 250px;
  margin: 46px 0 0;
  font-size: 24px;
  line-height: 1.22;
}

.ts-refreshed .information-link b {
  top: 26px;
  right: 26px;
  bottom: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  color: var(--hs-navy);
  box-shadow: 0 8px 20px rgba(32, 37, 64, .1);
  transition: transform .32s ease, background .32s ease;
}

.ts-refreshed .information-link:hover {
  border-color: rgba(245, 130, 32, .35);
  background: inherit;
  transform: translateY(-10px);
  box-shadow: var(--hs-shadow-hover);
}

.ts-refreshed .information-link:hover::before { transform: scale(1.3); }
.ts-refreshed .information-link:hover b { transform: rotate(45deg); background: var(--hs-orange); }

/* Leadership: an image-led, arched HiStudy composition. */
.ts-refreshed .ts-leader-page {
  position: relative;
  padding: 170px 24px 110px;
  background:
    radial-gradient(circle at 7% 18%, rgba(245, 130, 32, .11), transparent 25rem),
    linear-gradient(180deg, #f6f7fc, #fff);
}

.ts-refreshed .ts-leader-wrap { width: min(1240px, 100%); }

.ts-refreshed .ts-leader-heading {
  justify-content: flex-start;
  margin-bottom: 58px;
  text-align: left;
}

.ts-refreshed .ts-leader-heading::before {
  left: -42px;
  width: 118px;
  height: 118px;
  background: rgba(245, 130, 32, .14);
}

.ts-refreshed .ts-leader-heading h1 {
  font-size: clamp(52px, 6vw, 82px);
  letter-spacing: -.06em;
  line-height: 1;
}

.ts-refreshed .ts-leader-grid {
  position: relative;
  grid-template-columns: minmax(380px, .82fr) minmax(0, 1.18fr);
  gap: 72px;
  padding: 38px;
  overflow: visible;
  border: 1px solid rgba(32, 37, 64, .07);
  border-radius: 42px;
  background: #fff;
  box-shadow: var(--hs-shadow);
}

.ts-refreshed .ts-leader-image {
  position: relative;
  min-height: 650px;
  height: 100%;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 240px 240px 34px 34px;
  background: linear-gradient(155deg, #dfe3f1, #fff1e5 65%, #ffd7b4);
  box-shadow: 0 20px 50px rgba(32, 37, 64, .14);
}

.ts-refreshed .ts-leader-image::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 2px solid rgba(245, 130, 32, .35);
  border-radius: inherit;
  pointer-events: none;
}

.ts-refreshed .ts-leader-image img,
.ts-refreshed .ts-message-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.08);
  transform-origin: center top;
}

.ts-refreshed .ts-leader-content {
  padding: 28px 22px 28px 0;
}

.ts-refreshed .ts-leader-content blockquote {
  position: relative;
  margin: 0 0 32px;
  padding: 25px 28px 25px 66px;
  border: 1px solid rgba(245, 130, 32, .22);
  border-radius: 20px;
  background: var(--hs-orange-soft);
  color: var(--hs-navy);
  font-size: clamp(20px, 2vw, 27px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
}

.ts-refreshed .ts-leader-content blockquote::before {
  content: "“";
  position: absolute;
  top: 13px;
  left: 20px;
  color: var(--hs-orange);
  font-size: 60px;
  line-height: 1;
}

.ts-refreshed .leadership-language {
  margin-top: 28px;
  padding: 0 0 0 22px;
  border-top: 0;
  border-left: 3px solid rgba(245, 130, 32, .42);
}

.ts-refreshed .leadership-language[lang="hi"] { border-left-color: var(--hs-navy); }
.ts-refreshed .leadership-language h2 { font-size: 26px; }
.ts-refreshed .leadership-switch { margin-top: 38px; }

/* Achievement, media and other card directories. */
.ts-refreshed .editorial-grid {
  width: min(1280px, calc(100% - 48px));
  margin: 80px auto 75px;
  gap: 26px;
}

.ts-refreshed .editorial-card {
  min-height: 355px;
  padding: 34px;
  border: 1px solid rgba(32, 37, 64, .08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(32, 37, 64, .08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.ts-refreshed .editorial-card:nth-child(3n + 1) { background: linear-gradient(160deg, #fff, #fff0e3); }
.ts-refreshed .editorial-card:nth-child(3n + 2) { background: linear-gradient(160deg, #fff, #edf0ff); }
.ts-refreshed .editorial-card:nth-child(3n) { background: linear-gradient(160deg, #fff, #eaf8f5); }

.ts-refreshed .editorial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  width: 75px;
  height: 5px;
  border-radius: 0 0 8px 8px;
  background: var(--hs-orange);
}

.ts-refreshed .editorial-card::after {
  right: -55px;
  bottom: -55px;
  width: 175px;
  height: 175px;
  background: rgba(32, 37, 64, .045);
}

.ts-refreshed .editorial-icon {
  width: 68px;
  height: 68px;
  margin: 22px 0 70px;
  border-radius: 20px;
  background: var(--hs-navy);
  color: #fff;
  box-shadow: 0 14px 28px rgba(32, 37, 64, .2);
}

.ts-refreshed .editorial-card h3 { font-size: 28px; }
.ts-refreshed .editorial-card p { font-size: 16px; }

.ts-refreshed .editorial-card:hover {
  transform: translateY(-12px) rotate(-.4deg);
  box-shadow: var(--hs-shadow-hover);
}

.ts-refreshed .editorial-note {
  margin-top: -30px;
  border: 1px solid rgba(32, 37, 64, .08);
  border-left: 6px solid var(--hs-orange);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(32, 37, 64, .07);
}

/* Tables and schedule tiles. */
.ts-refreshed .schedule-grid { gap: 18px; }

.ts-refreshed .schedule-grid > div {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(32, 37, 64, .08);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f6f7fb);
  box-shadow: 0 12px 30px rgba(32, 37, 64, .06);
}

.ts-refreshed .schedule-grid > div::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(245, 130, 32, .11);
}

.ts-refreshed .table-scroll {
  border: 1px solid rgba(32, 37, 64, .08);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(32, 37, 64, .07);
}

.ts-refreshed .school-table th { background: linear-gradient(135deg, var(--hs-navy), #363b63); }

/* Existing home and content components receive the same richer finish. */
.premium-home > section:not(.hero) {
  width: min(1460px, calc(100% - 36px));
  margin: 30px auto;
  border-radius: 42px;
  box-shadow: 0 18px 55px rgba(32, 37, 64, .07);
}

.ts-refreshed :where(.mini-link-card, .simple-card, .panel, .blog-grid article, .updates-card) {
  border: 1px solid rgba(32, 37, 64, .08);
  border-radius: 24px;
  box-shadow: 0 16px 45px rgba(32, 37, 64, .08);
  transition: transform .32s ease, box-shadow .32s ease;
}

.ts-refreshed :where(.mini-link-card, .simple-card, .panel, .blog-grid article, .updates-card):hover {
  transform: translateY(-8px);
  box-shadow: var(--hs-shadow-hover);
}

.ts-refreshed :where(.amenity, .gallery-item, .video-card, .facility-directory article) {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(24, 29, 59, .13);
}

.ts-refreshed :where(.amenity, .gallery-item, .video-card, .facility-directory article) img {
  transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.ts-refreshed :where(.amenity, .gallery-item, .video-card, .facility-directory article):hover img {
  transform: scale(1.07);
}

/* Scroll reveal and progress feedback. */
.hs-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2, .75, .2, 1);
  transition-delay: var(--hs-delay, 0ms);
}

.hs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hs-page-progress {
  position: fixed;
  z-index: 120;
  top: 0;
  left: 0;
  width: var(--hs-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--hs-orange), #ffc18b);
  box-shadow: 0 2px 10px rgba(245, 130, 32, .5);
  pointer-events: none;
}

@keyframes hs-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-12px, 18px, 0); }
}

@media (max-width: 1000px) {
  .ts-refreshed .policy-card:nth-child(1),
  .ts-refreshed .policy-card.hindi-content { transform: none; }
  .ts-refreshed .information-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ts-refreshed .ts-leader-grid { grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); gap: 34px; }
  .ts-refreshed .ts-leader-image { min-height: 580px; }
}

@media (max-width: 760px) {
  .ts-refreshed .policy-hero,
  .ts-refreshed .inner-hero {
    min-height: 410px;
    padding: 130px 18px 65px;
    border-radius: 0 0 32px 32px;
  }

  .ts-refreshed .policy-hero .premium-heading h2,
  .ts-refreshed .inner-hero h1,
  .ts-refreshed .inner-hero h2 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .ts-refreshed .language-nav {
    top: 84px;
    width: calc(100% - 24px);
    justify-content: stretch;
    border-radius: 16px;
  }

  .ts-refreshed .language-nav .premium-button {
    min-width: 0;
    flex: 1 1 120px;
    padding-inline: 14px;
  }

  .ts-refreshed .policy-layout { margin: 55px auto 70px; padding: 0 14px; }

  .ts-refreshed .policy-card {
    padding: 82px 22px 30px;
    border-radius: 24px;
  }

  .ts-refreshed .policy-card::before {
    top: 20px;
    left: 22px;
    font-size: 44px;
  }

  .ts-refreshed .policy-card h2 { font-size: 31px; }

  .ts-refreshed .information-grid {
    grid-template-columns: 1fr;
    margin: 48px auto 70px;
    padding: 0 14px;
  }

  .ts-refreshed .information-link { min-height: 220px; }

  .ts-refreshed .ts-leader-page { padding: 125px 14px 80px; }
  .ts-refreshed .ts-leader-heading { margin-left: 16px; }
  .ts-refreshed .ts-leader-heading h1 { font-size: clamp(43px, 13vw, 62px); }

  .ts-refreshed .ts-leader-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 14px;
    border-radius: 28px;
  }

  .ts-refreshed .ts-leader-image {
    order: -1;
    min-height: 0;
    height: 510px;
    border-radius: 200px 200px 26px 26px;
  }

  .ts-refreshed .ts-leader-content { padding: 12px 8px 24px; }
  .ts-refreshed .ts-leader-content blockquote { padding: 22px 20px 22px 55px; }

  .ts-refreshed .editorial-grid {
    width: calc(100% - 28px);
    margin-top: 55px;
    grid-template-columns: 1fr;
  }

  .ts-refreshed .editorial-card { min-height: 310px; }
  .ts-refreshed .editorial-icon { margin-bottom: 52px; }

  .premium-home > section:not(.hero) {
    width: calc(100% - 20px);
    margin: 16px auto;
    border-radius: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ts-refreshed *, .ts-refreshed *::before, .ts-refreshed *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hs-reveal { opacity: 1; transform: none; }
}

/* =========================================================
   NORI-INSPIRED 2026 REFRESH
   Original Takshshila content, colours, logo and photographs.
   ========================================================= */

/* Floating utility strip + rounded white navigation. */
.nori-header-shell {
  position: fixed;
  z-index: 60;
  top: 16px;
  left: 28px;
  right: 28px;
  width: min(1810px, calc(100% - 56px));
  margin-inline: auto;
  padding: 12px 18px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 34px;
  background:
    radial-gradient(circle at 72% -50%, rgba(245, 130, 32, .34), transparent 22rem),
    rgba(24, 29, 53, .82);
  color: #fff;
  box-shadow: 0 24px 70px rgba(12, 15, 35, .18);
  backdrop-filter: blur(16px);
  transition: padding .3s ease, background .3s ease, border-radius .3s ease;
}

.nori-header-top {
  min-height: 36px;
  padding: 0 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  transition: min-height .3s ease, max-height .3s ease, padding .3s ease, opacity .2s ease;
}

.nori-header-contact,
.nori-header-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nori-header-contact a,
.nori-header-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .86);
  transition: color .2s ease;
}

.nori-header-contact a:hover,
.nori-header-meta a:hover { color: #ffb97d; }
.nori-header-contact svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nori-header-meta > span { color: rgba(255, 255, 255, .66); letter-spacing: .04em; }

.nori-header-shell .site-header,
.nori-header-shell .site-header.scrolled {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  height: 90px;
  padding: 0 22px 0 18px;
  gap: 22px;
  overflow: visible;
  border: 1px solid rgba(32, 37, 64, .07);
  border-radius: 999px;
  background: rgba(255, 255, 255, .98);
  color: #202540;
  box-shadow: 0 18px 48px rgba(17, 21, 45, .13);
}

.nori-header-shell.is-scrolled {
  top: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(24, 29, 53, .72);
}

.nori-header-shell.is-scrolled .nori-header-top {
  max-height: 0;
  min-height: 0;
  padding: 0;
  opacity: 0;
}

.nori-header-shell.is-scrolled .site-header { height: 78px; }
.nori-header-shell .brand { min-width: 300px; color: #202540; }
.nori-header-shell .brand img { width: 64px; height: 64px; border: 0; background: #fff; box-shadow: 0 8px 24px rgba(32, 37, 64, .12); }
.nori-header-shell .brand b { color: #202540; font-size: 16px; letter-spacing: -.02em; }
.nori-header-shell .desktop-nav { gap: clamp(16px, 1.6vw, 30px); }
.nori-header-shell .desktop-nav > a,
.nori-header-shell .desktop-menu-trigger { color: #30354f; font-size: 12px; font-weight: 750; letter-spacing: .02em; }
.nori-header-shell .desktop-nav a::after { bottom: -10px; height: 3px; border-radius: 4px; background: #f58220; }
.nori-header-shell .desktop-nav a:hover { color: #f06f00; }

.nori-header-shell .icon-btn {
  width: 42px;
  height: 42px;
  border-color: rgba(32, 37, 64, .12);
  background: #f6f7fb;
  color: #202540;
}

.nori-header-shell .icon-btn:hover { border-color: #f58220; background: #f58220; color: #fff; }
.nori-header-shell .nori-header-cta {
  min-height: 48px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;
  border: 1px solid rgba(32, 37, 64, .12);
  border-radius: 999px;
  background: #fff;
  color: #202540;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.nori-header-shell .nori-header-cta:hover { border-color: #f58220; background: #f58220; color: #fff; transform: translateY(-2px); }
.nori-header-shell .desktop-submenu { border-color: rgba(255, 255, 255, .1); border-radius: 18px; }

/* Nori-style section headings: navy display type + orange pill emphasis. */
.ts-refreshed :is(.premium-heading, .refresh-heading, .ts-message-title, .section-head) {
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}

.ts-refreshed :is(.premium-heading, .refresh-heading, .ts-message-title, .section-head) .refresh-kicker,
.ts-refreshed :is(.premium-heading, .refresh-heading, .ts-message-title, .section-head) .label {
  margin-inline: auto;
}

.ts-refreshed :is(.premium-heading, .refresh-heading, .ts-message-title, .section-head) h2,
.ts-refreshed .updates-heading {
  color: #171b38;
  font-family: "HiStudy Euclid", "Outfit", sans-serif;
  font-size: clamp(42px, 5.5vw, 78px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1.02;
}

.ts-refreshed h2 em {
  display: inline-block;
  padding: .02em .22em .09em;
  border-radius: 34% 58% 38% 55% / 42% 38% 62% 48%;
  background: #f05a3c;
  color: #fff;
  font-style: normal;
  line-height: .94;
  transform: rotate(-1.4deg);
  box-shadow: 0 12px 30px rgba(240, 90, 60, .17);
}

.ts-refreshed :is(.premium-heading, .refresh-heading, .ts-message-title, .section-head) p,
.ts-refreshed .section-subtitle {
  margin-inline: auto;
  color: #71809a;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.75;
  text-align: center;
}

.ts-refreshed :is(.refresh-kicker, .label) {
  border: 0;
  background: #fff0e8;
  color: #e64e31;
  box-shadow: none;
}

.ts-refreshed :is(.refresh-kicker, .label)::before {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #f05a3c;
  box-shadow: none;
  transform: rotate(45deg);
}

/* Nori reference-inspired admission enquiry. */
.ts-refreshed .nori-enquiry {
  position: relative;
  isolation: isolate;
  padding: clamp(82px, 8vw, 130px) max(24px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(46px, 6vw, 90px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 12%, rgba(245, 130, 32, .14), transparent 23rem),
    radial-gradient(circle at 96% 92%, rgba(32, 37, 64, .08), transparent 24rem),
    #fff;
  color: #171b38;
}

.ts-refreshed .nori-enquiry::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 60px;
  right: 45%;
  width: 150px;
  height: 85px;
  border-top: 4px solid #202540;
  border-radius: 50%;
  opacity: .1;
  transform: rotate(20deg);
}

.ts-refreshed .nori-enquiry-copy .label { margin-bottom: 24px; }
.ts-refreshed .nori-enquiry-copy h2 {
  margin: 0;
  color: #171b38;
  font-family: "HiStudy Euclid", "Outfit", sans-serif;
  font-size: clamp(46px, 5.3vw, 76px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1.03;
}

.ts-refreshed .nori-enquiry-copy > p { max-width: 680px; margin: 24px 0 36px; color: #71809a; font-size: 18px; line-height: 1.75; }
.ts-refreshed .nori-contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 30px; }
.ts-refreshed .nori-contact-item { display: flex; align-items: flex-start; gap: 15px; color: #171b38; }
.ts-refreshed .nori-location-item { grid-column: 1 / -1; max-width: 520px; }
.ts-refreshed .nori-contact-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  border: 1px solid rgba(32, 37, 64, .11);
  border-radius: 18px;
  background: #fff;
  color: #202540;
  box-shadow: 0 12px 30px rgba(32, 37, 64, .08);
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.ts-refreshed .nori-contact-item:hover .nori-contact-icon { border-color: #f05a3c; background: #f05a3c; color: #fff; transform: translateY(-3px) rotate(-3deg); }
.ts-refreshed .nori-contact-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ts-refreshed .nori-contact-item > span:last-child { min-width: 0; display: grid; gap: 3px; }
.ts-refreshed .nori-contact-item strong { color: #171b38; font-size: 16px; }
.ts-refreshed .nori-contact-item small { color: #71809a; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }

.ts-refreshed .nori-enquiry-form {
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(32, 37, 64, .08);
  border-radius: 34px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 28px 80px rgba(32, 37, 64, .12);
}

.ts-refreshed .nori-enquiry-form .form-grid { gap: 26px 34px; }
.ts-refreshed .nori-enquiry-form label { color: #777; font-size: 15px; font-weight: 500; }
.ts-refreshed .nori-enquiry-form label > span:first-child { display: block; }
.ts-refreshed .nori-enquiry-form :is(input, select, textarea) {
  width: 100%;
  margin: 4px 0 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 2px solid #e7e7ea;
  border-radius: 0;
  background: transparent;
  color: #202540;
  outline: 0;
  transition: border-color .25s ease;
}

.ts-refreshed .nori-enquiry-form :is(input, select, textarea):focus { border-color: #f05a3c; }
.ts-refreshed .nori-enquiry-form textarea { min-height: 116px; resize: vertical; }
.ts-refreshed .nori-enquiry-form .consent { margin: 28px 0 22px; align-items: center; color: #777; }
.ts-refreshed .nori-enquiry-form .consent input { width: 22px; height: 22px; margin: 0; accent-color: #f05a3c; }

.ts-refreshed .nori-submit {
  width: 100%;
  min-height: 66px;
  padding: 0 18px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 999px;
  background: #f05a3c;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(240, 90, 60, .24);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.ts-refreshed .nori-submit span:last-child { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .18); font-size: 20px; }
.ts-refreshed .nori-submit:hover { background: #202540; transform: translateY(-3px); box-shadow: 0 20px 42px rgba(32, 37, 64, .23); }

@media (max-width: 1320px) {
  .nori-header-shell .brand { min-width: 245px; }
  .nori-header-shell .brand b { font-size: 13px; }
  .nori-header-shell .desktop-nav { gap: 15px; }
  .nori-header-shell .nori-header-cta { padding-inline: 15px; }
  .nori-header-shell .search-btn { display: none; }
}

@media (max-width: 1050px) {
  .nori-header-shell { left: 14px; right: 14px; width: calc(100% - 28px); }
  .nori-header-shell .desktop-nav { display: none; }
  .nori-header-shell .brand { min-width: 0; flex: 1; }
  .ts-refreshed .nori-enquiry { grid-template-columns: 1fr; }
  .ts-refreshed .nori-enquiry-copy { text-align: center; }
  .ts-refreshed .nori-enquiry-copy .label { margin-inline: auto; }
  .ts-refreshed .nori-enquiry-copy > p { margin-inline: auto; }
  .ts-refreshed .nori-contact-list { width: min(680px, 100%); margin-inline: auto; text-align: left; }
}

@media (max-width: 700px) {
  .nori-header-shell,
  .nori-header-shell.is-scrolled {
    top: 8px;
    left: 8px;
    right: 8px;
    width: calc(100% - 16px);
    padding: 6px;
    border-radius: 30px;
  }
  .nori-header-top { min-height: 31px; padding: 0 10px 6px; font-size: 9px; }
  .nori-header-contact { width: 100%; justify-content: space-between; gap: 10px; }
  .nori-header-contact a { gap: 5px; }
  .nori-header-contact svg { width: 13px; height: 13px; }
  .nori-header-meta { display: none; }
  .nori-header-shell.is-scrolled .nori-header-top { display: none; }
  .nori-header-shell .site-header,
  .nori-header-shell .site-header.scrolled,
  .nori-header-shell.is-scrolled .site-header {
    inset: auto;
    width: 100%;
    max-width: none;
    height: 68px;
    padding: 0 10px;
    gap: 7px;
    border-radius: 999px;
  }
  .nori-header-shell .brand { gap: 7px; }
  .nori-header-shell .brand img { width: 48px; height: 48px; }
  .nori-header-shell .brand b { max-width: 112px; font-size: 10px; line-height: 1.15; white-space: normal; }
  .nori-header-shell .nori-header-cta { min-height: 39px; padding: 0 11px; font-size: 9px; }
  .nori-header-shell .nori-header-cta span { display: none; }
  .nori-header-shell .header-icons { gap: 4px; }
  .nori-header-shell .login-btn { display: none; }
  .nori-header-shell .menu-btn { width: 40px; height: 40px; flex-basis: 40px; }
  .ts-refreshed :is(.premium-heading, .refresh-heading, .ts-message-title, .section-head) h2,
  .ts-refreshed .updates-heading { font-size: clamp(38px, 11.5vw, 54px); }
  .ts-refreshed .nori-enquiry { padding: 72px 18px; gap: 38px; }
  .ts-refreshed .nori-enquiry-copy h2 { font-size: clamp(42px, 12vw, 56px); }
  .ts-refreshed .nori-enquiry-copy > p { font-size: 16px; }
  .ts-refreshed .nori-contact-list { grid-template-columns: 1fr; gap: 18px; }
  .ts-refreshed .nori-location-item { grid-column: auto; }
  .ts-refreshed .nori-enquiry-form { padding: 26px 20px; border-radius: 24px; }
  .ts-refreshed .nori-enquiry-form .form-grid { display: grid; grid-template-columns: 1fr; gap: 21px; }
  .ts-refreshed .nori-enquiry-form .full { grid-column: auto; }
  .ts-refreshed .nori-submit { min-height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .nori-header-shell,
  .nori-header-shell *,
  .ts-refreshed .nori-enquiry * { transition: none !important; }
}

/* Homepage contact-hours preview, inspired by the school handbook layout. */
.ts-refreshed .contact-hours-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(245, 130, 32, .2), transparent 19rem),
    radial-gradient(circle at 95% 85%, rgba(32, 37, 64, .12), transparent 23rem),
    #fff8f1;
}

.ts-refreshed .contact-hours-preview::before,
.ts-refreshed .contact-hours-preview::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(245, 130, 32, .2);
  border-radius: 48% 52% 64% 36%;
  transform: rotate(22deg);
}

.ts-refreshed .contact-hours-preview::before { top: -84px; left: 5%; }
.ts-refreshed .contact-hours-preview::after { right: 7%; bottom: -110px; transform: rotate(58deg); }

.ts-refreshed .contact-hours-preview .refresh-heading {
  margin-inline: auto;
  text-align: center;
}

.ts-refreshed .contact-hours-preview .refresh-heading p { margin-inline: auto; }

.ts-refreshed .hours-notice {
  width: min(1160px, 100%);
  margin: 0 auto 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto minmax(180px, .7fr) 2fr;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 24px;
  background: linear-gradient(135deg, #171b33, #202540 60%, #343a63);
  color: #fff;
  box-shadow: 0 24px 60px rgba(32, 37, 64, .18);
}

.ts-refreshed .hours-notice-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--hs-orange);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(245, 130, 32, .28);
}

.ts-refreshed .hours-notice > div { display: grid; gap: 5px; }
.ts-refreshed .hours-notice > div strong { font-size: 18px; }
.ts-refreshed .hours-notice > div span { color: #ffc493; font-size: 13px; }

.ts-refreshed .hours-notice ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none;
}

.ts-refreshed .hours-notice li {
  min-height: 74px;
  padding: 13px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
}

.ts-refreshed .hours-notice li b { color: #fff; font-size: 13px; }
.ts-refreshed .hours-notice li span { color: rgba(255, 255, 255, .62); font-size: 11px; }

.ts-refreshed .contact-hours-grid {
  width: min(1160px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ts-refreshed .contact-hour-card {
  position: relative;
  min-height: 290px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(32, 37, 64, .09);
  border-radius: 26px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 20px 50px rgba(32, 37, 64, .08);
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.ts-refreshed .contact-hour-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 130, 32, .35);
  box-shadow: 0 28px 65px rgba(32, 37, 64, .14);
}

.ts-refreshed .contact-hour-card.is-featured {
  background: linear-gradient(145deg, #fff, #fff3e8);
}

.ts-refreshed .contact-hour-card-wide { grid-column: 1 / -1; min-height: 240px; }

.ts-refreshed .contact-role {
  color: var(--hs-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.ts-refreshed .contact-hour-card h3 {
  margin: 18px 0 4px;
  color: var(--hs-navy);
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.04em;
}

.ts-refreshed .contact-hour-card > p { margin: 0 0 28px; color: #7a5b47; }
.ts-refreshed .contact-hour-card dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ts-refreshed .contact-hour-card dl div { padding: 16px; border-radius: 15px; background: #f6f7fb; }
.ts-refreshed .contact-hour-card dt { margin-bottom: 5px; color: #777c90; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ts-refreshed .contact-hour-card dd { margin: 0; color: var(--hs-navy); font-size: 14px; font-weight: 800; }

/* Five-image mosaic: the former copy tile is replaced by a full-height photo. */
.ts-refreshed #gallery .mosaic {
  grid-template-columns: 1fr 1fr 1.32fr 1fr;
  min-height: 520px;
}

/* Ten-video continuous carousel moving from right to left. */
.ts-refreshed #videos {
  overflow: hidden;
  background:
    linear-gradient(rgba(32, 37, 64, .96), rgba(32, 37, 64, .96)),
    url("assets/images/hero.jpg") center / cover;
  color: #fff;
}

.ts-refreshed #videos .refresh-heading { margin-inline: auto; text-align: center; }
.ts-refreshed #videos .refresh-heading :where(h2, p) { color: #fff; }
.ts-refreshed #videos .refresh-heading p { margin-inline: auto; color: rgba(255, 255, 255, .7); }
.ts-refreshed #videos .refresh-kicker { border-color: rgba(255, 255, 255, .22); color: #fff; }

.ts-refreshed .video-marquee {
  --video-gap: 22px;
  --video-half-gap: 11px;
  width: calc(100vw - 1px);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 12px 0 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.ts-refreshed .video-marquee-track {
  width: max-content;
  display: flex;
  gap: var(--video-gap);
  padding-left: var(--video-gap);
  animation: video-marquee-left 52s linear infinite;
  will-change: transform;
}

.ts-refreshed .video-marquee:hover .video-marquee-track,
.ts-refreshed .video-marquee:focus-within .video-marquee-track,
.ts-refreshed .video-marquee.is-paused .video-marquee-track { animation-play-state: paused; }

.ts-refreshed .video-marquee-card {
  position: relative;
  width: clamp(270px, 28vw, 420px);
  aspect-ratio: 16 / 10;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px;
  background: #13172a;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .22);
  transition: transform .3s ease, border-color .3s ease;
}

.ts-refreshed .video-marquee-card:hover { transform: translateY(-8px); border-color: rgba(245, 130, 32, .8); }
.ts-refreshed .video-marquee-card img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: .82; transition: transform .65s ease, opacity .3s ease; }
.ts-refreshed .video-marquee-card:hover img { transform: scale(1.07); opacity: .65; }

.ts-refreshed .video-card-number {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(20, 23, 42, .72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  backdrop-filter: blur(8px);
}

.ts-refreshed .video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: rgba(245, 130, 32, .94);
  box-shadow: 0 14px 34px rgba(245, 130, 32, .32);
  transform: translate(-50%, -50%);
}

.ts-refreshed .video-card-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 62px 20px 20px;
  background: linear-gradient(transparent, rgba(12, 15, 29, .94));
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-align: left;
}

.ts-refreshed #videos .motion-toggle { border-color: rgba(255, 255, 255, .28); color: #fff; }
.ts-refreshed #videos .premium-button { background: var(--hs-orange); box-shadow: 0 14px 28px rgba(245, 130, 32, .25); }

@keyframes video-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - var(--video-half-gap))); }
}

@media (max-width: 900px) {
  .ts-refreshed .hours-notice { grid-template-columns: auto 1fr; }
  .ts-refreshed .hours-notice ul { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .ts-refreshed .hours-notice { padding: 18px; border-radius: 20px; }
  .ts-refreshed .contact-hours-grid { grid-template-columns: 1fr; gap: 16px; }
  .ts-refreshed .contact-hour-card,
  .ts-refreshed .contact-hour-card-wide { grid-column: auto; min-height: 0; padding: 24px; border-radius: 20px; }
  .ts-refreshed .contact-hour-card dl { grid-template-columns: 1fr; }
  .ts-refreshed #gallery .mosaic { grid-template-columns: 1fr 1fr; min-height: 0; }
  .ts-refreshed .video-marquee { --video-gap: 14px; --video-half-gap: 7px; }
  .ts-refreshed .video-marquee-card { width: min(82vw, 330px); border-radius: 18px; }
}

@media (max-width: 480px) {
  .ts-refreshed .hours-notice { grid-template-columns: 1fr; }
  .ts-refreshed .hours-notice-icon { width: 46px; height: 46px; }
  .ts-refreshed .hours-notice ul { grid-column: auto; grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ts-refreshed .video-marquee-track { animation: none; }
}

/* Standalone blog, contact, careers and events use the same visual language. */
.ts-refreshed .blog-page-banner,
.ts-refreshed .contact-hero,
.ts-refreshed .career-hero,
.ts-refreshed .event-modern-hero {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  padding: 165px 24px 75px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0 0 52px 52px;
  background:
    radial-gradient(circle at 78% 18%, rgba(245, 130, 32, .44), transparent 16rem),
    radial-gradient(circle at 17% 85%, rgba(110, 122, 255, .18), transparent 20rem),
    linear-gradient(135deg, #15192f, #202540 58%, #303556);
  color: #fff;
  text-align: center;
}

.ts-refreshed .blog-page-banner::after,
.ts-refreshed .contact-hero::after,
.ts-refreshed .career-hero::after,
.ts-refreshed .event-modern-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  opacity: .17;
  background-image: radial-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(95deg, transparent, #000 45%, transparent 90%);
  mask-image: linear-gradient(95deg, transparent, #000 45%, transparent 90%);
}

.ts-refreshed :where(.blog-page-banner, .contact-hero, .career-hero, .event-modern-hero) h1 {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(48px, 6vw, 82px);
  letter-spacing: -.06em;
  line-height: 1;
}

.ts-refreshed :where(.blog-page-banner, .contact-hero, .career-hero, .event-modern-hero) p {
  color: rgba(255, 255, 255, .75);
  font-size: 17px;
}

.ts-refreshed :where(.blog-page-banner, .contact-hero, .career-hero, .event-modern-hero) span,
.ts-refreshed .event-modern-head .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #ffc18b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
}

.ts-refreshed .blog-single-layout {
  width: min(1260px, calc(100% - 36px));
  padding: 80px 0 100px;
  gap: 34px;
}

.ts-refreshed .blog-post,
.ts-refreshed .sidebar-box,
.ts-refreshed .career-card,
.ts-refreshed .contact-info-card,
.ts-refreshed .contact-card,
.ts-refreshed .event-modern-card {
  border: 1px solid rgba(32, 37, 64, .08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(32, 37, 64, .08);
}

.ts-refreshed .blog-post { padding: 36px; }

.ts-refreshed .blog-post-title {
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.06;
}

.ts-refreshed .blog-featured-image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(32, 37, 64, .15);
}

.ts-refreshed .blog-featured-image img { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.ts-refreshed .blog-featured-image:hover img { transform: scale(1.04); }

.ts-refreshed .blog-meta {
  padding: 15px 18px;
  border-radius: 16px;
  background: var(--hs-orange-soft);
}

.ts-refreshed .blog-post-content p {
  color: #555b70;
  font-size: 17px;
  line-height: 1.95;
}

.ts-refreshed .sidebar-box { border-radius: 20px; }
.ts-refreshed .blog-sidebar { top: 120px; }

.ts-refreshed .contact-section,
.ts-refreshed .career-section,
.ts-refreshed .event-modern-section {
  padding-top: 80px;
  background:
    radial-gradient(circle at 8% 15%, rgba(245, 130, 32, .08), transparent 21rem),
    var(--hs-canvas);
}

.ts-refreshed .contact-info-grid { gap: 24px; }

.ts-refreshed .contact-info-card {
  padding: 30px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.ts-refreshed .contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hs-shadow-hover);
}

.ts-refreshed .contact-info-icon {
  border-radius: 16px;
  background: linear-gradient(145deg, var(--hs-navy), #3b416d);
  box-shadow: 0 12px 24px rgba(32, 37, 64, .2);
}

.ts-refreshed .contact-card,
.ts-refreshed .career-card {
  padding: clamp(28px, 4vw, 54px);
  border-radius: 30px;
}

.ts-refreshed :where(.contact-field, .career-field) input,
.ts-refreshed :where(.contact-field, .career-field) select,
.ts-refreshed :where(.contact-field, .career-field) textarea {
  min-height: 54px;
  border: 1px solid rgba(32, 37, 64, .12);
  border-radius: 13px;
  background: #f8f9fc;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.ts-refreshed :where(.contact-field, .career-field) input:focus,
.ts-refreshed :where(.contact-field, .career-field) select:focus,
.ts-refreshed :where(.contact-field, .career-field) textarea:focus {
  border-color: var(--hs-orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245, 130, 32, .12);
  outline: 0;
}

.ts-refreshed .event-modern-head {
  align-items: center;
  margin-bottom: 38px;
}

.ts-refreshed .event-modern-head h2 {
  color: var(--hs-navy);
  font-size: clamp(38px, 4.6vw, 62px);
  letter-spacing: -.05em;
}

.ts-refreshed .event-modern-grid { gap: 24px; }

.ts-refreshed .event-modern-card {
  min-height: 184px;
  border-radius: 24px;
  transition: transform .32s ease, box-shadow .32s ease;
}

.ts-refreshed .event-modern-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--hs-shadow-hover);
}

.ts-refreshed .event-modern-date {
  min-height: 184px;
  border-radius: 0 20px 20px 0;
  background: linear-gradient(155deg, var(--hs-navy), #3a406c);
}

.ts-refreshed .event-modern-action {
  border-color: rgba(245, 130, 32, .35);
  background: var(--hs-orange-soft);
  color: var(--hs-navy);
}

@media (max-width: 760px) {
  .ts-refreshed .blog-page-banner,
  .ts-refreshed .contact-hero,
  .ts-refreshed .career-hero,
  .ts-refreshed .event-modern-hero {
    min-height: 390px;
    padding: 130px 18px 60px;
    border-radius: 0 0 32px 32px;
  }
  .ts-refreshed .blog-single-layout { width: calc(100% - 24px); padding: 55px 0 75px; }
  .ts-refreshed .blog-post { padding: 20px; }
  .ts-refreshed .contact-info-grid,
  .ts-refreshed .contact-main-grid,
  .ts-refreshed .event-modern-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ts-refreshed *, .ts-refreshed *::before, .ts-refreshed *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hs-reveal { opacity: 1; transform: none; }
}

/* Final dark-section contrast override for the Nori heading system. */
.ts-refreshed .amenities-showcase .refresh-heading h2,
.ts-refreshed .amenities-showcase .refresh-heading p,
.ts-refreshed #videos .refresh-heading h2,
.ts-refreshed #videos .refresh-heading p {
  color: #fff;
}

.ts-refreshed .amenities-showcase .refresh-kicker,
.ts-refreshed #videos .refresh-kicker {
  background: rgba(255, 255, 255, .1);
  color: #ffbd88;
}

/* =========================================================
   SCREENSHOT-ACCURATE HOMEPAGE REFINEMENT
   ========================================================= */

/* Warm neutral section canvas with the rounded ending used in reference 4. */
.ts-refreshed.premium-home {
  background: #fff;
}

.ts-refreshed.premium-home > section:not(.hero) {
  margin-bottom: 28px;
  border-radius: 0 0 72px 72px;
  background: #f4f3f0 !important;
  color: #171b38;
  box-shadow: 0 20px 60px rgba(32, 37, 64, .035);
}

.ts-refreshed.premium-home :is(.amenities-showcase, #videos) .refresh-heading h2 {
  color: #171b38;
}

.ts-refreshed.premium-home :is(.amenities-showcase, #videos) .refresh-heading p {
  color: #71809a;
}

.ts-refreshed.premium-home :is(.amenities-showcase, #videos) .refresh-kicker {
  background: #fff0e8;
  color: #e64e31;
}

/* SGT-inspired editorial gallery: one hero, one story card and three supporting images. */
.ts-refreshed #gallery .mosaic.sgt-gallery-grid {
  width: min(1500px, 100%);
  min-height: 0;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 300px 300px;
  gap: 22px;
}

.ts-refreshed #gallery .sgt-gallery-grid .mosaic-tile {
  width: auto;
  height: auto;
  min-height: 0;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(32, 37, 64, .11);
}

.ts-refreshed #gallery .sgt-gallery-grid .first {
  grid-column: 1 / 7;
  grid-row: 1 / 3;
}

.ts-refreshed #gallery .gallery-story-card {
  grid-column: 7 / 10;
  grid-row: 1;
  padding: clamp(26px, 3vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, .12), transparent 12rem),
    #20539f;
  color: #fff;
  box-shadow: 0 18px 45px rgba(32, 83, 159, .18);
}

.ts-refreshed #gallery .gallery-story-card > span {
  color: #bcd4ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.ts-refreshed #gallery .gallery-story-card h3 {
  margin: 8px 0;
  color: #fff;
  font-size: clamp(40px, 4vw, 62px);
  line-height: .94;
  letter-spacing: -.055em;
}

.ts-refreshed #gallery .gallery-story-card a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.ts-refreshed #gallery .gallery-story-card i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #3386ff;
  color: #fff;
  font-size: 24px;
  font-style: normal;
  transition: transform .25s ease, background .25s ease;
}

.ts-refreshed #gallery .gallery-story-card a:hover i {
  background: #f58220;
  transform: translateX(4px);
}

.ts-refreshed #gallery .sgt-gallery-grid .second {
  grid-column: 7 / 10;
  grid-row: 2;
}

.ts-refreshed #gallery .sgt-gallery-grid .third {
  grid-column: 10 / 13;
  grid-row: 1;
}

.ts-refreshed #gallery .sgt-gallery-grid .fourth {
  grid-column: 10 / 13;
  grid-row: 2;
}

/* Compact, proportional leadership composition. */
.ts-refreshed .ts-message-inner {
  width: min(1160px, 100%);
}

.ts-refreshed.premium-home .ts-message-title {
  display: block;
  max-width: 900px;
  margin: 0 auto 28px;
  text-align: center;
}

.ts-refreshed.premium-home .ts-message-title h2 {
  margin: 24px auto 16px;
}

.ts-refreshed.premium-home .ts-message-title > span:last-child {
  display: none;
}

.ts-refreshed .ts-message-tabs {
  display: flex;
  width: fit-content;
  margin: 10px auto 34px;
}

.ts-refreshed .ts-message-panel:not([hidden]) {
  width: min(1060px, 100%);
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(260px, 350px) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  border: 1px solid rgba(32, 37, 64, .08);
  border-radius: 36px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 24px 70px rgba(32, 37, 64, .09);
}

.ts-refreshed .ts-message-photo {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 420px;
  margin: 0;
  padding: 16px 16px 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: linear-gradient(155deg, #e8ebf4, #fff0e3 68%, #ffd9b8);
  box-shadow: none;
}

.ts-refreshed .ts-message-photo img,
.ts-refreshed .ts-message-photo img[src$="principal.png"],
.ts-refreshed .ts-message-photo img[src$="director.png"] {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}

.ts-refreshed .ts-message-copy {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 26px;
  box-shadow: none;
}

.ts-refreshed .ts-message-copy .ts-message-quote {
  font-size: clamp(25px, 2.7vw, 39px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.ts-refreshed .ts-message-footer strong {
  display: grid;
  gap: 2px;
}

.ts-refreshed .ts-message-footer strong span {
  color: #171b38;
  font-size: 17px;
}

.ts-refreshed .ts-message-footer strong small {
  color: #f06f00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Keep the dedicated leadership pages proportional too. */
.ts-refreshed .ts-leader-grid {
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  align-items: center;
}

.ts-refreshed .ts-leader-image {
  width: 100%;
  height: 480px;
  min-height: 0;
  border-radius: 34px;
}

.ts-refreshed .ts-leader-image img,
.ts-refreshed .ts-leader-image img[src$="principal.png"],
.ts-refreshed .ts-leader-image img[src$="director.png"] {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
}

/* Larger cinematic video cards while retaining the existing marquee motion. */
.ts-refreshed .video-marquee-card {
  width: clamp(390px, 36vw, 560px);
  aspect-ratio: 16 / 9;
  border-radius: 28px;
}

.ts-refreshed .video-card-play {
  width: 76px;
  height: 76px;
  font-size: 25px;
}

.ts-refreshed .video-card-caption {
  padding: 72px 26px 24px;
  font-size: 20px;
}

.ts-refreshed.premium-home #videos .motion-toggle {
  border-color: rgba(32, 37, 64, .18);
  color: #202540;
}

@media (max-width: 900px) {
  .ts-refreshed.premium-home > section:not(.hero) {
    margin-bottom: 18px;
    border-radius: 0 0 46px 46px;
  }
  .ts-refreshed #gallery .mosaic.sgt-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 330px 230px 230px;
    gap: 14px;
  }
  .ts-refreshed #gallery .sgt-gallery-grid .first { grid-column: 1 / -1; grid-row: 1; }
  .ts-refreshed #gallery .gallery-story-card { grid-column: 1; grid-row: 2; padding: 24px; }
  .ts-refreshed #gallery .sgt-gallery-grid .second { grid-column: 2; grid-row: 2; }
  .ts-refreshed #gallery .sgt-gallery-grid .third { grid-column: 1; grid-row: 3; }
  .ts-refreshed #gallery .sgt-gallery-grid .fourth { grid-column: 2; grid-row: 3; }
  .ts-refreshed .ts-message-panel:not([hidden]) { grid-template-columns: minmax(230px, 300px) minmax(0, 1fr); gap: 22px; padding: 22px; }
  .ts-refreshed .ts-message-photo { height: 370px; }
}

@media (max-width: 700px) {
  .ts-refreshed.premium-home > section:not(.hero) { border-radius: 0 0 34px 34px; }
  .ts-refreshed #gallery .mosaic.sgt-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 340px 230px repeat(3, 230px);
    gap: 12px;
  }
  .ts-refreshed #gallery .sgt-gallery-grid .first { grid-column: 1; grid-row: 1; }
  .ts-refreshed #gallery .gallery-story-card { grid-column: 1; grid-row: 2; }
  .ts-refreshed #gallery .sgt-gallery-grid .second { grid-column: 1; grid-row: 3; }
  .ts-refreshed #gallery .sgt-gallery-grid .third { grid-column: 1; grid-row: 4; }
  .ts-refreshed #gallery .sgt-gallery-grid .fourth { grid-column: 1; grid-row: 5; }
  .ts-refreshed #gallery .sgt-gallery-grid .mosaic-tile,
  .ts-refreshed #gallery .gallery-story-card { border-radius: 20px; }
  .ts-refreshed .ts-message-panel:not([hidden]) { grid-template-columns: 1fr; padding: 18px; border-radius: 26px; }
  .ts-refreshed .ts-message-photo { grid-column: 1; grid-row: 1; width: min(290px, 100%); height: 340px; margin-inline: auto; border-radius: 22px; }
  .ts-refreshed .ts-message-copy { grid-column: 1; grid-row: 2; padding: 26px 20px; }
  .ts-refreshed .ts-message-copy .ts-message-quote { font-size: 27px; }
  .ts-refreshed .ts-message-footer { flex-direction: column; align-items: flex-start; }
  .ts-refreshed .ts-leader-grid { grid-template-columns: 1fr; padding: 20px; }
  .ts-refreshed .ts-leader-image { width: min(310px, 100%); height: 400px; margin-inline: auto; }
  .ts-refreshed .video-marquee-card { width: min(88vw, 430px); border-radius: 22px; }
  .ts-refreshed .video-card-play { width: 64px; height: 64px; }
  .ts-refreshed .video-card-caption { padding: 58px 20px 19px; font-size: 17px; }
}

/* Final shared priority: simple label with continuously beeping green dot. */
.ts-refreshed :is(.refresh-kicker,.label){display:inline-flex!important;align-items:center!important;gap:13px!important;padding:11px 18px!important;border:0!important;border-radius:999px!important;background:rgba(15,126,96,.06)!important;color:#17192f!important;box-shadow:none!important}
.ts-refreshed :is(.refresh-kicker,.label)::before{content:""!important;display:block!important;width:11px!important;height:11px!important;flex:0 0 11px!important;border-radius:50%!important;background:#15936f!important;animation:ts-live-pulse 1.55s ease-out infinite!important}
.ts-refreshed :is(.refresh-kicker,.label)::after{display:none!important;content:none!important}
