/* ============================================================
   SJCS INNER PAGES
   Shared stylesheet for About, Academics, Admissions, Student Life,
   Achievements, News, Jubilee, Gallery, Alumni and Contact pages.

   Design language:
   - Existing SJCS deep green + gold palette
   - Cormorant Garamond for editorial headings
   - Montserrat for interface/body
   - Large whitespace, editorial grids, subtle motion
   ============================================================ */

:root {
  --inner-deep: #063d2e;
  --inner-deep-2: #07513d;
  --inner-deep-3: #003f31;
  --inner-gold: #d49a22;
  --inner-gold-2: #f0bd43;
  --inner-cream: #f7f3e8;
  --inner-paper: #fbfaf6;
  --inner-ink: #18352d;
  --inner-muted: #61706a;
  --inner-line: rgba(6,61,46,.13);
  --inner-shadow: 0 20px 60px rgba(0,40,28,.12);
  --inner-shadow-soft: 0 10px 35px rgba(0,40,28,.08);
}

/* ---------- Global inner-page behaviour ---------- */

.inner-page {
  background: #fff;
}

.inner-page main {
  overflow: hidden;
}

.inner-container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section-space {
  padding: 96px 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--inner-gold);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.section-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.section-eyebrow.light {
  color: var(--inner-gold-2);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading.centered .section-eyebrow {
  justify-content: center;
}

.section-heading h2,
.about-intro-copy h2,
.timeline-heading h2,
.values-panel-copy h2,
.jubilee-cta-copy h2 {
  margin: 14px 0 18px;
  color: var(--inner-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: .94;
  font-weight: 700;
  letter-spacing: -.8px;
}

.section-heading h2 em,
.about-intro-copy h2 em,
.timeline-heading h2 em,
.values-panel-copy h2 em,
.jubilee-cta-copy h2 em {
  color: var(--inner-gold);
  font-style: italic;
  font-weight: 600;
}

.section-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--inner-muted);
  font-size: 15px;
  line-height: 1.85;
}

.gold-rule {
  width: 76px;
  height: 3px;
  margin: 24px 0 27px;
  background: linear-gradient(90deg, var(--inner-gold), var(--inner-gold-2));
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--inner-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  transition: color .2s ease, gap .2s ease;
}

.text-link:hover {
  color: var(--inner-gold);
  gap: 14px;
}

/* ---------- Hero ---------- */

.inner-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--inner-deep);
}

.inner-hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    url("../assets/images/hero-1.webp")
    center 46% / cover no-repeat;
  transform: scale(1.02);
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg,
      rgba(2,45,34,.98) 0%,
      rgba(3,61,46,.91) 30%,
      rgba(3,61,46,.57) 57%,
      rgba(0,0,0,.18) 100%),
    linear-gradient(0deg, rgba(0,0,0,.26), transparent 45%);
}

.inner-hero-content {
  position: relative;
  padding-top: 86px;
  padding-bottom: 86px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 38px;
  color: rgba(255,255,255,.68);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.breadcrumb a {
  color: #fff;
}

.breadcrumb a:hover {
  color: var(--inner-gold-2);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--inner-gold-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.hero-kicker-line {
  width: 38px;
  height: 1px;
  background: var(--inner-gold-2);
}

.inner-hero h1 {
  max-width: 760px;
  margin: 20px 0 18px;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(58px, 7vw, 94px);
  line-height: .84;
  font-weight: 700;
  letter-spacing: -1.5px;
}

.inner-hero h1 em {
  color: var(--inner-gold-2);
  font-weight: 600;
}

.inner-hero-content > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.85;
}

.inner-hero-scroll {
  position: absolute;
  right: 3.5%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.72);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: right bottom;
}

.inner-hero-scroll i {
  color: var(--inner-gold-2);
  transform: rotate(90deg);
}

/* ---------- Intro ---------- */

.about-intro {
  background:
    radial-gradient(circle at 84% 22%, rgba(212,154,34,.07), transparent 26%),
    #fff;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: 78px;
  align-items: center;
}

.about-intro-copy {
  max-width: 650px;
}

.about-intro-copy h2 {
  font-size: clamp(44px, 5vw, 70px);
}

.about-intro-copy .lead {
  color: var(--inner-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  line-height: 1.34;
}

.about-intro-copy p {
  margin: 0 0 17px;
  color: var(--inner-muted);
  font-size: 14px;
  line-height: 1.9;
}

.signature-note {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--inner-line);
}

.signature-mark {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border: 1px solid rgba(212,154,34,.5);
  border-radius: 50%;
  color: var(--inner-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
}

.signature-note strong,
.signature-note small {
  display: block;
}

.signature-note strong {
  color: var(--inner-deep);
  font-size: 10px;
  letter-spacing: 1.4px;
}

.signature-note small {
  margin-top: 4px;
  color: var(--inner-muted);
  font-size: 10px;
}

.about-intro-visual {
  position: relative;
}

.visual-frame {
  position: relative;
  padding: 13px 13px 0 0;
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 14px 0 0 14px;
  border: 1px solid rgba(212,154,34,.55);
  z-index: 0;
}

.visual-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 445px;
  object-fit: cover;
  box-shadow: var(--inner-shadow);
}

.visual-badge {
  position: absolute;
  right: -15px;
  bottom: 30px;
  z-index: 2;
  width: 130px;
  padding: 17px 15px 14px;
  text-align: center;
  background: var(--inner-deep);
  color: #fff;
  box-shadow: var(--inner-shadow);
}

.visual-badge span {
  display: block;
  color: var(--inner-gold-2);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 45px;
  font-weight: 700;
  line-height: .8;
}

.visual-badge small,
.visual-badge b {
  display: block;
}

.visual-badge small {
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 2px;
}

.visual-badge b {
  margin-top: 7px;
  color: rgba(255,255,255,.7);
  font-size: 8px;
  letter-spacing: .8px;
}

.visual-caption {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 19px 0 0 20px;
  color: var(--inner-muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1.2;
}

.visual-caption i {
  margin-top: 3px;
  color: var(--inner-gold);
}

/* ---------- Numbers ---------- */

.about-numbers {
  padding: 0;
  background: var(--inner-deep);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.number-card {
  position: relative;
  min-height: 190px;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
  color: #fff;
}

.number-card:last-child {
  border-right: 0;
}

.number-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  place-items: center;
  border: 1px solid rgba(240,189,67,.48);
  border-radius: 50%;
  color: var(--inner-gold-2);
  font-size: 14px;
}

.number-card strong {
  display: inline-block;
  color: var(--inner-gold-2);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 49px;
  line-height: .9;
  font-weight: 700;
}

.number-card .plus {
  margin-left: 3px;
  color: var(--inner-gold-2);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  vertical-align: top;
}

.number-card > span:last-child {
  margin-top: 9px;
  color: rgba(255,255,255,.66);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.number-card .count-word {
  font-size: 34px;
}

/* ---------- Identity cards ---------- */

.identity-section {
  background:
    linear-gradient(180deg, #fbfaf6 0%, #fff 100%);
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.identity-card {
  position: relative;
  min-height: 330px;
  padding: 30px 26px 27px;
  overflow: hidden;
  border: 1px solid rgba(6,61,46,.1);
  background: #fff;
  box-shadow: var(--inner-shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.identity-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--inner-gold), var(--inner-gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.identity-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212,154,34,.35);
  box-shadow: 0 25px 60px rgba(0,40,28,.13);
}

.identity-card:hover::after {
  transform: scaleX(1);
}

.identity-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(6,61,46,.08);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  font-weight: 700;
}

.identity-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--inner-cream);
  color: var(--inner-gold);
  font-size: 18px;
}

.identity-card h3 {
  margin: 0 0 12px;
  color: var(--inner-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  line-height: 1;
}

.identity-card p {
  margin: 0;
  color: var(--inner-muted);
  font-size: 12px;
  line-height: 1.75;
}

.identity-card a {
  position: absolute;
  left: 26px;
  bottom: 25px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--inner-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.identity-card a i {
  color: var(--inner-gold);
  transition: transform .2s ease;
}

.identity-card:hover a i {
  transform: translateX(4px);
}

/* ---------- Timeline ---------- */

.about-timeline-section {
  position: relative;
  padding: 105px 0 110px;
  background: var(--inner-cream);
}

.about-timeline-section::before {
  content: "SJCS";
  position: absolute;
  right: -40px;
  top: 80px;
  color: rgba(6,61,46,.035);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 240px;
  font-weight: 700;
  pointer-events: none;
}

.timeline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 65px;
}

.timeline-heading h2 {
  margin-bottom: 0;
}

.timeline {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(212,154,34,.55) 8%,
    rgba(6,61,46,.18) 50%,
    rgba(212,154,34,.55) 92%,
    transparent
  );
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding-bottom: 52px;
}

.timeline-item:nth-child(odd) {
  padding-right: 55px;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding-left: 55px;
}

.timeline-year {
  position: absolute;
  top: 7px;
  color: var(--inner-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 700;
}

.timeline-item:nth-child(odd) .timeline-year {
  right: 55px;
  transform: translateX(100%);
  padding-right: 27px;
}

.timeline-item:nth-child(even) .timeline-year {
  left: 55px;
  transform: translateX(-100%);
  padding-left: 27px;
}

.timeline-dot {
  position: absolute;
  top: 16px;
  z-index: 2;
  width: 11px;
  height: 11px;
  border: 3px solid var(--inner-cream);
  border-radius: 50%;
  background: var(--inner-gold);
  box-shadow: 0 0 0 1px rgba(212,154,34,.55);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -5px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -5px;
}

.timeline-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 185px;
  overflow: hidden;
  border: 1px solid rgba(6,61,46,.1);
  background: #fff;
  box-shadow: var(--inner-shadow-soft);
}

.timeline-image {
  min-height: 185px;
  overflow: hidden;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.timeline-card:hover .timeline-image img {
  transform: scale(1.07);
}

.timeline-copy {
  padding: 24px 23px;
}

.timeline-copy > span {
  color: var(--inner-gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.timeline-copy h3 {
  margin: 8px 0 9px;
  color: var(--inner-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 1.03;
}

.timeline-copy p {
  margin: 0;
  color: var(--inner-muted);
  font-size: 11px;
  line-height: 1.65;
}

.timeline-current .timeline-card {
  border-color: rgba(212,154,34,.42);
  box-shadow: 0 25px 70px rgba(0,40,28,.14);
}

/* ---------- Values ---------- */

.about-values {
  background: #fff;
}

.values-panel {
  display: grid;
  grid-template-columns: 1fr 46%;
  min-height: 455px;
  overflow: hidden;
  background: var(--inner-deep);
  box-shadow: var(--inner-shadow);
}

.values-panel-copy {
  padding: 58px 58px 52px;
}

.values-panel-copy h2 {
  color: #fff;
  font-size: clamp(43px, 5vw, 62px);
}

.values-panel-copy p {
  max-width: 470px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.8;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.values-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(240,189,67,.3);
  color: rgba(255,255,255,.9);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.values-list i {
  color: var(--inner-gold-2);
}

.values-panel-image {
  position: relative;
  min-height: 455px;
  overflow: hidden;
}

.values-panel-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--inner-deep) 0%, rgba(6,61,46,.2) 30%, rgba(6,61,46,.05) 100%);
}

.values-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-quote {
  position: absolute;
  right: 25px;
  bottom: 25px;
  z-index: 2;
  max-width: 235px;
  padding: 18px 19px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--inner-shadow-soft);
}

.values-quote i {
  color: var(--inner-gold);
}

.values-quote p {
  margin: 8px 0 5px;
  color: var(--inner-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  line-height: 1.05;
}

.values-quote small {
  color: var(--inner-muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- Jubilee CTA ---------- */

.about-jubilee-cta {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--inner-deep);
}

.about-jubilee-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 77% 50%, rgba(212,154,34,.18), transparent 23%),
    linear-gradient(90deg, rgba(6,61,46,.98), rgba(0,63,49,.78));
}

.about-jubilee-cta::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -150px;
  top: -200px;
  border: 1px solid rgba(240,189,67,.16);
  border-radius: 50%;
}

.about-jubilee-cta::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  right: -60px;
  top: -120px;
  border: 1px solid rgba(240,189,67,.12);
  border-radius: 50%;
}

.jubilee-cta-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 45px;
  padding: 65px 0;
}

.jubilee-cta-mark {
  display: grid;
  place-items: center;
}

.jubilee-cta-mark img {
  width: 155px;
  height: 155px;
  object-fit: contain;
  filter: drop-shadow(0 18px 25px rgba(0,0,0,.2));
}

.jubilee-cta-copy h2 {
  margin-bottom: 14px;
  color: #fff;
}

.jubilee-cta-copy h2 em {
  color: var(--inner-gold-2);
}

.jubilee-cta-copy p {
  max-width: 620px;
  margin: 0 0 25px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.about-jubilee-cta .gold-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
}

.outline-btn-light {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 22px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease;
}

.outline-btn-light:hover {
  border-color: var(--inner-gold-2);
  background: rgba(240,189,67,.1);
}

/* ---------- Related ---------- */

.related-section {
  background: var(--inner-paper);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.related-card {
  display: grid;
  grid-template-columns: 46px 1fr 15px;
  gap: 13px;
  align-items: center;
  min-height: 105px;
  padding: 18px;
  border: 1px solid rgba(6,61,46,.1);
  background: #fff;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212,154,34,.45);
  box-shadow: var(--inner-shadow-soft);
}

.related-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--inner-cream);
  color: var(--inner-gold);
  font-size: 15px;
}

.related-card small {
  color: var(--inner-gold);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.related-card h3 {
  margin: 5px 0 0;
  color: var(--inner-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  line-height: 1;
}

.related-arrow {
  color: var(--inner-gold);
  font-size: 11px;
  transition: transform .2s ease;
}

.related-card:hover .related-arrow {
  transform: translateX(4px);
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .65s ease,
    transform .65s cubic-bezier(.2,.75,.25,1);
}

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

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .inner-hero {
    min-height: 460px;
  }

  .about-intro-grid {
    gap: 45px;
  }

  .identity-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-card {
    grid-template-columns: 36% 1fr;
  }

  .values-panel {
    grid-template-columns: 1fr 42%;
  }

  .values-panel-copy {
    padding: 48px 42px;
  }
}

@media (max-width: 760px) {
  .section-space {
    padding: 70px 0;
  }

  .inner-container {
    width: min(92%, 620px);
  }

  .inner-hero {
    min-height: 470px;
  }

  .inner-hero-image {
    background-position: 64% center;
  }

  .inner-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(2,45,34,.98),
      rgba(3,61,46,.79)
    );
  }

  .inner-hero-content {
    padding-top: 55px;
    padding-bottom: 70px;
  }

  .breadcrumb {
    margin-bottom: 28px;
  }

  .inner-hero h1 {
    font-size: clamp(53px, 14vw, 75px);
  }

  .inner-hero-content > p {
    font-size: 13px;
  }

  .inner-hero-scroll {
    display: none;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-intro-copy h2,
  .section-heading h2,
  .timeline-heading h2,
  .values-panel-copy h2,
  .jubilee-cta-copy h2 {
    font-size: 49px;
  }

  .about-intro-copy .lead {
    font-size: 22px;
  }

  .visual-frame img {
    height: 390px;
  }

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

  .number-card:nth-child(2) {
    border-right: 0;
  }

  .number-card:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

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

  .identity-card {
    min-height: 290px;
  }

  .timeline-heading {
    align-items: start;
    flex-direction: column;
    margin-bottom: 45px;
  }

  .timeline {
    margin-left: 12px;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 38px 34px;
  }

  .timeline-year,
  .timeline-item:nth-child(odd) .timeline-year,
  .timeline-item:nth-child(even) .timeline-year {
    position: relative;
    left: auto;
    right: auto;
    display: block;
    margin: 0 0 8px;
    padding: 0;
    transform: none;
  }

  .timeline-dot,
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: -5px;
    right: auto;
    top: 8px;
  }

  .timeline-card {
    grid-template-columns: 1fr;
  }

  .timeline-image {
    height: 190px;
    min-height: 190px;
  }

  .values-panel {
    grid-template-columns: 1fr;
  }

  .values-panel-image {
    min-height: 350px;
  }

  .jubilee-cta-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }

  .jubilee-cta-mark img {
    width: 120px;
    height: 120px;
  }

  .jubilee-cta-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-actions {
    justify-content: center;
  }

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

@media (max-width: 480px) {
  .section-space {
    padding: 58px 0;
  }

  .inner-hero {
    min-height: 440px;
  }

  .inner-hero h1 {
    font-size: 52px;
  }

  .section-heading h2,
  .about-intro-copy h2,
  .timeline-heading h2,
  .values-panel-copy h2,
  .jubilee-cta-copy h2 {
    font-size: 43px;
  }

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

  .number-card,
  .number-card:nth-child(2) {
    min-height: 145px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .number-card:last-child {
    border-bottom: 0;
  }

  .visual-frame img {
    height: 310px;
  }

  .visual-badge {
    right: -5px;
    bottom: 22px;
  }

  .values-panel-copy {
    padding: 38px 25px;
  }

  .values-list span {
    width: 100%;
  }

  .values-panel-image {
    min-height: 300px;
  }

  .values-quote {
    right: 15px;
    bottom: 15px;
    max-width: 210px;
  }

  .jubilee-cta-content {
    padding: 50px 0;
  }

  .outline-btn-light,
  .about-jubilee-cta .gold-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .identity-card,
  .related-card,
  .timeline-image img,
  .text-link,
  .identity-card a i {
    transition: none;
  }
}
