:root {
  --orange: #e64d1f;
  --blue: #13a8e2;
  --brand: var(--orange);
  --accent: var(--blue);
  --a: var(--blue);
  --b: var(--orange);
  --c: #ff8a4a;
  --r: 22px;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --serif: "Cinzel", Georgia, serif;
  --glass: rgba(255, 255, 255, 0.06);
  --edge: rgba(255, 255, 255, 0.16);
  --ph: rgba(255, 255, 255, 0.05);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.7);
}

.theme-toggle { display: none !important; }

html[data-theme="dark"] {
  --page: #0A2340;
  --paper: #143354;
  --header-bg: #0A2340;
  --footer-bg: #0A2340;
  --card: #143354;
  --input: #0A2340;
  --page-gloss:
    linear-gradient(165deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 22%, transparent 52%);
}

html[data-theme="light"] {
  --page: #ffffff;
  --paper: #ffffff;
  --header-bg: #ffffff;
  --footer-bg: #ffffff;
  --card: #ffffff;
  --input: #ffffff;
  --page-gloss: none;
  --glass: rgba(255, 250, 242, 0.62);
  --edge: rgba(255, 255, 255, 0.9);
  --ph: color-mix(in srgb, var(--blue) 7%, transparent);
  --shadow: 0 18px 50px -18px rgba(230, 77, 31, 0.22);
}

body {
  position: relative;
  font-family: var(--sans);
  line-height: 1.65;
}

h1, h2, h3,
.quote,
.principles span {
  font-family: var(--serif);
  font-style: normal;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.015em;
}

.opening h1,
.opening h1 span {
  font-family: var(--serif);
  font-weight: 800;
}

.quote {
  font-weight: 500;
  font-style: italic;
}

.campus-scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 22%, transparent 52%),
    #0A2340;
  overflow: hidden;
  pointer-events: none;
}
html[data-theme="light"] .campus-scene {
  background:
    radial-gradient(ellipse 50% 36% at 12% 18%, rgba(43, 159, 224, 0.10), transparent 62%),
    radial-gradient(ellipse 46% 40% at 88% 12%, rgba(245, 166, 35, 0.10), transparent 58%),
    radial-gradient(ellipse 40% 36% at 78% 88%, rgba(124, 191, 58, 0.10), transparent 58%),
    #ffffff;
}
.formula-bg {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.formula-bg .x {
  position: absolute;
  white-space: nowrap;
  font: 600 24px Caveat, "Segoe Print", "Comic Sans MS", cursive;
  user-select: none;
}
.formula-bg .x sub,
.formula-bg .x sup {
  line-height: 0;
  font-size: 0.65em;
}
.formula-bg .m { color: #4FC3F7; }
.formula-bg .c { color: #FF7A4D; }
.formula-bg .p { color: #5CD6A8; }
html[data-theme="light"] .formula-bg .m { color: #0B8FC4; }
html[data-theme="light"] .formula-bg .c { color: #EF4E23; }
html[data-theme="light"] .formula-bg .p { color: #1FA67A; }
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
.glow-sun {
  top: -4%;
  right: 6%;
  width: 220px;
  height: 220px;
  background: rgba(245, 166, 35, 0.18);
  animation: pulse-soft 7s ease-in-out infinite;
}
.glow-yard {
  left: -8%;
  bottom: 8%;
  width: 320px;
  height: 320px;
  background: rgba(43, 159, 224, 0.14);
  animation: pulse-soft 9s ease-in-out infinite reverse;
}
.motif {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
}
.motif-book {
  top: 28%;
  left: 4%;
  width: 54px;
  height: 70px;
  background: linear-gradient(90deg, var(--orange) 0 8px, #fffaf2 8px);
  border-radius: 3px 8px 8px 3px;
  transform: rotate(-14deg);
  animation: float-y 6.5s ease-in-out infinite;
}
.motif-pencil {
  top: 58%;
  right: 5%;
  width: 14px;
  height: 90px;
  background: linear-gradient(180deg, #efb820 0 18%, #f6d56a 18% 78%, #d9a016 78% 88%, #333 88%);
  border-radius: 3px;
  transform: rotate(28deg);
  animation: float-y 7.5s ease-in-out infinite reverse;
}
.motif-ball {
  bottom: 18%;
  left: 18%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff, transparent 35%),
    radial-gradient(circle at 50% 50%, #2f9b74, #1f6e52);
  animation: float-y 8s ease-in-out infinite;
}
.paper-grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}
html[data-theme="light"] .paper-grain { opacity: 0.2; }
html[data-theme="light"] .stem-symbol { opacity: 0.22; }
.stem-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.stem-symbol {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-family: var(--sans);
  font-size: var(--size, 1.55rem);
  font-weight: 700;
  line-height: 1;
  opacity: 0.18;
  user-select: none;
  animation: stem-drift var(--d, 20s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.stem-math { color: #c45a8c; }
.stem-physics { color: #7ea4e8; }
.stem-chem { color: #4ec99a; }
.stem-atom {
  width: 40px;
  height: 40px;
  opacity: 0.18;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(154, 27, 92, 0.45);
  animation-name: stem-spin-drift;
}
@keyframes pulse-soft {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes stem-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg); }
  50% { transform: translate3d(-12px, 16px, 0) rotate(-2deg); }
}
@keyframes stem-spin-drift {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.brand img { height: 62px; width: auto; max-width: min(320px, 46vw); object-fit: contain; }

/* Mobile header: keep logo clear; phone becomes icon-only */
@media (max-width: 900px) {
  .brand {
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 11.5rem);
  }
  .brand img {
    height: 40px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    object-position: left center;
  }
  .header-phone {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    gap: 0;
    font-size: 0;
    line-height: 0;
    color: transparent;
    border-radius: 999px;
  }
  .header-phone .ico-phone {
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    color: var(--orange);
  }
  .header-phone .ico-phone svg {
    width: 16px;
    height: 16px;
  }
  .header-cta {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 420px) {
  .brand {
    max-width: calc(100% - 10.25rem);
  }
  .brand img {
    height: 36px;
  }
  .header-phone {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }
  .header-cta {
    padding: 0.32rem 0.55rem;
    font-size: 0.78rem;
  }
}
.site-nav > a,
.nav-more-btn {
  position: relative;
}
.site-nav > a.is-active,
.site-nav > a[aria-current],
.nav-more-btn.is-active,
html[data-theme="light"] .site-nav > a.is-active,
html[data-theme="light"] .site-nav > a[aria-current],
html[data-theme="light"] .nav-more-btn.is-active,
html[data-theme="light"] .site-nav > a:hover,
html[data-theme="light"] .nav-more-btn:hover {
  color: var(--orange);
}
.site-nav > a.is-active::after,
.nav-more-btn.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.42rem;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
}
.nav-more-menu a.is-active,
html[data-theme="light"] .nav-more-menu a.is-active {
  color: var(--orange);
  background: color-mix(in srgb, var(--orange) 12%, transparent);
}

.nav-more { position: relative; }
.nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
html[data-theme="light"] .nav-more-btn { color: var(--heading); }
.nav-more-btn::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}
html[data-theme="light"] .nav-more-btn { color: var(--heading); }
.nav-more-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  min-width: 16.5rem;
  padding: 0.45rem 0;
  background: var(--header-bg);
  border: 1px solid var(--edge);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  z-index: 50;
}
.nav-more-menu a {
  display: block;
  padding: 0.55rem 0.95rem;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  color: inherit;
}
.nav-more-menu a:hover,
.nav-more-menu a.is-active { color: #ffb089; background: color-mix(in srgb, var(--orange) 12%, transparent); }
.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu,
.nav-more.is-open .nav-more-menu { display: block; }

@media (max-width: 900px) {
  .nav-more { width: 100%; }
  .nav-more-btn {
    min-height: 44px;
    width: 100%;
    justify-content: space-between;
  }
  .nav-more-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 0.4rem;
    padding: 0.15rem 0 0.35rem 0.4rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-more.is-open .nav-more-menu { display: block; }
  .nav-more:hover .nav-more-menu,
  .nav-more:focus-within .nav-more-menu { display: none; }
  .nav-more.is-open:hover .nav-more-menu,
  .nav-more.is-open:focus-within .nav-more-menu,
  .nav-more.is-open .nav-more-menu { display: block; }
}
.site-footer a { color: #ffb089; }

.about h2.welcome-line {
  color: var(--orange);
  white-space: nowrap;
  font-size: clamp(1.35rem, 3.2vw, 2.6rem);
  line-height: 1.2;
}

.principles-lead {
  width: min(1280px, calc(100% - 2.5rem));
  margin: 2.6rem auto 1.1rem;
}
.principles-lead h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}

.way .campus-more-kicker { margin-bottom: 0.45rem; }

.principles-lead {
  width: min(1280px, calc(100% - 2.5rem));
  margin: 2.6rem auto 1.1rem;
}
.principles-lead h2 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}

.way .campus-more-kicker { margin-bottom: 0.45rem; }

.way-grid a.text-link { color: inherit; text-decoration: none; }
.way-grid a.text-link:hover { color: var(--orange); }

.campus-more-follow {
  margin: 1rem 0 0;
}
.campus-more {
  width: min(1280px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 2.8rem 0 0.4rem;
}
.campus-more-panel {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--orange) 16%, var(--paper)) 0%, var(--paper) 42%);
  border: 1px solid color-mix(in srgb, var(--orange) 42%, var(--line));
  border-top: 5px solid var(--orange);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--orange) 14%, transparent);
}
.campus-more-panel summary {
  list-style: none;
  cursor: pointer;
  padding: 1.55rem 1.45rem 1.35rem;
}
.campus-more-panel summary::-webkit-details-marker,
.campus-more-panel summary::marker { display: none; content: ""; }
.campus-more-panel .campus-more-kicker {
  margin: 0 0 0.45rem;
  color: var(--orange);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 650;
}
.campus-more-panel h2 {
  margin: 0 0 0.7rem;
  color: var(--orange);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.05;
}
.campus-more-overview {
  max-width: 48rem;
  margin: 0 0 1.05rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.campus-more-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--heading);
  font-weight: 650;
  font-size: 0.92rem;
}
.campus-more-hint::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.campus-more-panel[open] .campus-more-hint::after {
  transform: rotate(-135deg) translateY(-2px);
}
.campus-more-panel[open] .campus-more-hint { color: var(--orange); }
.campus-more-grid {
  padding: 0 1.2rem 1.35rem;
  margin: 0;
}
.campus-more-grid article {
  padding: 1.15rem 1.1rem;
  background: var(--card);
  border-top: 3px solid var(--orange);
}
.campus-more-grid article:nth-child(even) { border-top-color: var(--blue); }
.campus-more-grid h3 { margin-bottom: 0.35rem; font-size: 1.6rem; }
.about-body h2 { margin: 1.4rem 0 0.5rem; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.about-body .mission-grid,
.about-body .chip-grid,
.about-body .doc-grid { margin-top: 1.2rem; }

.way-grid:has(article:nth-child(5)) {
  grid-template-columns: repeat(3, 1fr);
}

.page-block { width: min(1280px, calc(100% - 2.5rem)); margin: 0 auto; padding: 2.4rem 0 0.4rem; }
.page-block h2 { margin: 1.6rem 0 0.7rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.page-block > h2:first-child { margin-top: 0; }
.page-block p { color: var(--muted); }
.prose p { max-width: 54rem; }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.4rem 0 2rem;
}
.mission-grid article,
.chip-grid article,
.doc-grid a,
.space-grid li {
  padding: 1.15rem 1.1rem;
  background: var(--paper);
  border-top: 3px solid var(--orange);
}
.mission-grid article:nth-child(even),
.chip-grid article:nth-child(even) { border-top-color: var(--blue); }
.mission-grid h3,
.chip-grid h3,
.doc-grid h3 { margin-bottom: 0.4rem; font-size: 1.45rem; }

.chip-grid,
.doc-grid,
.space-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.space-grid { grid-template-columns: repeat(4, 1fr); }
.doc-grid a { color: inherit; text-decoration: none; }
.doc-grid p { margin: 0; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.8rem;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 0.7rem 0.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.data-table th { color: var(--heading); width: 38%; }

.enquire-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--input);
  color: var(--input-ink);
  padding: 0.7rem 0.8rem;
}

.empty-note {
  padding: 1.4rem 1.2rem;
  background: var(--paper);
  border-radius: 16px;
}

.video-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.4rem;
}
.video-slots article {
  padding: 1.2rem;
  background: var(--paper);
  border-radius: 16px;
}
.video-slots video { width: 100%; border-radius: 12px; background: #000; }

@media (max-width: 900px) {
  .about h2.welcome-line { font-size: clamp(1.35rem, 6vw, 2.1rem); }
  .mission-grid,
  .chip-grid,
  .doc-grid,
  .space-grid,
  .video-slots,
  .campus-more-grid { grid-template-columns: 1fr; }
}

/* Glossy HTML layout, Atlantis orange/blue */
.home-glossy {
  position: relative;
  overflow-x: hidden;
}
.home-glossy::before,
.home-glossy::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.home-glossy::before {
  width: 520px;
  height: 520px;
  background: var(--orange);
  top: -140px;
  left: -120px;
  opacity: 0.28;
}
.home-glossy::after {
  width: 460px;
  height: 460px;
  background: var(--blue);
  bottom: -120px;
  right: -100px;
  opacity: 0.26;
}
html[data-theme="dark"] .home-glossy::before,
html[data-theme="dark"] .home-glossy::after,
html[data-theme="light"] .home-glossy::before,
html[data-theme="light"] .home-glossy::after {
  opacity: 0;
}
html[data-theme="light"] .formula-bg {
  display: none;
}
.home-glossy .wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 1.4rem 48px;
}
.home-glossy h1,
.home-glossy h2,
.home-glossy h3 {
  font-family: var(--serif);
  margin: 0;
  line-height: 1.1;
  color: var(--heading);
}
.home-glossy p {
  margin: 0 0 12px;
  color: var(--muted);
}
.glass {
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: 22px;
  box-shadow: var(--shadow), inset 0 1px 0 var(--edge);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}
.home-glossy .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  min-height: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--edge);
  cursor: pointer;
  font-family: inherit;
  color: var(--heading);
  background: var(--glass);
  text-decoration: none;
  transition: transform 0.2s;
}
.home-glossy .btn:hover { transform: translateY(-2px); }
.home-glossy .btn.p {
  background: linear-gradient(135deg, var(--orange), var(--blue));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--orange) 70%, transparent);
}
.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(86vh, 820px);
  margin: 0 0 28px;
  padding: 5.5rem 1.4rem 3rem;
  overflow: hidden;
  text-align: left;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 13, 22, 0.72) 0%, rgba(8, 13, 22, 0.42) 52%, rgba(8, 13, 22, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 13, 22, 0.28) 0%, rgba(8, 13, 22, 0.62) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  color: var(--heading);
}
.home-glossy h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: none;
}
.hero h1 {
  color: #fffaf2;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.grad {
  background: linear-gradient(120deg, var(--orange), var(--blue) 60%, var(--c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-glossy .lead {
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 18px 0 26px;
  max-width: none;
}
.hero .lead {
  color: rgba(255, 250, 242, 0.92);
  max-width: 38rem;
}
.hero .lead .brand-mark,
html[data-theme="light"] .hero .lead .brand-mark {
  color: var(--orange);
  font-weight: 700;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 0;
  display: block;
  z-index: 0;
  transform: scale(1.06);
  animation: hero-drift 36s ease-in-out infinite;
  backface-visibility: hidden;
}
video.hero-photo {
  animation: none !important;
  transform: none;
  filter: none;
}
video.hero-photo.has-view {
  object-position: var(--hero-ox, 50%) var(--hero-oy, 32%);
  transform: scale(var(--hero-zoom, 1));
  transform-origin: var(--hero-ox, 50%) var(--hero-oy, 32%);
}
.float {
  position: absolute;
  z-index: 2;
  padding: 9px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fffaf2;
}
.f1 { right: 1.4rem; left: auto; bottom: 1.4rem; }
.f2 { right: 1.4rem; top: 1.6rem; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.updates-banner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 54px;
  margin: 0 0 28px;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  overflow: hidden;
  color: #fffaf2;
  background: linear-gradient(90deg, #e64d1f 0%, #13a8e2 50%, #e64d1f 100%);
  background-size: 200% 100%;
  animation: updates-sheen 7s linear infinite;
  box-shadow: 0 12px 32px -12px rgba(230, 77, 31, 0.65);
}
.updates-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: updates-flash 2.8s ease-in-out infinite;
}
.updates-banner[hidden] { display: none !important; }
.updates-badge {
  position: relative;
  z-index: 1;
  flex: none;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #111820;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.updates-track-wrap {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.updates-track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: updates-marquee 28s linear infinite;
}
.updates-banner:hover .updates-track { animation-play-state: paused; }
.updates-chip {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
}
.updates-chip:hover { text-decoration: underline; }
.updates-all {
  position: relative;
  z-index: 1;
  flex: none;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.updates-all:hover { text-decoration: underline; }

.updates-feed {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}
.update-card { padding: 1.1rem 1.15rem; }
.update-card-date {
  margin: 0 0 0.35rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.update-card h3 { margin: 0 0 0.4rem; font-size: 1.25rem; }
.update-card-preview { margin: 0 0 0.7rem; }
.update-card-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 0; }

.update-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(6, 12, 20, 0.72);
}
.update-dialog[hidden] { display: none !important; }
.update-dialog-card {
  position: relative;
  width: min(640px, 100%);
  max-height: min(82vh, 720px);
  overflow: auto;
  padding: 1.6rem 1.4rem 1.3rem;
  border-radius: 18px;
  background: var(--paper, #151d2c);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.update-dialog-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  min-height: 36px;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.update-dialog-date {
  margin: 0 0 0.35rem;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.update-dialog-card h2 { margin: 0 1.8rem 0.8rem 0; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.update-dialog-body { white-space: pre-wrap; line-height: 1.7; margin-bottom: 1rem; }

@keyframes updates-sheen {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes updates-flash {
  0%, 55% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
@keyframes updates-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.stat { padding: 16px; text-align: center; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--heading);
}
.stat span { font-size: 12px; color: var(--muted); }
.acc { display: grid; gap: 12px; padding-bottom: 40px; }
.home-glossy details { overflow: hidden; }
.home-glossy summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  text-align: left;
}
.home-glossy summary::-webkit-details-marker { display: none; }
.n {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  color: #fff;
  font: 700 13px var(--serif);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.home-glossy summary h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  text-align: left;
  flex: 1;
}
.home-glossy summary small {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 3px;
}
.pm {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--edge);
  position: relative;
  flex: none;
}
.pm:before,
.pm:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--heading);
  transform: translate(-50%, -50%);
  transition: 0.25s;
}
.pm:after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .pm:after { transform: translate(-50%, -50%) rotate(0); }
.body { padding: 0 28px 28px; text-align: left; }
.body > p { max-width: none; }
.quote {
  color: var(--heading);
  font-weight: 600;
  font-style: normal;
}
.g { display: grid; gap: 12px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.tile {
  padding: 16px;
  border-radius: 16px;
  background: var(--ph);
  border: 1px solid var(--line);
}
.tile h3 { font-size: 16px; margin-bottom: 4px; }
.tile p { margin: 0; font-size: 14px; }
.tile .e { font-size: 22px; display: block; margin-bottom: 8px; }
.tile .k {
  font: 700 12px var(--serif);
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.voices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin: 1.6rem 0 1.7rem;
}
.voice {
  position: relative;
  margin: 0;
  padding: 1.15rem 1.35rem 1.25rem;
  border: 0;
  display: grid;
  grid-template-columns: 7.6rem minmax(0, 1fr);
  grid-template-areas: "photo copy";
  gap: 1.15rem 1.5rem;
  align-items: center;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--orange) 18%, transparent), color-mix(in srgb, var(--blue) 10%, transparent)),
    var(--ph);
  box-shadow: inset 4px 0 0 var(--orange);
}
.voice--head {
  grid-template-columns: minmax(0, 1fr) 7.6rem;
  grid-template-areas: "copy photo";
  box-shadow: inset -4px 0 0 var(--blue);
  background:
    linear-gradient(225deg, color-mix(in srgb, var(--blue) 20%, transparent), color-mix(in srgb, var(--orange) 8%, transparent)),
    var(--ph);
}
.voice-photo {
  position: relative;
  z-index: 1;
  grid-area: photo;
  margin: 0;
  width: 7.6rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid color-mix(in srgb, #fff 55%, var(--orange));
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.55);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--orange) 48%, #0c141c), color-mix(in srgb, var(--blue) 38%, #0c141c));
}
.voice--head .voice-photo {
  border-color: color-mix(in srgb, #fff 55%, var(--blue));
}
.voice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
}
.voice.has-photo img { opacity: 1; }
.thought {
  position: relative;
  grid-area: copy;
  min-width: 0;
  width: 100%;
  justify-self: stretch;
  padding: 0.15rem 0 0;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.thought::before,
.thought::after { display: none; }
.thought-mark {
  position: absolute;
  top: -0.85rem;
  left: -0.15rem;
  font-family: var(--serif);
  font-size: 5.4rem;
  line-height: 1;
  font-weight: 800;
  color: color-mix(in srgb, var(--orange) 42%, transparent);
  pointer-events: none;
}
.voice--head .thought-mark {
  left: -0.15rem;
  right: auto;
  color: color-mix(in srgb, var(--blue) 48%, transparent);
}
.thought-kicker {
  position: relative;
  margin: 0 0 0.2rem;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.voice--head .thought-kicker,
.voice--head .voice-role { color: var(--blue); }
.thought h3 {
  position: relative;
  margin: 0 0 0.45rem;
  max-width: none;
  width: 100%;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}
.voice-message {
  position: relative;
  display: block;
  margin: 0 0 0.9rem;
  padding: 0;
  max-width: none;
  width: 100%;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  text-align: left;
  white-space: normal;
  color: var(--heading);
}
.voice-message:empty {
  display: block;
  min-height: 2.6rem;
}
.voice-message:empty::after {
  content: "";
  display: block;
  width: min(18rem, 70%);
  height: 2px;
  margin-top: 0.7rem;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.voice--head .voice-message:empty::after {
  background: linear-gradient(90deg, var(--blue), transparent);
}
.voice-name:empty { display: none; }
.voice-by {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.7rem;
}
.voice-name {
  margin: 0;
  font-weight: 800;
  font-family: var(--serif);
  font-size: 1.05rem;
}
.voice-role {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.pills a {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--ph);
  font-size: 14px;
  font-weight: 500;
  color: var(--heading);
  text-decoration: none;
  transition: 0.2s;
}
.pills a:hover {
  background: linear-gradient(135deg, var(--orange), var(--blue));
  color: #fff;
}
.gal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.gal img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--ph);
}
.story-open summary {
  cursor: default;
  pointer-events: none;
}
.story-open .pm { display: none; }

.home-glossy .campus-gallery.gallery-panel {
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  padding: 1.2rem 0 1.4rem;
  border-radius: 0;
}
.gallery-head {
  padding: 0 1.4rem 0.85rem;
}
.home-glossy .gallery-frame {
  width: 100%;
}
.home-glossy .gallery-stage {
  border-radius: 0;
  aspect-ratio: 2.35 / 1;
  border-left: 0;
  border-right: 0;
}
.gallery-panel .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 8px;
}
.gallery-head h2 {
  color: #fffaf2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
html[data-theme="light"] .gallery-head h2 {
  color: var(--heading);
  text-shadow: none;
}
.gallery-explore,
a.gallery-explore.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.45rem;
  padding: 0.62rem 1.15rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(230, 77, 31, 0.42);
}
.gallery-explore:hover,
a.gallery-explore.text-link:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.gallery-explore-title {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(230, 77, 31, 0.28);
}
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.info-lead {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 18px;
  max-width: 28rem;
}
.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.info-list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--ph);
  border: 1px solid var(--line);
}
.info-list span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.info-list b {
  font-weight: 600;
  color: var(--heading);
  line-height: 1.45;
}
.info a { color: var(--blue); font-weight: 700; text-decoration: none; }
.info a:hover { color: var(--orange); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--orange) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--orange) 42%, transparent);
  transition: transform 0.2s ease, background 0.25s ease;
}
.header-phone:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--orange) 32%, transparent);
  color: #fff;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 14px 0 0;
}
.contact-chip,
.link-call,
.link-wa,
.link-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-chip {
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--ph);
  color: var(--heading);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.contact-chip:hover {
  transform: translateY(-1px);
  border-color: var(--orange);
  color: var(--heading);
}
.header-phone .ico-phone,
.contact-chip .ico-phone,
.contact-chip .ico-mail,
.contact-chip .ico-wa,
.contact-chip .ico-ig,
.link-wa .ico-wa {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  color: currentColor;
}
.header-phone .ico-phone,
.contact-chip .ico-phone,
.contact-chip .ico-mail,
.contact-chip .ico-ig {
  width: 16px;
  height: 16px;
}
.contact-chip.link-wa .ico-wa,
#enquire .enquire-form .link-wa .ico-wa {
  width: 18px;
  height: 18px;
  color: #25d366;
}
.contact-chip .ico-phone,
.header-phone .ico-phone { color: var(--orange); }
.contact-chip .ico-mail { color: var(--blue); }
.header-phone:hover .ico-phone,
.header-phone:focus-visible .ico-phone,
.link-call:hover .ico-phone,
.link-call:focus-visible .ico-phone {
  animation: phone-ring 0.45s ease-in-out infinite;
}
.link-wa:hover .ico-wa,
.link-wa:focus-visible .ico-wa {
  animation: wa-pop 0.35s ease;
}
.link-mail:hover .ico-mail,
.link-mail:focus-visible .ico-mail {
  animation: wa-pop 0.35s ease;
}
@keyframes phone-ring {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(16deg); }
  30% { transform: rotate(-14deg); }
  45% { transform: rotate(12deg); }
  60% { transform: rotate(-8deg); }
  75% { transform: rotate(6deg); }
}
@keyframes wa-pop {
  0% { transform: scale(0.6); }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
html[data-theme="light"] .header-phone {
  color: var(--heading);
  background: color-mix(in srgb, var(--orange) 10%, #fff);
}
.form-card {
  position: relative;
  padding: 26px 24px 22px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--orange) 14%, var(--glass)) 0%, var(--glass) 28%);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow), inset 0 1px 0 var(--edge);
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
}
.form-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.form-card h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin: 0 0 6px;
}
.form-intro {
  margin: 0 0 18px;
  font-size: 0.92rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.home-glossy .office {
  width: min(1120px, calc(100% - 2.8rem));
  margin: 8px auto 2.4rem;
}
.home-glossy .office-side h2 {
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.home-glossy .office-side .kicker {
  color: rgba(255, 255, 255, 0.72);
}
.home-glossy .office-side .address,
.home-glossy .office-side p {
  color: rgba(255, 255, 255, 0.82);
}
.home-glossy .office-side .hours {
  color: #fff;
}
.home-glossy .enquire-form .link-wa {
  gap: 0.55rem;
}
.home-glossy .enquire-form .link-wa .ico-wa {
  color: #fff;
  width: 18px;
  height: 18px;
}
.note { font-size: 12px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.text-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { color: var(--orange); }

.event-gallery { padding-bottom: 2.5rem; }
.gallery-switch {
  display: flex;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
}
.gallery-switch button {
  min-height: 40px;
  padding: 0 1rem;
  border: 1px solid var(--edge);
  border-radius: 999px;
  background: var(--glass);
  color: inherit;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.gallery-switch button.is-on {
  background: linear-gradient(135deg, var(--orange), var(--blue));
  border-color: transparent;
  color: #fff;
}
.gallery-switch[hidden] { display: none !important; }
.event-gallery-bar {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 1rem;
}
.event-gallery-bar h2 { margin: 0; }
.event-back {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.event-empty {
  color: var(--muted, #8b8378);
  margin: 0 0 1.2rem;
}
.event-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 1.5rem;
}
.event-card {
  display: grid;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: var(--r, 18px);
  border: 1px solid var(--edge);
  background: var(--glass);
  min-height: 220px;
}
.event-card-photo {
  display: block;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--orange) 35%, transparent), color-mix(in srgb, var(--blue) 28%, transparent));
}
.event-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-card-copy {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem 1.05rem;
}
.event-card-copy strong {
  font-family: var(--serif);
  font-size: 1.15rem;
}
.event-card-copy em {
  font-style: normal;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
}
.event-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.event-photo {
  margin: 0;
  padding: 0;
  border: 0;
  background: #0c141c;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.event-video span {
  padding: 0.45rem 0.55rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.event-photo img,
.event-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-video {
  display: grid;
  aspect-ratio: auto;
  text-align: left;
}
.event-video video { height: 180px; }
.event-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(6, 10, 16, 0.86);
}
.event-gallery-bar[hidden],
.event-photos[hidden],
.event-empty[hidden],
.event-cards[hidden],
#events-heading[hidden],
.event-lightbox[hidden] { display: none !important; }
.event-lightbox img,
.event-lightbox video {
  max-width: min(1100px, 100%);
  max-height: min(82vh, 900px);
  object-fit: contain;
  border-radius: 12px;
}
.event-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  min-height: 36px;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.life-page {
  width: min(1280px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.2rem 0 3.2rem;
}
.life-intro h1 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.life-intro p { max-width: 54rem; }
.life-nav {
  position: sticky;
  top: var(--header);
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.6rem 0 2rem;
  padding: 0.55rem 0;
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(10px);
}
.life-nav a {
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--glass);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}
.life-nav a.is-on,
.life-nav a:hover {
  background: linear-gradient(135deg, var(--orange), var(--blue));
  border-color: transparent;
  color: #fff;
}
.life-block {
  margin: 0 0 2.6rem;
  padding: 1.4rem 1.2rem 1.35rem;
  border-radius: 22px;
  border: 1px solid var(--edge);
  background: var(--glass);
  scroll-margin-top: calc(var(--header) + 4.5rem);
}
.life-block:nth-child(odd) { box-shadow: inset 4px 0 0 var(--orange); }
.life-block:nth-child(even) { box-shadow: inset 4px 0 0 var(--blue); }
.life-head { margin: 0 0 1.1rem; }
.life-kicker {
  margin: 0 0 0.25rem;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.life-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.life-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.85rem;
}
.life-grid article {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--edge);
}
.life-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--orange) 42%, #0c141c), color-mix(in srgb, var(--blue) 38%, #0c141c));
}
.life-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
}
.life-grid article.has-photo img { opacity: 1; }
.life-grid h3 {
  margin: 0;
  padding: 0.7rem 0.8rem 0.85rem;
  font-size: 1.05rem;
  line-height: 1.25;
}
.life-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.life-text-grid article {
  margin: 0;
  padding: 1.05rem 1.1rem 1.15rem;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--edge);
}
.life-text-grid h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  line-height: 1.25;
}
.life-text-grid p,
.life-prose p {
  margin: 0 0 0.75rem;
}
.life-text-grid p:last-child,
.life-prose p:last-child { margin-bottom: 0; }
.life-prose { max-width: 54rem; }

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    height: auto;
    overflow: hidden;
    padding: 4.2rem 1.2rem 2.4rem;
  }
  .cta {
    flex-direction: column;
    align-items: stretch;
  }
  .cta .btn {
    width: 100%;
    justify-content: center;
  }
  .contact { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .g3,
  .g4 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .f1 { left: 1rem; bottom: 1rem; }
  .f2 { right: 1rem; top: 1.1rem; }
  .home-glossy .gallery-stage { aspect-ratio: 16 / 9; }
  .event-cards,
  .event-photos { grid-template-columns: 1fr 1fr; }
  .updates-banner { flex-wrap: wrap; gap: 0.45rem 0.7rem; min-height: 0; padding: 0.55rem 0.8rem; }
  .updates-all { width: 100%; text-align: right; }
  .life-page { width: min(1280px, calc(100% - 1.6rem)); }
  .life-grid { grid-template-columns: repeat(2, 1fr); }
  .life-text-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .g2,
  .g3,
  .g4,
  .gal { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .home-glossy summary { padding: 16px; }
  .body { padding: 0 16px 20px; }
  .event-cards,
  .event-photos { grid-template-columns: 1fr; }
  .life-grid { grid-template-columns: 1fr; }
  .life-nav { top: var(--header); }
  .life-block { scroll-margin-top: calc(var(--header) + 7rem); }
  .voice,
  .voice--head {
    grid-template-columns: 1fr;
    grid-template-areas: "photo" "copy";
    justify-items: center;
    text-align: center;
    box-shadow: inset 0 4px 0 var(--orange);
  }
  .voice--head { box-shadow: inset 0 4px 0 var(--blue); }
  .thought,
  .voice-message { text-align: center; }
  .voice--head .thought-mark { left: 50%; transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; transform: scale(1.06); }
  .updates-banner,
  .updates-banner::after,
  .updates-track { animation: none; }
  .header-phone:hover .ico-phone,
  .link-call:hover .ico-phone,
  .link-wa:hover .ico-wa,
  .link-mail:hover .ico-mail { animation: none; }
}
