  
    :root {
      --bg: #f8f0e0;
      --surface: rgba(255, 249, 238, 0.9);
      --surface-strong: #fff8ec;
      --ink: #18322a;
      --muted: #5d665f;
      --brand: #87c75a;
      --brand-deep: #2f6c3d;
      --accent: #cf2f3d;
      --accent-soft: #f1b454;
      --flag-blue: #0f4c9c;
      --sunrise: #f08b43;
      --line: rgba(24, 50, 42, 0.12);
      --shadow: 0 24px 60px rgba(34, 56, 30, 0.14);
      --radius-xl: 32px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --max-width: 1180px;
      --header-offset: 132px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: "Manrope", sans-serif;
      color: var(--ink);
      background:
        radial-gradient(circle at top left, rgba(240, 139, 67, 0.26), transparent 26%),
        radial-gradient(circle at 86% 10%, rgba(15, 76, 156, 0.12), transparent 20%),
        radial-gradient(circle at 70% 22%, rgba(207, 47, 61, 0.1), transparent 18%),
        linear-gradient(180deg, #fff8ec 0%, #f7eddc 44%, #f0e2cd 100%);
      line-height: 1.6;
    }

    body.popup-open {
      overflow: hidden;
    }

    body.performance-mode *,
    body.performance-mode *::before,
    body.performance-mode *::after {
      animation: none !important;
      transition-duration: 0.01ms !important;
    }

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

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

    .page-shell {
      position: relative;
      overflow-x: hidden;
      overflow-y: visible;
    }

    .visit-celebration {
      position: fixed;
      inset: 0;
      z-index: 60;
      display: grid;
      place-items: center;
      padding: 1rem;
      pointer-events: none;
      opacity: 0;
      visibility: hidden;
      overflow-y: auto;
      transition: opacity 500ms ease, visibility 500ms ease;
    }

    .visit-celebration.is-visible,
    .visit-celebration.is-static {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .visit-celebration.is-dismissed {
      opacity: 0;
      visibility: hidden;
    }

    .welcome-celebration {
      position: fixed;
      inset: 0;
      z-index: 59;
      display: grid;
      place-items: center;
      pointer-events: none;
      opacity: 0;
      visibility: hidden;
      transition: opacity 500ms ease, visibility 500ms ease;
    }

    .welcome-celebration.is-visible,
    .welcome-celebration.is-static {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .welcome-celebration.is-dismissed {
      opacity: 0;
      visibility: hidden;
    }

    .celebration-backdrop {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 50% 35%, rgba(255, 248, 231, 0.32), rgba(255, 248, 231, 0.08) 38%, rgba(247, 237, 220, 0.06) 72%, transparent 100%),
        linear-gradient(180deg, rgba(24, 50, 42, 0.42), rgba(24, 50, 42, 0.2));
      backdrop-filter: blur(10px);
    }

    .welcome-celebration-backdrop {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 50% 35%, rgba(255, 248, 231, 0.96), rgba(255, 248, 231, 0.76) 38%, rgba(247, 237, 220, 0.12) 72%, transparent 100%),
        linear-gradient(180deg, rgba(24, 50, 42, 0.1), rgba(24, 50, 42, 0.02));
      backdrop-filter: blur(6px);
    }

    .celebration-copy {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
      align-items: stretch;
      gap: 0;
      width: min(1040px, 100%);
      max-height: min(88dvh, 720px);
      border-radius: 34px;
      text-align: left;
      background: linear-gradient(145deg, rgba(255, 250, 241, 0.94), rgba(255, 243, 215, 0.9));
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 26px 60px rgba(34, 56, 30, 0.16);
      transform: translateY(18px) scale(0.96);
      transition: transform 700ms cubic-bezier(0.2, 0.9, 0.22, 1);
      overflow: auto;
    }

    .visit-celebration.is-visible .celebration-copy,
    .visit-celebration.is-static .celebration-copy {
      transform: translateY(0) scale(1);
    }

    .welcome-celebration-copy {
      position: relative;
      z-index: 2;
      display: grid;
      gap: 0.4rem;
      justify-items: center;
      width: min(620px, calc(100% - 2rem));
      padding: 2rem 1.4rem;
      border-radius: 34px;
      text-align: center;
      background: linear-gradient(145deg, rgba(255, 250, 241, 0.9), rgba(255, 243, 215, 0.82));
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 26px 60px rgba(34, 56, 30, 0.16);
      transform: translateY(18px) scale(0.96);
      transition: transform 700ms cubic-bezier(0.2, 0.9, 0.22, 1);
    }

    .welcome-celebration.is-visible .welcome-celebration-copy,
    .welcome-celebration.is-static .welcome-celebration-copy {
      transform: translateY(0) scale(1);
    }

    .welcome-celebration-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      min-height: 38px;
      padding: 0.45rem 0.85rem;
      border: 0;
      border-radius: 999px;
      background: rgba(24, 50, 42, 0.08);
      color: var(--ink);
      font: inherit;
      font-weight: 800;
      cursor: pointer;
    }

    .welcome-celebration-kicker {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 0.35rem 0.9rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.6);
      color: var(--brand-deep);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .welcome-celebration-copy h2 {
      margin: 0;
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(3.6rem, 12vw, 7rem);
      line-height: 0.9;
      letter-spacing: 0.03em;
      color: var(--brand-deep);
      text-shadow: 0 10px 30px rgba(63, 122, 38, 0.16);
    }

    .welcome-celebration-copy p {
      margin: 0;
      color: var(--muted);
      font-size: clamp(0.95rem, 2.6vw, 1.1rem);
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .welcome-celebration-credit {
      display: grid;
      gap: 0.15rem;
      margin-top: 0.7rem;
      padding-top: 0.9rem;
      width: min(360px, 100%);
      border-top: 1px solid rgba(24, 50, 42, 0.12);
    }

    .welcome-celebration-credit span {
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .welcome-celebration-credit strong {
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(1.1rem, 3vw, 1.5rem);
      letter-spacing: 0.03em;
      color: var(--ink);
    }

    .welcome-celebration-balloons {
      position: absolute;
      inset: 0;
      z-index: 1;
      overflow: hidden;
    }

    .celebration-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      z-index: 3;
      min-height: 40px;
      padding: 0.55rem 0.9rem;
      border: 0;
      border-radius: 999px;
      background: rgba(17, 31, 23, 0.7);
      color: #fffef8;
      font: inherit;
      font-weight: 800;
      letter-spacing: 0.04em;
      cursor: pointer;
      backdrop-filter: blur(8px);
      transition: transform 180ms ease, background 180ms ease;
    }

    .celebration-close:hover {
      transform: translateY(-1px);
      background: rgba(17, 31, 23, 0.84);
    }

    .celebration-photo {
      position: relative;
      min-height: clamp(260px, 44vw, 720px);
      overflow: hidden;
      background: #dfe8d8;
    }

    .celebration-photo::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(20, 37, 28, 0.08), rgba(20, 37, 28, 0.36));
    }

    .celebration-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      transform: scale(1.02);
      animation: celebration-photo-zoom 7s ease-in-out infinite;
    }

    .celebration-story {
      position: relative;
      display: grid;
      align-content: center;
      gap: 1rem;
      padding: 2.2rem 2rem;
      overflow-y: auto;
      background:
        radial-gradient(circle at top right, rgba(240, 139, 67, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(255, 243, 215, 0.92));
    }

    .celebration-kicker {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      min-height: 34px;
      padding: 0.35rem 0.9rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.72);
      color: var(--brand-deep);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .celebration-story h2 {
      margin: 0;
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(3rem, 6vw, 5.8rem);
      line-height: 0.88;
      letter-spacing: 0.03em;
      color: var(--brand-deep);
      text-shadow: 0 10px 30px rgba(63, 122, 38, 0.16);
    }

    .celebration-story p {
      margin: 0;
      color: var(--muted);
      font-size: clamp(1rem, 2.2vw, 1.16rem);
      font-weight: 800;
      letter-spacing: 0.03em;
    }

    .celebration-message {
      display: grid;
      gap: 0.35rem;
      padding: 1rem 1.05rem;
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.68);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 14px 28px rgba(34, 56, 30, 0.08);
      animation: drift-float 6.8s ease-in-out infinite;
    }

    .celebration-message strong {
      font-size: 0.92rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
    }

    .celebration-message span {
      color: var(--ink);
      line-height: 1.7;
    }

    .celebration-credit {
      display: grid;
      gap: 0.35rem;
      padding-top: 0.9rem;
      width: min(460px, 100%);
      border-top: 1px solid rgba(24, 50, 42, 0.12);
    }

    .celebration-credit span {
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .celebration-credit strong {
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(1.15rem, 2.6vw, 1.6rem);
      letter-spacing: 0.03em;
      color: var(--ink);
    }

    .celebration-balloons {
      position: absolute;
      inset: 0;
      z-index: 1;
      overflow: hidden;
    }

    .balloon,
    .confetti,
    .petal,
    .spark {
      position: absolute;
      opacity: 0;
    }

    .visit-celebration.is-visible .balloon,
    .visit-celebration.is-visible .confetti,
    .visit-celebration.is-visible .petal,
    .visit-celebration.is-visible .spark,
    .visit-celebration.is-static .balloon,
    .visit-celebration.is-static .confetti,
    .visit-celebration.is-static .petal,
    .visit-celebration.is-static .spark,
    .welcome-celebration.is-visible .balloon,
    .welcome-celebration.is-visible .confetti,
    .welcome-celebration.is-visible .petal,
    .welcome-celebration.is-visible .spark,
    .welcome-celebration.is-static .balloon,
    .welcome-celebration.is-static .confetti,
    .welcome-celebration.is-static .petal,
    .welcome-celebration.is-static .spark {
      opacity: 1;
    }

    .balloon {
      width: 84px;
      aspect-ratio: 0.82;
      border-radius: 50% 50% 46% 46%;
      box-shadow: inset -10px -14px 18px rgba(0, 0, 0, 0.08);
      animation: balloon-rise 7.5s linear infinite;
    }

    .balloon::before {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -42px;
      width: 2px;
      height: 44px;
      background: rgba(24, 50, 42, 0.28);
      transform: translateX(-50%);
    }

    .balloon::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -7px;
      width: 16px;
      height: 12px;
      background: inherit;
      clip-path: polygon(50% 100%, 0 0, 100% 0);
      transform: translateX(-50%);
    }

    .balloon-one {
      left: 6%;
      bottom: -18%;
      background: linear-gradient(180deg, #ffbe5b, #f08b43);
      animation-delay: 0s;
    }

    .balloon-two {
      left: 17%;
      bottom: -12%;
      width: 72px;
      background: linear-gradient(180deg, #ef6a74, #cf2f3d);
      animation-delay: 1.2s;
    }

    .balloon-three {
      right: 14%;
      bottom: -16%;
      width: 88px;
      background: linear-gradient(180deg, #90d9ff, #0f4c9c);
      animation-delay: 0.6s;
    }

    .balloon-four {
      right: 4%;
      bottom: -20%;
      width: 76px;
      background: linear-gradient(180deg, #b7ec77, #5a9a35);
      animation-delay: 1.8s;
    }

    .balloon-five {
      left: 32%;
      bottom: -24%;
      width: 68px;
      background: linear-gradient(180deg, #ffe6a6, #f1b454);
      animation-delay: 2.3s;
    }

    .balloon-six {
      right: 31%;
      bottom: -26%;
      width: 66px;
      background: linear-gradient(180deg, #ffc6d0, #d96886);
      animation-delay: 2.8s;
    }

    .confetti {
      font-size: 1.7rem;
      animation: confetti-drift 5.2s ease-in-out infinite;
      filter: drop-shadow(0 10px 18px rgba(34, 56, 30, 0.12));
    }

    .confetti-one {
      top: 18%;
      left: 22%;
      animation-delay: 0.2s;
    }

    .confetti-two {
      top: 20%;
      right: 20%;
      animation-delay: 1s;
    }

    .confetti-three {
      bottom: 18%;
      left: 18%;
      animation-delay: 1.8s;
    }

    .confetti-four {
      bottom: 20%;
      right: 24%;
      animation-delay: 2.5s;
    }

    .petal {
      font-size: 1.35rem;
      animation: petal-fall 8.8s linear infinite;
      filter: drop-shadow(0 10px 16px rgba(90, 20, 34, 0.1));
    }

    .petal-one {
      top: 12%;
      left: 14%;
      color: rgba(207, 47, 61, 0.82);
      animation-delay: 0.3s;
    }

    .petal-two {
      top: 8%;
      right: 18%;
      color: rgba(240, 139, 67, 0.82);
      animation-delay: 1.4s;
    }

    .petal-three {
      top: 5%;
      left: 56%;
      color: rgba(15, 76, 156, 0.62);
      animation-delay: 2.2s;
    }

    .petal-four {
      top: 18%;
      right: 34%;
      color: rgba(135, 199, 90, 0.82);
      animation-delay: 3s;
    }

    .spark {
      width: 110px;
      height: 110px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 245, 215, 0.42), transparent 62%);
      filter: blur(3px);
      animation: spark-pulse 3.8s ease-in-out infinite;
    }

    .spark-one {
      top: 8%;
      right: 8%;
    }

    .spark-two {
      left: 8%;
      bottom: 14%;
      width: 84px;
      height: 84px;
      animation-delay: 1.1s;
    }

    .spark-three {
      right: 28%;
      bottom: 10%;
      width: 96px;
      height: 96px;
      animation-delay: 2.2s;
    }

    .page-shell::before,
    .page-shell::after {
      content: "";
      position: fixed;
      inset: auto;
      pointer-events: none;
      z-index: -1;
      border-radius: 50%;
      filter: blur(12px);
    }

    .page-shell::before {
      top: 80px;
      left: -110px;
      width: 280px;
      height: 280px;
      background: rgba(240, 139, 67, 0.16);
    }

    .page-shell::after {
      right: -120px;
      bottom: 120px;
      width: 340px;
      height: 340px;
      background: rgba(15, 76, 156, 0.1);
    }

    .container {
      width: min(var(--max-width), calc(100% - 2rem));
      margin: 0 auto;
    }

    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 20;
      backdrop-filter: blur(18px);
      background: rgba(250, 244, 228, 0.72);
      border-bottom: 1px solid rgba(24, 50, 42, 0.08);
    }

    main {
      padding-top: var(--header-offset);
    }

    [id] {
      scroll-margin-top: calc(var(--header-offset) + 12px);
    }

    .site-header .container {
      width: calc(100% - 2rem);
      max-width: none;
    }

    .header-top-links {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.35rem;
      flex-wrap: nowrap;
      white-space: nowrap;
      flex: 0 0 auto;
    }

    .header-top-links .button {
      min-height: 36px;
      padding: 0 0.72rem;
      font-size: 0.74rem;
      letter-spacing: 0.03em;
      white-space: nowrap;
    }

    .top-link-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      padding: 0 0.72rem;
      border-radius: 999px;
      border: 1px solid rgba(24, 50, 42, 0.12);
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
      white-space: nowrap;
    }

    .top-link-button:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 22px rgba(34, 56, 30, 0.12);
    }

    .top-link-button.student {
      background: linear-gradient(135deg, #fff8de, #f4c766);
      color: #5a4207;
    }

    .top-link-button.teacher {
      background: linear-gradient(135deg, var(--flag-blue), #2d69b7);
      color: #fffdf7;
      border-color: rgba(15, 76, 156, 0.26);
    }

    .top-link-button.admin {
      position: relative;
      gap: 0.4rem;
      padding-inline: 0.88rem;
      background: linear-gradient(135deg, #4a2318, #8a4328);
      color: #fff7ef;
      border-color: rgba(255, 210, 170, 0.34);
      box-shadow: 0 12px 22px rgba(74, 35, 24, 0.2);
      overflow: hidden;
    }

    .top-link-button.admin::before {
      content: "ADM";
      display: inline-grid;
      place-items: center;
      width: 1.75rem;
      height: 1.75rem;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.14);
      color: #fff7ef;
      font-size: 0.54rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      flex: 0 0 auto;
    }

    .top-link-button.admin::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent 30%, rgba(255, 245, 234, 0.22), transparent 68%);
      transform: translateX(-130%);
      transition: transform 420ms ease;
    }

    .top-link-button.admin:hover {
      transform: translateY(-2px);
      box-shadow: 0 16px 28px rgba(74, 35, 24, 0.3);
    }

    .top-link-button.admin:hover::after {
      transform: translateX(130%);
    }

    .top-link-button.admission {
      background: linear-gradient(135deg, #fff5ef, #f6d9cc);
      color: #7b2830;
    }

    .top-link-button.portal {
      background: linear-gradient(135deg, #eef6ff, #cfe3ff);
      color: #174a7c;
      border-color: rgba(15, 76, 156, 0.18);
    }

    .portal-login-menu {
      position: relative;
      display: inline-flex;
      flex-direction: column;
    }

    .portal-login-panel {
      position: absolute;
      top: calc(100% + 0.45rem);
      right: 0;
      z-index: 35;
      display: grid;
      gap: 0.45rem;
      min-width: 200px;
      padding: 0.7rem;
      border-radius: 18px;
      background: rgba(255, 251, 245, 0.98);
      border: 1px solid rgba(24, 50, 42, 0.1);
      box-shadow: 0 18px 34px rgba(24, 50, 42, 0.14);
    }

    .portal-login-panel[hidden] {
      display: none !important;
    }

    .portal-login-option {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      padding: 0 0.8rem;
      border-radius: 14px;
      border: 1px solid rgba(24, 50, 42, 0.08);
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      transition: transform 180ms ease, box-shadow 180ms ease;
    }

    .portal-login-option:hover {
      transform: translateY(-1px);
      box-shadow: 0 10px 22px rgba(34, 56, 30, 0.12);
    }

    .portal-login-option.student {
      background: linear-gradient(135deg, #fff8de, #f4c766);
      color: #5a4207;
    }

    .portal-login-option.teacher {
      background: linear-gradient(135deg, var(--flag-blue), #2d69b7);
      color: #fffdf7;
    }

    .portal-login-option.admin {
      background: linear-gradient(135deg, #4a2318, #8a4328);
      color: #fff7ef;
    }

    .top-link-button.home {
      position: relative;
      gap: 0.42rem;
      padding-inline: 0.88rem;
      background: linear-gradient(135deg, #18322a, #2f6c3d);
      color: #fff8ec;
      border-color: rgba(24, 50, 42, 0.18);
      box-shadow: 0 12px 22px rgba(24, 50, 42, 0.16);
      overflow: hidden;
    }

    .top-link-button.home::before {
      content: "Home";
      display: inline-grid;
      place-items: center;
      width: 1.75rem;
      height: 1.75rem;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.16);
      color: #fff8ec;
      font-size: 0.54rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      flex: 0 0 auto;
    }

    .top-link-button.home::after {
      content: "";
      position: absolute;
      inset: 1px;
      border-radius: inherit;
      background: linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 42%);
      pointer-events: none;
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding: 0.9rem 1.2rem 1rem;
      width: 100%;
      flex-wrap: nowrap;
    }

    .nav-toggle {
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 0.28rem;
      width: 50px;
      height: 50px;
      padding: 0;
      border: 1px solid rgba(24, 50, 42, 0.12);
      border-radius: 16px;
      background: rgba(255, 249, 238, 0.9);
      box-shadow: 0 12px 24px rgba(41, 61, 25, 0.08);
      cursor: pointer;
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    }

    .nav-toggle:hover,
    .nav-toggle:focus-visible {
      transform: translateY(-1px);
      box-shadow: 0 16px 28px rgba(41, 61, 25, 0.12);
      background: rgba(255, 252, 244, 0.98);
      outline: none;
    }

    .nav-toggle span {
      width: 22px;
      height: 2.5px;
      border-radius: 999px;
      background: var(--ink);
      transition: transform 180ms ease, opacity 180ms ease;
    }

    .nav-toggle.is-active span:nth-child(1) {
      transform: translateY(4.8px) rotate(45deg);
    }

    .nav-toggle.is-active span:nth-child(2) {
      opacity: 0;
    }

    .nav-toggle.is-active span:nth-child(3) {
      transform: translateY(-4.8px) rotate(-45deg);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0;
      flex: 0 1 auto;
      padding-right: 0;
      min-width: 0;
    }

    .brand-mark {
      width: 64px;
      height: 64px;
      border-radius: 20px;
      background: linear-gradient(150deg, #fff9ea, #f2dfb2);
      border: 1px solid rgba(24, 50, 42, 0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.35rem;
      box-shadow: 0 14px 24px rgba(79, 139, 47, 0.16);
      position: relative;
      overflow: hidden;
      flex: 0 0 auto;
    }

    .brand-mark::after {
      content: "";
      position: absolute;
      inset: 7px;
      border-radius: 13px;
      border: 1px solid rgba(255, 248, 222, 0.56);
    }

    .brand-mark img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 15px;
      position: relative;
      z-index: 1;
    }

    .brand-copy {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      min-width: 0;
    }

    .brand-copy strong,
    .section-header h2,
    .hero-copy h1,
    .showcase-copy h3,
    .card h3,
    .contact-card h3 {
      font-family: "Cormorant Garamond", serif;
      letter-spacing: -0.02em;
    }

    .brand-copy strong {
      display: block;
      font-size: 1.14rem;
      line-height: 0.88;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--brand-deep);
      text-shadow: 0 1px 0 rgba(255, 248, 231, 0.9);
    }

    .brand-copy strong em {
      display: block;
      font-style: normal;
      color: var(--ink);
      font-size: 1.3rem;
      letter-spacing: 0.03em;
    }

    .brand-copy span {
      display: block;
      color: var(--muted);
      font-size: 0.76rem;
      margin-top: 0;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .brand-copy small {
      display: inline-block;
      margin-top: 0;
      padding: 0.2rem 0.5rem;
      border-radius: 999px;
      background: rgba(159, 213, 75, 0.14);
      color: var(--brand-deep);
      font-size: 0.64rem;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .nav-cluster {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 0.35rem;
      flex: 1;
      justify-content: flex-end;
      flex-wrap: nowrap;
      min-width: 0;
    }

    .nav-links {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.1rem;
      font-size: 0.84rem;
      color: var(--muted);
      padding: 0;
      flex-wrap: nowrap;
      flex: 0 1 auto;
      min-width: 0;
      white-space: nowrap;
    }

    .nav-links a {
      padding: 0.4rem 0.5rem;
      border-radius: 999px;
      font-weight: 700;
      transition: background 180ms ease, color 180ms ease, transform 180ms ease;
      white-space: nowrap;
    }

    .nav-links a:hover {
      color: var(--ink);
      background: rgba(159, 213, 75, 0.16);
      transform: translateY(-1px);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.3rem;
      flex-wrap: nowrap;
      flex: 0 0 auto;
    }

    .nav-actions .button {
      min-height: 40px;
      padding: 0 0.78rem;
      white-space: nowrap;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      min-height: 44px;
      padding: 0 1rem;
      border-radius: 999px;
      border: 1px solid transparent;
      font-weight: 700;
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
      position: relative;
      overflow: hidden;
    }

    .button:hover {
      transform: translateY(-2px);
    }

    .button::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.38) 50%, transparent 80%);
      transform: translateX(-130%);
      animation: button-shine 4.6s ease-in-out infinite;
    }

    .button.primary {
      background: linear-gradient(135deg, var(--brand-deep), #5a9a35);
      color: #fff;
      box-shadow: 0 14px 30px rgba(63, 122, 38, 0.26);
    }

    .button.secondary {
      background: rgba(255, 250, 240, 0.7);
      border-color: rgba(24, 50, 42, 0.1);
    }

    .button.ghost {
      background: rgba(255, 248, 233, 0.72);
      border-color: rgba(24, 50, 42, 0.1);
      color: var(--ink);
    }

    .events-strip {
      padding: 0.85rem 0 0.4rem;
    }

    .site-header + .events-strip {
      padding-top: calc(var(--header-offset) + 0.25rem);
    }

    .events-container {
      width: calc(100% - 2rem);
      max-width: none;
    }

    .events-shell {
      display: grid;
      grid-template-columns: minmax(250px, 0.36fr) minmax(0, 0.64fr);
      gap: 1rem;
      align-items: stretch;
      padding: 1rem;
      border-radius: 28px;
      background: linear-gradient(135deg, rgba(255, 249, 238, 0.95), rgba(246, 235, 211, 0.92));
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 20px 40px rgba(41, 61, 25, 0.08);
    }

    .events-head {
      display: grid;
      align-content: center;
      gap: 0.7rem;
      padding: 1.35rem 1.15rem;
      border-radius: 22px;
      background: linear-gradient(160deg, rgba(47, 108, 61, 0.94), rgba(90, 154, 53, 0.92));
      color: #fffef8;
      box-shadow: 0 18px 32px rgba(47, 108, 61, 0.18);
    }

    .events-kicker {
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(255, 244, 215, 0.88);
    }

    .events-head strong {
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(2rem, 3vw, 2.5rem);
      line-height: 0.94;
    }

    .events-head p {
      margin: 0;
      color: rgba(255, 248, 233, 0.86);
      line-height: 1.65;
    }

    .events-link {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 0.75rem 1rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.14);
      border: 1px solid rgba(255, 255, 255, 0.22);
      font-weight: 800;
      letter-spacing: 0.04em;
      transition: transform 180ms ease, background 180ms ease;
    }

    .events-link:hover {
      transform: translateY(-2px);
      background: rgba(255, 255, 255, 0.22);
    }

    .events-track-vertical {
      position: relative;
      overflow: hidden;
      min-height: 420px;
      padding: 0.25rem 0.2rem 0.25rem 0;
      border-radius: 24px;
    }

    .events-cascade {
      position: relative;
      display: grid;
      gap: 1rem;
      padding: 0.25rem 0.2rem 0.25rem 1.2rem;
      animation: events-rise 18s linear infinite;
    }

    .events-cascade::before {
      content: "";
      position: absolute;
      left: 0.3rem;
      top: 1rem;
      bottom: 1rem;
      width: 2px;
      background: linear-gradient(180deg, rgba(47, 108, 61, 0.28), rgba(240, 139, 67, 0.18));
      border-radius: 999px;
    }

    .event-card {
      position: relative;
      display: grid;
      grid-template-columns: 170px minmax(0, 1fr);
      align-items: center;
      gap: 1rem;
      padding: 0.8rem;
      border-radius: 24px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 232, 0.9));
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 14px 26px rgba(34, 56, 30, 0.08);
      transition: transform 220ms ease, box-shadow 220ms ease;
    }

    .event-card::before {
      content: "";
      position: absolute;
      left: -1rem;
      top: 50%;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), var(--sunrise));
      box-shadow: 0 0 0 6px rgba(255, 248, 233, 0.86);
      transform: translateY(-50%);
    }

    .event-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 18px 30px rgba(34, 56, 30, 0.12);
    }

    .event-image {
      position: relative;
      overflow: hidden;
      border-radius: 18px;
      aspect-ratio: 5 / 4;
      background: #dfe8d8;
    }

    .event-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 400ms ease;
    }

    .event-card:hover .event-image img {
      transform: scale(1.05);
    }

    .event-image-title {
      position: absolute;
      left: 0.7rem;
      right: 0.7rem;
      bottom: 0.7rem;
      z-index: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      padding: 0.45rem 0.7rem;
      border-radius: 999px;
      background: rgba(16, 31, 23, 0.7);
      color: #fffef8;
      backdrop-filter: blur(8px);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      text-align: center;
    }

    .event-copy {
      min-width: 0;
    }

    .event-date {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 0.3rem 0.7rem;
      border-radius: 999px;
      background: rgba(207, 47, 61, 0.1);
      color: var(--accent);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .event-status {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      margin-top: 0.55rem;
      padding: 0.3rem 0.7rem;
      border-radius: 999px;
      background: rgba(24, 50, 42, 0.08);
      color: var(--brand-deep);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .event-card.is-completed .event-status {
      background: rgba(48, 128, 74, 0.14);
      color: #2d7d44;
    }

    .event-card h3 {
      margin: 0.8rem 0 0.45rem;
      font-size: 1.25rem;
      line-height: 1.05;
      font-family: "Cormorant Garamond", serif;
    }

    .event-card p {
      margin: 0;
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.55;
    }

    .admission-layout {
      display: grid;
      grid-template-columns: 0.92fr 1.08fr;
      gap: 1.4rem;
      align-items: start;
    }

    .admission-form-card {
      padding: 1.4rem;
      border-radius: calc(var(--radius-xl) + 2px);
      background: linear-gradient(180deg, rgba(255, 248, 230, 0.94), rgba(251, 240, 216, 0.92));
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: var(--shadow);
    }

    .admission-form-card h3 {
      margin: 0.6rem 0 1rem;
      font-size: clamp(2rem, 4vw, 2.8rem);
      line-height: 0.98;
      font-family: "Cormorant Garamond", serif;
    }

    .admission-form {
      display: grid;
      gap: 1rem;
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }

    .form-field {
      display: grid;
      gap: 0.4rem;
    }

    .form-field span {
      font-size: 0.8rem;
      font-weight: 800;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--brand-deep);
    }

    .form-field input,
    .form-field select,
    .form-field textarea {
      width: 100%;
      border: 1px solid rgba(24, 50, 42, 0.12);
      border-radius: 18px;
      padding: 0.9rem 1rem;
      background: rgba(255, 255, 255, 0.72);
      color: var(--ink);
      font: inherit;
      transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
      resize: vertical;
    }

    .form-field input:focus,
    .form-field select:focus,
    .form-field textarea:focus {
      outline: none;
      border-color: rgba(63, 122, 38, 0.34);
      box-shadow: 0 0 0 4px rgba(135, 199, 90, 0.12);
      background: #fffdf8;
    }

    .form-field-full {
      grid-column: 1 / -1;
    }

    .form-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      align-items: center;
    }

    .form-response {
      min-height: 24px;
      margin-top: -0.15rem;
      font-size: 0.9rem;
      font-weight: 700;
    }

    .form-response.is-success {
      color: var(--brand-deep);
    }

    .form-response.is-error {
      color: var(--accent);
    }

    .portal-auth-note {
      margin: -0.1rem 0 0;
      color: var(--muted);
      font-size: 0.84rem;
      line-height: 1.5;
    }

    .highlight-ribbon {
      padding-top: 0.8rem;
    }

    .highlight-header {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1.2rem;
    }

    .highlight-header h2 {
      margin: 0.35rem 0 0;
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(2.1rem, 4vw, 3rem);
      line-height: 0.96;
    }

    .highlight-header p {
      max-width: 58ch;
      margin: 0;
      color: var(--muted);
    }

    .highlight-stage {
      position: relative;
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 1rem;
      align-items: start;
      padding: 1.2rem 0.2rem 0.4rem;
      --highlight-glow-x: 50%;
      --highlight-glow-y: 50%;
    }

    .highlight-stage::before {
      content: "";
      position: absolute;
      inset: 10% 6% auto 6%;
      height: 72%;
      border-radius: 40px;
      background:
        radial-gradient(circle at 20% 20%, rgba(240, 139, 67, 0.14), transparent 24%),
        radial-gradient(circle at 80% 35%, rgba(15, 76, 156, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(255, 251, 243, 0.62), rgba(247, 237, 220, 0.3));
      z-index: -1;
      filter: blur(2px);
    }

    .highlight-stage::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at var(--highlight-glow-x) var(--highlight-glow-y), rgba(135, 199, 90, 0.16), transparent 18%);
      z-index: -1;
      pointer-events: none;
      transition: background-position 220ms ease, opacity 220ms ease;
    }

    .highlight-card {
      position: relative;
      display: grid;
      gap: 0.75rem;
      padding: 1rem;
      min-height: 200px;
      border-radius: 26px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 247, 229, 0.92));
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 18px 32px rgba(34, 56, 30, 0.09);
      animation: highlight-float 7.2s ease-in-out infinite;
      transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
      cursor: pointer;
    }

    .highlight-card:hover {
      transform: translateY(-8px) rotate(0deg) !important;
      box-shadow: 0 24px 40px rgba(34, 56, 30, 0.14);
    }

    .highlight-card.is-active {
      transform: translateY(-10px) rotate(0deg) !important;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 250, 234, 0.96));
      border-color: rgba(63, 122, 38, 0.22);
      box-shadow: 0 28px 46px rgba(34, 56, 30, 0.16);
    }

    .highlight-card:focus-visible {
      outline: none;
      box-shadow: 0 0 0 4px rgba(135, 199, 90, 0.16), 0 24px 40px rgba(34, 56, 30, 0.14);
    }

    .highlight-tag {
      display: inline-flex;
      width: fit-content;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 0.32rem 0.75rem;
      border-radius: 999px;
      background: rgba(207, 47, 61, 0.08);
      color: var(--accent);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .highlight-card strong {
      font-family: "Cormorant Garamond", serif;
      font-size: 1.6rem;
      line-height: 0.98;
      color: var(--ink);
    }

    .highlight-card p {
      margin: 0;
      color: var(--muted);
      line-height: 1.62;
    }

    .highlight-meter {
      display: grid;
      gap: 0.35rem;
      margin-top: auto;
      padding-top: 0.2rem;
    }

    .highlight-meter-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--brand-deep);
    }

    .highlight-meter-bar {
      height: 10px;
      border-radius: 999px;
      background: rgba(24, 50, 42, 0.08);
      overflow: hidden;
    }

    .highlight-meter-bar span {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--accent-soft), var(--brand));
      transform: scaleX(0.35);
      transform-origin: left center;
      transition: transform 420ms ease;
      animation: meter-slide 2.6s ease-in-out infinite;
    }

    .highlight-card.is-active .highlight-meter-bar span,
    .highlight-card:hover .highlight-meter-bar span {
      transform: scaleX(1);
    }

    .highlight-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: fit-content;
      min-height: 36px;
      padding: 0.45rem 0.85rem;
      border: 0;
      border-radius: 999px;
      background: rgba(24, 50, 42, 0.08);
      color: var(--ink);
      font: inherit;
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      cursor: pointer;
      transition: transform 180ms ease, background 180ms ease, color 180ms ease;
    }

    .highlight-action:hover,
    .highlight-action:focus-visible {
      background: var(--brand-deep);
      color: #fff8ec;
      transform: translateY(-1px);
      outline: none;
    }

    .tilt-one {
      transform: rotate(-4deg) translateY(10px);
    }

    .tilt-two {
      transform: rotate(3deg) translateY(-6px);
      animation-delay: 0.8s;
    }

    .tilt-three {
      transform: rotate(-2deg) translateY(16px);
      animation-delay: 1.4s;
    }

    .tilt-four {
      transform: rotate(4deg) translateY(-2px);
      animation-delay: 2s;
    }

    .tilt-five {
      transform: rotate(-3deg) translateY(12px);
      animation-delay: 2.6s;
    }

    .events-cascade.is-static {
      animation: none;
    }

    .hero {
      padding: 3.5rem 0 2rem;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      align-items: center;
      gap: 2rem;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.45rem 0.8rem;
      border-radius: 999px;
      background: rgba(255, 248, 231, 0.85);
      border: 1px solid rgba(24, 50, 42, 0.08);
      color: var(--brand-deep);
      font-weight: 800;
      font-size: 0.82rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .hero-copy h1 {
      margin: 1rem 0 1rem;
      font-size: clamp(3rem, 6vw, 5.6rem);
      line-height: 0.92;
    }

    .hero-copy p {
      max-width: 58ch;
      color: var(--muted);
      font-size: 1.06rem;
    }

    .hero-copy {
      position: relative;
    }

    .hero-copy::before {
      content: "";
      position: absolute;
      top: -1.1rem;
      left: -0.7rem;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(240, 139, 67, 0.26), transparent 72%);
      filter: blur(4px);
      z-index: -1;
      animation: drift-float 7s ease-in-out infinite;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.9rem;
      margin-top: 1.8rem;
    }

    .hero-metrics {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
      margin-top: 2rem;
    }

    .metric {
      position: relative;
      padding: 1rem 1.1rem;
      border-radius: var(--radius-md);
      background: rgba(255, 251, 241, 0.7);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 10px 25px rgba(34, 56, 30, 0.06);
      transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
      overflow: hidden;
      animation: tile-bob 6.2s ease-in-out infinite;
    }

    .metric:nth-child(2) {
      animation-delay: 0.8s;
    }

    .metric:nth-child(3) {
      animation-delay: 1.6s;
    }

    .metric::after {
      content: "";
      position: absolute;
      inset: auto -10% -45% auto;
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(159, 213, 75, 0.18), transparent 70%);
      transition: transform 220ms ease;
    }

    .metric:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 32px rgba(34, 56, 30, 0.12);
      border-color: rgba(63, 122, 38, 0.14);
    }

    .metric:hover::after {
      transform: scale(1.16);
    }

    .metric strong {
      display: block;
      font-size: 1.5rem;
      line-height: 1;
      margin-bottom: 0.45rem;
    }

    .hero-visual {
      position: relative;
      min-height: 0;
      display: grid;
      align-items: center;
      overflow: visible;
    }

    .hero-visual::before,
    .hero-visual::after {
      content: "";
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      border-radius: 50% 50% 0 0;
      pointer-events: none;
      z-index: -1;
    }

    .hero-visual::before {
      bottom: -1.2rem;
      width: 76%;
      height: 84px;
      background: linear-gradient(180deg, rgba(47, 108, 61, 0.12), rgba(47, 108, 61, 0.2));
      clip-path: polygon(0 100%, 14% 64%, 28% 78%, 42% 42%, 54% 68%, 69% 34%, 84% 74%, 100% 100%);
    }

    .hero-visual::after {
      bottom: -0.4rem;
      width: 52%;
      height: 62px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
      clip-path: polygon(0 100%, 18% 58%, 30% 70%, 47% 28%, 60% 64%, 77% 18%, 100% 100%);
      animation: mountain-breathe 8s ease-in-out infinite;
    }

    .hero-orbit {
      position: absolute;
      z-index: 2;
      padding: 0.7rem 0.95rem;
      border-radius: 999px;
      background: rgba(255, 250, 239, 0.92);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 16px 30px rgba(26, 48, 34, 0.12);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      backdrop-filter: blur(8px);
    }

    .hero-orbit.one {
      left: -1rem;
      top: 5.6rem;
      animation: drift-float 6.4s ease-in-out infinite;
    }

    .hero-orbit.two {
      right: 1.1rem;
      bottom: 8.3rem;
      animation: drift-float 7.6s ease-in-out infinite 0.8s;
    }

    .hero-orbit::before {
      content: "✦";
      color: var(--accent);
      margin-right: 0.38rem;
    }

    .hero-photo-wrap {
      position: relative;
      border-radius: 38px;
      overflow: hidden;
      box-shadow: var(--shadow);
      width: 100%;
      aspect-ratio: 5 / 6;
      isolation: isolate;
      background: #dfe8d8;
    }

    .hero-photo-wrap::before {
      content: none;
    }

    .hero-photo-wrap img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 32%;
      transform: scale(1.04);
      transition: transform 800ms ease;
    }

    .hero-photo-wrap:hover img {
      transform: scale(1.09);
    }

    .photo-badge,
    .floating-note {
      position: absolute;
      z-index: 2;
      background: rgba(255, 250, 239, 0.9);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 18px 32px rgba(26, 48, 34, 0.14);
      backdrop-filter: blur(8px);
    }

    .photo-badge {
      right: -1.1rem;
      top: 2rem;
      width: min(260px, 72%);
      border-radius: 24px;
      padding: 1rem;
      animation: drift-float 6.8s ease-in-out infinite;
    }

    .photo-badge strong,
    .floating-note strong {
      display: block;
      font-size: 1rem;
      margin-bottom: 0.25rem;
    }

    .photo-badge span,
    .floating-note span {
      color: var(--muted);
      font-size: 0.9rem;
    }

    .floating-note {
      left: -1.1rem;
      bottom: 2rem;
      width: min(240px, 70%);
      border-radius: 22px;
      padding: 1rem;
      animation: drift-float 7.6s ease-in-out infinite 0.7s;
    }

    .section {
      padding: 2.5rem 0;
    }

    .motion-strip {
      padding: 0.35rem 0 2.2rem;
    }

    .motion-track {
      position: relative;
      overflow: hidden;
      border-radius: 999px;
      border: 1px solid rgba(24, 50, 42, 0.08);
      background: linear-gradient(135deg, rgba(255, 247, 238, 0.94), rgba(244, 231, 212, 0.92));
      box-shadow: 0 18px 34px rgba(48, 67, 37, 0.08);
    }

    .motion-track::before,
    .motion-track::after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      width: 70px;
      z-index: 2;
      pointer-events: none;
    }

    .motion-track::before {
      left: 0;
      background: linear-gradient(90deg, rgba(248, 239, 216, 1), rgba(248, 239, 216, 0));
    }

    .motion-track::after {
      right: 0;
      background: linear-gradient(270deg, rgba(248, 239, 216, 1), rgba(248, 239, 216, 0));
    }

    .motion-inner {
      display: flex;
      gap: 1rem;
      width: max-content;
      padding: 0.85rem 1rem;
      animation: marquee-slide 24s linear infinite;
    }

    .motion-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      padding: 0.62rem 1rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(24, 50, 42, 0.08);
      color: var(--ink);
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      white-space: nowrap;
      animation: pill-glow 3.8s ease-in-out infinite;
    }

    .motion-pill:nth-child(2n) {
      animation-delay: 0.8s;
    }

    .motion-pill:nth-child(3n) {
      animation-delay: 1.6s;
    }

    .motion-pill span {
      color: var(--accent);
      font-size: 0.95rem;
    }

    .sports-page main {
      position: relative;
    }

    .sports-page main::before,
    .sports-page main::after {
      content: "";
      position: absolute;
      pointer-events: none;
      border-radius: 50%;
      filter: blur(8px);
      opacity: 0.5;
    }

    .sports-page main::before {
      top: 2.5rem;
      right: -5rem;
      width: 260px;
      height: 260px;
      background: radial-gradient(circle, rgba(135, 199, 90, 0.22), transparent 70%);
    }

    .sports-page main::after {
      top: 24rem;
      left: -4rem;
      width: 220px;
      height: 220px;
      background: radial-gradient(circle, rgba(15, 76, 156, 0.16), transparent 70%);
    }

    .sports-popup .celebration-copy {
      grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
      width: min(1100px, 100%);
      max-height: min(90dvh, 760px);
      background: linear-gradient(145deg, rgba(244, 249, 239, 0.96), rgba(255, 245, 228, 0.94));
      overflow: hidden;
    }

    .sports-popup-backdrop {
      background:
        radial-gradient(circle at 50% 28%, rgba(180, 240, 122, 0.24), transparent 20%),
        radial-gradient(circle at 60% 22%, rgba(244, 182, 81, 0.18), transparent 18%),
        linear-gradient(180deg, rgba(11, 28, 17, 0.78), rgba(17, 45, 24, 0.58));
    }

    .sports-popup-stage {
      position: relative;
      min-height: 560px;
      background:
        radial-gradient(circle at 50% 20%, rgba(255, 248, 219, 0.2), transparent 24%),
        linear-gradient(180deg, #13321d 0%, #1f5b2e 58%, #0d2e18 100%);
      overflow: hidden;
      isolation: isolate;
    }

    .sports-popup-story {
      display: grid;
      align-content: center;
      gap: 1rem;
      padding: 2.2rem 2rem 2rem;
      position: relative;
      z-index: 1;
    }

    .sports-popup-story h2 {
      margin: 0;
      font-size: clamp(2.6rem, 5vw, 4.8rem);
      line-height: 0.9;
    }

    .sports-popup-story p {
      margin: 0;
      color: var(--muted);
      font-size: 1rem;
      max-width: 46ch;
    }

    .sports-popup-features {
      display: flex;
      flex-wrap: wrap;
      gap: 0.7rem;
    }

    .sports-popup-features span {
      display: inline-flex;
      align-items: center;
      min-height: 38px;
      padding: 0.55rem 0.9rem;
      border-radius: 999px;
      background: rgba(24, 50, 42, 0.07);
      border: 1px solid rgba(24, 50, 42, 0.08);
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .sports-popup-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      margin-top: 0.3rem;
    }

    .sports-popup-enter {
      font: inherit;
      cursor: pointer;
    }

    .sports-popup-close {
      background: rgba(16, 38, 24, 0.76);
    }

    .stadium-glow {
      position: absolute;
      top: -10%;
      left: 50%;
      width: 90%;
      height: 60%;
      transform: translateX(-50%);
      background: radial-gradient(circle, rgba(255, 252, 215, 0.26), transparent 58%);
      filter: blur(8px);
      animation: stadium-pulse 3.8s ease-in-out infinite;
    }

    .stadium-crowd {
      position: absolute;
      inset: auto 0 24% 0;
      height: 34%;
      background:
        radial-gradient(circle at 8% 90%, rgba(255, 255, 255, 0.16) 0 5px, transparent 6px),
        radial-gradient(circle at 17% 82%, rgba(255, 221, 144, 0.18) 0 4px, transparent 5px),
        radial-gradient(circle at 26% 88%, rgba(255, 255, 255, 0.14) 0 5px, transparent 6px),
        radial-gradient(circle at 35% 80%, rgba(244, 182, 81, 0.18) 0 4px, transparent 5px),
        radial-gradient(circle at 45% 88%, rgba(255, 255, 255, 0.14) 0 5px, transparent 6px),
        radial-gradient(circle at 54% 82%, rgba(255, 221, 144, 0.18) 0 4px, transparent 5px),
        radial-gradient(circle at 63% 89%, rgba(255, 255, 255, 0.16) 0 5px, transparent 6px),
        radial-gradient(circle at 72% 82%, rgba(244, 182, 81, 0.18) 0 4px, transparent 5px),
        radial-gradient(circle at 81% 90%, rgba(255, 255, 255, 0.14) 0 5px, transparent 6px),
        radial-gradient(circle at 91% 83%, rgba(255, 221, 144, 0.18) 0 4px, transparent 5px),
        linear-gradient(180deg, rgba(10, 22, 14, 0.12), rgba(8, 18, 11, 0.7));
      opacity: 0.9;
    }

    .stadium-pitch {
      position: absolute;
      left: 50%;
      bottom: -2%;
      width: 68%;
      height: 48%;
      transform: translateX(-50%);
      border-radius: 46% 46% 0 0;
      background:
        linear-gradient(180deg, rgba(178, 148, 89, 0.96), rgba(136, 100, 49, 0.98)),
        linear-gradient(90deg, transparent 48%, rgba(255, 246, 225, 0.92) 48%, rgba(255, 246, 225, 0.92) 52%, transparent 52%);
      box-shadow: inset 0 18px 36px rgba(255, 255, 255, 0.08), 0 -18px 44px rgba(3, 16, 8, 0.28);
    }

    .stadium-pitch::before,
    .stadium-pitch::after {
      content: "";
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      border-radius: 999px;
      background: rgba(255, 246, 225, 0.96);
    }

    .stadium-pitch::before {
      top: 14%;
      width: 10px;
      height: 46%;
      box-shadow: -22px 0 0 rgba(255, 246, 225, 0.96), 22px 0 0 rgba(255, 246, 225, 0.96);
    }

    .stadium-pitch::after {
      bottom: 14%;
      width: 84px;
      height: 6px;
    }

    .robot-batter {
      position: absolute;
      left: 28%;
      bottom: 19%;
      width: 180px;
      height: 250px;
      transform-origin: bottom center;
      animation: robot-shift 2.9s ease-in-out infinite;
    }

    .robot-head,
    .robot-torso,
    .robot-arm,
    .robot-leg {
      position: absolute;
      background: linear-gradient(180deg, #f4f6f7, #bcc6cd);
      box-shadow: inset 0 -8px 16px rgba(61, 73, 79, 0.18);
    }

    .robot-head {
      top: 8px;
      left: 72px;
      width: 52px;
      height: 52px;
      border-radius: 16px;
      border: 3px solid #3a4b56;
    }

    .robot-head::before,
    .robot-head::after {
      content: "";
      position: absolute;
      top: 18px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #2de3ff;
      box-shadow: 0 0 10px rgba(45, 227, 255, 0.8);
    }

    .robot-head::before {
      left: 11px;
    }

    .robot-head::after {
      right: 11px;
    }

    .robot-torso {
      top: 60px;
      left: 58px;
      width: 80px;
      height: 90px;
      border-radius: 22px;
      border: 3px solid #3a4b56;
    }

    .robot-torso::before {
      content: "";
      position: absolute;
      inset: 16px 18px;
      border-radius: 14px;
      background: linear-gradient(180deg, rgba(45, 227, 255, 0.18), rgba(45, 227, 255, 0.02));
      border: 2px solid rgba(45, 227, 255, 0.45);
    }

    .robot-arm {
      top: 74px;
      width: 24px;
      height: 92px;
      border-radius: 20px;
      border: 3px solid #3a4b56;
      transform-origin: top center;
    }

    .robot-arm-back {
      left: 42px;
      transform: rotate(32deg);
      animation: arm-back-swing 1.8s ease-in-out infinite;
    }

    .robot-arm-front {
      left: 122px;
      transform: rotate(-42deg);
      animation: arm-front-swing 1.8s ease-in-out infinite;
    }

    .robot-bat {
      position: absolute;
      top: 78px;
      left: 126px;
      width: 20px;
      height: 122px;
      border-radius: 14px;
      background: linear-gradient(180deg, #f4d8a8, #b47c36);
      border: 3px solid rgba(92, 56, 20, 0.76);
      transform-origin: 50% 90%;
      animation: bat-swing 1.8s cubic-bezier(0.35, 0, 0.2, 1) infinite;
      box-shadow: 0 12px 18px rgba(57, 34, 12, 0.16);
    }

    .robot-leg {
      top: 142px;
      width: 28px;
      height: 102px;
      border-radius: 20px;
      border: 3px solid #3a4b56;
      transform-origin: top center;
    }

    .robot-leg-back {
      left: 70px;
      transform: rotate(8deg);
      animation: leg-back-step 1.8s ease-in-out infinite;
    }

    .robot-leg-front {
      left: 108px;
      transform: rotate(-10deg);
      animation: leg-front-step 1.8s ease-in-out infinite;
    }

    .popup-ball {
      position: absolute;
      left: 38%;
      bottom: 33%;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.4), transparent 28%), linear-gradient(145deg, #da3743, #8f1826);
      box-shadow: 0 10px 18px rgba(126, 14, 25, 0.26);
      animation: popup-ball-flight 1.8s linear infinite;
    }

    .popup-ball::before,
    .popup-ball::after {
      content: "";
      position: absolute;
      top: 3px;
      bottom: 3px;
      width: 3px;
      border-radius: 999px;
      background: rgba(255, 244, 244, 0.96);
    }

    .popup-ball::before {
      left: 5px;
    }

    .popup-ball::after {
      right: 5px;
    }

    .popup-ball-trail {
      position: absolute;
      width: 170px;
      height: 8px;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(255, 205, 118, 0), rgba(255, 205, 118, 0.8), rgba(255, 205, 118, 0));
      opacity: 0;
      transform-origin: left center;
      animation: popup-trail-flight 1.8s linear infinite;
    }

    .trail-one {
      left: 38%;
      bottom: 43%;
      transform: rotate(-24deg);
    }

    .trail-two {
      left: 48%;
      bottom: 57%;
      width: 140px;
      transform: rotate(-18deg);
      animation-delay: 0.14s;
    }

    .popup-six-badge,
    .popup-cheer {
      position: absolute;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .popup-six-badge {
      top: 12%;
      right: 10%;
      min-height: 64px;
      padding: 0.9rem 1.2rem;
      background: radial-gradient(circle at 30% 30%, rgba(255, 244, 212, 0.96), rgba(244, 182, 81, 0.92));
      color: #5f3600;
      box-shadow: 0 18px 38px rgba(145, 84, 7, 0.22);
      animation: six-badge-pop 1.8s ease-in-out infinite;
    }

    .popup-cheer {
      min-height: 36px;
      padding: 0.5rem 0.9rem;
      background: rgba(255, 248, 236, 0.9);
      color: var(--ink);
      font-size: 0.7rem;
      box-shadow: 0 14px 28px rgba(11, 31, 18, 0.14);
      animation: cricket-orbit-float 3.6s ease-in-out infinite;
    }

    .cheer-left {
      left: 8%;
      top: 16%;
    }

    .cheer-right {
      right: 6%;
      top: 30%;
      animation-delay: 0.9s;
    }

    .popup-six-ring {
      position: absolute;
      right: 10%;
      top: 18%;
      width: 110px;
      height: 110px;
      border-radius: 50%;
      border: 2px solid rgba(255, 224, 130, 0.44);
      animation: six-ring-burst 1.8s ease-out infinite;
    }

    .ring-two {
      animation-delay: 0.42s;
    }

    .sports-hero {
      padding-top: 2.2rem;
      overflow: hidden;
    }

    .sports-hero-grid,
    .mentor-layout,
    .sports-focus-grid {
      display: grid;
      gap: 1.4rem;
    }

    .sports-hero-grid,
    .mentor-layout {
      grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
      align-items: center;
    }

    .sports-copy {
      position: relative;
      z-index: 1;
    }

    .sports-copy h1 {
      margin: 0.5rem 0 1rem;
      font-size: clamp(3rem, 6vw, 5.6rem);
      line-height: 0.92;
      max-width: 11ch;
    }

    .sports-copy p {
      max-width: 58ch;
      margin: 0;
      color: var(--muted);
      font-size: 1.02rem;
    }

    .sports-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.85rem;
      margin-top: 1.5rem;
    }

    .sports-scoreline {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.85rem;
      margin-top: 1.5rem;
    }

    .score-chip {
      padding: 0.95rem 1rem;
      border-radius: 22px;
      background: linear-gradient(135deg, rgba(18, 51, 33, 0.95), rgba(47, 108, 61, 0.92));
      color: #f7f2e7;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 16px 30px rgba(23, 46, 29, 0.18);
      animation: tile-bob 7s ease-in-out infinite;
    }

    .score-chip:nth-child(2) {
      animation-delay: 0.9s;
    }

    .score-chip:nth-child(3) {
      animation-delay: 1.8s;
    }

    .score-chip span {
      display: block;
      margin-bottom: 0.35rem;
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(247, 242, 231, 0.72);
    }

    .score-chip strong {
      display: block;
      font-size: 1.02rem;
      letter-spacing: 0.02em;
    }

    .sports-visual {
      position: relative;
      min-height: 640px;
      padding: 2rem 1rem;
    }

    .sports-photo-card,
    .mentor-portrait-card {
      position: relative;
      overflow: hidden;
      border-radius: 34px;
      border: 1px solid rgba(24, 50, 42, 0.1);
      box-shadow: 0 28px 54px rgba(26, 48, 34, 0.16);
    }

    .sports-photo-card {
      width: min(460px, 100%);
      margin: 0 auto;
      background:
        linear-gradient(180deg, rgba(16, 48, 30, 0.08), rgba(16, 48, 30, 0.16)),
        linear-gradient(140deg, rgba(255, 249, 238, 0.92), rgba(235, 245, 225, 0.88));
      transform: rotate(-2deg);
      animation: sports-card-sway 7.8s ease-in-out infinite;
    }

    .sports-photo-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(11, 34, 19, 0.44) 100%),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 30%);
      z-index: 1;
      pointer-events: none;
    }

    .sports-photo-card img,
    .mentor-portrait-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .sports-photo-card img {
      aspect-ratio: 4 / 5;
      object-position: center 18%;
    }

    .sports-photo-badge,
    .mentor-portrait-overlay {
      position: absolute;
      left: 1rem;
      right: 1rem;
      bottom: 1rem;
      z-index: 2;
      padding: 1rem 1.05rem;
      border-radius: 24px;
      background: rgba(255, 248, 236, 0.92);
      border: 1px solid rgba(24, 50, 42, 0.08);
      backdrop-filter: blur(10px);
      box-shadow: 0 14px 28px rgba(34, 56, 30, 0.14);
    }

    .sports-photo-badge span,
    .mentor-portrait-overlay strong {
      display: block;
      margin-bottom: 0.35rem;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
    }

    .sports-photo-badge strong {
      display: block;
      font-size: 1.35rem;
      line-height: 1.05;
    }

    .mentor-portrait-overlay span {
      color: var(--muted);
      font-size: 0.94rem;
      line-height: 1.55;
    }

    .cricket-orbit {
      position: absolute;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      min-height: 42px;
      padding: 0.75rem 1rem;
      border-radius: 999px;
      background: rgba(255, 248, 236, 0.9);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 18px 30px rgba(34, 56, 30, 0.1);
      font-size: 0.76rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      animation: cricket-orbit-float 7.2s ease-in-out infinite;
    }

    .orbit-one {
      top: 1.25rem;
      left: 0;
    }

    .orbit-two {
      right: 0;
      bottom: 3.5rem;
      animation-delay: 1.3s;
    }

    .cricket-ball {
      position: absolute;
      top: 3.8rem;
      right: 2.3rem;
      width: 74px;
      height: 74px;
      border-radius: 50%;
      background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.28), transparent 18%),
        linear-gradient(145deg, #d5343f, #921d2b);
      box-shadow: 0 20px 36px rgba(120, 16, 25, 0.24);
      animation: ball-bounce 4.8s ease-in-out infinite;
    }

    .cricket-ball::before,
    .cricket-ball::after {
      content: "";
      position: absolute;
      top: 10px;
      bottom: 10px;
      width: 10px;
      border-radius: 999px;
      border: 2px dashed rgba(255, 245, 245, 0.92);
    }

    .cricket-ball::before {
      left: 18px;
      transform: rotate(11deg);
    }

    .cricket-ball::after {
      right: 18px;
      transform: rotate(-11deg);
    }

    .pitch-line {
      position: absolute;
      width: 150px;
      height: 12px;
      border-radius: 999px;
      background: linear-gradient(90deg, rgba(244, 182, 81, 0), rgba(244, 182, 81, 0.9), rgba(244, 182, 81, 0));
      opacity: 0.7;
      filter: blur(0.2px);
      animation: pitch-scan 5.2s ease-in-out infinite;
    }

    .pitch-one {
      left: 0.8rem;
      bottom: 7rem;
    }

    .pitch-two {
      right: 1.6rem;
      bottom: 10rem;
      animation-delay: 1.8s;
    }

    .sports-strip .motion-track {
      background: linear-gradient(135deg, rgba(21, 60, 32, 0.98), rgba(44, 102, 56, 0.96));
      border-color: rgba(255, 255, 255, 0.08);
    }

    .sports-strip .motion-track::before {
      background: linear-gradient(90deg, rgba(21, 60, 32, 1), rgba(21, 60, 32, 0));
    }

    .sports-strip .motion-track::after {
      background: linear-gradient(270deg, rgba(44, 102, 56, 1), rgba(44, 102, 56, 0));
    }

    .sports-strip .motion-pill {
      background: rgba(255, 250, 241, 0.14);
      border-color: rgba(255, 255, 255, 0.1);
      color: #fff8ec;
    }

    .sports-strip .motion-pill span {
      color: var(--accent-soft);
    }

    .mentor-layout {
      align-items: stretch;
    }

    .mentor-meta-grid,
    .sports-focus-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mentor-meta-grid {
      display: grid;
      gap: 0.85rem;
      margin-top: 1.25rem;
    }

    .mentor-meta-card {
      padding: 1rem;
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.58);
      border: 1px solid rgba(24, 50, 42, 0.08);
    }

    .mentor-meta-card span {
      display: block;
      margin-bottom: 0.3rem;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .mentor-meta-card strong {
      display: block;
      line-height: 1.4;
    }

    .mentor-portrait-card {
      min-height: 100%;
      background: linear-gradient(145deg, rgba(255, 248, 236, 0.94), rgba(232, 245, 226, 0.92));
    }

    .mentor-portrait-card img {
      aspect-ratio: 4 / 5;
      object-position: center 14%;
    }

    .sports-page .card::before {
      background: radial-gradient(circle, rgba(244, 182, 81, 0.2), transparent 70%);
    }

    .sports-page .card h3 {
      font-size: 1.5rem;
    }

    .sports-page .highlight-card {
      background: linear-gradient(155deg, rgba(255, 250, 242, 0.96), rgba(240, 247, 232, 0.94));
      border-color: rgba(24, 50, 42, 0.08);
    }

    .teacher-portal-hero {
      padding-top: 2rem;
    }

    .teacher-portal-grid,
    .teacher-portal-tools {
      display: grid;
      gap: 1.4rem;
    }

    .teacher-portal-grid {
      grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
      align-items: start;
    }

    .teacher-portal-copy h1 {
      margin: 0.45rem 0 1rem;
      font-size: clamp(3rem, 6vw, 5.3rem);
      line-height: 0.92;
      max-width: 10.5ch;
    }

    .teacher-portal-copy p {
      max-width: 58ch;
      margin: 0;
      color: var(--muted);
    }

    .teacher-portal-points {
      display: flex;
      flex-wrap: wrap;
      gap: 0.7rem;
      margin-top: 1.3rem;
    }

    .teacher-portal-points span {
      display: inline-flex;
      align-items: center;
      min-height: 38px;
      padding: 0.5rem 0.85rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.74);
      border: 1px solid rgba(24, 50, 42, 0.08);
      font-size: 0.76rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .teacher-login-shell {
      display: grid;
      grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.7fr);
      gap: 1rem;
      align-items: stretch;
    }

    .teacher-login-card,
    .teacher-login-side,
    .teacher-portal-dashboard {
      border-radius: calc(var(--radius-xl) + 2px);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: var(--shadow);
    }

    .teacher-login-card {
      padding: 1.35rem;
      background: linear-gradient(180deg, rgba(255, 248, 230, 0.96), rgba(251, 240, 216, 0.92));
    }

    .teacher-login-top,
    .teacher-dashboard-top {
      display: grid;
      gap: 0.3rem;
      margin-bottom: 1rem;
    }

    .teacher-login-kicker {
      display: inline-flex;
      width: fit-content;
      min-height: 34px;
      align-items: center;
      padding: 0.3rem 0.8rem;
      border-radius: 999px;
      background: rgba(47, 108, 61, 0.1);
      color: var(--brand-deep);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .teacher-login-top strong,
    .teacher-dashboard-top strong {
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(2rem, 4vw, 2.8rem);
      line-height: 0.98;
    }

    .teacher-login-form {
      display: grid;
      gap: 0.95rem;
    }

    .teacher-login-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .teacher-check {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--muted);
      font-size: 0.9rem;
    }

    .teacher-inline-link {
      color: var(--brand-deep);
      font-weight: 800;
      text-decoration: none;
    }

    .teacher-login-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 0.25rem;
    }

    .teacher-login-side,
    .teacher-portal-dashboard {
      padding: 1.2rem;
      background: linear-gradient(180deg, rgba(23, 50, 40, 0.96), rgba(17, 38, 31, 0.95));
      color: #fff8ec;
    }

    .teacher-status-card {
      display: grid;
      gap: 0.35rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .teacher-status-card span {
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(255, 248, 236, 0.74);
    }

    .teacher-status-card strong {
      font-size: 1.45rem;
      line-height: 1.02;
    }

    .teacher-status-card p,
    .teacher-status-item span {
      margin: 0;
      color: rgba(255, 248, 236, 0.72);
    }

    .teacher-status-list,
    .teacher-portal-task-grid {
      display: grid;
      gap: 0.8rem;
      margin-top: 1rem;
    }

    .teacher-status-item,
    .teacher-portal-task {
      padding: 0.9rem 1rem;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .teacher-status-item strong,
    .teacher-portal-task strong {
      display: block;
      margin-bottom: 0.18rem;
      color: #fffdf6;
    }

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

    .teacher-portal-mini-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.9rem;
    }

    .teacher-portal-dashboard .teacher-pulse-row span,
    .teacher-portal-dashboard .teacher-spark,
    .teacher-portal-dashboard p {
      color: rgba(255, 248, 236, 0.76);
    }

    .teacher-dashboard-section[hidden] {
      display: none;
    }

    .teacher-dashboard-shell {
      display: grid;
      gap: 1.2rem;
    }

    .teacher-dashboard-toolbar,
    .teacher-module-card,
    .teacher-module-side,
    .teacher-metric-card {
      border-radius: calc(var(--radius-xl) - 2px);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: var(--shadow);
    }

    .teacher-dashboard-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 1.25rem 1.4rem;
      background: linear-gradient(135deg, rgba(23, 50, 40, 0.96), rgba(18, 44, 35, 0.94));
      color: #fff8ec;
    }

    .teacher-dashboard-profile {
      display: grid;
      gap: 0.3rem;
    }

    .teacher-dashboard-profile strong {
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(2rem, 4vw, 2.8rem);
      line-height: 0.95;
    }

    .teacher-dashboard-profile p {
      margin: 0;
      color: rgba(255, 248, 236, 0.76);
    }

    .teacher-dashboard-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .teacher-metric-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1rem;
    }

    .teacher-metric-card {
      padding: 1.1rem 1.15rem;
      background: linear-gradient(180deg, rgba(255, 248, 230, 0.96), rgba(251, 240, 216, 0.92));
    }

    .teacher-metric-card span {
      display: block;
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--brand-deep);
    }

    .teacher-metric-card strong {
      display: block;
      margin-top: 0.4rem;
      font-size: 2rem;
      line-height: 1;
    }

    .teacher-metric-card p {
      margin: 0.45rem 0 0;
      color: var(--muted);
    }

    .teacher-dashboard-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 0.7rem;
    }

    .teacher-dashboard-tab {
      min-height: 44px;
      padding: 0.7rem 1rem;
      border: 1px solid rgba(24, 50, 42, 0.12);
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      background: rgba(255, 255, 255, 0.68);
      color: var(--ink);
      font: inherit;
      font-weight: 800;
      letter-spacing: 0.04em;
      cursor: pointer;
      transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
    }

    .teacher-dashboard-tab:hover,
    .teacher-dashboard-tab.is-active {
      transform: translateY(-1px);
      background: var(--brand-deep);
      color: #fff8ec;
      border-color: var(--brand-deep);
    }

    .student-notice-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 22px;
      height: 22px;
      padding: 0 0.38rem;
      border-radius: 999px;
      background: #cf2f3d;
      color: #fff;
      font-size: 0.68rem;
      font-weight: 900;
      letter-spacing: 0;
      line-height: 1;
      box-shadow: 0 10px 18px rgba(207, 47, 61, 0.24);
    }

    .teacher-dashboard-panels {
      display: grid;
    }

    .teacher-module-panel {
      display: none;
    }

    .teacher-module-panel.is-active {
      display: block;
    }

    .teacher-module-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
      gap: 1rem;
      align-items: start;
    }

    .teacher-module-card {
      padding: 1.3rem;
      background: linear-gradient(180deg, rgba(255, 248, 230, 0.96), rgba(251, 240, 216, 0.92));
    }

    .teacher-module-side {
      display: grid;
      gap: 1rem;
      padding: 1.2rem;
      background: linear-gradient(180deg, rgba(23, 50, 40, 0.96), rgba(17, 38, 31, 0.95));
      color: #fff8ec;
    }

    .teacher-module-head {
      display: grid;
      gap: 0.3rem;
      margin-bottom: 1rem;
    }

    .teacher-module-head strong {
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(2rem, 4vw, 2.5rem);
      line-height: 0.96;
    }

    .teacher-tool-form {
      display: grid;
      gap: 1rem;
    }

    .teacher-data-table-wrap {
      overflow-x: auto;
      border-radius: 22px;
      border: 1px solid rgba(24, 50, 42, 0.08);
      background: rgba(255, 255, 255, 0.64);
    }

    .teacher-data-table {
      width: 100%;
      border-collapse: collapse;
      min-width: 620px;
    }

    .teacher-data-table th,
    .teacher-data-table td {
      padding: 0.95rem 0.9rem;
      border-bottom: 1px solid rgba(24, 50, 42, 0.08);
      text-align: left;
      vertical-align: top;
    }

    .teacher-data-table th {
      font-size: 0.76rem;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--brand-deep);
      background: rgba(255, 255, 255, 0.42);
    }

    .teacher-data-table tbody tr:last-child td {
      border-bottom: 0;
    }

    .teacher-data-table input,
    .teacher-data-table select {
      width: 100%;
      border: 1px solid rgba(24, 50, 42, 0.12);
      border-radius: 14px;
      padding: 0.72rem 0.8rem;
      background: rgba(255, 255, 255, 0.86);
      color: var(--ink);
      font: inherit;
    }

    .teacher-attendance-status-picker {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.45rem;
    }

    .teacher-status-choice {
      min-height: 42px;
      border: 1px solid rgba(24, 50, 42, 0.12);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.86);
      color: var(--ink);
      font: inherit;
      font-weight: 900;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      cursor: pointer;
      transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
    }

    .teacher-status-choice.is-active {
      box-shadow: 0 10px 18px rgba(24, 50, 42, 0.12);
    }

    .teacher-status-choice.is-present {
      background: rgba(47, 158, 68, 0.12);
      border-color: rgba(47, 158, 68, 0.32);
      color: #1f7a35;
    }

    .teacher-status-choice.is-absent {
      background: rgba(207, 47, 61, 0.12);
      border-color: rgba(207, 47, 61, 0.28);
      color: #b12331;
    }

    .teacher-status-choice.is-late {
      background: rgba(241, 180, 84, 0.18);
      border-color: rgba(241, 180, 84, 0.34);
      color: #8a5b00;
    }

    .teacher-status-choice:hover {
      transform: translateY(-1px);
    }

    .teacher-attendance-row.is-marked {
      background: linear-gradient(180deg, rgba(244, 252, 242, 0.96), rgba(235, 247, 231, 0.92));
      border-color: rgba(47, 158, 68, 0.16);
    }

    .teacher-attendance-row.is-next {
      border-color: rgba(15, 76, 156, 0.22);
      box-shadow: 0 0 0 3px rgba(15, 76, 156, 0.08);
    }

    .teacher-attendance-inline-history {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.5rem;
      min-height: 34px;
    }

    .teacher-attendance-inline-empty {
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      color: var(--muted);
      text-transform: uppercase;
    }

    .teacher-module-note {
      display: grid;
      gap: 0.8rem;
      padding: 1rem;
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .teacher-module-note strong {
      font-size: 1rem;
      color: #fffdf6;
    }

    .teacher-checklist,
    .teacher-chip-row,
    .teacher-activity-list {
      margin: 0;
      padding: 0;
    }

    .teacher-checklist {
      display: grid;
      gap: 0.6rem;
      padding-left: 1rem;
      color: rgba(255, 248, 236, 0.76);
    }

    .teacher-chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      list-style: none;
    }

    .teacher-chip-row span {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 0.35rem 0.8rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.1);
      color: #fff8ec;
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.05em;
    }

    .teacher-activity-list {
      display: grid;
      gap: 0.7rem;
      list-style: none;
    }

    .teacher-activity-item {
      display: grid;
      gap: 0.15rem;
      padding: 0.85rem 0.95rem;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .teacher-activity-item strong {
      color: #fffdf6;
    }

    .teacher-activity-item span {
      color: rgba(255, 248, 236, 0.72);
    }

    .teacher-record-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.85rem;
      margin-top: 1rem;
    }

    .teacher-record-card {
      display: grid;
      gap: 0.3rem;
      padding: 1rem;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.62);
      border: 1px solid rgba(24, 50, 42, 0.08);
    }

    .teacher-record-card strong {
      font-size: 1rem;
    }

    .teacher-record-card span,
    .teacher-record-card p {
      margin: 0;
      color: var(--muted);
    }

    .teacher-notice-list-item {
      gap: 0.65rem;
      padding: 1rem 1.05rem;
      border-left: 4px solid rgba(15, 76, 156, 0.22);
    }

    .teacher-notice-list-head {
      display: grid;
      gap: 0.45rem;
    }

    .teacher-notice-date {
      display: inline-flex;
      width: fit-content;
      padding: 0.28rem 0.7rem;
      border-radius: 999px;
      background: rgba(15, 76, 156, 0.1);
      color: var(--flag-blue) !important;
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .teacher-notice-list-item strong {
      font-size: 1.08rem;
      color: var(--ink);
    }

    .teacher-attendance-history {
      display: grid;
      gap: 0.65rem;
      margin-top: 0.85rem;
    }

    .teacher-attendance-day {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0.7rem;
      align-items: start;
      padding: 0.72rem 0.82rem;
      border-radius: 16px;
      background: rgba(248, 250, 252, 0.9);
      border: 1px solid rgba(24, 50, 42, 0.08);
    }

    .teacher-attendance-day strong {
      display: block;
      font-size: 0.92rem;
    }

    .teacher-attendance-day p {
      margin: 0.12rem 0 0;
      color: var(--muted);
    }

    .teacher-attendance-empty {
      padding: 0.72rem 0.82rem;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.62);
      border: 1px dashed rgba(24, 50, 42, 0.12);
      color: var(--muted);
      font-size: 0.9rem;
    }

    .teacher-attendance-dot {
      width: 14px;
      height: 14px;
      margin-top: 0.28rem;
      border-radius: 999px;
      box-shadow: 0 0 0 4px rgba(24, 50, 42, 0.06);
    }

    .teacher-attendance-dot.is-present {
      background: #2f9e44;
    }

    .teacher-attendance-dot.is-absent {
      background: #cf2f3d;
    }

    .teacher-attendance-dot.is-late {
      background: #f1b454;
    }

    .student-dashboard-page .teacher-dashboard-toolbar {
      background: linear-gradient(135deg, rgba(16, 56, 92, 0.96), rgba(32, 91, 140, 0.94));
    }

    .student-metric-card {
      background: linear-gradient(180deg, rgba(241, 248, 255, 0.96), rgba(226, 239, 255, 0.92));
    }

    .student-task-list {
      display: grid;
      gap: 0.85rem;
    }

    .student-task-card {
      display: grid;
      gap: 0.25rem;
      padding: 1rem 1.05rem;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.7);
      border: 1px solid rgba(24, 50, 42, 0.08);
    }

    .student-task-card.is-unread-notice {
      border-color: rgba(15, 76, 156, 0.18);
      box-shadow: 0 14px 26px rgba(15, 76, 156, 0.08);
    }

    .student-task-card.is-read-notice {
      opacity: 0.86;
    }

    .student-task-card strong {
      font-size: 1rem;
    }

    .student-notice-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }

    .student-notice-date {
      color: var(--brand-deep) !important;
    }

    .student-task-card p,
    .student-task-card span {
      margin: 0;
      color: var(--muted);
    }

    .student-task-card span {
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--flag-blue);
    }

    .student-notice-read-button {
      justify-self: start;
      margin-top: 0.35rem;
    }

    .student-attendance-tiles {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 0.85rem;
    }

    .student-attendance-tile {
      display: grid;
      gap: 0.45rem;
      padding: 1rem;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.76);
      border: 1px solid rgba(24, 50, 42, 0.08);
    }

    .student-attendance-tile-head {
      display: flex;
      align-items: center;
      gap: 0.65rem;
    }

    .student-attendance-tile strong {
      font-size: 0.98rem;
    }

    .student-attendance-tile p {
      margin: 0;
      font-weight: 800;
      color: var(--ink);
    }

    .student-attendance-tile span {
      margin: 0;
    }

    .student-attendance-tile.is-present {
      background: rgba(234, 248, 236, 0.92);
      border-color: rgba(47, 158, 68, 0.18);
    }

    .student-attendance-tile.is-absent {
      background: rgba(255, 237, 239, 0.92);
      border-color: rgba(207, 47, 61, 0.18);
    }

    .student-attendance-tile.is-late {
      background: rgba(255, 245, 226, 0.94);
      border-color: rgba(241, 180, 84, 0.24);
    }

    .student-attendance-history {
      display: grid;
      gap: 0.8rem;
      margin-top: 0.2rem;
    }

    .student-attendance-day {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 0.75rem;
      align-items: start;
      padding: 0.75rem 0.85rem;
      border-radius: 16px;
      background: rgba(248, 250, 252, 0.9);
      border: 1px solid rgba(24, 50, 42, 0.08);
    }

    .student-attendance-day strong {
      display: block;
      font-size: 0.95rem;
    }

    .student-attendance-day p {
      margin: 0.15rem 0 0;
      color: var(--muted);
    }

    .student-attendance-dot {
      width: 14px;
      height: 14px;
      margin-top: 0.3rem;
      border-radius: 999px;
      box-shadow: 0 0 0 4px rgba(24, 50, 42, 0.06);
    }

    .student-attendance-dot.is-present {
      background: #2f9e44;
    }

    .student-attendance-dot.is-absent {
      background: #cf2f3d;
    }

    .student-attendance-dot.is-late {
      background: #f1b454;
    }

    .admin-portal-page .teacher-dashboard-toolbar {
      background: linear-gradient(135deg, rgba(73, 27, 17, 0.96), rgba(117, 46, 25, 0.94));
    }

    .admin-login-card,
    .admin-metric-card {
      background: linear-gradient(180deg, rgba(255, 244, 235, 0.96), rgba(255, 234, 219, 0.92));
    }

    .admin-quick-actions {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
      margin-top: 1.1rem;
    }

    .admin-quick-card {
      display: grid;
      gap: 0.7rem;
      padding: 1.15rem;
      border-radius: 24px;
      background: linear-gradient(180deg, rgba(255, 250, 245, 0.96), rgba(255, 241, 229, 0.9));
      border: 1px solid rgba(141, 90, 46, 0.12);
      box-shadow: 0 18px 36px rgba(117, 46, 25, 0.08);
    }

    .admin-quick-card strong {
      color: var(--brand-deep);
      font-size: 1.05rem;
    }

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

    .admin-user-directory,
    .admin-guide-list {
      display: grid;
      gap: 0.85rem;
    }

    .admin-directory-controls {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0.85rem;
      margin-top: 1rem;
    }

    .admin-user-card,
    .admin-user-preview {
      display: grid;
      gap: 0.3rem;
      margin-top: 1rem;
    }

    .admin-user-card {
      padding: 1rem 1.05rem;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(24, 50, 42, 0.08);
    }

    .admin-user-card.is-disabled {
      background: rgba(255, 235, 235, 0.82);
      border-color: rgba(207, 47, 61, 0.18);
    }

    .admin-user-card.is-current-admin {
      background: rgba(240, 246, 255, 0.9);
      border-color: rgba(15, 76, 156, 0.18);
      box-shadow: 0 14px 28px rgba(15, 76, 156, 0.12);
    }

    .admin-user-card strong {
      font-size: 1rem;
    }

    .admin-user-card span,
    .admin-user-card p {
      margin: 0;
      color: var(--muted);
    }

    .admin-help-note {
      display: grid;
      gap: 0.45rem;
      margin-top: 0.9rem;
      padding: 0.95rem 1rem;
      border-radius: 18px;
      background: rgba(255, 248, 239, 0.88);
      border: 1px solid rgba(141, 90, 46, 0.16);
    }

    .admin-help-note strong {
      color: var(--brand-deep);
      font-size: 0.95rem;
    }

    .admin-help-note p {
      margin: 0;
      color: var(--muted);
    }

    @media (max-width: 980px) {
      .admin-quick-actions {
        grid-template-columns: 1fr;
      }

      .admin-directory-controls {
        grid-template-columns: 1fr 1fr;
      }
    }

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

    .admin-user-badge {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      min-height: 34px;
      margin-top: 0.45rem;
      padding: 0.35rem 0.8rem;
      border-radius: 999px;
      background: rgba(15, 76, 156, 0.1);
      color: var(--flag-blue);
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .admin-user-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      margin-top: 0.5rem;
    }

    .admin-user-action {
      min-height: 34px;
      padding-inline: 0.8rem;
      font-size: 0.72rem;
      letter-spacing: 0.04em;
    }

    .admin-user-action-danger {
      border-color: rgba(207, 47, 61, 0.2);
      color: var(--accent);
      background: rgba(255, 241, 241, 0.8);
    }

    .student-portal-hero {
      padding-top: 2rem;
    }

    .student-portal-grid,
    .student-portal-tools {
      display: grid;
      gap: 1.4rem;
    }

    .student-portal-grid {
      grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
      align-items: start;
    }

    .student-portal-copy h1 {
      margin: 0.45rem 0 1rem;
      font-size: clamp(3rem, 6vw, 5.3rem);
      line-height: 0.92;
      max-width: 10.5ch;
    }

    .student-portal-copy p {
      max-width: 58ch;
      margin: 0;
      color: var(--muted);
    }

    .student-portal-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.7rem;
      margin-top: 1.3rem;
    }

    .student-portal-badges span {
      display: inline-flex;
      align-items: center;
      min-height: 38px;
      padding: 0.5rem 0.85rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.76);
      border: 1px solid rgba(24, 50, 42, 0.08);
      font-size: 0.76rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .student-login-shell {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.7fr);
      gap: 1rem;
      align-items: stretch;
    }

    .student-login-shell::before {
      content: "";
      position: absolute;
      inset: -18px auto auto -18px;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(240, 139, 67, 0.18), transparent 70%);
      pointer-events: none;
    }

    .student-login-shell::after {
      content: "";
      position: absolute;
      right: -14px;
      bottom: -18px;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(15, 76, 156, 0.12), transparent 70%);
      pointer-events: none;
    }

    .student-login-card,
    .student-login-side,
    .student-portal-dashboard {
      position: relative;
      border-radius: calc(var(--radius-xl) + 2px);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .student-login-card {
      padding: 1.35rem;
      background: linear-gradient(180deg, rgba(255, 248, 230, 0.96), rgba(251, 240, 216, 0.92));
    }

    .student-login-card::before {
      content: "";
      position: absolute;
      top: -20px;
      right: -12px;
      width: 110px;
      height: 110px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(135, 199, 90, 0.18), transparent 72%);
      pointer-events: none;
    }

    .student-login-top,
    .student-dashboard-top {
      display: grid;
      gap: 0.3rem;
      margin-bottom: 1rem;
      position: relative;
      z-index: 1;
    }

    .student-login-kicker {
      display: inline-flex;
      width: fit-content;
      min-height: 34px;
      align-items: center;
      padding: 0.3rem 0.8rem;
      border-radius: 999px;
      background: rgba(15, 76, 156, 0.1);
      color: var(--flag-blue);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .student-login-top strong,
    .student-dashboard-top strong {
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(2rem, 4vw, 2.8rem);
      line-height: 0.98;
    }

    .student-login-form {
      display: grid;
      gap: 0.95rem;
      position: relative;
      z-index: 1;
    }

    .student-login-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .student-login-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 0.25rem;
    }

    .student-login-side,
    .student-portal-dashboard {
      padding: 1.2rem;
      background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(15, 76, 156, 0.96), rgba(18, 44, 92, 0.95));
      color: #fff8ec;
    }

    .student-status-card {
      display: grid;
      gap: 0.35rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .student-status-card span {
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(255, 248, 236, 0.74);
    }

    .student-status-card strong {
      font-size: 1.45rem;
      line-height: 1.02;
    }

    .student-status-card p,
    .student-status-item span {
      margin: 0;
      color: rgba(255, 248, 236, 0.76);
    }

    .student-status-orbits {
      position: relative;
      min-height: 110px;
      margin-top: 1rem;
    }

    .student-orbit {
      position: absolute;
      display: inline-flex;
      align-items: center;
      min-height: 38px;
      padding: 0.5rem 0.85rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.14);
      border: 1px solid rgba(255, 255, 255, 0.12);
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      animation: cricket-orbit-float 6.4s ease-in-out infinite;
    }

    .orbit-a {
      top: 0;
      left: 0;
    }

    .orbit-b {
      top: 28px;
      right: 0;
      animation-delay: 0.8s;
    }

    .orbit-c {
      bottom: 0;
      left: 26%;
      animation-delay: 1.6s;
    }

    .student-status-list {
      display: grid;
      gap: 0.8rem;
      margin-top: 0.8rem;
    }

    .student-status-item {
      padding: 0.9rem 1rem;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .student-status-item strong {
      display: block;
      margin-bottom: 0.18rem;
      color: #fffdf6;
    }

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

    .student-portal-mini-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.9rem;
    }

    @keyframes sports-card-sway {
      0%,
      100% {
        transform: rotate(-2deg) translateY(0);
      }
      50% {
        transform: rotate(-0.4deg) translateY(-8px);
      }
    }

    @keyframes cricket-orbit-float {
      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-10px);
      }
    }

    @keyframes ball-bounce {
      0%,
      100% {
        transform: translateY(0) rotate(0deg);
      }
      35% {
        transform: translateY(-16px) rotate(10deg);
      }
      60% {
        transform: translateY(6px) rotate(-6deg);
      }
    }

    @keyframes pitch-scan {
      0%,
      100% {
        transform: translateX(0);
        opacity: 0.28;
      }
      50% {
        transform: translateX(12px);
        opacity: 0.8;
      }
    }

    @keyframes stadium-pulse {
      0%,
      100% {
        opacity: 0.42;
        transform: translateX(-50%) scale(1);
      }
      50% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1.05);
      }
    }

    @keyframes robot-shift {
      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-6px);
      }
    }

    @keyframes arm-back-swing {
      0%,
      100% {
        transform: rotate(28deg);
      }
      45% {
        transform: rotate(58deg);
      }
      70% {
        transform: rotate(16deg);
      }
    }

    @keyframes arm-front-swing {
      0%,
      100% {
        transform: rotate(-46deg);
      }
      45% {
        transform: rotate(-92deg);
      }
      72% {
        transform: rotate(12deg);
      }
    }

    @keyframes bat-swing {
      0%,
      100% {
        transform: rotate(24deg);
      }
      42% {
        transform: rotate(-46deg);
      }
      68% {
        transform: rotate(70deg);
      }
    }

    @keyframes leg-back-step {
      0%,
      100% {
        transform: rotate(8deg);
      }
      44% {
        transform: rotate(20deg);
      }
      72% {
        transform: rotate(2deg);
      }
    }

    @keyframes leg-front-step {
      0%,
      100% {
        transform: rotate(-10deg);
      }
      44% {
        transform: rotate(-28deg);
      }
      72% {
        transform: rotate(4deg);
      }
    }

    @keyframes popup-ball-flight {
      0% {
        transform: translate(0, 0) scale(0.86);
        opacity: 0;
      }
      12% {
        opacity: 1;
      }
      55% {
        transform: translate(132px, -126px) scale(1);
        opacity: 1;
      }
      100% {
        transform: translate(244px, -226px) scale(0.78);
        opacity: 0;
      }
    }

    @keyframes popup-trail-flight {
      0%,
      22% {
        opacity: 0;
      }
      35% {
        opacity: 0.84;
      }
      100% {
        opacity: 0;
        transform: translateX(80px) rotate(-22deg);
      }
    }

    @keyframes six-badge-pop {
      0%,
      100% {
        transform: scale(0.92);
      }
      28% {
        transform: scale(1.12);
      }
      42% {
        transform: scale(1);
      }
    }

    @keyframes six-ring-burst {
      0% {
        transform: scale(0.4);
        opacity: 0;
      }
      35% {
        opacity: 0.78;
      }
      100% {
        transform: scale(1.5);
        opacity: 0;
      }
    }

    .section-header {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1.4rem;
    }

    .section-header h2 {
      margin: 0.35rem 0 0;
      font-size: clamp(2.2rem, 4vw, 3.2rem);
      line-height: 0.96;
    }

    .section-header p {
      max-width: 56ch;
      color: var(--muted);
      margin: 0;
    }

    .highlights-grid,
    .program-grid,
    .contact-grid,
    .audience-grid {
      display: grid;
      gap: 1.2rem;
    }

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

    .card {
      position: relative;
      padding: 1.35rem;
      border-radius: var(--radius-lg);
      background: var(--surface);
      border: 1px solid var(--line);
      box-shadow: 0 12px 26px rgba(41, 61, 25, 0.07);
      overflow: hidden;
      transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
      animation: tile-bob 7.2s ease-in-out infinite;
    }

    .highlights-grid .card:nth-child(2),
    .program-grid .card:nth-child(2),
    .program-grid .card:nth-child(4) {
      animation-delay: 0.9s;
    }

    .highlights-grid .card:nth-child(3),
    .program-grid .card:nth-child(3) {
      animation-delay: 1.8s;
    }

    .card::before {
      content: "";
      position: absolute;
      inset: auto -24px -32px auto;
      width: 110px;
      height: 110px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(159, 213, 75, 0.18), transparent 70%);
    }

    .card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 38px rgba(41, 61, 25, 0.12);
      border-color: rgba(63, 122, 38, 0.14);
    }

    .card h3 {
      margin: 0.5rem 0 0.4rem;
      font-size: 1.65rem;
    }

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

    .icon-chip {
      width: 46px;
      height: 46px;
      display: inline-grid;
      place-items: center;
      border-radius: 14px;
      background: linear-gradient(135deg, rgba(159, 213, 75, 0.24), rgba(244, 182, 81, 0.24));
      font-weight: 800;
      color: var(--brand-deep);
    }

    .showcase {
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
      gap: 1.4rem;
      align-items: stretch;
    }

    .showcase-panel {
      padding: 1.4rem;
      border-radius: calc(var(--radius-xl) + 2px);
      background: linear-gradient(180deg, rgba(255, 248, 230, 0.92), rgba(251, 240, 216, 0.92));
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: var(--shadow);
    }

    .circulars-layout {
      display: grid;
      grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
      gap: 1rem;
      align-items: start;
    }

    .circulars-side,
    .circular-card {
      border-radius: calc(var(--radius-xl) - 2px);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: var(--shadow);
    }

    .circulars-side {
      display: grid;
      gap: 0.8rem;
      padding: 1.25rem;
      background: linear-gradient(180deg, rgba(255, 248, 230, 0.96), rgba(251, 240, 216, 0.92));
      position: sticky;
      top: calc(var(--header-offset) + 1rem);
    }

    .circulars-side h3 {
      margin: 0;
      font-size: clamp(1.8rem, 4vw, 2.4rem);
      line-height: 0.98;
      font-family: "Cormorant Garamond", serif;
    }

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

    .circulars-side-points {
      display: flex;
      flex-wrap: wrap;
      gap: 0.55rem;
    }

    .circulars-side-points span,
    .circular-tags span {
      display: inline-flex;
      align-items: center;
      min-height: 34px;
      padding: 0.35rem 0.8rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(24, 50, 42, 0.08);
      color: var(--brand-deep);
      font-size: 0.76rem;
      font-weight: 800;
      letter-spacing: 0.05em;
    }

    .circulars-list {
      display: grid;
      gap: 0.85rem;
    }

    .circular-card {
      display: grid;
      gap: 0.7rem;
      padding: 1rem 1.05rem;
      background: rgba(255, 251, 244, 0.9);
    }

    .circular-card-featured {
      background: linear-gradient(180deg, rgba(255, 247, 225, 0.98), rgba(255, 242, 212, 0.94));
      border-left: 4px solid rgba(207, 47, 61, 0.32);
    }

    .circular-card-head {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.55rem;
    }

    .circular-date,
    .circular-audience {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 34px;
      padding: 0.3rem 0.75rem;
      border-radius: 999px;
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .circular-date {
      background: rgba(207, 47, 61, 0.1);
      color: var(--accent);
    }

    .circular-audience {
      background: rgba(15, 76, 156, 0.1);
      color: var(--flag-blue);
    }

    .circular-card h3 {
      margin: 0;
      font-size: 1.25rem;
      line-height: 1.08;
    }

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

    .circular-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .showcase-copy h3 {
      margin: 0.6rem 0 0.7rem;
      font-size: clamp(2rem, 4vw, 2.8rem);
      line-height: 0.98;
    }

    .showcase-copy p {
      color: var(--muted);
      margin: 0 0 1.4rem;
    }

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

    .program-grid .card {
      min-height: 200px;
    }

    .gallery-card {
      position: relative;
      border-radius: calc(var(--radius-xl) + 6px);
      overflow: hidden;
      min-height: 100%;
      box-shadow: var(--shadow);
      background: #d9ead0;
      isolation: isolate;
    }

    .gallery-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 900ms ease;
    }

    .gallery-card:hover img {
      transform: scale(1.08);
    }

    .gallery-overlay {
      position: absolute;
      inset: auto 0 0 0;
      padding: 1.4rem;
      background: linear-gradient(180deg, rgba(15, 28, 21, 0.02), rgba(15, 28, 21, 0.8));
      color: #fffef7;
      transition: transform 260ms ease;
    }

    .gallery-card:hover .gallery-overlay {
      transform: translateY(-6px);
    }

    .gallery-overlay strong {
      display: block;
      font-size: 1.25rem;
      margin-bottom: 0.3rem;
    }

    .founder-card {
      min-height: 620px;
      perspective: 1200px;
      cursor: pointer;
    }

    .founder-card-backdrop {
      position: absolute;
      inset: 0;
      z-index: 1;
      background:
        radial-gradient(circle at 20% 18%, rgba(255, 214, 122, 0.42), transparent 24%),
        radial-gradient(circle at 80% 25%, rgba(15, 76, 156, 0.22), transparent 26%),
        linear-gradient(180deg, rgba(17, 29, 23, 0.08) 0%, rgba(17, 29, 23, 0.5) 60%, rgba(17, 29, 23, 0.82) 100%);
      pointer-events: none;
    }

    .founder-card img {
      position: absolute;
      inset: 0;
      z-index: 0;
      height: 100%;
      object-position: center top;
    }

    .founder-badge {
      position: absolute;
      top: 1.15rem;
      left: 1.15rem;
      z-index: 3;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.55rem 0.85rem;
      border-radius: 999px;
      background: rgba(255, 248, 235, 0.9);
      border: 1px solid rgba(255, 255, 255, 0.34);
      box-shadow: 0 14px 28px rgba(23, 35, 28, 0.18);
      color: var(--brand-deep);
      font-size: 0.76rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      animation: drift-float 6.8s ease-in-out infinite;
    }

    .founder-badge::before {
      content: "✦";
      color: var(--accent);
    }

    .founder-overlay {
      z-index: 2;
      display: grid;
      gap: 0.8rem;
      padding-top: 6.5rem;
      min-height: 100%;
      align-content: end;
      background: linear-gradient(180deg, rgba(12, 24, 18, 0.05), rgba(12, 24, 18, 0.76) 52%, rgba(12, 24, 18, 0.92) 100%);
    }

    .founder-kicker {
      margin: 0;
      color: rgba(255, 245, 225, 0.88);
      font-size: 0.8rem;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .founder-overlay strong {
      font-family: "Cormorant Garamond", serif;
      font-size: clamp(2rem, 3vw, 2.8rem);
      line-height: 0.94;
      margin: 0;
    }

    .founder-message {
      max-width: 34ch;
      font-size: 1rem;
      line-height: 1.7;
      color: rgba(255, 250, 241, 0.92);
      min-height: 8.5rem;
      transition: opacity 260ms ease, transform 260ms ease;
    }

    .founder-message.is-swapping {
      opacity: 0;
      transform: translateY(8px);
    }

    .founder-points {
      display: flex;
      flex-wrap: wrap;
      gap: 0.55rem;
    }

    .founder-points span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      padding: 0.35rem 0.8rem;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: rgba(255, 252, 246, 0.12);
      backdrop-filter: blur(10px);
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .founder-cta {
      width: fit-content;
      min-height: 46px;
      padding: 0.75rem 1rem;
      border: 0;
      border-radius: 999px;
      background: linear-gradient(135deg, #ffe0a2, #f1b454);
      color: #52340b;
      font: inherit;
      font-weight: 800;
      letter-spacing: 0.04em;
      cursor: pointer;
      box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    }

    .founder-cta:hover,
    .founder-cta:focus-visible {
      transform: translateY(-2px);
      box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
      background: linear-gradient(135deg, #ffe9ba, #f4c766);
      outline: none;
    }

    .founder-card.is-tilting img {
      transform: scale(1.1);
    }

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

    .audience-card {
      padding: 1.45rem;
      border-radius: calc(var(--radius-xl) + 2px);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: var(--shadow);
      overflow: hidden;
      position: relative;
      transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    }

    .audience-card.students {
      background: linear-gradient(180deg, rgba(255, 245, 232, 0.96), rgba(246, 227, 203, 0.95));
    }

    .audience-card.teachers {
      background: linear-gradient(180deg, rgba(238, 245, 255, 0.96), rgba(219, 230, 247, 0.94));
    }

    .audience-card::before {
      content: "";
      position: absolute;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      top: -70px;
      right: -70px;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 72%);
    }

    .audience-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 22px 42px rgba(38, 58, 30, 0.14);
      border-color: rgba(63, 122, 38, 0.14);
    }

    .audience-card h3 {
      margin: 0.65rem 0 0.5rem;
      font-size: clamp(2rem, 3.4vw, 2.6rem);
      line-height: 0.98;
      font-family: "Cormorant Garamond", serif;
    }

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

    .audience-points {
      display: grid;
      gap: 0.8rem;
    }

    .audience-point {
      display: flex;
      align-items: start;
      gap: 0.8rem;
      padding: 0.9rem 1rem;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.46);
      border: 1px solid rgba(24, 50, 42, 0.06);
      transition: transform 180ms ease, background 180ms ease;
    }

    .audience-point:hover {
      transform: translateX(6px);
      background: rgba(255, 255, 255, 0.68);
    }

    .audience-point strong {
      display: block;
      margin-bottom: 0.15rem;
    }

    .quick-path-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1rem;
      margin-top: 1.2rem;
    }

    .quick-path {
      position: relative;
      padding: 1.15rem;
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 14px 28px rgba(34, 56, 30, 0.08);
      transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
      overflow: hidden;
    }

    .quick-path::after {
      content: "";
      position: absolute;
      inset: auto -26px -28px auto;
      width: 92px;
      height: 92px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(207, 47, 61, 0.12), transparent 70%);
    }

    .quick-path:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 36px rgba(34, 56, 30, 0.12);
      border-color: rgba(47, 108, 61, 0.16);
    }

    .quick-path .icon-chip {
      margin-bottom: 0.8rem;
    }

    .quick-path h3 {
      margin: 0 0 0.35rem;
      font-size: 1.25rem;
      font-family: "Cormorant Garamond", serif;
    }

    .quick-path p {
      margin: 0;
      color: var(--muted);
      font-size: 0.95rem;
    }

    .teacher-showcase {
      padding: 1.5rem;
      border-radius: calc(var(--radius-xl) + 4px);
      background: linear-gradient(180deg, rgba(236, 244, 255, 0.98), rgba(222, 232, 247, 0.95));
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }

    .teacher-showcase::before {
      content: "";
      position: absolute;
      inset: auto -40px -60px auto;
      width: 190px;
      height: 190px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(15, 76, 156, 0.14), transparent 70%);
      pointer-events: none;
    }

    .teacher-showcase-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .teacher-showcase-head h3 {
      margin: 0 0 0.35rem;
      font-size: clamp(2rem, 3.2vw, 2.7rem);
      font-family: "Cormorant Garamond", serif;
      line-height: 0.96;
    }

    .teacher-showcase-head p {
      margin: 0;
      max-width: 54ch;
      color: var(--muted);
    }

    .teacher-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-bottom: 1rem;
    }

    .teacher-tab {
      appearance: none;
      border: 0;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      min-height: 48px;
      padding: 0 1rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.68);
      color: var(--ink);
      border: 1px solid rgba(24, 50, 42, 0.08);
      font: inherit;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
      animation: tab-breathe 4.8s ease-in-out infinite;
    }

    .teacher-tab:nth-child(2) {
      animation-delay: 0.8s;
    }

    .teacher-tab:nth-child(3) {
      animation-delay: 1.6s;
    }

    .teacher-tab:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 22px rgba(34, 56, 30, 0.1);
    }

    .teacher-tab.is-active {
      background: linear-gradient(135deg, var(--flag-blue), #2d69b7);
      color: #fff;
      box-shadow: 0 14px 24px rgba(15, 76, 156, 0.22);
    }

    .teacher-tab-badge {
      width: 30px;
      height: 30px;
      display: inline-grid;
      place-items: center;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.68);
      color: var(--flag-blue);
      font-size: 0.9rem;
    }

    .teacher-tab.is-active .teacher-tab-badge {
      background: rgba(255, 255, 255, 0.16);
      color: #fff;
    }

    .teacher-panel {
      display: none;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 1.1rem;
      align-items: stretch;
    }

    .teacher-panel.is-active {
      display: grid;
    }

    .teacher-panel-copy,
    .teacher-panel-side {
      padding: 1.15rem;
      border-radius: 24px;
      background: rgba(255, 255, 255, 0.66);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 14px 30px rgba(34, 56, 30, 0.08);
    }

    .teacher-panel-copy h4,
    .teacher-panel-side h4 {
      margin: 0 0 0.5rem;
      font-size: 1.45rem;
      font-family: "Cormorant Garamond", serif;
    }

    .teacher-panel-copy p,
    .teacher-panel-side p {
      margin: 0;
      color: var(--muted);
    }

    .teacher-mini-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.9rem;
      margin-top: 1rem;
    }

    .teacher-mini-card {
      padding: 1rem 0.95rem;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.82);
      border: 1px solid rgba(24, 50, 42, 0.08);
      transition: transform 180ms ease, box-shadow 180ms ease;
    }

    .teacher-mini-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 16px 28px rgba(34, 56, 30, 0.1);
    }

    .teacher-mini-card strong {
      display: block;
      margin: 0.7rem 0 0.25rem;
      font-size: 1rem;
    }

    .teacher-mini-card span {
      color: var(--muted);
      font-size: 0.92rem;
    }

    .teacher-pulse-list {
      display: grid;
      gap: 0.75rem;
      margin-top: 1rem;
    }

    .teacher-pulse {
      display: grid;
      gap: 0.35rem;
    }

    .teacher-pulse-row {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      font-weight: 800;
      font-size: 0.92rem;
    }

    .teacher-pulse-bar {
      height: 10px;
      border-radius: 999px;
      background: rgba(15, 76, 156, 0.1);
      overflow: hidden;
    }

    .teacher-pulse-bar span {
      display: block;
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, var(--flag-blue), var(--accent));
      transform-origin: left center;
      animation: teacher-bar-grow 1.1s ease both;
    }

    .teacher-spark {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      margin-top: 1rem;
      padding: 0.5rem 0.8rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.78);
      border: 1px solid rgba(24, 50, 42, 0.08);
      color: var(--brand-deep);
      font-weight: 800;
      font-size: 0.8rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .student-playzone {
      padding: 1.5rem;
      border-radius: calc(var(--radius-xl) + 4px);
      background: linear-gradient(180deg, rgba(255, 245, 232, 0.98), rgba(250, 229, 198, 0.95));
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }

    .student-playzone::before,
    .student-playzone::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
    }

    .student-playzone::before {
      width: 180px;
      height: 180px;
      right: -60px;
      top: -50px;
      background: radial-gradient(circle, rgba(241, 180, 84, 0.2), transparent 72%);
    }

    .student-playzone::after {
      width: 160px;
      height: 160px;
      left: -50px;
      bottom: -60px;
      background: radial-gradient(circle, rgba(135, 199, 90, 0.18), transparent 72%);
    }

    .student-playzone-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .student-playzone-head h3 {
      margin: 0 0 0.35rem;
      font-size: clamp(2rem, 3.2vw, 2.7rem);
      font-family: "Cormorant Garamond", serif;
      line-height: 0.96;
    }

    .student-playzone-head p {
      margin: 0;
      max-width: 54ch;
      color: var(--muted);
    }

    .student-choice-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .student-choice {
      padding: 1.15rem 1rem;
      border-radius: 24px;
      background: rgba(255, 255, 255, 0.8);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 14px 28px rgba(34, 56, 30, 0.08);
      text-align: center;
      transition: transform 180ms ease, box-shadow 180ms ease;
      position: relative;
      overflow: hidden;
      animation: tile-bob 6.8s ease-in-out infinite;
    }

    .student-choice:nth-child(2) {
      animation-delay: 0.7s;
    }

    .student-choice:nth-child(3) {
      animation-delay: 1.4s;
    }

    .student-choice:nth-child(4) {
      animation-delay: 2.1s;
    }

    .student-choice:hover {
      transform: translateY(-7px) rotate(-1deg);
      box-shadow: 0 18px 32px rgba(34, 56, 30, 0.12);
    }

    .student-choice .icon-chip {
      margin: 0 auto 0.8rem;
      width: 56px;
      height: 56px;
      border-radius: 18px;
      font-size: 1.25rem;
    }

    .student-choice h4 {
      margin: 0 0 0.25rem;
      font-size: 1.2rem;
      font-family: "Cormorant Garamond", serif;
    }

    .student-choice p {
      margin: 0;
      color: var(--muted);
      font-size: 0.92rem;
    }

    .student-fun-grid {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: 1rem;
      align-items: stretch;
    }

    .student-fun-card,
    .student-stars {
      padding: 1.15rem;
      border-radius: 24px;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: 0 14px 28px rgba(34, 56, 30, 0.08);
    }

    .student-fun-card h4,
    .student-stars h4 {
      margin: 0 0 0.45rem;
      font-size: 1.45rem;
      font-family: "Cormorant Garamond", serif;
    }

    .student-fun-card p,
    .student-stars p {
      margin: 0;
      color: var(--muted);
    }

    .student-badge-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.7rem;
      margin-top: 1rem;
    }

    .student-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.58rem 0.85rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.86);
      border: 1px solid rgba(24, 50, 42, 0.08);
      font-weight: 800;
      font-size: 0.82rem;
      color: var(--brand-deep);
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .student-star-list {
      display: grid;
      gap: 0.7rem;
      margin-top: 1rem;
    }

    .student-star {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      padding: 0.8rem 0.9rem;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.84);
      border: 1px solid rgba(24, 50, 42, 0.08);
      transition: transform 180ms ease, background 180ms ease;
    }

    .student-star:hover {
      transform: translateX(6px);
      background: rgba(255, 255, 255, 0.96);
    }

    .student-star-emoji {
      width: 42px;
      height: 42px;
      display: inline-grid;
      place-items: center;
      border-radius: 14px;
      background: linear-gradient(135deg, rgba(241, 180, 84, 0.26), rgba(135, 199, 90, 0.24));
      font-size: 1.2rem;
      flex: 0 0 auto;
    }

    .contact-grid {
      grid-template-columns: 1fr;
      align-items: stretch;
    }

    .contact-card {
      position: relative;
      padding: 1.5rem;
      border-radius: calc(var(--radius-xl) + 2px);
      background: rgba(255, 248, 232, 0.9);
      border: 1px solid rgba(24, 50, 42, 0.08);
      box-shadow: var(--shadow);
      overflow: hidden;
      transition: transform 220ms ease, box-shadow 220ms ease;
    }

    .contact-card::after {
      content: "";
      position: absolute;
      inset: auto -60px -60px auto;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(244, 182, 81, 0.16), transparent 68%);
      pointer-events: none;
    }

    .contact-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 22px 42px rgba(34, 56, 30, 0.12);
    }

    .contact-card h3 {
      margin: 0 0 0.6rem;
      font-size: 2rem;
    }

    .contact-list,
    .quick-facts {
      display: grid;
      gap: 0.9rem;
      margin-top: 1.2rem;
    }

    .contact-item,
    .fact-item {
      display: flex;
      align-items: start;
      gap: 0.85rem;
      padding: 0.9rem 1rem;
      border-radius: 18px;
      background: rgba(255, 255, 255, 0.5);
      border: 1px solid rgba(24, 50, 42, 0.06);
      transition: transform 180ms ease, background 180ms ease;
    }

    .contact-item:hover,
    .fact-item:hover {
      transform: translateX(6px);
      background: rgba(255, 255, 255, 0.72);
    }

    .contact-item strong,
    .fact-item strong {
      display: block;
      margin-bottom: 0.1rem;
    }

    .contact-item span,
    .fact-item span,
    footer p {
      color: var(--muted);
    }

    footer {
      margin: 0;
      padding: 0;
    }

    .footer-shell {
      position: relative;
      width: 100%;
      margin: 0;
      padding: 1.75rem;
      border-radius: 0;
      background:
        linear-gradient(135deg, rgba(35, 69, 40, 0.98), rgba(18, 44, 34, 0.98)),
        linear-gradient(180deg, rgba(159, 213, 75, 0.1), transparent);
      color: #f7f4e8;
      overflow: hidden;
      box-shadow: 0 26px 56px rgba(19, 39, 31, 0.24);
    }

    .footer-inner {
      width: min(var(--max-width), calc(100% - 2rem));
      margin: 0 auto;
    }

    .footer-shell::before,
    .footer-shell::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      opacity: 0.5;
    }

    .footer-shell::before {
      width: 280px;
      height: 280px;
      right: -120px;
      top: -140px;
      background: radial-gradient(circle, rgba(244, 182, 81, 0.28), transparent 70%);
    }

    .footer-shell::after {
      width: 220px;
      height: 220px;
      left: -80px;
      bottom: -100px;
      background: radial-gradient(circle, rgba(159, 213, 75, 0.2), transparent 70%);
    }

    .footer-inner {
      position: relative;
      display: grid;
      gap: 1.25rem;
    }

    .footer-inner::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 36px;
      background:
        radial-gradient(circle at top right, rgba(244, 182, 81, 0.1), transparent 24%),
        radial-gradient(circle at left center, rgba(159, 213, 75, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
      pointer-events: none;
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-grid {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1.15fr 0.78fr 1.02fr;
      gap: 1rem;
      padding: 1.4rem;
      border-radius: 34px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .footer-panel {
      padding: 1.25rem 1.2rem;
      border-radius: 26px;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
      border: 1px solid rgba(255, 255, 255, 0.07);
      backdrop-filter: blur(10px);
      transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
    }

    .footer-panel:hover {
      transform: translateY(-4px);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
      border-color: rgba(244, 182, 81, 0.16);
      box-shadow: 0 18px 34px rgba(8, 22, 17, 0.16);
    }

    .footer-brand {
      display: flex;
      align-items: center;
      gap: 0.9rem;
      margin-bottom: 1rem;
    }

    .footer-mark {
      width: 74px;
      height: 74px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0.38rem;
      border-radius: 24px;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(244, 182, 81, 0.88));
      box-shadow: 0 16px 28px rgba(9, 26, 20, 0.18);
      overflow: hidden;
      flex: 0 0 auto;
    }

    .footer-mark img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 16px;
      animation: logo-glow 5.2s ease-in-out infinite;
    }

    .footer-brand-copy {
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
    }

    .footer-brand strong,
    .footer-title,
    .footer-cta h3 {
      font-family: "Cormorant Garamond", serif;
      letter-spacing: -0.02em;
    }

    .footer-brand strong {
      display: block;
      font-size: 1.55rem;
      line-height: 0.94;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #fffdf4;
    }

    .footer-brand strong em {
      display: block;
      font-style: normal;
      font-size: 1.85rem;
      letter-spacing: 0.03em;
      text-transform: none;
      color: #f4b651;
      text-shadow: 0 8px 20px rgba(244, 182, 81, 0.16);
    }

    .footer-brand-copy span {
      display: inline-flex;
      width: fit-content;
      padding: 0.3rem 0.62rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      font-size: 0.68rem;
      font-weight: 800;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .footer-brand span,
    .footer-panel p,
    .footer-links a,
    .footer-meta p,
    .footer-note {
      color: rgba(247, 244, 232, 0.78);
    }

    .footer-title {
      margin: 0 0 0.8rem;
      font-size: 1.52rem;
      color: #fffaf0;
    }

    .footer-links {
      display: grid;
      gap: 0.78rem;
    }

    .footer-links a {
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      min-height: 42px;
      padding: 0.5rem 0.8rem;
      border-bottom: 0;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.04);
      transition: color 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
    }

    .footer-links a::before {
      content: "";
      width: 28px;
      height: 28px;
      border-radius: 10px;
      background:
        linear-gradient(135deg, rgba(244, 182, 81, 0.26), rgba(255, 255, 255, 0.06));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
      transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
      flex: 0 0 auto;
    }

    .footer-links a:hover {
      color: #fffef8;
      transform: translateX(4px);
      background: rgba(255, 255, 255, 0.08);
      box-shadow: 0 12px 24px rgba(8, 22, 17, 0.14);
    }

    .footer-links a:hover::before {
      transform: scale(1.06) rotate(8deg);
      background: linear-gradient(135deg, rgba(244, 182, 81, 0.42), rgba(255, 255, 255, 0.08));
      box-shadow: 0 0 0 6px rgba(244, 182, 81, 0.08);
    }

    .footer-meta {
      display: grid;
      gap: 0.85rem;
    }

    .footer-meta strong {
      display: block;
      margin-bottom: 0.24rem;
      color: #fffaf0;
      font-size: 0.78rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .footer-link {
      color: #fff6dc;
      text-decoration: none;
      transition: color 180ms ease, opacity 180ms ease, text-shadow 180ms ease;
    }

    .footer-link:hover,
    .footer-link:focus-visible {
      color: #f1b454;
      text-shadow: 0 0 18px rgba(244, 182, 81, 0.26);
      outline: none;
    }

    .social-link {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      min-height: 40px;
      padding: 0.55rem 0.85rem;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
      width: fit-content;
    }

    .social-link::before {
      display: inline-grid;
      place-items: center;
      width: 30px;
      height: 30px;
      border-radius: 10px;
      font-size: 0.86rem;
      font-weight: 900;
      color: #fffdf4;
      flex: 0 0 auto;
      text-shadow: none;
    }

    .social-facebook::before {
      content: "f";
      background: linear-gradient(135deg, #1877f2, #0f56b3);
    }

    .social-instagram::before {
      content: "ig";
      font-size: 0.66rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af);
    }

    .social-link:hover,
    .social-link:focus-visible {
      background: rgba(255, 255, 255, 0.09);
      border-color: rgba(244, 182, 81, 0.18);
      transform: translateY(-1px);
    }

    .social-cta-button::before {
      content: "f";
      display: inline-grid;
      place-items: center;
      width: 24px;
      height: 24px;
      margin-right: 0.45rem;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.16);
      font-size: 0.86rem;
      font-weight: 900;
      line-height: 1;
    }

    .footer-cta {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.2rem;
      padding: 1.25rem 1.4rem;
      border-radius: 30px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        radial-gradient(circle at right center, rgba(244, 182, 81, 0.14), transparent 24%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
      overflow: hidden;
    }

    .footer-cta::before {
      content: "";
      position: absolute;
      inset: auto auto 0 0;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(159, 213, 75, 0.16), transparent 70%);
      transform: translate(-35%, 38%);
      pointer-events: none;
    }

    .footer-cta h3 {
      margin: 0 0 0.35rem;
      font-size: clamp(1.95rem, 3vw, 2.6rem);
      color: #fffdf4;
    }

    .footer-cta p,
    .footer-note {
      margin: 0;
    }

    .footer-contact-actions {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 0.7rem;
      position: relative;
      z-index: 1;
    }

    .footer-contact-actions .button {
      min-height: 46px;
      padding-inline: 1rem;
      box-shadow: 0 14px 28px rgba(7, 19, 14, 0.16);
      transition: transform 180ms ease, box-shadow 180ms ease;
    }

    .footer-contact-actions .button:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 32px rgba(7, 19, 14, 0.22);
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      padding: 0.95rem 1rem;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.035);
      border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .footer-credit-tag {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.2rem;
      margin: 1rem auto 0;
      padding: 0.65rem 1rem;
      border-radius: 999px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 182, 81, 0.9));
      color: #173526;
      border: 1px solid rgba(255, 255, 255, 0.28);
      box-shadow: 0 16px 30px rgba(9, 26, 20, 0.22);
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      overflow: hidden;
      width: fit-content;
      max-width: 100%;
      text-align: center;
    }

    .footer-credit-tag::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.46) 40%, transparent 78%);
      transform: translateX(-120%);
      animation: credit-shine 5.4s ease-in-out infinite;
    }

    .footer-credit-tag span {
      position: relative;
      z-index: 1;
    }

    .footer-credit-tag strong {
      position: relative;
      z-index: 1;
      font-family: "Cormorant Garamond", serif;
      font-size: 1rem;
      letter-spacing: 0.03em;
      text-transform: none;
    }

    [data-reveal] {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 700ms ease, transform 700ms ease;
    }

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

    @keyframes drift-float {
      0%,
      100% {
        transform: translateY(0) translateX(0);
      }
      50% {
        transform: translateY(-10px) translateX(8px);
      }
    }

    @keyframes marquee-slide {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }

    @keyframes mountain-breathe {
      0%,
      100% {
        transform: translateX(-50%) translateY(0);
      }
      50% {
        transform: translateX(-50%) translateY(-6px);
      }
    }

    @keyframes teacher-bar-grow {
      from {
        transform: scaleX(0);
      }
      to {
        transform: scaleX(1);
      }
    }

    @keyframes credit-shine {
      0%,
      100% {
        transform: translateX(-120%);
      }
      45%,
      55% {
        transform: translateX(120%);
      }
    }

    @keyframes button-shine {
      0%,
      100% {
        transform: translateX(-130%);
      }
      45%,
      60% {
        transform: translateX(130%);
      }
    }

    @keyframes tile-bob {
      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-6px);
      }
    }

    @keyframes pill-glow {
      0%,
      100% {
        box-shadow: 0 10px 18px rgba(34, 56, 30, 0.06);
        transform: translateY(0);
      }
      50% {
        box-shadow: 0 18px 28px rgba(240, 139, 67, 0.16);
        transform: translateY(-4px);
      }
    }

    @keyframes tab-breathe {
      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-3px);
      }
    }

    @keyframes logo-glow {
      0%,
      100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(244, 182, 81, 0));
      }
      50% {
        transform: scale(1.04);
        filter: drop-shadow(0 0 12px rgba(244, 182, 81, 0.35));
      }
    }

    @keyframes balloon-rise {
      0% {
        transform: translateY(0) translateX(0) rotate(0deg);
      }
      25% {
        transform: translateY(-24vh) translateX(10px) rotate(4deg);
      }
      50% {
        transform: translateY(-48vh) translateX(-10px) rotate(-5deg);
      }
      75% {
        transform: translateY(-72vh) translateX(8px) rotate(5deg);
      }
      100% {
        transform: translateY(-104vh) translateX(-4px) rotate(-2deg);
      }
    }

    @keyframes confetti-drift {
      0%,
      100% {
        transform: translateY(0) scale(1) rotate(0deg);
      }
      50% {
        transform: translateY(-18px) scale(1.18) rotate(12deg);
      }
    }

    @keyframes petal-fall {
      0% {
        transform: translate3d(0, -14px, 0) rotate(0deg) scale(0.92);
        opacity: 0;
      }
      12% {
        opacity: 0.9;
      }
      50% {
        transform: translate3d(18px, 88px, 0) rotate(110deg) scale(1);
      }
      100% {
        transform: translate3d(-10px, 176px, 0) rotate(220deg) scale(0.84);
        opacity: 0;
      }
    }

    @keyframes spark-pulse {
      0%,
      100% {
        transform: scale(0.92);
        opacity: 0.2;
      }
      50% {
        transform: scale(1.14);
        opacity: 0.5;
      }
    }

    @keyframes celebration-photo-zoom {
      0%,
      100% {
        transform: scale(1.02);
      }
      50% {
        transform: scale(1.08);
      }
    }

    @keyframes events-slide {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }

    @keyframes events-rise {
      0% {
        transform: translateY(0);
      }
      100% {
        transform: translateY(calc(-1 * var(--events-cycle-height, 0px)));
      }
    }

    @keyframes highlight-float {
      0%,
      100% {
        box-shadow: 0 18px 32px rgba(34, 56, 30, 0.09);
      }
      50% {
        box-shadow: 0 26px 44px rgba(240, 139, 67, 0.12);
      }
    }

    @keyframes footer-panel-float {
      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-6px);
      }
    }

    @keyframes footer-scan {
      0% {
        transform: translateX(-100%);
        opacity: 0;
      }
      20% {
        opacity: 1;
      }
      100% {
        transform: translateX(100%);
        opacity: 0;
      }
    }

    @keyframes footer-credit-float {
      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-4px);
      }
    }

    @keyframes meter-slide {
      0%,
      100% {
        filter: saturate(1);
      }
      50% {
        filter: saturate(1.2) brightness(1.03);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .visit-celebration,
      .welcome-celebration,
      .celebration-copy,
      .welcome-celebration-copy,
      .balloon,
      .confetti,
      .petal,
      .spark,
      .button::after,
      .metric,
      .photo-badge,
      .floating-note,
      .motion-pill,
      .card,
      .score-chip,
      .teacher-tab,
      .student-choice,
      .footer-mark img,
      .footer-panel,
      .footer-credit-tag,
      .founder-badge,
      .sports-photo-card,
      .cricket-orbit,
      .cricket-ball,
      .pitch-line {
        transition: none;
        animation: none;
      }

      .founder-message {
        transition: none;
      }

      .events-cascade,
      .event-image img,
      .celebration-photo img,
      .celebration-message,
      .highlight-card,
      .highlight-meter-bar span,
      .sports-popup-stage *,
      .sports-popup-features span,
      .footer-inner::before,
      .footer-links a::before {
        animation: none;
      }
    }

    @media (max-width: 980px) {
      .nav {
        flex-wrap: wrap;
      }

      .nav-cluster {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
      }

      .hero-orbit.one {
        left: 0.4rem;
      }

      .hero-orbit.two {
        right: 0.4rem;
      }

      .hero-grid,
      .student-portal-grid,
      .teacher-portal-grid,
      .sports-hero-grid,
      .circulars-layout,
      .showcase,
      .mentor-layout,
      .admission-layout,
      .contact-grid,
      .highlights-grid,
      .audience-grid,
      .quick-path-grid,
      .teacher-panel,
      .teacher-module-grid,
      .teacher-mini-grid,
      .student-choice-grid,
      .student-fun-grid,
      .teacher-metric-grid,
      .teacher-record-grid {
        grid-template-columns: 1fr;
      }

      .student-login-shell,
      .teacher-login-shell,
      .student-portal-tools,
      .student-portal-mini-grid,
      .teacher-portal-tools,
      .teacher-portal-mini-grid {
        grid-template-columns: 1fr;
      }

      .teacher-dashboard-toolbar,
      .teacher-dashboard-actions {
        flex-direction: column;
        align-items: flex-start;
      }

      .sports-focus-grid,
      .mentor-meta-grid,
      .sports-scoreline {
        grid-template-columns: 1fr;
      }

      .sports-visual {
        min-height: 560px;
        padding-inline: 0.4rem;
      }

      .sports-photo-card {
        max-width: 420px;
      }

      .orbit-one {
        left: 0.4rem;
      }

      .orbit-two {
        right: 0.4rem;
        bottom: 2.2rem;
      }

      .teacher-showcase-head {
        align-items: start;
        flex-direction: column;
      }

      .student-playzone-head {
        align-items: start;
        flex-direction: column;
      }

      .hero-photo-wrap {
        aspect-ratio: 16 / 11;
      }

      .hero-orbit.one {
        left: 0.8rem;
        top: 1rem;
      }

      .hero-orbit.two {
        right: 0.8rem;
        bottom: 1.2rem;
      }

      .photo-badge {
        right: 0.8rem;
        top: 1rem;
        width: min(240px, 58%);
      }

      .floating-note {
        left: 0.8rem;
        bottom: 1rem;
        width: min(220px, 54%);
      }

      .events-shell {
        grid-template-columns: 1fr;
      }

      .highlight-stage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .highlight-header {
        align-items: start;
        flex-direction: column;
      }

      .events-track-vertical {
        min-height: 0;
      }

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

      .celebration-copy {
        grid-template-columns: 1fr;
        max-height: min(90dvh, 760px);
        overflow-y: auto;
      }

      .sports-popup .celebration-copy {
        grid-template-columns: 1fr;
        overflow-y: auto;
      }

      .sports-popup-stage {
        min-height: 420px;
      }

      .celebration-photo {
        min-height: min(40dvh, 360px);
      }

      .welcome-celebration-copy {
        padding: 1.8rem 1.2rem;
      }

      .section-header {
        align-items: start;
        flex-direction: column;
      }

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

      .footer-cta,
      .footer-bottom {
        flex-direction: column;
        align-items: start;
      }

      .footer-credit-tag {
        margin-top: 1rem;
      }

      .founder-card {
        min-height: 560px;
      }
    }

    @media (max-width: 720px) {
      :root {
        --header-offset: 104px;
      }

      .nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.8rem;
      }

      .celebration-copy {
        grid-template-columns: 1fr;
        width: min(100%, 520px);
        max-height: min(92dvh, 760px);
        border-radius: 26px;
        overflow-y: auto;
      }

      .sports-popup .celebration-copy {
        width: min(100%, 560px);
      }

      .welcome-celebration-copy {
        padding: 1.6rem 1rem;
      }

      .welcome-celebration-close {
        top: 0.85rem;
        right: 0.85rem;
      }

      .celebration-close {
        top: 0.85rem;
        right: 0.85rem;
      }

      .celebration-photo {
        min-height: auto;
        max-height: min(34dvh, 260px);
        display: grid;
        place-items: center;
        padding: 0.85rem 0.85rem 0;
        overflow: visible;
      }

      .celebration-story {
        padding: 1.3rem 1rem 1.2rem;
      }

      .celebration-photo::after {
        inset: 0.85rem 0.85rem 0 0.85rem;
        border-radius: 18px;
      }

      .celebration-photo img {
        width: 100%;
        max-height: min(30dvh, 220px);
        height: auto;
        object-fit: contain;
        border-radius: 18px;
        transform: none;
      }

      .balloon {
        width: 62px;
      }

      .balloon-three,
      .balloon-four {
        right: 2%;
      }

      .hero-orbit {
        display: inline-flex;
        font-size: 0.64rem;
        letter-spacing: 0.06em;
        padding: 0.5rem 0.72rem;
        box-shadow: 0 10px 22px rgba(26, 48, 34, 0.14);
      }

      .events-strip {
        padding-top: 0.7rem;
      }

      .events-shell {
        padding: 0.75rem;
        border-radius: 20px;
      }

      .events-head {
        padding: 0.8rem 0.85rem;
      }

      .card {
        padding: 1rem;
        border-radius: 20px;
      }

      .card h3 {
        font-size: 1.4rem;
      }

      .program-grid .card {
        min-height: 0;
      }

      .showcase-panel,
      .contact-card {
        padding: 1.05rem;
      }

      .gallery-overlay {
        padding: 1rem;
      }

      .events-track-vertical {
        min-height: 0;
      }

      .events-cascade {
        padding-left: 0.9rem;
      }

      .highlight-stage {
        grid-template-columns: 1fr;
      }

      .highlight-card,
      .tilt-one,
      .tilt-two,
      .tilt-three,
      .tilt-four,
      .tilt-five {
        transform: none;
      }

      .event-card {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        padding: 0.7rem;
        border-radius: 20px;
      }

      .event-card::before {
        left: -0.7rem;
      }

      .nav-toggle {
        display: inline-flex;
      }

      .nav-cluster {
        grid-column: 1 / -1;
        display: grid;
        gap: 0.75rem;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        padding: 0;
        pointer-events: none;
        transition: max-height 240ms ease, opacity 240ms ease, padding 240ms ease;
      }

      .nav-cluster.is-open {
        max-height: 980px;
        opacity: 1;
        padding-top: 0.35rem;
        pointer-events: auto;
      }

      .nav-links,
      .header-top-links {
        width: 100%;
        justify-content: stretch;
      }

      .nav-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
      }

      .nav-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        padding: 0.68rem 0.85rem;
        background: rgba(255, 249, 238, 0.92);
        border: 1px solid rgba(24, 50, 42, 0.08);
      }

      .header-top-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
      }

      .header-top-links .button,
      .top-link-button {
        width: 100%;
        min-height: 46px;
        justify-content: center;
      }

      .portal-login-menu {
        width: 100%;
      }

      .portal-login-panel {
        position: static;
        top: auto;
        right: auto;
        min-width: 0;
        width: 100%;
        margin-top: 0.45rem;
        padding: 0.6rem;
        border-radius: 20px;
        box-shadow: 0 14px 26px rgba(24, 50, 42, 0.1);
      }

      .portal-login-option {
        width: 100%;
        min-height: 46px;
      }

      .teacher-data-table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
      }

      .teacher-data-table {
        min-width: 0;
      }

      .teacher-data-table thead {
        display: none;
      }

      .teacher-data-table,
      .teacher-data-table tbody,
      .teacher-data-table tr,
      .teacher-data-table td {
        display: block;
        width: 100%;
      }

      .teacher-data-table tbody {
        display: grid;
        gap: 0.85rem;
      }

      .teacher-data-table tbody tr {
        padding: 0.9rem;
        border: 1px solid rgba(24, 50, 42, 0.08);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.68);
        box-shadow: 0 12px 24px rgba(24, 50, 42, 0.06);
      }

      .teacher-data-table td {
        padding: 0;
        border: 0;
      }

      .teacher-data-table td + td {
        margin-top: 0.75rem;
      }

      .teacher-data-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.3rem;
        color: var(--brand-deep);
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.09em;
        text-transform: uppercase;
      }

      .teacher-data-table td[colspan] {
        padding: 0.95rem;
        text-align: center;
        color: var(--muted);
      }

      .teacher-data-table td[colspan]::before {
        content: none;
      }

      .teacher-data-table input,
      .teacher-data-table select {
        min-height: 44px;
      }

      .teacher-attendance-status-picker {
        gap: 0.35rem;
      }

      .teacher-status-choice {
        min-height: 40px;
        border-radius: 12px;
        font-size: 0.84rem;
      }

      .teacher-dashboard-toolbar,
      .teacher-module-card,
      .teacher-module-side,
      .teacher-metric-card,
      .student-login-card,
      .student-login-side,
      .student-portal-dashboard,
      .admin-login-card,
      .admin-metric-card,
      .admin-quick-card,
      .admin-user-card,
      .admin-user-preview {
        padding: 1rem;
        border-radius: 20px;
      }

      .teacher-dashboard-profile strong,
      .student-login-top strong,
      .student-dashboard-top strong {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
      }

      .teacher-module-head strong {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
      }

      .circulars-side {
        position: static;
      }

      .teacher-dashboard-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
      }

      .teacher-dashboard-tab {
        width: 100%;
        min-height: 42px;
        padding: 0.65rem 0.75rem;
        font-size: 0.78rem;
        letter-spacing: 0.03em;
      }

      .teacher-record-grid,
      .admin-quick-actions {
        grid-template-columns: 1fr;
        gap: 0.75rem;
      }

      .admin-user-actions,
      .form-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.6rem;
      }

      .admin-user-actions .button,
      .admin-user-action,
      .form-actions .button {
        width: 100%;
        justify-content: center;
      }

      .student-task-card,
      .teacher-record-card {
        padding: 0.9rem;
        border-radius: 18px;
      }

      .student-notice-meta {
        align-items: flex-start;
        justify-content: flex-start;
      }

      .student-attendance-tiles {
        grid-template-columns: 1fr;
        gap: 0.7rem;
      }

      .teacher-attendance-inline-history {
        gap: 0.4rem;
      }

      #teacher-attendance-body {
        display: grid;
        gap: 0.7rem;
      }

      #teacher-attendance-body .teacher-attendance-row {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas:
          "roll student history"
          "status status status"
          "remark remark remark";
        gap: 0.6rem 0.7rem;
        align-items: center;
        padding: 0.8rem;
      }

      #teacher-attendance-body .teacher-attendance-row td {
        margin: 0;
      }

      #teacher-attendance-body .teacher-attendance-row td + td {
        margin-top: 0;
      }

      #teacher-attendance-body .teacher-attendance-row td::before {
        margin-bottom: 0.2rem;
        font-size: 0.63rem;
      }

      #teacher-attendance-body .teacher-attendance-roll-cell {
        grid-area: roll;
        min-width: 44px;
        padding: 0.4rem 0.55rem;
        border-radius: 12px;
        background: rgba(135, 199, 90, 0.12);
        font-size: 1rem;
        font-weight: 800;
        text-align: center;
      }

      #teacher-attendance-body .teacher-attendance-student-cell {
        grid-area: student;
        font-size: 1.02rem;
        font-weight: 800;
        line-height: 1.25;
      }

      #teacher-attendance-body .teacher-attendance-history-cell {
        grid-area: history;
      }

      #teacher-attendance-body .teacher-attendance-status-cell {
        grid-area: status;
      }

      #teacher-attendance-body .teacher-attendance-remark-cell {
        grid-area: remark;
      }

      #teacher-attendance-body .teacher-attendance-inline-history {
        justify-content: flex-end;
      }

      #teacher-attendance-body .teacher-attendance-remark-cell::before {
        content: none;
      }

      .teacher-note-toggle {
        min-height: 38px;
        padding: 0.55rem 0.85rem;
        border-radius: 999px;
        font-size: 0.76rem;
        font-weight: 800;
      }

      .teacher-note-input {
        display: none;
        margin-top: 0.45rem;
      }

      .teacher-attendance-row.is-note-open .teacher-note-input {
        display: block;
      }

      .brand {
        justify-content: flex-start;
        text-align: left;
        min-width: 0;
      }

      .brand-mark {
        width: 58px;
        height: 58px;
        border-radius: 18px;
      }

      .brand-copy {
        align-items: flex-start;
      }

      .brand-copy strong {
        font-size: clamp(1.4rem, 7.2vw, 2rem);
        line-height: 0.9;
      }

      .brand-copy span {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
      }

      .brand-copy small {
        font-size: 0.54rem;
        letter-spacing: 0.14em;
      }

      .hero {
        padding-top: 1.7rem;
      }

      .hero-copy p {
        font-size: 0.98rem;
      }

      .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        margin-top: 1.2rem;
      }

      .hero-actions .button {
        width: 100%;
        justify-content: center;
      }

      .hero-metrics {
        gap: 0.75rem;
        margin-top: 1.35rem;
      }

      .metric {
        padding: 0.9rem 1rem;
      }

      .sports-hero {
        padding-top: 1.6rem;
      }

      .student-portal-copy h1,
      .teacher-portal-copy h1 {
        font-size: clamp(2.5rem, 11vw, 3.7rem);
        max-width: none;
      }

      .student-login-row,
      .student-login-actions,
      .teacher-login-row,
      .teacher-login-actions {
        display: grid;
      }

      .student-status-orbits {
        min-height: 88px;
      }

      .sports-popup-story {
        padding: 1.35rem 1rem 1.2rem;
      }

      .sports-popup-story h2 {
        font-size: clamp(2.2rem, 10vw, 3.3rem);
      }

      .sports-popup-actions,
      .sports-popup-features {
        display: grid;
      }

      .sports-popup-stage {
        min-height: 340px;
      }

      .robot-batter {
        left: 18%;
        bottom: 18%;
        transform: scale(0.84);
        transform-origin: bottom left;
      }

      .popup-ball {
        left: 40%;
        bottom: 34%;
      }

      .popup-six-badge {
        top: 10%;
        right: 7%;
        min-height: 56px;
        padding: 0.75rem 1rem;
      }

      .popup-cheer {
        font-size: 0.6rem;
      }

      .cheer-left {
        left: 4%;
        top: 12%;
      }

      .cheer-right {
        right: 4%;
        top: 26%;
      }

      .popup-six-ring {
        right: 8%;
        top: 18%;
        width: 88px;
        height: 88px;
      }

      .sports-copy h1 {
        font-size: clamp(2.55rem, 11vw, 3.7rem);
        max-width: none;
      }

      .sports-actions,
      .sports-scoreline {
        grid-template-columns: 1fr;
      }

      .sports-actions {
        display: grid;
      }

      .sports-visual {
        min-height: 440px;
        padding: 1.2rem 0 0.2rem;
      }

      .sports-photo-card {
        width: min(100%, 340px);
        transform: none;
      }

      .cricket-ball {
        top: 2rem;
        right: 0.25rem;
        width: 60px;
        height: 60px;
      }

      .cricket-ball::before,
      .cricket-ball::after {
        top: 8px;
        bottom: 8px;
      }

      .cricket-ball::before {
        left: 14px;
      }

      .cricket-ball::after {
        right: 14px;
      }

      .cricket-orbit {
        position: relative;
        inset: auto;
        margin: 0 0 0.75rem;
        max-width: max-content;
      }

      .orbit-two {
        margin-left: auto;
      }

      .pitch-one {
        left: 0;
        bottom: 4rem;
      }

      .pitch-two {
        right: 0;
        bottom: 6.5rem;
      }

      .mentor-portrait-card img,
      .sports-photo-card img {
        object-position: center 20%;
      }

      .celebration-kicker {
        font-size: 0.62rem;
        letter-spacing: 0.12em;
      }

      .welcome-celebration-kicker {
        font-size: 0.62rem;
        letter-spacing: 0.12em;
      }

      .celebration-story p {
        font-size: 0.88rem;
        letter-spacing: 0.05em;
      }

      .celebration-story h2 {
        font-size: clamp(2.3rem, 10vw, 3.4rem);
      }

      .celebration-credit span {
        font-size: 0.6rem;
      }

      .welcome-celebration-copy p {
        font-size: 0.88rem;
        letter-spacing: 0.05em;
      }

      .welcome-celebration-credit span {
        font-size: 0.6rem;
      }

      .hero-copy h1 {
        font-size: clamp(2.5rem, 13vw, 4rem);
      }

      .hero-metrics,
      .program-grid {
        grid-template-columns: 1fr;
      }

      .hero-photo-wrap {
        aspect-ratio: 4 / 5;
      }

      .hero-orbit.one {
        left: 0.7rem;
        top: 0.8rem;
      }

      .hero-orbit.two {
        right: 0.7rem;
        bottom: 1rem;
      }

      .photo-badge,
      .floating-note {
        position: absolute;
        width: calc(100% - 1.4rem);
        max-width: 250px;
        margin-top: 0;
        padding: 0.85rem;
        border-radius: 20px;
        box-shadow: 0 14px 26px rgba(26, 48, 34, 0.14);
      }

      .photo-badge {
        top: 3.4rem;
        right: 0.7rem;
      }

      .floating-note {
        left: 0.7rem;
        bottom: 4.3rem;
      }

      .photo-badge strong,
      .floating-note strong {
        font-size: 0.92rem;
      }

      .photo-badge span,
      .floating-note span {
        font-size: 0.82rem;
        line-height: 1.45;
      }

      .founder-card {
        min-height: 520px;
      }

      .founder-overlay {
        padding: 5.5rem 1.1rem 1.1rem;
      }

      .founder-message {
        max-width: none;
        min-height: auto;
      }

      .founder-points {
        gap: 0.45rem;
      }

      .footer-shell {
        padding: 1.2rem 0;
      }
    }

    @media (max-width: 560px) {
      .section {
        padding: 3.2rem 0;
      }

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

      .teacher-dashboard-tab {
        min-height: 40px;
        font-size: 0.76rem;
      }

      .teacher-dashboard-actions,
      .student-login-actions,
      .teacher-login-actions {
        width: 100%;
      }

      .teacher-chip-row span,
      .admin-user-badge,
      .student-login-kicker,
      .teacher-login-kicker,
      .event-date,
      .event-status {
        font-size: 0.66rem;
      }

      .teacher-module-note,
      .student-status-item,
      .admin-help-note {
        padding: 0.85rem;
        border-radius: 16px;
      }

      .student-status-orbits,
      .hero-orbit,
      .photo-badge,
      .floating-note {
        display: none;
      }

      .hero-photo-wrap {
        aspect-ratio: 5 / 4;
      }

      .teacher-record-card strong,
      .student-task-card strong,
      .admin-quick-card strong {
        font-size: 0.95rem;
      }

      #teacher-attendance-body .teacher-attendance-row {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
          "roll student"
          "history history"
          "status status"
          "remark remark";
      }

      #teacher-attendance-body .teacher-attendance-history-cell {
        justify-self: start;
      }

      #teacher-attendance-body .teacher-attendance-inline-history {
        justify-content: flex-start;
      }
    }
  
