/* =========================================
   0. GLOBAL
========================================= */

@media (max-width: 960px) {
  html { scroll-padding-top: 84px; }
}

@media (max-width: 480px) {
  html { scroll-padding-top: 70px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: 94%; }
  .btn { padding: 13px 20px; font-size: .95rem; }
  .script-title { font-size: 2.4rem; }
  .script-title::after { width: 90px; }
}

@media (max-width: 400px) {
  body { font-size: .95rem; }
  .container { width: 92%; }
  .btn {
    padding: 12px 16px;
    font-size: .9rem;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .script-title { font-size: 2.1rem; }
  .script-title::after { width: 72px; height: 4px; }
}

@media (max-width: 300px) {
  body { font-size: .9rem; }
  .btn { padding: 11px 14px; font-size: .84rem; }
  .script-title { font-size: 1.9rem; }
  .script-title::after { width: 60px; height: 4px; }
}


/* =========================================
   1. HEADER / NAVIGATION
   Logo (left) | menu (centre) | register (right)
   Below 960px the menu becomes a drop-down.
========================================= */

@media (max-width: 1200px) {
  .nav-link {
    padding: 9px 10px;
    font-size: .88rem;
  }

  .nav-link::before {
    left: 10px;
    right: 10px;
  }

  .nav-cta-desktop {
    padding: 10px 16px;
    font-size: .86rem;
  }
}

@media (max-width: 960px) {
  .nav-container {
    height: 84px;
  }

  .topbar.scrolled .nav-container {
    height: 66px;
  }

  .brand-badge {
    width: 66px;
    height: 66px;
  }

  .topbar.scrolled .brand-badge {
    width: 56px;
    height: 56px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta-desktop {
    display: none;
  }

  .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    max-height: 0;
    padding: 0 4%;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: rgba(255, 250, 244, .98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(127, 68, 38, .12);
    box-shadow: 0 18px 34px rgba(105, 58, 30, .14);
    transition: max-height .5s var(--ease), padding .5s var(--ease), opacity .4s, visibility .4s;
  }

  .navigation.show {
    max-height: 600px;
    padding: 14px 4% 22px;
    opacity: 1;
    visibility: visible;
  }

  .navigation.show > * {
    animation: slideIn .45s var(--ease) both;
  }

  .navigation.show > *:nth-child(1) { animation-delay: .05s; }
  .navigation.show > *:nth-child(2) { animation-delay: .10s; }
  .navigation.show > *:nth-child(3) { animation-delay: .15s; }
  .navigation.show > *:nth-child(4) { animation-delay: .20s; }
  .navigation.show > *:nth-child(5) { animation-delay: .25s; }
  .navigation.show > *:nth-child(6) { animation-delay: .30s; }
  .navigation.show > *:nth-child(7) { animation-delay: .35s; }
  .navigation.show > *:nth-child(8) { animation-delay: .40s; }

  .nav-link {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 12px;
    transition: color .3s, background .3s;
  }

  .nav-link::before,
  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(167, 25, 46, .08);
    transform: none;
  }

  .nav-cta-mobile,
  .nav-cta-mobile:hover {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 13px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
  }

  /* hamburger lines centred in a 44px button */
  .menu-toggle span:nth-child(1) { top: 15px; }
  .menu-toggle span:nth-child(2) { top: 21px; }
  .menu-toggle span:nth-child(3) { top: 27px; }

  .menu-toggle.open span:nth-child(1),
  .menu-toggle.open span:nth-child(3) {
    top: 21px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    width: 92%;
    height: 62px;
  }

  .topbar.scrolled .nav-container {
    height: 58px;
  }

  .brand-badge {
    width: 50px;
    height: 50px;
  }

  .topbar.scrolled .brand-badge {
    width: 46px;
    height: 46px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .menu-toggle span {
    left: 10px;
  }

  .menu-toggle span:nth-child(1) { top: 13px; }
  .menu-toggle span:nth-child(2) { top: 19px; }
  .menu-toggle span:nth-child(3) { top: 25px; }

  .menu-toggle.open span:nth-child(1),
  .menu-toggle.open span:nth-child(3) {
    top: 19px;
  }

  .navigation.show {
    padding: 10px 4% 16px;
  }

  .nav-link {
    padding: 11px 14px;
    font-size: .96rem;
  }

  .nav-cta-mobile {
    padding: 12px 16px;
    font-size: .96rem;
  }
}

@media (max-width: 400px) {
  .nav-container {
    height: 58px;
  }

  .topbar.scrolled .nav-container {
    height: 54px;
  }

  .brand-badge {
    width: 46px;
    height: 46px;
  }

  .topbar.scrolled .brand-badge {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .menu-toggle span {
    left: 9px;
  }

  .menu-toggle span:nth-child(1) { top: 12px; }
  .menu-toggle span:nth-child(2) { top: 18px; }
  .menu-toggle span:nth-child(3) { top: 24px; }

  .menu-toggle.open span:nth-child(1),
  .menu-toggle.open span:nth-child(3) {
    top: 18px;
  }

  .navigation.show {
    padding: 8px 4% 14px;
  }

  .nav-link {
    padding: 10px 12px;
    font-size: .92rem;
  }

  .nav-cta-mobile {
    padding: 11px 14px;
    font-size: .92rem;
  }
}

@media (max-width: 360px) {
  .nav-container {
    height: 56px;
  }

  .topbar.scrolled .nav-container {
    height: 52px;
  }

  .brand-badge {
    width: 44px;
    height: 44px;
  }

  .topbar.scrolled .brand-badge {
    width: 40px;
    height: 40px;
  }

  .nav-link {
    padding: 10px;
    font-size: .9rem;
  }

  .nav-cta-mobile {
    padding: 10px 12px;
    gap: 6px;
    font-size: .9rem;
  }
}

@media (max-width: 300px) {
  .nav-container {
    width: 94%;
    height: 54px;
    gap: 10px;
  }

  .topbar.scrolled .nav-container {
    height: 50px;
  }

  .brand-badge {
    width: 40px;
    height: 40px;
    box-shadow:
      0 0 0 2px #fff,
      0 0 0 3px rgba(255, 189, 56, .6),
      0 6px 14px rgba(105, 58, 30, .14);
  }

  .topbar.scrolled .brand-badge {
    width: 36px;
    height: 36px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .menu-toggle span {
    left: 9px;
    width: 18px;
  }

  .menu-toggle span:nth-child(1) { top: 12px; }
  .menu-toggle span:nth-child(2) { top: 17px; }
  .menu-toggle span:nth-child(3) { top: 22px; }

  .menu-toggle.open span:nth-child(1),
  .menu-toggle.open span:nth-child(3) {
    top: 17px;
  }

  .navigation.show {
    padding: 8px 3% 12px;
  }

  .nav-link {
    padding: 9px 10px;
    font-size: .86rem;
  }

  .nav-cta-mobile {
    padding: 9px 10px;
    font-size: .86rem;
  }
}


/* =========================================
   2. HERO
========================================= */

@media (max-width: 1000px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 60px 0 56px;
    text-align: center;
  }

  .hero-text {
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    transform: none;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    width: 100%;
  }

  .hero-visual {
    gap: 16px;
  }

  .hero-mini {
    left: -12px;
  }

  .hero-badge {
    right: -6px;
  }
}

@media (max-width: 560px) {
  .hero-content {
    width: 92%;
    padding: 52px 0;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .hero-lead {
    font-size: .98rem;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .hero-stats strong {
    font-size: 1.2rem;
  }

  .hero-stats span {
    font-size: .7rem;
  }

  .hero-polaroid {
    width: 100%;
    max-width: 300px;
  }

  .hero-photo img {
    height: 230px;
  }

  .hero-mini {
    width: 84px;
    left: -8px;
    top: -14px;
  }

  .hero-mini img {
    height: 60px;
  }

  .hero-badge {
    width: 66px;
    height: 66px;
    top: -10px;
    right: -6px;
  }

  .hero-badge strong {
    font-size: 1.35rem;
  }

  .hero-countdown {
    width: 100%;
    max-width: 300px;
    gap: 5px;
    padding: 6px;
  }

  .cd-box b {
    font-size: 1.15rem;
  }

  .scroll-hint {
    display: none;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-chip {
    font-size: .72rem;
    padding: 5px 11px;
  }

  .school-name {
    font-size: .9rem;
  }

  .hero-lead {
    font-size: .92rem;
  }

  .hero-polaroid {
    padding: 10px 10px 14px;
  }

  .hero-photo img {
    height: 210px;
  }

  .hero-polaroid .caption {
    font-size: 1.3rem;
  }

  .hero-countdown {
    gap: 4px;
    padding: 5px;
  }

  .cd-box {
    padding: 6px 2px;
  }

  .cd-box b {
    font-size: 1.05rem;
  }

  .cd-box span {
    font-size: .52rem;
  }

  .hero-badge {
    width: 60px;
    height: 60px;
    top: -8px;
    right: -4px;
  }

  .hero-badge strong {
    font-size: 1.2rem;
  }

  .hero-badge span {
    font-size: .5rem;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-stats li {
    padding: 10px 8px;
  }

  .hero-stats strong {
    font-size: 1.1rem;
  }

  .hero-stats span {
    font-size: .64rem;
  }

  .hero-photo img {
    height: 200px;
  }

  .hero-mini {
    width: 74px;
  }

  .hero-mini img {
    height: 52px;
  }
}

@media (max-width: 300px) {
  .hero-content {
    padding: 40px 0 36px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 2.7rem;
    margin: 4px 0 8px;
  }

  .hero-chip {
    font-size: .64rem;
    padding: 4px 9px;
  }

  .school-name {
    font-size: .8rem;
  }

  .hero-lead {
    font-size: .88rem;
    margin-bottom: 18px;
  }

  .hero-buttons {
    gap: 8px;
  }

  .hero-buttons .btn {
    padding: 11px 14px;
    font-size: .84rem;
  }

  .hero-stats {
    gap: 6px;
    margin-top: 20px;
  }

  .hero-stats li {
    padding: 8px 6px;
    border-radius: 12px;
  }

  .hero-stats strong {
    font-size: 1rem;
  }

  .hero-stats span {
    font-size: .56rem;
    line-height: 1.2;
  }

  .hero-polaroid {
    padding: 8px 8px 12px;
  }

  .hero-photo img {
    height: 180px;
  }

  .hero-polaroid .caption {
    font-size: 1.1rem;
  }

  .hero-mini {
    width: 64px;
    left: -4px;
    top: -12px;
    padding: 3px 3px 5px;
  }

  .hero-mini img {
    height: 44px;
  }

  .hero-badge {
    width: 50px;
    height: 50px;
    top: -8px;
    right: -4px;
  }

  .hero-badge strong {
    font-size: 1rem;
  }

  .hero-badge span {
    font-size: .5rem;
    letter-spacing: .3px;
  }

  .hero-countdown {
    gap: 3px;
    padding: 4px;
    border-radius: 12px;
  }

  .cd-box {
    padding: 5px 1px;
    border-radius: 8px;
  }

  .cd-box b {
    font-size: .9rem;
  }

  .cd-box span {
    font-size: .46rem;
    letter-spacing: .2px;
  }
}


/* =========================================
   3. ALUMNI CONNECTION STRIP
========================================= */

@media (max-width: 1200px) {
  .connection {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .connection-heading {
    border-right: 0;
    padding-right: 0;
    padding-bottom: 4px;
  }

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

@media (max-width: 640px) {
  .connection {
    margin-top: -30px;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .connection-heading h2 {
    font-size: 1.7rem;
  }

  .connection-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .connection-item {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px;
  }

  .connection-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .connection-icon i {
    font-size: 1.45rem;
  }

  .connection-num {
    display: none;
  }

  .connection-arrow {
    position: static;
    margin-left: auto;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .connection {
    padding: 20px 16px;
  }

  .connection-text strong {
    font-size: 1rem;
  }

  .connection-text small {
    font-size: .9rem;
  }
}

@media (max-width: 400px) {
  .connection {
    padding: 18px 14px;
    border-radius: 20px;
  }

  .connection-heading h2 {
    font-size: 1.55rem;
  }

  .connection-eyebrow {
    font-size: .66rem;
    padding: 4px 10px;
  }

  .connection-item {
    padding: 12px;
    gap: 12px;
  }

  .connection-icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .connection-icon i {
    font-size: 1.25rem;
  }

  .connection-text strong {
    font-size: .98rem;
  }

  .connection-text small {
    font-size: .86rem;
  }
}

@media (max-width: 360px) {
  .connection-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .connection-icon i {
    font-size: 1.15rem;
  }

  .connection-heading h2 {
    font-size: 1.45rem;
  }

  .connection-text strong {
    font-size: .94rem;
  }
}

@media (max-width: 300px) {
  .connection {
    margin-top: -20px;
    margin-bottom: 28px;
    padding: 14px 10px;
    border-radius: 16px;
    gap: 16px;
  }

  .connection-heading h2 {
    font-size: 1.35rem;
  }

  .connection-eyebrow {
    font-size: .6rem;
    padding: 4px 9px;
    margin-bottom: 6px;
  }

  .connection-item {
    padding: 9px 8px;
    gap: 10px;
    border-radius: 14px;
  }

  .connection-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .connection-icon i {
    font-size: 1rem;
  }

  .connection-text strong {
    font-size: .9rem;
  }

  .connection-text small {
    font-size: .78rem;
  }
}


/* =========================================
   4. ABOUT (EDITORIAL SPLIT)
   Wide screens: red panel and cream panel with the photo on the seam.
   Below 1000px: stacked. The photo overlaps the red panel and the cream panel.
========================================= */

@media (max-width: 1200px) {
  .about-split {
    --seam: 46%;
  }

  .about-panel {
    padding: 40px 156px 40px 36px;
  }

  .about-body {
    padding: 40px 36px 36px 156px;
  }

  .about-photo {
    width: 280px;
  }
}

@media (max-width: 1000px) {
  .about-split {
    grid-template-columns: 1fr;
    min-height: 0;
    background: #fff4e8;
  }

  .about-panel {
    order: 1;
    align-items: center;
    text-align: center;
    padding: 40px 28px 150px;
    background: var(--red);
    border-radius: 26px 26px 0 0;
  }

  .about-kicker {
    margin: 0 auto;
  }

  .about-vertical-year {
    display: none;
  }

  /* the photo is 246px tall (230px image + 16px frame), so it reaches 123px into each panel */
  .about-photo {
    order: 2;
    position: relative;
    top: auto;
    left: auto;
    width: min(330px, 80%);
    margin: -123px auto 0;
    transform: rotate(-2deg);
    z-index: 3;
  }

  .about-photo:hover {
    transform: rotate(0deg) translateY(-4px);
  }

  .about-body {
    order: 3;
    padding: 26px 28px 36px;
    text-align: center;
  }

  .about-quote {
    text-align: left;
    margin: 0 auto;
    max-width: 520px;
  }

  .about-lead {
    max-width: 560px;
    margin: 0 auto;
  }

  .about-stats {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .about-split {
    border-radius: 22px;
  }

  .about-panel {
    padding: 32px 20px 128px;
    border-radius: 22px 22px 0 0;
  }

  .about-panel .script-title {
    font-size: 2.4rem;
  }

  /* 210px image + 16px frame = 226px, so the photo reaches 113px into each panel */
  .about-photo {
    width: 84%;
    margin-top: -113px;
  }

  .about-photo img {
    height: 210px;
  }

  .about-body {
    padding: 26px 20px 28px;
  }

  .about-lead {
    font-size: .95rem;
  }

  .about-quote p {
    font-size: 1.02rem;
  }

  .about-stat {
    padding: 0 8px;
  }

  .about-stat:first-child {
    padding-left: 0;
  }

  .about-stat strong {
    font-size: 1.5rem;
  }

  .about-stat span {
    font-size: .56rem;
    letter-spacing: .4px;
  }
}

@media (max-width: 400px) {
  .about-split {
    border-radius: 20px;
  }

  .about-panel {
    padding: 28px 16px 120px;
    border-radius: 20px 20px 0 0;
  }

  .about-panel .script-title {
    font-size: 2.1rem;
  }

  /* 190px image + 16px frame = 206px */
  .about-photo {
    width: 86%;
    margin-top: -103px;
  }

  .about-photo img {
    height: 190px;
  }

  .about-photo figcaption {
    bottom: -12px;
    font-size: .95rem;
    padding: 4px 10px;
  }

  .about-body {
    padding: 24px 14px 26px;
  }

  .about-lead {
    font-size: .9rem;
  }

  .about-quote {
    padding: 10px 14px 10px 36px;
  }

  .about-quote::before {
    left: 12px;
    font-size: 1.8rem;
  }

  .about-quote p {
    font-size: .95rem;
  }

  .about-stat strong {
    font-size: 1.3rem;
  }

  .about-stat span {
    font-size: .52rem;
    letter-spacing: .3px;
    margin-top: 4px;
  }
}

@media (max-width: 360px) {
  .about-panel .script-title {
    font-size: 2rem;
  }

  /* 170px image + 16px frame = 186px */
  .about-photo {
    margin-top: -93px;
  }

  .about-photo img {
    height: 170px;
  }
}

@media (max-width: 300px) {
  .about-split {
    border-radius: 16px;
  }

  .about-panel {
    padding: 24px 12px 112px;
    gap: 8px;
    border-radius: 16px 16px 0 0;
  }

  .about-kicker {
    font-size: .56rem;
    padding: 4px 9px;
  }

  .about-panel .script-title {
    font-size: 1.85rem;
  }

  /* 150px image + 12px frame = 162px */
  .about-photo {
    width: 88%;
    padding: 6px;
    border-radius: 14px;
    margin-top: -81px;
  }

  .about-photo img {
    height: 150px;
    border-radius: 10px;
  }

  .about-photo figcaption {
    font-size: .9rem;
    padding: 3px 9px;
  }

  .about-body {
    padding: 22px 12px 22px;
    gap: 12px;
  }

  .about-lead {
    font-size: .86rem;
    line-height: 1.55;
  }

  .about-quote p {
    font-size: .9rem;
  }

  .about-stats {
    padding-top: 12px;
  }

  .about-stat strong {
    font-size: 1.15rem;
  }

  .about-stat span {
    font-size: .48rem;
    margin-top: 4px;
  }
}


/* =========================================
   5. REUNION (EVENT TICKET + SCHEDULE)
   The schedule line is drawn on each row (li::before),
   so it stays aligned with the dots at any row height.
========================================= */

@media (max-width: 1100px) {
  .rn-ticket {
    grid-template-columns: 1fr 260px;
  }

  .rn-main {
    padding: 28px;
  }
}

@media (max-width: 960px) {
  .rn-ticket {
    grid-template-columns: 1fr;
  }

  .rn-stub {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 26px;
    border-left: 0;
    border-top: 2px dashed rgba(255, 255, 255, .35);
  }

  .rn-stub::before,
  .rn-stub::after {
    display: none;
  }

  .rn-photo {
    width: 240px;
    flex-shrink: 0;
  }

  .rn-photo img {
    height: 110px;
  }

  .schedule-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 18px;
  }

  .schedule-list::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .rn-main {
    padding: 26px 20px;
  }

  .rn-main h2 {
    font-size: 2.6rem;
  }

  .rn-lead {
    font-size: .95rem;
  }

  .rn-stub {
    justify-content: center;
    padding: 20px;
  }

  .rn-date span {
    font-size: 2.6rem;
  }

  .rn-photo {
    width: 100%;
    max-width: 260px;
  }

  .schedule {
    padding: 20px 18px;
  }

  .schedule-head {
    margin-bottom: 16px;
  }

  /* vertical timeline: time (96px) | gap 10px | dot (14px column) */
  .schedule-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .schedule-list li {
    display: grid;
    grid-template-columns: 96px 14px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 9px 8px;
    text-align: left;
    border-radius: 12px;
  }

  .schedule-list li:hover {
    transform: none;
    background: rgba(253, 228, 211, .55);
  }

  /* line centre = 8px padding + 96px + 10px gap + 7px = 121px; line is 2px wide */
  .schedule-list li::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 120px;
    width: 2px;
    background: linear-gradient(180deg, var(--red), var(--gold));
    opacity: .5;
  }

  .schedule-list li:first-child::before {
    top: 50%;
  }

  .schedule-list li:last-child::before {
    bottom: 50%;
  }

  .sch-dot {
    position: relative;
    z-index: 1;
    justify-self: center;
  }

  .sch-time {
    justify-self: start;
    font-size: .7rem;
    padding: 4px 9px;
  }

  .sch-text {
    font-size: .9rem;
  }
}

@media (max-width: 400px) {
  .rn-main {
    padding: 22px 16px;
  }

  .rn-main h2 {
    font-size: 2.3rem;
  }

  .rn-lead {
    font-size: .9rem;
  }

  .rn-meta span {
    font-size: .76rem;
    padding: 6px 10px;
  }

  .rn-actions {
    flex-direction: column;
  }

  .rn-actions .btn {
    width: 100%;
  }

  .rn-stub {
    padding: 18px 14px;
  }

  .rn-date span {
    font-size: 2.4rem;
  }

  .rn-date strong {
    font-size: 1.3rem;
  }

  .schedule {
    padding: 16px 12px;
    border-radius: 18px;
  }

  .schedule-icon {
    width: 36px;
    height: 36px;
    font-size: .9rem;
  }

  .schedule-head h3 {
    font-size: 1.2rem;
  }

  .schedule-head p {
    font-size: .76rem;
  }

  /* 84px time | gap 8px | 12px dot: centre = 6 + 84 + 8 + 6 = 104 */
  .schedule-list li {
    grid-template-columns: 84px 12px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 6px;
  }

  .schedule-list li::before {
    left: 103px;
  }

  .sch-time {
    font-size: .64rem;
    padding: 3px 8px;
  }

  .sch-text {
    font-size: .84rem;
  }
}

@media (max-width: 360px) {
  .rn-main h2 {
    font-size: 2.1rem;
  }

  .rn-photo img {
    height: 120px;
  }

  /* 78px time | gap 7px | 10px dot: centre = 5 + 78 + 7 + 5 = 95 */
  .schedule-list li {
    grid-template-columns: 78px 10px minmax(0, 1fr);
    gap: 7px;
    padding: 7px 5px;
  }

  .schedule-list li::before {
    left: 94px;
  }

  .sch-time {
    font-size: .6rem;
    padding: 3px 7px;
  }

  .sch-text {
    font-size: .8rem;
  }
}

@media (max-width: 300px) {
  .rn-ticket {
    border-radius: 18px;
  }

  .rn-main {
    padding: 18px 12px;
    gap: 8px;
  }

  .rn-eyebrow {
    font-size: .6rem;
    padding: 4px 9px;
  }

  .rn-main h2 {
    font-size: 2rem;
  }

  .rn-lead {
    font-size: .86rem;
  }

  .rn-meta {
    gap: 6px;
  }

  .rn-meta span {
    font-size: .7rem;
    padding: 5px 8px;
  }

  .rn-actions .btn {
    padding: 10px 12px;
    font-size: .84rem;
  }

  .rn-stub {
    padding: 16px 12px;
  }

  .rn-date span {
    font-size: 2.1rem;
  }

  .rn-date strong {
    font-size: 1.15rem;
  }

  .rn-date small {
    font-size: .7rem;
  }

  .rn-photo {
    padding: 5px 5px 8px;
  }

  .rn-photo img {
    height: 110px;
  }

  .rn-photo figcaption {
    font-size: .95rem;
  }

  .schedule {
    padding: 14px 10px;
    border-radius: 16px;
  }

  .schedule-head {
    gap: 8px;
    margin-bottom: 14px;
  }

  .schedule-icon {
    width: 34px;
    height: 34px;
    font-size: .85rem;
    border-radius: 12px;
  }

  .schedule-head h3 {
    font-size: 1.1rem;
  }

  .schedule-head p {
    font-size: .72rem;
  }

  /* 74px time | gap 6px | 10px dot: centre = 4 + 74 + 6 + 5 = 89 */
  .schedule-list li {
    grid-template-columns: 74px 10px minmax(0, 1fr);
    gap: 6px;
    padding: 7px 4px;
  }

  .schedule-list li::before {
    left: 88px;
  }

  .sch-time {
    font-size: .56rem;
    padding: 3px 6px;
  }

  .sch-text {
    font-size: .76rem;
    line-height: 1.3;
  }
}


/* =========================================
   6. REGISTRATION (BOARDING PASS)
========================================= */

@media (max-width: 1100px) {
  .rg-stub {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rg-actions {
    flex-wrap: wrap;
  }

  .rg-total {
    width: 170px;
  }

  .rg-upload {
    flex: 1 1 260px;
    width: auto;
  }

  .rg-submit {
    width: 100%;
    flex: 1 1 100%;
    height: 56px;
  }
}

@media (max-width: 900px) {
  .rg-head {
    padding: 18px 22px;
  }

  .rg-form {
    padding: 20px 22px 0;
  }

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

  .rg-stub {
    margin: 18px -22px 0;
    padding: 16px 22px 18px;
  }
}

@media (max-width: 640px) {
  .rg-head {
    padding: 16px 18px;
  }

  .rg-title h2 {
    font-size: 1.55rem;
  }

  .rg-progress {
    padding: 12px 18px 0;
  }

  .rg-form {
    padding: 16px 18px 0;
  }

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

  .rg-stub {
    margin: 18px -18px 0;
    padding: 16px 18px 18px;
  }

  .rg-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rg-total,
  .rg-upload {
    width: 100%;
    flex: none;
  }

  .rg-submit {
    width: 100%;
    height: 54px;
    padding: 10px 0;
  }

  #customDonation {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .rg-head {
    gap: 10px;
  }

  .rg-meta span {
    font-size: .72rem;
    padding: 5px 10px;
  }

  .rg-label {
    font-size: .62rem;
  }

  .rg-input input,
  .rg-input select,
  .rg-input textarea {
    font-size: .88rem;
    padding: 9px 12px 9px 34px;
  }

  .rg-chip span {
    min-width: 58px;
    height: 34px;
    font-size: .8rem;
    padding: 0 10px;
  }
}

@media (max-width: 400px) {
  .rg-head {
    padding: 14px;
  }

  .rg-title h2 {
    font-size: 1.4rem;
  }

  .rg-kicker {
    font-size: .6rem;
  }

  .rg-icon {
    width: 38px;
    height: 38px;
    font-size: .95rem;
  }

  .rg-progress {
    padding: 10px 14px 0;
    gap: 8px;
  }

  .rg-progress-count {
    font-size: .68rem;
  }

  .rg-form {
    padding: 14px 14px 0;
  }

  .rg-grid {
    gap: 12px 10px;
  }

  .rg-stub {
    margin: 16px -14px 0;
    padding: 14px;
  }

  .rg-stub-label {
    font-size: .62rem;
  }

  .rg-total {
    height: 60px;
    padding: 0 14px;
  }

  .rg-total strong {
    font-size: 1.2rem;
  }

  .rg-upload {
    height: 60px;
    padding: 0 12px;
    gap: 8px;
  }

  .rg-upload-text {
    font-size: .8rem;
  }

  .rg-upload small {
    font-size: .62rem;
  }

  .rg-submit {
    height: 50px;
    font-size: .88rem;
  }
}

@media (max-width: 360px) {
  .rg-title h2 {
    font-size: 1.3rem;
  }

  .rg-meta {
    gap: 5px;
  }

  .rg-meta span {
    font-size: .68rem;
    padding: 4px 9px;
  }

  .rg-input > i {
    left: 11px;
    font-size: .76rem;
  }

  .rg-input input,
  .rg-input select,
  .rg-input textarea {
    font-size: .84rem;
    padding: 8px 10px 8px 32px;
    border-radius: 10px;
  }

  .rg-area textarea {
    min-height: 56px;
  }

  .rg-chip span {
    min-width: 52px;
    height: 32px;
    font-size: .76rem;
    padding: 0 8px;
  }

  #customDonation {
    font-size: .84rem;
  }
}

@media (max-width: 300px) {
  .rg-pass {
    border-radius: 16px;
  }

  .rg-head {
    padding: 12px;
    gap: 8px;
  }

  .rg-title {
    gap: 8px;
  }

  .rg-icon {
    width: 34px;
    height: 34px;
    font-size: .85rem;
    border-radius: 11px;
  }

  .rg-title h2 {
    font-size: 1.2rem;
  }

  .rg-kicker {
    font-size: .54rem;
  }

  .rg-meta span {
    font-size: .62rem;
    padding: 4px 7px;
  }

  .rg-progress {
    padding: 10px 12px 0;
  }

  .rg-progress-count {
    font-size: .62rem;
  }

  .rg-form {
    padding: 12px 12px 0;
  }

  .rg-grid {
    gap: 10px;
  }

  .rg-label {
    font-size: .58rem;
    letter-spacing: .4px;
  }

  .rg-input > i {
    left: 10px;
    font-size: .72rem;
  }

  .rg-input input,
  .rg-input select,
  .rg-input textarea {
    font-size: .8rem;
    padding: 8px 9px 8px 30px;
    border-radius: 9px;
  }

  .rg-stub {
    margin: 14px -12px 0;
    padding: 12px;
  }

  .rg-stub-label {
    font-size: .58rem;
  }

  .rg-chips {
    gap: 6px;
  }

  .rg-chip span {
    min-width: 48px;
    height: 30px;
    font-size: .72rem;
    padding: 0 7px;
  }

  #customDonation {
    font-size: .8rem;
    padding: 7px 9px;
  }

  .rg-total {
    height: 56px;
    padding: 0 12px;
  }

  .rg-total span {
    font-size: .56rem;
  }

  .rg-total strong {
    font-size: 1.05rem;
  }

  .rg-upload {
    height: 56px;
    padding: 0 10px;
    gap: 7px;
  }

  .rg-upload > i {
    font-size: 1rem;
  }

  .rg-upload-text {
    font-size: .72rem;
  }

  .rg-upload small {
    font-size: .56rem;
    white-space: normal;
  }

  .rg-submit {
    height: 48px;
    font-size: .84rem;
    padding: 0 12px;
    gap: 6px;
  }
}


/* =========================================
   7. THEN & NOW
========================================= */

@media (max-width: 1100px) {
  .then-now {
    gap: 32px;
    padding: 30px 32px;
  }

  .tn-stage {
    grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
  }

  .tn-photo {
    height: 160px;
  }
}

@media (max-width: 900px) {
  .then-now {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 26px;
  }

  .tn-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tn-head p {
    margin-top: 10px;
  }

  .tn-stage {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
.then-now {
        padding: 26px 18px;
        border-radius: 20px;
    }

    /* prints side by side, arrow on its own row below */
    .tn-stage {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .tn-arrow {
        transform: rotate(90deg);
    }

    .tn-connector {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 40px;
    }

    .tn-track {
        left: 20%;
        right: 20%;
        display: none;
    }

    .tn-frame {
        padding: 8px 8px 12px;
    }

    .tn-photo {
        height: 130px;
    }

    .tn-frame figcaption {
        font-size: 1.2rem;
    }

    .tn-tag {
        top: 12px;
        left: 12px;
        font-size: .58rem;
        padding: 3px 9px;
    }

    .tn-now {
        transform: rotate(2deg) translateY(4px);
    }
}

@media (max-width: 400px) {
  .then-now {
    padding: 22px 14px;
    gap: 22px;
  }

  .tn-head .script-title {
    font-size: 2.2rem;
  }

  .tn-head p {
    font-size: .9rem;
  }

  /* single column: print, arrow, print */
  .tn-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .tn-connector {
    grid-column: auto;
    grid-row: auto;
    height: 44px;
  }

  .tn-track {
    display: none;
  }

  .tn-arrow {
    transform: rotate(90deg);
  }

  .tn-frame {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .tn-now {
    transform: rotate(2deg);
  }

  .tn-photo {
    height: 170px;
  }
}

@media (max-width: 360px) {
  .then-now {
    padding: 20px 12px;
  }

  .tn-frame {
    max-width: 260px;
  }

  .tn-photo {
    height: 150px;
  }

  .tn-frame figcaption {
    font-size: 1.15rem;
  }
}

@media (max-width: 300px) {
  .then-now {
    padding: 18px 12px;
    gap: 18px;
    border-radius: 16px;
  }

  .tn-eyebrow {
    font-size: .58rem;
    padding: 4px 9px;
  }

  .tn-head .script-title {
    font-size: 2rem;
  }

  .tn-head p {
    font-size: .84rem;
    max-width: 260px;
  }

  .tn-frame {
    max-width: 240px;
    padding: 6px 6px 10px;
  }

  .tn-photo {
    height: 140px;
  }

  .tn-tag {
    top: 10px;
    left: 10px;
    font-size: .52rem;
    padding: 2px 7px;
  }

  .tn-frame figcaption {
    font-size: 1.05rem;
  }

  .tn-connector {
    height: 40px;
  }

  .tn-arrow {
    width: 38px;
    height: 38px;
    font-size: .8rem;
  }
}


/* =========================================
   8. FIND YOUR OLD FRIENDS
========================================= */

@media (max-width: 1000px) {
  .find-friends {
    padding: 40px 36px 30px;
  }
}

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

@media (max-width: 640px) {
  .find-friends {
    padding: 32px 18px 26px;
  }

  .find-friends .script-title {
    font-size: 2.5rem;
  }

  .find-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    border-radius: 22px;
    margin-bottom: 14px;
  }

  .ff-top > p {
    font-size: .98rem;
  }

  .ff-search-wrap {
    margin-top: 22px;
  }

  .search-box {
    flex-wrap: wrap;
    border-radius: 22px;
    padding: 8px;
  }

  .search-lead {
    display: none;
  }

  .search-box input {
    height: 46px;
    padding: 0 12px;
    padding-right: 46px;
    font-size: .98rem;
  }

  /* 8px padding + 1.5px border + (46px input - 32px button) / 2 = 16.5px */
  .search-clear {
    position: absolute;
    top: 16px;
    right: 14px;
    margin: 0;
  }

  .search-submit {
    width: 100%;
    height: 46px;
    justify-content: center;
    margin-top: 6px;
  }

  .ff-chips {
    gap: 8px;
  }

  .ff-chips-label {
    width: 100%;
    text-align: center;
  }

  .friend-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .find-friends {
    padding: 26px 14px 22px;
  }

  .find-friends .script-title {
    font-size: 2.4rem;
  }

  .find-icon {
    width: 62px;
    height: 62px;
    font-size: 1.6rem;
    border-radius: 19px;
  }

  .ff-eyebrow {
    font-size: .66rem;
    padding: 4px 11px;
  }

  .ff-top > p {
    font-size: .92rem;
  }

  .search-box input {
    height: 44px;
    font-size: .92rem;
  }

  /* 8px + 1.5px + (44px - 30px) / 2 = 16.5px */
  .search-clear {
    top: 16px;
    width: 30px;
    height: 30px;
  }

  .search-submit {
    height: 44px;
    font-size: .95rem;
  }

  .ff-chip {
    padding: 6px 12px;
    font-size: .8rem;
  }

  .friend-results {
    font-size: .92rem;
  }

  .results-empty,
  .results-loading {
    padding: 12px 14px;
    gap: 10px;
    font-size: .86rem;
  }

  .results-icon {
    width: 34px;
    height: 34px;
    font-size: .9rem;
    border-radius: 11px;
  }

  .friend-card {
    padding: 8px 10px;
    gap: 10px;
  }

  .friend-avatar {
    width: 38px;
    height: 38px;
    font-size: .8rem;
  }

  .friend-name {
    font-size: .92rem;
  }

  .friend-meta {
    font-size: .8rem;
  }

  .ff-tips li {
    font-size: .9rem;
    padding: 10px 12px;
  }

  .ff-tip-icon {
    width: 30px;
    height: 30px;
    font-size: .8rem;
  }

  .ff-stats {
    flex-wrap: wrap;
    gap: 8px;
    font-size: .86rem;
  }

  .ff-stats strong {
    font-size: 1.05rem;
  }
}

@media (max-width: 360px) {
  .find-friends {
    padding: 22px 12px 20px;
  }

  .find-friends .script-title {
    font-size: 2.2rem;
  }

  .find-icon {
    width: 58px;
    height: 58px;
    font-size: 1.5rem;
  }

  .search-submit {
    font-size: .92rem;
    padding: 0 16px;
  }

  .ff-tips li {
    font-size: .86rem;
    gap: 10px;
  }

  .ff-tip-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 300px) {
  .find-friends {
    padding: 20px 10px 18px;
  }

  .find-icon {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
    border-radius: 17px;
    margin-bottom: 10px;
  }

  .ff-eyebrow {
    font-size: .58rem;
    padding: 3px 9px;
  }

  .find-friends .script-title {
    font-size: 1.95rem;
  }

  .ff-top > p {
    font-size: .86rem;
  }

  .ff-search-wrap {
    margin-top: 16px;
  }

  .search-box {
    padding: 5px;
    border-radius: 16px;
  }

  .search-box input {
    height: 40px;
    padding: 0 10px;
    padding-right: 38px;
    font-size: .84rem;
  }

  /* 5px + 1.5px + (40px - 26px) / 2 = 13.5px */
  .search-clear {
    top: 13px;
    right: 10px;
    width: 26px;
    height: 26px;
    font-size: .7rem;
  }

  .search-submit {
    height: 40px;
    font-size: .84rem;
    padding: 0 12px;
  }

  .ff-chips {
    gap: 6px;
    margin-top: 12px;
  }

  .ff-chips-label {
    font-size: .78rem;
  }

  .ff-chip {
    padding: 5px 10px;
    font-size: .72rem;
  }

  .friend-results {
    margin-top: 16px;
    font-size: .84rem;
  }

  .results-empty,
  .results-loading {
    padding: 10px;
    gap: 8px;
    font-size: .78rem;
    border-radius: 14px;
  }

  .results-icon {
    width: 30px;
    height: 30px;
    font-size: .8rem;
    border-radius: 10px;
  }

  .friend-card {
    padding: 7px 8px;
    gap: 8px;
    border-radius: 14px;
  }

  .friend-avatar {
    width: 32px;
    height: 32px;
    font-size: .72rem;
    border-radius: 10px;
  }

  .friend-name {
    font-size: .82rem;
  }

  .friend-meta {
    font-size: .72rem;
  }

  .ff-footer {
    margin-top: 20px;
    padding-top: 16px;
  }

  .ff-tips li {
    font-size: .78rem;
    padding: 8px 9px;
    gap: 8px;
    border-radius: 13px;
  }

  .ff-tip-icon {
    width: 24px;
    height: 24px;
    font-size: .7rem;
    border-radius: 9px;
  }

  .ff-stats {
    font-size: .74rem;
    gap: 6px;
  }

  .ff-stats strong {
    font-size: .92rem;
  }
}


/* =========================================
   9. MEMORY LANE (CONTACT SHEET)
   Order on tablets: title, subtitle, button.
========================================= */

@media (max-width: 1100px) {
  .memory-gallery {
    grid-auto-rows: 150px;
  }

  .mg-item figcaption {
    font-size: .74rem;
  }
}

@media (max-width: 900px) {
  .memory-lane {
    padding: 24px 20px 24px;
  }

  .ml-header {
    justify-content: flex-start;
  }

  .ml-title {
    order: 1;
  }

  .ml-sub {
    order: 2;
    flex-basis: 100%;
  }

  .ml-cta {
    order: 3;
  }

  .memory-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .mg-featured {
    grid-column: 1 / -1;
    grid-row: span 2;
  }
}

@media (max-width: 640px) {
  .memory-lane {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .section-icon {
    width: 46px;
    height: 46px;
    font-size: 1.05rem;
    border-radius: 14px;
  }

  .ml-title .script-title {
    font-size: 2.3rem;
  }

  .ml-cta {
    width: 100%;
    justify-content: center;
  }

  .memory-gallery {
    grid-auto-rows: 150px;
    gap: 10px;
  }

  .mg-item {
    border-radius: 16px;
  }

  .mg-no {
    top: 8px;
    left: 8px;
    font-size: .72rem;
    padding: 2px 8px;
  }

  .mg-item figcaption {
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    font-size: .7rem;
    padding: 4px 9px;
  }

  .mg-item:hover {
    transform: none;
  }
}

@media (max-width: 400px) {
  .memory-lane {
    padding: 18px 12px 16px;
    border-radius: 18px;
  }

  .section-icon {
    width: 40px;
    height: 40px;
    font-size: .95rem;
    border-radius: 12px;
  }

  .ml-title .script-title {
    font-size: 1.9rem;
  }

  .ml-eyebrow {
    font-size: .58rem;
  }

  .ml-sub {
    font-size: .86rem;
  }

  .ml-cta {
    font-size: .8rem;
    padding: 8px 12px;
  }

  .memory-gallery {
    grid-auto-rows: 124px;
    gap: 8px;
  }

  .mg-item {
    border-radius: 13px;
  }

  .mg-no {
    top: 6px;
    left: 6px;
    font-size: .64rem;
    padding: 2px 6px;
  }

  .mg-item figcaption {
    left: 6px;
    bottom: 6px;
    max-width: calc(100% - 12px);
    font-size: .62rem;
    padding: 3px 8px;
  }

  .mg-item::before {
    font-size: 1.4rem;
  }
}

@media (max-width: 300px) {
  .memory-lane {
    padding: 14px 10px 12px;
    border-radius: 16px;
  }

  .ml-header {
    gap: 10px;
    margin-bottom: 14px;
  }

  .ml-title {
    gap: 8px;
  }

  .section-icon {
    width: 36px;
    height: 36px;
    font-size: .85rem;
    border-radius: 11px;
  }

  .ml-title .script-title {
    font-size: 1.75rem;
  }

  .ml-eyebrow {
    font-size: .54rem;
    padding: 2px 8px;
  }

  .ml-sub {
    font-size: .78rem;
    line-height: 1.45;
  }

  .ml-cta {
    font-size: .76rem;
    padding: 7px 10px;
  }

  .memory-gallery {
    grid-auto-rows: 104px;
    gap: 6px;
  }

  .mg-item {
    border-radius: 11px;
  }

  .mg-no {
    font-size: .56rem;
    top: 5px;
    left: 5px;
    padding: 2px 5px;
  }

  .mg-item figcaption {
    left: 5px;
    bottom: 5px;
    max-width: calc(100% - 10px);
    font-size: .54rem;
    padding: 2px 6px;
    gap: 3px;
  }

  .mg-item::before {
    font-size: 1.1rem;
  }
}


/* =========================================
   10. FEATURE TABS (SCHOOL CHAPTERS)
   Tabs are 2 columns from 900px down to 300px.
   The tab icon is hidden at 300px to give the text room.
========================================= */

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

@media (max-width: 1100px) {
  .fx-panel {
    gap: 20px;
  }

  .fx-media {
    min-height: 240px;
  }

  .fx-tab {
    padding: 10px 11px;
  }

  .fx-tab-text {
    font-size: .82rem;
  }
}

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

  .fx-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fx-media {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .fx {
    padding: 16px;
    border-radius: 22px;
  }

  .fx-tabs {
    gap: 8px;
  }

  .fx-body .script-title {
    font-size: 2.3rem;
  }

  .fx-lead {
    font-size: .95rem;
  }

  .fx-note {
    font-size: 1.2rem;
  }
}

@media (max-width: 560px) {
  .fx {
    padding: 14px;
    border-radius: 20px;
  }

  .fx-tab {
    padding: 9px 10px;
    gap: 8px;
  }

  .fx-tab-icon {
    width: 30px;
    height: 30px;
    font-size: .8rem;
    border-radius: 10px;
  }

  .fx-tab-text {
    font-size: .76rem;
  }

  .fx-media {
    min-height: 190px;
  }

  .fx-body .script-title {
    font-size: 2.2rem;
  }

  .fx-lead {
    font-size: .92rem;
  }

  .fx-note {
    font-size: 1.15rem;
  }
}

@media (max-width: 400px) {
  .fx {
    padding: 12px;
    border-radius: 18px;
  }

  .fx-tabs {
    gap: 8px;
  }

  .fx-tab {
    padding: 8px 9px;
    gap: 7px;
    border-radius: 14px;
  }

  .fx-tab-icon {
    width: 28px;
    height: 28px;
    font-size: .75rem;
    border-radius: 9px;
  }

  .fx-tab-text {
    font-size: .72rem;
    line-height: 1.2;
  }

  .fx-tab-text small {
    font-size: .64rem;
  }

  .fx-media {
    min-height: 170px;
  }

  .fx-media-book i {
    font-size: 4rem;
  }

  .fx-letter {
    font-size: 1.3rem;
    padding: 16px 14px;
  }

  .fx-body .script-title {
    font-size: 2rem;
  }

  .fx-lead {
    font-size: .88rem;
  }

  .fx-list li {
    font-size: .84rem;
    padding: 8px 10px;
  }

  .fx-list li i {
    width: 22px;
    height: 22px;
    font-size: .66rem;
  }

  .fx-note {
    font-size: 1.08rem;
    padding: 12px 14px;
  }
}

@media (max-width: 300px) {
  .fx {
    padding: 10px;
    border-radius: 16px;
  }

  .fx-tab {
    padding: 7px 8px;
  }

  .fx-tab-icon {
    display: none;
  }

  .fx-tab-text {
    font-size: .68rem;
  }

  .fx-tab-text small {
    font-size: .58rem;
  }

  .fx-media {
    min-height: 150px;
    border-radius: 16px;
  }

  .fx-media-book i {
    font-size: 3.2rem;
  }

  .fx-letter {
    font-size: 1.1rem;
    padding: 12px 10px;
    border-radius: 6px;
  }

  .fx-letter i {
    font-size: 1rem;
  }

  .fx-body {
    gap: 8px;
    padding: 2px;
  }

  .fx-body .script-title {
    font-size: 1.8rem;
  }

  .fx-lead {
    font-size: .8rem;
  }

  .fx-list {
    gap: 6px;
  }

  .fx-list li {
    font-size: .76rem;
    padding: 7px 8px;
    gap: 7px;
    border-radius: 12px;
  }

  .fx-list li i {
    width: 20px;
    height: 20px;
    font-size: .6rem;
    border-radius: 7px;
  }

  .fx-note {
    font-size: .96rem;
    padding: 10px 12px;
  }
}


/* =========================================
   11. ALUMNI VOICES
   Desktop: arrows on the sides.
   640px and below: arrows sit under the card, one on each side of the centre.
========================================= */

@media (max-width: 640px) {
  .voices {
    padding: 26px 14px 22px;
    border-radius: 20px;
  }

  .voices .script-title {
    font-size: 2.2rem;
  }

  .testimonial {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "content content"
      "prev    next";
    column-gap: 12px;
    row-gap: 12px;
    margin-top: 18px;
  }

  .testimonial-content {
    grid-area: content;
    padding: 20px 18px 16px;
  }

  #prevVoice {
    grid-area: prev;
    justify-self: end;
  }

  #nextVoice {
    grid-area: next;
    justify-self: start;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: .85rem;
  }

  #testimonialText {
    font-size: 1.05rem;
  }
}

@media (max-width: 400px) {
  .voices {
    padding: 22px 12px 18px;
    border-radius: 18px;
  }

  .voices::before {
    font-size: 6rem;
    top: -18px;
    left: 10px;
  }

  .voices .script-title {
    font-size: 2rem;
  }

  .vs-eyebrow {
    font-size: .58rem;
    padding: 3px 10px;
  }

  .testimonial {
    column-gap: 10px;
    row-gap: 10px;
  }

  .testimonial-content {
    padding: 16px 14px 14px;
    border-radius: 16px;
  }

  .vs-quote {
    width: 34px;
    height: 34px;
    font-size: .85rem;
    border-radius: 11px;
    margin-bottom: 8px;
  }

  #testimonialText {
    font-size: 1rem;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  #testimonialAuthor {
    font-size: .78rem;
    padding: 4px 12px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: .8rem;
  }

  .slider-dots {
    margin-top: 12px;
    gap: 6px;
  }
}

@media (max-width: 300px) {
  .voices {
    padding: 18px 10px 16px;
    border-radius: 16px;
  }

  .voices .script-title {
    font-size: 1.85rem;
  }

  .testimonial-content {
    padding: 14px 12px 12px;
    border-radius: 14px;
  }

  #testimonialText {
    font-size: .92rem;
  }

  #testimonialAuthor {
    font-size: .72rem;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
    font-size: .74rem;
  }

  .slider-dots button {
    width: 7px;
    height: 7px;
  }

  .slider-dots button.active {
    width: 18px;
  }
}


/* =========================================
   12. BEYOND THE CLASSROOM
   Tiles drop to a 2 x 2 mosaic on phones:
   one wide tile on top, two tiles below.
========================================= */

@media (max-width: 1000px) {
  .beyond {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 22px;
  }

  .beyond-grid {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .beyond {
    padding: 20px 14px;
    border-radius: 20px;
  }

  .beyond-copy .script-title {
    font-size: 2.3rem;
  }

  .beyond-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px;
    height: auto;
    gap: 10px;
  }

  .bg-tall {
    grid-row: auto;
    grid-column: span 2;
  }

  .bg-tile figcaption {
    left: 8px;
    bottom: 8px;
    font-size: .68rem;
    padding: 4px 9px;
  }
}

@media (max-width: 560px) {
  .beyond-copy .script-title {
    font-size: 2.1rem;
  }

  .beyond-copy > p {
    font-size: .92rem;
  }

  .bc-tags li {
    font-size: .78rem;
    padding: 5px 10px;
  }

  .beyond-copy .btn {
    font-size: .9rem;
  }
}

@media (max-width: 400px) {
  .beyond {
    padding: 16px 12px;
    gap: 18px;
    border-radius: 18px;
  }

  .beyond-copy .script-title {
    font-size: 2rem;
  }

  .beyond-grid {
    grid-template-rows: 130px 130px;
    gap: 8px;
  }

  .bg-tile {
    border-radius: 14px;
  }

  .bg-tile figcaption {
    left: 6px;
    bottom: 6px;
    font-size: .6rem;
    padding: 3px 8px;
  }

  .bc-tags {
    gap: 6px;
    margin-bottom: 16px;
  }
}

@media (max-width: 300px) {
  .beyond {
    padding: 14px 10px;
    border-radius: 16px;
  }

  .beyond-copy .script-title {
    font-size: 1.85rem;
  }

  .beyond-copy > p {
    font-size: .84rem;
  }

  .bc-tags li {
    font-size: .7rem;
    padding: 4px 8px;
  }

  .beyond-grid {
    grid-template-rows: 118px 118px;
    gap: 6px;
  }

  .bg-tile {
    border-radius: 12px;
  }

  .bg-tile figcaption {
    left: 5px;
    bottom: 5px;
    font-size: .54rem;
    padding: 2px 6px;
    gap: 4px;
  }

  .beyond-copy .btn {
    width: 100%;
    font-size: .84rem;
    padding: 11px 14px;
  }
}


/* =========================================
   13. OUR ALUMNI NETWORK
========================================= */

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

@media (max-width: 640px) {
  .network {
    padding: 26px 18px 22px;
    border-radius: 20px;
  }

  .net-top {
    gap: 16px;
    margin-bottom: 18px;
  }

  .network h2 {
    font-size: 2.2rem;
  }

  .net-cta {
    width: 100%;
    justify-content: center;
  }

  .net-stats {
    gap: 8px;
  }

  .net-stat {
    padding: 12px;
    column-gap: 10px;
  }

  .net-icon {
    width: 36px;
    height: 36px;
    font-size: .85rem;
  }

  .net-stat strong {
    font-size: 1.3rem;
  }

  .net-stat > span:last-child {
    font-size: .6rem;
    letter-spacing: .3px;
  }
}

@media (max-width: 400px) {
  .network {
    padding: 22px 14px 18px;
    border-radius: 18px;
  }

  .network h2 {
    font-size: 2rem;
  }

  .net-copy p {
    font-size: .9rem;
  }

  .net-cta {
    font-size: .86rem;
    padding: 11px 14px;
  }

  /* single column so long labels such as "Lifelong" never overflow */
  .net-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .net-stat {
    padding: 11px 12px;
  }

  .net-stat strong {
    font-size: 1.35rem;
  }

  .net-stat > span:last-child {
    font-size: .66rem;
    letter-spacing: .4px;
  }
}

@media (max-width: 300px) {
  .network {
    padding: 18px 10px 16px;
    border-radius: 16px;
  }

  .network h2 {
    font-size: 1.8rem;
  }

  .net-eyebrow {
    font-size: .56rem;
    padding: 3px 9px;
  }

  .net-copy p {
    font-size: .84rem;
  }

  .net-top {
    margin-bottom: 14px;
    gap: 12px;
  }

  .net-cta {
    font-size: .8rem;
    padding: 9px 12px;
  }

  .net-stat {
    padding: 9px 10px;
    column-gap: 8px;
  }

  .net-icon {
    width: 32px;
    height: 32px;
    font-size: .75rem;
    border-radius: 10px;
  }

  .net-stat strong {
    font-size: 1.15rem;
  }

  .net-stat > span:last-child {
    font-size: .56rem;
    letter-spacing: .2px;
  }
}


/* =========================================
   14. DESIGNATED PERSONS (TEAM)
   2 columns to 1100px, 1 column (horizontal cards) to 560px.
========================================= */

@media (max-width: 1100px) {
  .team {
    padding: 34px 26px 36px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .team {
    padding: 30px 18px 30px;
    border-radius: 22px;
  }

  .team-intro {
    margin-bottom: 24px;
  }

  .team-intro .script-title {
    font-size: 2.3rem;
  }

  .team-intro > p {
    font-size: .95rem;
  }
}

@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* photo on the left, name above the role on the right */
  .team-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 4px;
    padding: 14px 16px 14px 14px;
    text-align: left;
    border-radius: 18px;
  }

  .team-card:hover {
    transform: translateY(-4px);
  }

  .tc-band {
    display: none;
  }

  .tc-photo {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    width: 76px;
    height: 76px;
    border-width: 3px;
  }

  .tc-photo::before {
    inset: -6px;
  }

  .tc-initials {
    font-size: 1.25rem;
  }

  .tc-name {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.25;
  }

  .role {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    margin: 0;
  }
}

@media (max-width: 400px) {
  .team {
    padding: 22px 12px;
    border-radius: 18px;
  }

  .team-intro .script-title {
    font-size: 2rem;
  }

  .team-intro > p {
    font-size: .88rem;
  }

  .team-card {
    padding: 12px;
    column-gap: 12px;
    border-radius: 16px;
  }

  .tc-photo {
    width: 66px;
    height: 66px;
  }

  .tc-initials {
    font-size: 1.05rem;
  }

  .tc-name {
    font-size: .94rem;
  }

  .role {
    font-size: .7rem;
    padding: 4px 12px;
  }
}

@media (max-width: 300px) {
  .team {
    padding: 18px 10px;
    border-radius: 16px;
  }

  .team-intro {
    margin-bottom: 18px;
  }

  .team-intro .script-title {
    font-size: 1.85rem;
  }

  .team-intro > p {
    font-size: .8rem;
  }

  .team-card {
    padding: 10px;
    column-gap: 10px;
    border-radius: 14px;
  }

  .tc-photo {
    width: 56px;
    height: 56px;
    border-width: 2px;
  }

  .tc-photo::before {
    inset: -5px;
  }

  .tc-initials {
    font-size: .9rem;
  }

  .tc-name {
    font-size: .84rem;
  }

  .role {
    font-size: .62rem;
    padding: 3px 9px;
  }
}


/* =========================================
   15. FAQ
========================================= */

@media (max-width: 900px) {
  .faq {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px 22px;
  }

  .faq .faq-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .faq {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .faq .faq-intro h2 {
    font-size: 2.2rem;
  }

  .faq .faq-intro > p {
    font-size: .92rem;
  }
}

@media (max-width: 560px) {
  .faq {
    padding: 20px 14px;
  }

  .faq .faq-intro-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .faq .faq-question {
    padding: 11px 12px;
    gap: 10px;
  }

  .faq .faq-num {
    width: 28px;
    height: 28px;
    font-size: .72rem;
  }

  .faq .faq-q-text {
    font-size: .88rem;
  }

  .faq .faq-chevron {
    width: 24px;
    height: 24px;
  }

  .faq .faq-item .faq-answer p {
    font-size: .86rem;
    padding: 0 12px;
  }

  .faq .faq-item.open .faq-answer p {
    padding: 0 12px 12px;
  }
}

@media (max-width: 400px) {
  .faq {
    padding: 16px 12px;
    border-radius: 18px;
    gap: 18px;
  }

  .faq .faq-intro h2 {
    font-size: 2rem;
  }

  .faq .faq-help {
    padding: 12px 14px;
  }

  .faq .faq-help span {
    font-size: .8rem;
  }

  .faq .faq-question {
    padding: 10px;
    gap: 9px;
  }

  .faq .faq-num {
    width: 26px;
    height: 26px;
    font-size: .66rem;
    border-radius: 9px;
  }

  .faq .faq-q-text {
    font-size: .84rem;
  }

  .faq .faq-chevron {
    width: 22px;
    height: 22px;
    font-size: .6rem;
  }

  .faq .faq-item .faq-answer p {
    font-size: .82rem;
    padding: 0 10px;
  }

  .faq .faq-item.open .faq-answer p {
    padding: 0 10px 10px;
  }
}

@media (max-width: 300px) {
  .faq {
    padding: 14px 10px;
    border-radius: 16px;
  }

  .faq .faq-intro-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-radius: 13px;
  }

  .faq .faq-intro h2 {
    font-size: 1.75rem;
  }

  .faq .faq-intro > p {
    font-size: .84rem;
  }

  .faq .faq-eyebrow {
    font-size: .56rem;
    padding: 3px 9px;
  }

  .faq .faq-help a {
    font-size: .74rem;
  }

  .faq .faq-question {
    padding: 9px 8px;
    gap: 8px;
  }

  .faq .faq-num {
    width: 24px;
    height: 24px;
    font-size: .62rem;
  }

  .faq .faq-q-text {
    font-size: .8rem;
  }

  .faq .faq-chevron {
    width: 20px;
    height: 20px;
    font-size: .55rem;
  }

  .faq .faq-item .faq-answer p {
    font-size: .78rem;
    padding: 0 8px;
  }

  .faq .faq-item.open .faq-answer p {
    padding: 0 8px 9px;
  }
}


/* =========================================
   16. SHARE YOUR MEMORIES
   Stacked from 900px. Photo cards become a single column from 400px.
========================================= */

@media (max-width: 900px) {
  .share-memory {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 32px 28px;
  }

  .share-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sm-points {
    justify-content: center;
  }

  .share-preview {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .sm-badge {
    right: 0;
  }
}

@media (max-width: 640px) {
  .share-memory {
    padding: 24px 18px 26px;
    border-radius: 22px;
  }

  .share-text .script-title {
    font-size: 2.3rem;
  }

  .share-text p {
    font-size: .95rem;
  }

  .sm-card-photo {
    height: 110px;
  }

  .sm-card figcaption {
    font-size: 1.15rem;
  }

  .sm-badge {
    width: 76px;
    height: 76px;
    font-size: .6rem;
  }
}

@media (max-width: 560px) {
  .share-memory {
    padding: 22px 14px 26px;
    border-radius: 20px;
  }

  .sm-dots {
    display: none;
  }

  .share-preview {
    gap: 10px;
  }

  .sm-card {
    padding: 5px 5px 9px;
  }

  .sm-card-photo {
    height: 100px;
  }

  .sm-card figcaption {
    font-size: 1.05rem;
  }

  .sm-card-2 {
    transform: rotate(2.5deg) translateY(8px);
  }

  .sm-badge {
    width: 70px;
    height: 70px;
    font-size: .56rem;
    right: 2px;
    bottom: -14px;
  }

  .sm-badge i {
    font-size: .95rem;
  }
}

@media (max-width: 400px) {
  .share-text .script-title {
    font-size: 2.1rem;
  }

  .sm-btn {
    font-size: .9rem;
    padding: 12px 20px;
  }

  .sm-points li {
    font-size: .8rem;
  }

  .share-preview {
    grid-template-columns: 1fr;
    max-width: 240px;
    gap: 18px;
  }

  .sm-card-photo {
    height: 150px;
  }

  .sm-card-1 {
    transform: rotate(-2deg);
  }

  .sm-card-2 {
    transform: rotate(2deg);
  }

  .sm-card-3 {
    transform: rotate(2deg);
  }

  .sm-badge {
    width: 64px;
    height: 64px;
    right: -4px;
    bottom: -12px;
    font-size: .52rem;
  }
}

@media (max-width: 360px) {
  .share-memory {
    padding: 20px 12px 22px;
  }

  .share-text .script-title {
    font-size: 2rem;
  }

  .sm-eyebrow {
    font-size: .6rem;
  }

  .sm-points li {
    font-size: .76rem;
    padding: 4px 9px 4px 4px;
  }

  .sm-points i {
    width: 20px;
    height: 20px;
    font-size: .62rem;
  }

  .sm-btn {
    font-size: .86rem;
    padding: 11px 16px;
  }

  .share-preview {
    max-width: 230px;
  }

  .sm-card-photo {
    height: 140px;
  }
}

@media (max-width: 300px) {
  .share-memory {
    padding: 18px 10px 20px;
    border-radius: 16px;
    gap: 22px;
  }

  .share-text .script-title {
    font-size: 1.85rem;
  }

  .share-text p {
    font-size: .84rem;
    margin: 8px 0 12px;
  }

  .sm-points {
    gap: 6px;
    margin-bottom: 16px;
  }

  .sm-points li {
    font-size: .72rem;
    padding: 3px 8px 3px 3px;
    gap: 6px;
  }

  .sm-points i {
    width: 18px;
    height: 18px;
    font-size: .56rem;
  }

  .sm-btn {
    width: 100%;
    font-size: .82rem;
    padding: 10px 14px;
    justify-content: center;
  }

  .share-preview {
    max-width: 220px;
    gap: 14px;
  }

  .sm-card {
    padding: 5px 5px 8px;
  }

  .sm-card-photo {
    height: 125px;
  }

  .sm-card figcaption {
    font-size: .96rem;
  }

  .sm-badge {
    width: 58px;
    height: 58px;
    font-size: .46rem;
    padding: 4px;
    border-width: 2px;
  }

  .sm-badge i {
    font-size: .8rem;
  }
}


/* =========================================
   17. STAY CONNECTED (FOOTER CTA)
========================================= */

@media (max-width: 1000px) {
  .fcta-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 24px;
  }

  .fcta-side {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .footer-cta {
    padding: 28px 0;
  }

  .fcta-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .fcta-main .script-title {
    font-size: 2.2rem;
  }

  .fcta-side {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .fcta-seal {
    display: none;
  }

  .fcta-actions {
    width: 100%;
  }

  .fcta-btn {
    width: 100%;
    justify-content: center;
  }

  .fcta-link {
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .footer-cta {
    padding: 22px 0;
  }

  .fcta-card {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .fcta-main .script-title {
    font-size: 2.1rem;
  }

  .fcta-main p {
    font-size: .9rem;
  }

  .fcta-points {
    gap: 6px;
  }

  .fcta-points li {
    font-size: .76rem;
    padding: 3px 9px 3px 3px;
  }

  .fcta-points i {
    width: 19px;
    height: 19px;
    font-size: .6rem;
  }

  .fcta-btn {
    font-size: .9rem;
    padding: 11px 14px;
  }

  .fcta-link {
    font-size: .84rem;
  }
}

@media (max-width: 300px) {
  .fcta-card {
    padding: 16px 12px;
    border-radius: 14px;
    gap: 16px;
  }

  .fcta-eyebrow {
    font-size: .54rem;
    padding: 3px 9px;
  }

  .fcta-main .script-title {
    font-size: 1.9rem;
  }

  .fcta-main p {
    font-size: .84rem;
  }

  .fcta-points li {
    font-size: .7rem;
    padding: 2px 7px 2px 2px;
  }

  .fcta-points i {
    width: 17px;
    height: 17px;
    font-size: .52rem;
  }

  .fcta-btn {
    font-size: .82rem;
    padding: 10px 12px;
  }

  .fcta-link {
    font-size: .76rem;
  }
}


/* =========================================
   18. FOOTER
========================================= */

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 30px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 38px 0 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 24px;
  }

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

  .fb-links {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 400px) {
  .footer {
    padding: 30px 0 14px;
  }

  .footer-grid {
    gap: 22px;
    padding-bottom: 18px;
  }

  .footer-logo-img {
    width: 80px;
    height: 56px;
  }

  .footer-logo strong {
    font-size: .62rem;
  }

  .footer-logo b {
    font-size: 1.05rem;
  }

  .footer-brand p {
    font-size: .86rem;
    margin-top: 12px;
  }

  .footer-chip {
    font-size: .74rem;
    padding: 6px 11px;
    max-width: 100%;
  }

  .footer h4 {
    font-size: .72rem;
    margin-bottom: 12px;
  }

  .fl-list {
    gap: 7px;
  }

  .footer-links a {
    font-size: .86rem;
  }

  .fc-row {
    font-size: .84rem;
    gap: 9px;
    padding: 7px 9px;
  }

  .fc-row span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .fc-tile {
    width: 28px;
    height: 28px;
    font-size: .72rem;
    border-radius: 9px;
  }

  .footer-social-text {
    font-size: .84rem;
    margin-bottom: 12px;
  }

  .social-icons {
    gap: 8px;
  }

  .social-icons a {
    width: 36px;
    height: 36px;
    font-size: .85rem;
  }

  .footer-bottom {
    font-size: .76rem;
    gap: 10px;
  }
}

@media (max-width: 300px) {
  .footer {
    padding: 26px 0 12px;
  }

  .footer-grid {
    gap: 18px;
  }

  .footer-logo-img {
    width: 70px;
    height: 50px;
  }

  .footer-logo b {
    font-size: .98rem;
  }

  .footer-brand p {
    font-size: .8rem;
  }

  .footer-chip {
    font-size: .68rem;
    padding: 5px 9px;
    white-space: normal;
    text-align: left;
  }

  .footer h4 {
    font-size: .66rem;
  }

  .footer-links a {
    font-size: .8rem;
  }

  .fc-row {
    font-size: .78rem;
    padding: 6px 8px;
    gap: 8px;
  }

  .fc-tile {
    width: 26px;
    height: 26px;
    font-size: .66rem;
  }

  .footer-social-text {
    font-size: .78rem;
  }

  .social-icons a {
    width: 33px;
    height: 33px;
    font-size: .78rem;
  }

  .footer-bottom {
    font-size: .7rem;
  }

  .fb-links {
    gap: 8px;
  }

  .back-top {
    width: 26px;
    height: 26px;
    margin-left: 2px;
  }
}


/* =========================================
   19. SHARE MEMORY MODAL
========================================= */

@media (max-width: 520px) {
  .mm-row {
    grid-template-columns: 1fr;
  }

  .mm-head {
    padding: 18px 52px 14px 16px;
  }

  .mm-form {
    padding: 14px 16px 16px;
  }
}

@media (max-width: 400px) {
  .modal {
    padding: 12px;
  }

  .modal-content {
    border-radius: 18px;
  }

  .modal-close {
    width: 30px;
    height: 30px;
    top: 10px;
    right: 10px;
    font-size: 1.1rem;
  }

  .mm-head {
    padding: 14px 46px 12px 12px;
    gap: 10px;
  }

  .mm-icon {
    width: 38px;
    height: 38px;
    font-size: .95rem;
    border-radius: 12px;
  }

  .modal-content .script-title {
    font-size: 1.75rem;
  }

  .mm-lead {
    font-size: .84rem;
  }

  .mm-form {
    padding: 12px;
    gap: 10px;
  }

  .mm-label {
    font-size: .76rem;
  }

  .mm-input input,
  .mm-input textarea {
    font-size: .88rem;
    padding: 8px 10px 8px 32px;
  }

  .mm-input > i {
    left: 10px;
    font-size: .75rem;
  }

  .mm-upload {
    flex-wrap: wrap;
    padding: 8px 10px;
  }

  .mm-upload small {
    margin-left: 0;
    font-size: .7rem;
  }

  .mm-submit {
    font-size: .9rem;
    padding: 11px;
  }
}

@media (max-width: 300px) {
  .modal {
    padding: 8px;
  }

  .modal-content {
    border-radius: 14px;
  }

  .modal-close {
    width: 28px;
    height: 28px;
    top: 8px;
    right: 8px;
    font-size: 1rem;
  }

  .mm-head {
    padding: 12px 40px 10px 10px;
    gap: 8px;
  }

  .mm-icon {
    width: 34px;
    height: 34px;
    font-size: .85rem;
    border-radius: 10px;
  }

  .modal-content .script-title {
    font-size: 1.55rem;
  }

  .mm-lead {
    font-size: .78rem;
  }

  .mm-form {
    padding: 10px;
    gap: 9px;
  }

  .mm-label {
    font-size: .7rem;
  }

  .mm-input input,
  .mm-input textarea {
    font-size: .8rem;
    padding: 7px 8px 7px 28px;
    border-radius: 8px;
  }

  .mm-input > i {
    left: 9px;
    font-size: .68rem;
  }

  .mm-textarea textarea {
    min-height: 70px;
  }

  .mm-upload {
    padding: 7px 8px;
    gap: 6px;
  }

  .mm-upload-text {
    font-size: .8rem;
  }

  .mm-upload > i {
    font-size: .95rem;
  }

  .mm-submit {
    font-size: .84rem;
    padding: 10px;
    border-radius: 10px;
  }
}


/* =========================================
   20. REDUCED MOTION (all widths)
========================================= */

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================
   FINAL MOBILE NAVIGATION FIX
========================================= */

@media (max-width: 960px) {

    /* Header */
    .topbar {
        position: sticky;
        top: 0;
        z-index: 1000;
        width: 100%;
    }

    .nav-container {
        position: relative;
    }

    /* HAMBURGER BUTTON */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;

        width: 40px;
        height: 40px;

        position: relative;
        z-index: 1003;

        padding: 0;
        border: 0;
        outline: none;
        appearance: none;

        border-radius: 12px;
        background: rgba(167, 25, 46, .09);

        cursor: pointer;
        box-shadow: none;
    }

    .menu-toggle:focus-visible {
        outline: 2px solid var(--red);
        outline-offset: 3px;
    }

    /* THREE HAMBURGER LINES */
    .menu-toggle span {
        display: block;
        position: absolute;

        left: 10px;
        width: 20px;
        height: 2px;

        top: auto;
        border: 0;
        border-radius: 10px;

        background: var(--navy);

        transform: none;
        opacity: 1;

        transition:
            top .25s ease,
            transform .25s ease,
            opacity .2s ease;
    }

    .menu-toggle span:nth-child(1) {
        top: 12px;
    }

    .menu-toggle span:nth-child(2) {
        top: 19px;
    }

    .menu-toggle span:nth-child(3) {
        top: 26px;
    }

    /* HAMBURGER TO X */
    .menu-toggle.open span:nth-child(1) {
        top: 19px;
        transform: rotate(45deg);
    }

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

    .menu-toggle.open span:nth-child(3) {
        top: 19px;
        transform: rotate(-45deg);
    }

    /* COMPACT DROPDOWN MENU */
    .topbar .navigation {
        position: absolute;

        top: calc(100% + 8px);
        right: 0;
        left: auto;

        width: min(285px, calc(100vw - 28px));
        box-sizing: border-box;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;

        max-height: 0;
        padding: 0 12px;

        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        background: #fffaf4;

        border: 1px solid rgba(167, 25, 46, .10);
        border-radius: 14px;

        box-shadow: 0 14px 35px rgba(40, 25, 20, .16);

        transition:
            max-height .35s ease,
            padding .3s ease,
            opacity .25s ease,
            visibility .25s ease;
    }

    /* OPEN DROPDOWN */
    .topbar .navigation.show {
        max-height: 420px;
        padding: 12px;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* MENU LINKS */
    .topbar .navigation .nav-link {
        display: flex;
        align-items: center;

        width: 100%;
        min-height: 36px;
        box-sizing: border-box;

        padding: 8px 12px;

        font-size: .9rem;
        line-height: 1.3;

        border-radius: 8px;
        background: transparent;

        transform: none;
    }

    .topbar .navigation .nav-link:hover,
    .topbar .navigation .nav-link.active {
        background: rgba(167, 25, 46, .08);
        color: var(--red);
    }

    /* REGISTER BUTTON */
    .topbar .navigation .nav-cta-mobile {
        display: flex;
        align-items: center;
        justify-content: center;

        min-height: 40px;
        margin-top: 5px;

        padding: 10px 14px;

        border-radius: 9px;

        background: linear-gradient(
            135deg,
            var(--red),
            var(--red-dark)
        );

        color: #fff;
        font-size: .9rem;
        font-weight: 800;
    }

    .topbar .nav-cta-desktop {
        display: none;
    }
}

/* DESKTOP RESTORE */
@media (min-width: 961px) {

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

    .topbar .navigation {
        position: static;
        width: auto;
        max-height: none;
        padding: 0;

        overflow: visible;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .topbar .navigation .nav-cta-mobile {
        display: none;
    }

    .topbar .nav-cta-desktop {
        display: inline-flex;
    }
}
