@charset "UTF-8";

:root {
  --pol-navy: #0e1e3e;
  --pol-ink: #14274b;
  --pol-mid: #425277;
  --pol-gold: #d3a55f;
  --pol-gold-soft: #ebc985;
  --pol-ice: #eef4ff;
  --pol-mist: #f8fbff;
  --pol-white: #ffffff;
  --pol-shadow: 0 28px 70px rgba(14, 30, 62, 0.16);
  --pol-shadow-sm: 0 12px 30px rgba(14, 30, 62, 0.1);
  --pol-r-xl: 28px;
  --pol-r-lg: 20px;
  --pol-r-md: 14px;
}

.polaris-main {
  background: radial-gradient(circle at 15% 18%, rgba(211, 165, 95, 0.08) 0%, transparent 48%),
              radial-gradient(circle at 86% 72%, rgba(32, 63, 120, 0.09) 0%, transparent 45%),
              var(--pol-mist);
  overflow-x: hidden;
}

.on-scroll {
  opacity: 0;
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1), filter .8s ease;
}
.on-scroll.fade-up { transform: translateY(42px); }
.on-scroll.fade-right { transform: translateX(48px); }
.on-scroll.fade-left { transform: translateX(-48px); }
.on-scroll.blur-in { transform: translateY(28px); filter: blur(6px); }
.on-scroll.in-view { opacity: 1 !important; transform: none !important; filter: none !important; }

@media (prefers-reduced-motion: reduce) {
  .on-scroll {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

.pol-section {
  padding: 96px 0;
  position: relative;
}

.pol-kicker {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--pol-gold);
  margin-bottom: 10px;
}

.pol-section-head {
  max-width: 980px;
  margin: 0 auto 36px;
  text-align: center;
}

.pol-section-head h3,
.pol-intro-heading h2,
.pol-principal-message h3,
.pol-academics-copy h3,
.pol-location-info h3 {
  margin: 0;
  color: var(--pol-navy);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: none;
}

.pol-section-head h3 {
  font-size: clamp(1.85rem, 3.5vw, 3.1rem);
}

/* Highlights banner (Values That Shape Every Learner) - copied from global homepage styles */
.highlights-banner {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  background: linear-gradient(180deg, rgba(18,36,66,0.86) 0%, rgba(22,40,70,0.94) 100%);
  color: var(--pol-white);
  z-index: 2;
}

.highlights-banner .section-header {
  color: var(--pol-white);
  margin-top: 2rem;
}

.highlights-banner .section-header h3 {
  margin: 0 auto;
  color: rgba(255,255,255,0.94);
  max-width: none;
}

.highlights-banner .section-header .h-sub {
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.24em;
}

/* Ensure the banner header is visible even if scroll-reveal hasn't toggled classes */
.highlights-banner .section-header.on-scroll .h-sub,
.highlights-banner .section-header.on-scroll h3,
.highlights-banner .section-header.on-scroll p {
  opacity: 1 !important;
  transform: none !important;
}

.highlights-track-wrap {
  position: relative;
  margin: 6rem auto 0;
  max-width: 1180px;
  overflow-y: visible;
}

.highlight-slider {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  overflow: visible !important;
}

.highlight-slider.slick-slider .slick-list,
.highlight-slider.slick-slider .slick-track,
.highlight-slider.slick-slider .slick-slide,
.highlight-slider.slick-slider {
  overflow: visible !important;
}

.highlight-slider .slick-list { margin: 0; }
.highlight-slider .slick-slide { padding: 0 12px; }

.highlight-card {
  position: relative;
  min-height: 340px;
  border-radius: 32px;
  padding: 4.6rem 1.8rem 2rem;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: 0 36px 90px rgba(8, 20, 50, 0.16);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
}

.highlight-card .feature-icon {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
}

.highlight-slider .highlight-card { margin: 0 14px; overflow: visible; }

.highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.34);
  box-shadow: 0 42px 110px rgba(8, 20, 50, 0.22);
}

.highlight-card .feature-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(211,165,95,0.96), rgba(255,255,255,0.22));
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 18px 36px rgba(15, 28, 54, 0.24);
}

.highlight-card .feature-icon i {
  color: var(--pol-navy);
  font-size: 1.5rem;
}

.highlight-card h5 {
  margin-top: 5rem;
  margin-bottom: 1rem;
  color: var(--pol-white);
  font-size: 1.38rem;
}

.highlight-card p {
  color: rgba(255,255,255,0.88);
  line-height: 1.9;
  margin: 0 auto;
  max-width: 26rem;
}

.highlight-slider .slick-list { overflow: visible !important; clip-path: inset(-100px 0px 0px 0px); margin: 0 -10px; }

/* Polaris Promise (static layout) */
.pol-promise-wrap .pol-promise-content {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
}
.pol-promise-wrap .pol-promise-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pol-promise-wrap .pol-promise-text li strong { display:block; font-size:1rem; color: var(--pol-navy); }
.pol-promise-wrap .pol-promise-text li p { margin:6px 0 0; color: var(--pol-ink); font-size:.95rem; }
.pol-promise-wrap .pol-promise-image { text-align:center; }
.pol-promise-wrap .pol-promise-image img { max-width:100%; border-radius:12px; box-shadow:0 20px 60px rgba(0,0,0,0.18); display:block; margin:0 auto; }

/* Feature cards: icon + heading inline */
.pol-feature-card .pol-feature-head { display:flex; align-items:center; gap:12px; }
.pol-feature-card .pol-feature-head i { font-size:1.25rem; color:var(--pol-gold-soft); }
.pol-feature-card .pol-feature-head h4 { margin:0; font-size:1.05rem; color:var(--pol-white); }

/* House image cards */
.pol-house-card img { width:100%; height:220px; object-fit:cover; border-radius:12px; margin-bottom:10px; display:block; }

/* Clubs panel */
.pol-clubs-panel .pol-club-switch { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.pol-club-switch button { background: transparent; border: 1px solid rgba(20,39,75,0.08); padding: 8px 12px; border-radius: 999px; cursor:pointer; font-weight:600; }
.pol-club-switch button.active { background: var(--pol-gold); color: var(--pol-navy); border-color: var(--pol-gold); }
.pol-club-feature { display:flex; gap:16px; align-items:center; }
.pol-club-feature img { width:240px; height:160px; object-fit:cover; border-radius:8px; flex:0 0 240px; }
.pol-club-feature div { flex:1; }

/* Events media accordion */
.pol-events-media { display:grid; grid-template-columns: 1fr 420px; gap:24px; align-items:start; }
.pol-event-timeline { list-style:none; padding:0; margin:0; }
.pol-event-timeline li { display:flex; gap:12px; padding:12px 0; align-items:flex-start; cursor:pointer; }
.pol-event-dot { width:12px; height:12px; background: var(--pol-gold); border-radius:50%; margin-top:6px; flex:0 0 16px; }
.pol-event-timeline li.active { background: rgba(255,255,255,0.02); }
.pol-event-media-preview { min-height:260px; border-radius:12px; overflow:hidden; display:flex; align-items:center; justify-content:center; background:#f4f8ff; }
.pol-event-media-preview img { width:100%; height:100%; object-fit:cover; display:block; }

/* Responsive adjustments */
@media (max-width: 980px) {
  .pol-promise-wrap .pol-promise-content,
  .pol-events-media { grid-template-columns: 1fr; }
  .pol-promise-wrap .pol-promise-text ul { grid-template-columns: 1fr; }
  .pol-club-feature { flex-direction:column; }
  .pol-club-feature img { width:100%; height:180px; flex:0 0 auto; }
  .pol-house-card img { height:180px; }
  .pol-promise-wrap .pol-promise-content { gap:20px; }
}

@media (max-width: 560px) {
  .pol-promise-wrap .pol-promise-text ul { gap:12px; }
  .pol-club-switch { gap:6px; }
  .pol-event-media-preview { min-height:180px; }
}


.pol-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.pol-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pol-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8, 16, 34, 0.87) 0%, rgba(14, 30, 62, 0.76) 45%, rgba(10, 19, 38, 0.9) 100%);
}

.pol-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pol-star {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
  animation: polTwinkle 5s ease-in-out infinite;
}

.pol-star.s1 { width: 3px; height: 3px; top: 18%; left: 13%; }
.pol-star.s2 { width: 2px; height: 2px; top: 26%; left: 25%; animation-delay: .8s; }
.pol-star.s3 { width: 4px; height: 4px; top: 14%; left: 37%; animation-delay: 1.6s; }
.pol-star.s4 { width: 3px; height: 3px; top: 61%; right: 15%; animation-delay: 1.3s; }
.pol-star.s5 { width: 2px; height: 2px; top: 32%; right: 30%; animation-delay: 2.2s; }
.pol-star.s6 { width: 5px; height: 5px; top: 76%; left: 46%; animation-delay: 2.8s; background: rgba(211, 165, 95, 0.75); box-shadow: 0 0 14px rgba(211, 165, 95, 0.45); }

@keyframes polTwinkle {
  0%, 100% { opacity: .3; transform: scale(1); }
  50% { opacity: .95; transform: scale(1.4); }
}

.pol-hero-content {
  position: relative;
  z-index: 2;
  color: var(--pol-white);
  padding: 120px 0 104px;
}

.pol-hero-line-1 {
  margin: 0;
  font-size: .95rem;
  letter-spacing: .3em;
  font-weight: 600;
}

.pol-hero h1 {
  margin: 14px 0 10px;
  color: var(--pol-white);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: .95;
  letter-spacing: .03em;
}

.pol-hero-line-2 {
  margin: 0;
  color: var(--pol-gold-soft);
  font-size: 1.2rem;
  letter-spacing: .15em;
  font-weight: 600;
}

.pol-hero-controls {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.pol-hero-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  color: var(--pol-white);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  transition: transform .3s ease, background .3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pol-hero-btn i {
  font-size: .95rem;
  line-height: 1;
}

.pol-hero-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
}

.pol-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 30px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 19px;
  background: transparent;
  z-index: 3;
}

.pol-scroll-indicator::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 5px;
  height: 11px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: var(--pol-white);
  animation: polScroll 1.8s ease infinite;
}

@keyframes polScroll {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 15px); }
}

.pol-intro {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.pol-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.pol-intro-heading p,
.pol-intro-story p,
.pol-principal-message p,
.pol-academics-copy p,
.pol-location-info p {
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--pol-mid);
}

.pol-intro-story {
  background: var(--pol-white);
  border-radius: var(--pol-r-xl);
  box-shadow: var(--pol-shadow-sm);
  padding: 34px;
  border: 1px solid rgba(20, 39, 75, 0.06);
}

.pol-intro-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pol-stat-card {
  border-radius: var(--pol-r-md);
  border: 1px dashed rgba(14, 30, 62, 0.22);
  background: linear-gradient(140deg, #f8fbff 0%, #f0f6ff 100%);
  padding: 18px;
}

.pol-stat-value {
  display: block;
  font-weight: 700;
  color: var(--pol-ink);
  font-size: 1.4rem;
}

.pol-stat-label {
  display: block;
  margin-top: 4px;
  font-size: .84rem;
  color: var(--pol-mid);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pol-principal-wrap {
  background: linear-gradient(120deg, #f4f8ff 0%, #ffffff 60%, #f4f8ff 100%);
}

.pol-principal-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 46px;
  align-items: center;
}

.pol-principal-photo {
  margin: 0;
  position: relative;
}

.pol-principal-photo::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(211, 165, 95, 0.3) 0%, transparent 70%);
}

.pol-principal-photo img {
  width: 100%;
  display: block;
  border-radius: var(--pol-r-xl);
  box-shadow: var(--pol-shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.pol-principal-message {
  background: var(--pol-white);
  border-radius: var(--pol-r-xl);
  box-shadow: var(--pol-shadow-sm);
  border: 1px solid rgba(20, 39, 75, 0.07);
  padding: 42px;
  position: relative;
}

.pol-principal-message::before {
  content: "";
  position: absolute;
  top: 22px;
  right: 28px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(211, 165, 95, 0.35);
  border-radius: 50%;
}

.pol-principal-message h3 {
  font-size: clamp(1.7rem, 3.3vw, 2.8rem);
  margin-bottom: 14px;
}

/* Override global paragraph spacing for principal message to tighten layout */
.pol-principal-message p {
  margin-bottom: 12px;
}
.pol-principal-message p:last-child {
  margin-bottom: 0;
}

.pol-sign {
  margin-top: 22px;
  font-weight: 600;
  color: var(--pol-navy) !important;
}

.pol-sign span {
  font-size: .92rem;
  color: var(--pol-mid);
  font-weight: 500;
}

.pol-dark {
  background: linear-gradient(125deg, #123366 0%, #0f2447 54%, #1a3f78 100%);
  overflow: hidden;
}

.pol-dark .pol-kicker,
.pol-dark h3 {
  color: var(--pol-white);
}

.pol-dark .pol-kicker {
  color: var(--pol-gold-soft);
}

.pol-carousel {
  margin: 0 -8px;
}

.pol-feature-card,
.pol-ach-card,
.pol-activity-card {
  margin: 8px;
}

.pol-feature-card {
  border-radius: var(--pol-r-lg);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 28px;
  min-height: 220px;
  transition: transform .35s ease, background .35s ease;
}

.pol-feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.18);
}

.pol-feature-card i {
  font-size: 1.45rem;
  color: var(--pol-gold-soft);
  margin-bottom: 0; /* removed bottom margin to keep icon vertically aligned with heading */
}

.pol-feature-card h4 {
  margin: 0 0 14px; /* increased gap between heading and following paragraph */
  color: var(--pol-white);
  font-size: 1.05rem;
}

/* Add spacing between the feature head (icon + heading) and the paragraph below */
.pol-feature-card .pol-feature-head { margin-bottom: 12px; }

.pol-feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: .92rem;
  line-height: 1.65;
}

.pol-promise-wrap {
  background: linear-gradient(180deg, #f7fbff 0%, #edf4ff 100%);
  overflow: visible;
}

.pol-promise-wrap .pol-section-head,
.pol-promise-wrap .section-header {
  max-width: 100%;
  margin-bottom: 52px;
  position: relative;
  color: var(--pol-ink) !important;
}

.pol-promise-wrap .pol-section-head h3,
.pol-promise-wrap .section-header h3 {
  display: inline-block;
  max-width: 860px;
  color: var(--pol-navy) !important;
}

.pol-promise-wrap .section-header .h-sub {
  color: var(--pol-gold) !important;
}

.pol-promise-carousel {
  margin: 0;
  overflow: visible;
}

.pol-promise-carousel .slick-list {
  margin: 0 -10px;
  padding: 44px 0 22px;
  overflow: visible;
}

.pol-promise-carousel .slick-slide {
  padding: 0 10px;
  height: auto !important;
}

.pol-promise-carousel .slick-slide > div {
  height: auto !important;
}

.pol-promise-carousel .slick-track,
.pol-promise-carousel .slick-list,
.pol-promise-carousel .slick-slide {
  overflow: visible !important;
}

.pol-promise-card {
  background: #fff;
  border: 1px solid rgba(20, 39, 75, 0.08);
  box-shadow: var(--pol-shadow-sm);
  border-radius: var(--pol-r-lg);
  padding: 60px 22px 24px;
  min-height: 300px;
  text-align: center;
  position: relative;
  display: block;
  transition: transform .28s ease, box-shadow .28s ease;
}

.pol-promise-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--pol-shadow);
}

.pol-promise-card .pol-promise-icon {
  width: 62px;
  height: 62px;
  border-radius: 999px !important;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #0f2447 0%, #2a4f85 100%);
  box-shadow: 0 12px 24px rgba(15, 35, 70, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.pol-promise-icon i {
  color: var(--pol-gold-soft);
  font-size: 1.2rem;
  line-height: 1;
}

.pol-promise-card h4 {
  margin: 6px 0 10px;
  color: var(--pol-navy);
  font-size: 1.08rem;
  line-height: 1.3;
}

.pol-promise-card p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--pol-mid);
}

.pol-academics-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.pol-academic-stats {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pol-ac-stat {
  background: #ffffff;
  border: 1px solid rgba(20, 39, 75, 0.08);
  box-shadow: var(--pol-shadow-sm);
  border-radius: var(--pol-r-md);
  padding: 18px 14px;
  text-align: center;
}

.pol-ac-stat span {
  display: block;
  color: var(--pol-navy);
  font-size: 1.3rem;
  font-weight: 700;
}

.pol-ac-stat small {
  display: block;
  margin-top: 6px;
  color: var(--pol-mid);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.pol-frame {
  border-radius: var(--pol-r-xl);
  overflow: hidden;
  box-shadow: var(--pol-shadow);
  border: 1px solid rgba(20, 39, 75, 0.12);
  position: relative;
}

.pol-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, rgba(14, 30, 62, 0.22) 100%);
}

.pol-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform .9s cubic-bezier(.22, 1, .36, 1);
}

.pol-frame.in-view img,
.pol-frame:hover img {
  transform: scale(1.08);
}

.pol-achievements {
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
}

.pol-achievement-spotlight {
  border-radius: var(--pol-r-xl);
  background: #fff;
  border: 1px solid rgba(20, 39, 75, 0.09);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto 24px;
  box-shadow: var(--pol-shadow);
  position: relative;
}

.pol-achievement-spotlight img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.pol-achievement-spotlight figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  background: rgba(12, 28, 54, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 18px 20px;
  backdrop-filter: blur(8px);
}

.pol-achievement-spotlight figcaption strong {
  display: block;
  color: var(--pol-gold-soft);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.pol-achievement-spotlight figcaption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.62;
  font-size: .92rem;
}

.pol-ach-card {
  background: var(--pol-white);
  border-radius: var(--pol-r-lg);
  border: 1px solid rgba(20, 39, 75, 0.09);
  box-shadow: var(--pol-shadow-sm);
  padding: 26px;
  min-height: 220px;
}

.pol-ach-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  margin-bottom: 12px;
}

.pol-ach-card h4 {
  color: var(--pol-navy);
  margin: 0 0 10px;
  font-size: 1rem;
}

.pol-ach-card p {
  margin: 0 0 7px;
  color: var(--pol-mid);
  font-size: .9rem;
}

.pol-achievement-carousel .slick-prev { right: 36px; }
.pol-achievement-carousel .slick-next { right: -8px; }

.pol-opportunities-wrap {
  background: linear-gradient(160deg, #fefefe 0%, #edf5ff 100%);
}

.pol-op-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1.1fr 1fr;
  grid-template-areas:
    "a center b"
    "c center d"
    "e center f"
    "g center g";
}

.pol-op-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(20, 39, 75, 0.1);
  box-shadow: var(--pol-shadow-sm);
  padding: 18px;
  transition: transform .25s ease;
}

.pol-op-card:hover {
  transform: translateY(-4px);
}

.pol-op-card h4 {
  margin: 0 0 6px;
  color: var(--pol-navy);
  font-size: 1rem;
}

.pol-op-card p {
  margin: 0;
  color: var(--pol-mid);
  font-size: .88rem;
  line-height: 1.58;
}

.pol-op-center {
  grid-area: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pol-op-center-ring {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 25%, #1b3d71 0%, #0f2244 62%, #11264c 100%);
  box-shadow: var(--pol-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 6px solid rgba(211, 165, 95, 0.34);
  position: relative;
  animation: polPulseGlow 4.8s ease-in-out infinite;
}

.pol-op-center-ring::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(211, 165, 95, 0.5);
}

.pol-op-center-ring span {
  color: #fff;
  font-size: 1.45rem;
  text-align: center;
  line-height: 1.2;
  font-weight: 700;
}

@keyframes polPulseGlow {
  0%, 100% { box-shadow: var(--pol-shadow); }
  50% { box-shadow: 0 24px 68px rgba(14, 30, 62, 0.26); }
}

.pol-op-card.pos-a { grid-area: a; }
.pol-op-card.pos-b { grid-area: b; }
.pol-op-card.pos-c { grid-area: c; }
.pol-op-card.pos-d { grid-area: d; }
.pol-op-card.pos-e { grid-area: e; }
.pol-op-card.pos-f { grid-area: f; }
.pol-op-card.pos-g { grid-area: g; max-width: 72%; margin: 0 auto; }

.pol-beyond {
  background: linear-gradient(130deg, #f4f9ff 0%, #ffffff 100%);
}

.pol-activity-card {
  background: var(--pol-white);
  border-radius: var(--pol-r-lg);
  overflow: hidden;
  box-shadow: var(--pol-shadow-sm);
  border: 1px solid rgba(20, 39, 75, 0.08);
  transition: transform .3s ease;
}

.pol-activity-card:hover {
  transform: translateY(-6px);
}

.pol-activity-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.pol-activity-card:hover img {
  transform: scale(1.08);
}

.pol-activity-card div {
  padding: 18px;
}

.pol-activity-card h4 {
  margin: 0 0 8px;
  color: var(--pol-navy);
  font-size: 1.05rem;
}

.pol-activity-card p {
  margin: 0;
  color: var(--pol-mid);
  font-size: .9rem;
  line-height: 1.65;
}

.pol-clubs-events {
  background: #ffffff;
}

.pol-ce-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  justify-items: center; /* center single child */
}

.pol-clubs-panel,
.pol-events-panel {
  border-radius: var(--pol-r-xl);
  padding: 30px;
  min-height: 460px;
  position: relative;
}

/* Make the single clubs panel larger and centered on desktop */
.pol-clubs-panel {
  width: min(920px, 92%);
  max-width: 920px;
}

@media (max-width: 992px) {
  .pol-clubs-panel { width: 100%; }
  .pol-ce-grid { grid-template-columns: 1fr; }
}

.pol-clubs-panel {
  background: linear-gradient(135deg, #0f2346 0%, #1d3a6f 100%);
  color: var(--pol-white);
}

.pol-clubs-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(3, 10, 21, 0.25) 100%);
  pointer-events: none;
}

.pol-clubs-panel > * {
  position: relative;
  z-index: 1;
}

.pol-events-panel {
  background: linear-gradient(180deg, #f4f8ff 0%, #eaf2ff 100%);
  border: 1px solid rgba(20, 39, 75, 0.09);
}

.pol-clubs-panel h4,
.pol-events-panel h4 {
  margin: 0 0 16px;
  font-size: 1.03rem;
  letter-spacing: .08em;
}

.pol-clubs-panel h4,
.pol-clubs-panel h5,
.pol-clubs-panel p {
  color: #fff;
}

.pol-events-panel h4 { color: var(--pol-navy); }

.pol-club-switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.pol-club-switch button {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(11, 24, 48, 0.7);
  color: var(--pol-white);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .82rem;
  font-weight: 600;
  transition: background .25s ease, color .25s ease;
}

.pol-club-switch button.active,
.pol-club-switch button:hover {
  background: var(--pol-gold) !important;
  color: #17243e !important;
  border-color: var(--pol-gold) !important;
}

.pol-club-feature {
  border-radius: var(--pol-r-lg);
  overflow: hidden;
  background: rgba(8, 20, 43, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pol-club-feature img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.pol-club-feature div {
  padding: 18px;
}

.pol-club-feature h5 {
  margin: 0 0 8px;
  color: var(--pol-white);
  font-size: 1.06rem;
}

.pol-club-feature p {
  margin: 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.62;
}

.pol-event-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.pol-event-timeline li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(20, 39, 75, 0.08);
  border-radius: 12px;
}

.pol-event-timeline li::before,
.pol-event-timeline li::after {
  content: none !important;
}

.pol-event-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pol-gold);
  margin-top: 3px;
  box-shadow: 0 0 0 4px rgba(211, 165, 95, 0.2);
}

.pol-event-timeline strong {
  color: var(--pol-navy);
}

.pol-event-timeline strong::after {
  content: none !important;
}

.pol-event-timeline p {
  margin: 3px 0 0;
  font-size: .88rem;
  color: var(--pol-mid);
}

.pol-houses-wrap {
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.pol-house-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 760px) {
  .pol-house-grid {
    grid-template-columns: 1fr; /* stack houses on mobile */
  }
}

.pol-house-card {
  border-radius: var(--pol-r-lg);
  color: #fff;
  padding: 24px;
  min-height: 190px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: var(--pol-shadow-sm);
}

.pol-house-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -26px;
  bottom: -30px;
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1);
  transition: transform .35s ease;
}

.pol-house-card h4 {
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.42);
}

.pol-house-card p {
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.96);
  opacity: 1;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.34);
}

.pol-house-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--pol-shadow);
}

.pol-house-card:hover::after {
  transform: scale(1.22);
}

.pol-house-card.sapphire { background: linear-gradient(135deg, #1e5db4 0%, #224687 100%); }
.pol-house-card.emerald { background: linear-gradient(135deg, #139b70 0%, #0d6f58 100%); }
.pol-house-card.ruby { background: linear-gradient(135deg, #d44b52 0%, #a33743 100%); }
.pol-house-card.topaz { background: linear-gradient(135deg, #c58d16 0%, #8c6205 100%); }

.pol-house-card.topaz h4,
.pol-house-card.topaz p {
  color: #fff;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.28);
}

.pol-location {
  background: linear-gradient(130deg, #0f2244 0%, #1a3566 100%);
}

.pol-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pol-location-info,
.pol-map-area {
  border-radius: var(--pol-r-xl);
  padding: 34px;
}

.pol-location-info {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pol-location-info .pol-kicker,
.pol-location-info h3,
.pol-location-info p {
  color: var(--pol-white);
}

.pol-location-info .pol-kicker {
  color: var(--pol-gold-soft);
}

.pol-location-info h3 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  margin-bottom: 10px;
}

.pol-location-info p {
  margin: 0 0 12px;
  opacity: .92;
}

.pol-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #12294d;
  background: var(--pol-gold);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
}

.pol-cta-link:hover {
  color: #12294d;
  background: var(--pol-gold-soft);
}

.pol-map-area {
  background: #f4f8ff;
  border: 1px solid rgba(20, 39, 75, 0.11);
}

.pol-map-placeholder {
  border: 1px dashed rgba(20, 39, 75, 0.3);
  border-radius: var(--pol-r-lg);
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 24px;
}

.pol-map-placeholder i {
  font-size: 2rem;
  color: var(--pol-navy);
  margin-bottom: 10px;
}

.pol-map-placeholder p {
  margin: 0;
  color: var(--pol-navy);
  font-weight: 600;
}

.pol-map-placeholder small {
  margin-top: 8px;
  color: var(--pol-mid);
}

.pol-carousel .slick-track {
  display: flex;
}

.pol-carousel .slick-slide {
  height: inherit;
}

.pol-carousel .slick-slide > div {
  height: auto !important;
}

.pol-carousel .slick-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  z-index: 2;
  background: var(--pol-white) !important;
  border: 1px solid rgba(20, 39, 75, 0.15) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0;
  line-height: 1;
  transform: none !important;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.pol-carousel .slick-arrow:hover {
  background: var(--pol-navy) !important;
  border-color: var(--pol-navy) !important;
  transform: none;
}

.pol-carousel .slick-arrow:focus,
.pol-carousel .slick-arrow:active,
.pol-carousel .slick-arrow:focus-visible {
  transform: none !important;
}

.pol-dark .pol-carousel .slick-arrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.pol-carousel .slick-prev,
.pol-carousel .slick-next {
  top: -66px;
}

.pol-promise-carousel .slick-prev,
.pol-promise-carousel .slick-next {
  top: -96px;
}

.pol-promise-carousel .slick-prev { right: 62px; }
.pol-promise-carousel .slick-next { right: 10px; }

.pol-carousel .slick-prev { left: auto; right: 52px; }
.pol-carousel .slick-next { right: 8px; }

.pol-carousel .slick-prev:before,
.pol-carousel .slick-next:before {
  content: none;
}

.pol-arrow-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pol-arrow-icon i {
  font-size: 14px;
  line-height: 1;
  color: var(--pol-navy) !important;
  transition: color .22s ease;
}

.pol-carousel .slick-arrow:hover .pol-arrow-icon i {
  color: #fff !important;
}

.pol-dark .pol-arrow-icon i {
  color: #fff;
}

.pol-dark .pol-carousel .slick-arrow:hover {
  background: var(--pol-gold) !important;
  border-color: var(--pol-gold) !important;
}

.pol-dark .pol-carousel .slick-arrow:hover .pol-arrow-icon i {
  color: var(--pol-navy) !important;
}

@media (max-width: 1199px) {
  .pol-intro-grid,
  .pol-principal-layout,
  .pol-academics-grid,
  .pol-ce-grid,
  .pol-location-grid {
    grid-template-columns: 1fr;
  }

  .pol-principal-photo {
    max-width: 430px;
  }

  .pol-house-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pol-op-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "a"
      "b"
      "c"
      "d"
      "e"
      "f"
      "g";
  }

  .pol-op-card.pos-g {
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .pol-section {
    padding: 76px 0;
  }

  .pol-intro-story,
  .pol-principal-message,
  .pol-clubs-panel,
  .pol-events-panel,
  .pol-location-info,
  .pol-map-area {
    padding: 26px;
  }

  .pol-academic-stats {
    grid-template-columns: 1fr;
  }

  .pol-carousel .slick-prev,
  .pol-carousel .slick-next {
    top: auto;
    bottom: -58px;
  }

  .pol-promise-wrap .pol-section-head {
    margin-bottom: 28px;
  }

  .pol-promise-wrap .pol-section-head h3 {
    max-width: 100%;
    display: block;
  }

  .pol-promise-carousel .slick-prev,
  .pol-promise-carousel .slick-next {
    top: auto;
  }

  .pol-carousel .slick-prev { right: 60px; }
  .pol-carousel .slick-next { right: 14px; }

  .pol-achievement-spotlight img {
    height: 300px;
  }

  .pol-op-center-ring {
    width: 220px;
    height: 220px;
  }

  .pol-op-center-ring span {
    font-size: 1.25rem;
  }
}

@media (max-width: 767px) {
  .pol-hero-content {
    text-align: center;
    padding: 112px 0 98px;
  }

  .pol-hero h1 {
    letter-spacing: .01em;
  }

  .pol-hero-line-1,
  .pol-hero-line-2 {
    font-size: .85rem;
    letter-spacing: .2em;
  }

  .pol-hero-controls {
    right: 14px;
    bottom: 14px;
  }

  .pol-intro-stats {
    grid-template-columns: 1fr;
  }

  .pol-house-grid {
    display: block;
  }

  .pol-house-card {
    margin: 8px;
    min-height: 170px;
  }

  .pol-club-switch {
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .pol-club-switch button {
    flex: 0 0 auto;
  }

  .pol-carousel {
    margin-bottom: 42px;
  }

  .pol-promise-card {
    min-height: 284px;
    padding: 56px 18px 20px;
  }

  .pol-promise-card .pol-promise-icon {
    width: 56px;
    height: 56px;
  }

  .pol-promise-card h4 {
    font-size: 1.08rem;
  }

  .pol-promise-card p {
    font-size: .9rem;
    line-height: 1.6;
  }

  .pol-achievement-spotlight figcaption {
    left: 14px;
    right: 14px;
    bottom: 12px;
    padding: 14px;
  }

  .pol-achievement-spotlight figcaption strong {
    font-size: 1.02rem;
  }

  .pol-carousel .slick-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 700px) {
  .pol-ce-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pol-clubs-panel,
  .pol-events-panel {
    width: 100%;
    min-height: auto;
  }

  .pol-club-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    overflow: visible;
    white-space: normal;
    flex-wrap: unset;
    padding-bottom: 0;
  }

  .pol-club-switch button {
    width: 100%;
    text-align: center;
    padding: 10px 12px;
  }

  .pol-achievement-carousel .slick-prev { right: 54px; }
  .pol-achievement-carousel .slick-next { right: 12px; }
}

@media (max-width: 520px) {
  .pol-club-switch {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .pol-section-head h3,
  .pol-intro-heading h2,
  .pol-principal-message h3,
  .pol-academics-copy h3,
  .pol-location-info h3 {
    font-size: clamp(1.5rem, 8vw, 2.3rem);
  }

  .pol-event-timeline li {
    grid-template-columns: 20px 1fr;
    padding: 12px;
  }
}
