/* =========================================
   HOMEPAGE — holographic redesign
   (loaded only on index.html)
========================================= */
:root {
  --holo-cyan: #5ce1ff;
  --holo-cyan-soft: rgba(92, 225, 255, 0.16);
  --holo-night: #040b1d;
  --holo-deep: #071a3d;
  --holo-text: #d8e7ff;
}

.home {
  display: block;
  width: 100%;
}

.home-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  z-index: 1;
}

/* ---------- Shared buttons ---------- */
.holo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.holo-actions.centered {
  justify-content: center;
}

.holo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.holo-btn:focus-visible,
.app-link:focus-visible,
.holo-event-chip:focus-visible {
  outline: 3px solid var(--holo-cyan);
  outline-offset: 3px;
}

.holo-btn-primary {
  background: linear-gradient(135deg, #ff9a3c, var(--secondary-orange));
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(245, 130, 32, 0.38);
}

.holo-btn-primary:hover {
  box-shadow: 0 14px 36px rgba(245, 130, 32, 0.5);
}

.holo-btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(92, 225, 255, 0.55);
  background: rgba(92, 225, 255, 0.08);
  box-shadow: inset 0 0 18px rgba(92, 225, 255, 0.12);
}

.holo-btn-ghost:hover {
  background: rgba(92, 225, 255, 0.18);
}

.holo-btn-outline {
  color: var(--dark-blue);
  border: 2px solid var(--dark-blue);
  background: transparent;
}

.holo-gradient {
  background: linear-gradient(90deg, var(--holo-cyan), #9fb8ff 45%, #ffb26b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: holo-shift 8s linear infinite;
}

@keyframes holo-shift {
  to { background-position: 200% center; }
}

/* ---------- Perspective grid floor ---------- */
.holo-grid {
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -2px;
  height: 55%;
  background-image:
    linear-gradient(rgba(92, 225, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 255, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(520px) rotateX(62deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.85), transparent 85%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.85), transparent 85%);
  animation: grid-move 6s linear infinite;
  pointer-events: none;
}

.holo-grid-soft {
  opacity: 0.45;
}

@keyframes grid-move {
  from { background-position: 0 0; }
  to { background-position: 0 56px; }
}

/* ---------- HERO ---------- */
.holo-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 72% 40%, rgba(47, 95, 176, 0.45), transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(245, 130, 32, 0.12), transparent 50%),
    linear-gradient(180deg, var(--holo-deep), var(--holo-night));
  color: var(--holo-text);
}

.holo-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  min-height: min(760px, calc(100vh - 70px));
}

.holo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(92, 225, 255, 0.35);
  background: rgba(92, 225, 255, 0.07);
  color: var(--holo-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--holo-cyan);
  box-shadow: 0 0 0 0 rgba(92, 225, 255, 0.7);
  animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
  70% { box-shadow: 0 0 0 10px rgba(92, 225, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(92, 225, 255, 0); }
}

.holo-title {
  margin: 1.3rem 0 1.2rem;
  font-size: clamp(2.4rem, 5.2vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 900;
  color: #ffffff;
}

.holo-title span {
  display: block;
}

.holo-lead {
  max-width: 560px;
  font-size: 1.18rem;
  line-height: 1.7;
  color: #b9cbea;
}

.holo-event-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 0.6rem 1rem 0.6rem 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.holo-event-chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(245, 130, 32, 0.6);
}

.chip-label {
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  background: var(--secondary-orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hologram stage */
.holo-stage {
  position: relative;
  height: 560px;
}

#hologram {
  width: 100%;
  height: 100%;
  display: block;
  animation: holo-flicker 7s infinite;
}

@keyframes holo-flicker {
  0%, 96%, 100% { opacity: 1; }
  97% { opacity: 0.78; }
  98% { opacity: 1; }
  99% { opacity: 0.86; }
}

.holo-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, rgba(92, 225, 255, 0.05) 0 1px, transparent 1px 4px);
  mask-image: radial-gradient(circle at 50% 45%, #000 0 45%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0 45%, transparent 70%);
  pointer-events: none;
}

.hud {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(92, 225, 255, 0.35);
  background: rgba(7, 26, 61, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e6f6ff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 0 22px rgba(92, 225, 255, 0.18), inset 0 0 12px rgba(92, 225, 255, 0.08);
  animation: hud-float 6s ease-in-out infinite;
}

.hud-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(92, 225, 255, 0.18);
  color: var(--holo-cyan);
  font-size: 0.8rem;
}

.hud-1 { top: 10%; left: 2%; }
.hud-2 { top: 18%; right: 0; animation-delay: -1.5s; }
.hud-3 { bottom: 26%; left: 0; animation-delay: -3s; }
.hud-4 { bottom: 16%; right: 4%; animation-delay: -4.5s; }

.hud-2 .hud-icon,
.hud-4 .hud-icon {
  background: rgba(245, 130, 32, 0.2);
  color: #ffb26b;
}

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

/* ---------- MANIFESTO ---------- */
.manifesto {
  background: linear-gradient(180deg, var(--holo-night), #0a1f47);
  color: var(--holo-text);
  padding: 4.5rem 0 4rem;
  text-align: center;
  border-top: 1px solid rgba(92, 225, 255, 0.12);
}

.manifesto-quote {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.manifesto-quote strong {
  color: #ffb26b;
}

.manifesto-text {
  max-width: 760px;
  margin: 1.5rem auto 0;
  font-size: 1.12rem;
  line-height: 1.75;
  color: #b9cbea;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.fact {
  padding: 1.4rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(92, 225, 255, 0.2);
  background: rgba(92, 225, 255, 0.05);
}

.fact-value {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--holo-cyan);
  text-shadow: 0 0 24px rgba(92, 225, 255, 0.45);
}

.fact-label {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.95rem;
  color: #c7d6f0;
}

/* ---------- Light sections ---------- */
.home-section {
  padding: 5rem 0;
}

.section-tint {
  background: linear-gradient(180deg, #eef4ff, #f7f9fc);
}

.section-eyebrow {
  color: var(--secondary-orange);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-heading {
  max-width: 820px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--dark-blue);
}

.section-intro {
  max-width: 760px;
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #33445f;
}

.section-link {
  margin-top: 2rem;
}

.section-link a {
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: none;
}

.section-link a:hover {
  text-decoration: underline;
}

/* What we do */
.do-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.4rem;
}

.do-card {
  position: relative;
  padding: 1.7rem 1.5rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 70, 184, 0.1);
  box-shadow: 0 16px 34px rgba(2, 43, 107, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.do-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(2, 43, 107, 0.14);
}

.do-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--dark-blue), #2f5fb0);
  box-shadow: 0 8px 20px rgba(2, 43, 107, 0.25), inset 0 0 14px rgba(92, 225, 255, 0.35);
  margin-bottom: 1.1rem;
}

.do-icon svg,
.app-holo svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--holo-cyan);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.do-card h3 {
  color: var(--dark-blue);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.do-card p {
  color: #3c4c66;
  line-height: 1.6;
}

/* ---------- PLATFORMS ---------- */
.platforms {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(47, 95, 176, 0.4), transparent 60%),
    linear-gradient(180deg, #06142e, var(--holo-night));
  color: var(--holo-text);
}

.eyebrow-light {
  color: #ffb26b;
}

.heading-light {
  color: #ffffff;
}

.intro-light {
  color: #b9cbea;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.8rem;
}

@property --holo-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.7rem 1.8rem;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(14, 40, 88, 0.85), rgba(6, 18, 42, 0.92));
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* Rotating holographic border */
.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(from var(--holo-angle), rgba(92,225,255,0.15), var(--holo-cyan), rgba(245,130,32,0.9), rgba(92,225,255,0.15) 40%, rgba(92,225,255,0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-spin 6s linear infinite;
  z-index: -1;
}

/* Light sweep */
.app-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(92, 225, 255, 0.12), transparent);
  transform: rotate(20deg);
  animation: sweep 7s ease-in-out infinite;
  pointer-events: none;
}

.app-card:nth-child(2)::before,
.app-card:nth-child(2)::after { animation-delay: -2s; }
.app-card:nth-child(3)::before,
.app-card:nth-child(3)::after { animation-delay: -4s; }

@keyframes border-spin {
  to { --holo-angle: 360deg; }
}

@keyframes sweep {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}

.app-card:hover {
  transform: translateY(-8px);
}

.app-holo {
  position: relative;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}

.app-holo svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 8px rgba(92, 225, 255, 0.8));
  animation: icon-hover 4s ease-in-out infinite;
}

.app-holo .check {
  stroke: #ffb26b;
}

.app-holo .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(92, 225, 255, 0.55);
  border-top-color: transparent;
  border-bottom-color: rgba(245, 130, 32, 0.7);
  animation: ring-spin 5s linear infinite;
}

.app-holo .ring-2 {
  inset: 10px;
  border-color: rgba(92, 225, 255, 0.35);
  border-left-color: transparent;
  animation-duration: 3.5s;
  animation-direction: reverse;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes icon-hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.app-tag {
  color: var(--holo-cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-card h3 {
  margin: 0.35rem 0 0.8rem;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.app-text {
  color: #b9cbea;
  line-height: 1.65;
}

.app-features {
  list-style: none;
  margin: 1.2rem 0 1.6rem;
  display: grid;
  gap: 0.45rem;
}

.app-features li {
  position: relative;
  padding-left: 1.5rem;
  color: #e3edff;
  font-weight: 600;
  font-size: 0.95rem;
}

.app-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--holo-cyan);
  box-shadow: 0 0 10px var(--holo-cyan);
  transform: rotate(45deg);
}

.app-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(92, 225, 255, 0.5);
  background: rgba(92, 225, 255, 0.1);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease;
}

.app-link:hover {
  background: rgba(92, 225, 255, 0.22);
}

/* ---------- WORKSHOP PANEL ---------- */
.mission-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.8rem;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(0,70,184,0.08), rgba(245,130,32,0.12));
  border: 1px solid rgba(0, 70, 184, 0.14);
}

.mission-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  font-weight: 900;
  color: var(--dark-blue);
}

.event-meta {
  list-style: none;
  margin: 1.2rem 0;
  display: grid;
  gap: 0.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--dark-blue);
}

.mission-copy > p {
  color: #33445f;
  line-height: 1.7;
  font-size: 1.05rem;
}

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

.countdown[hidden] {
  display: none;
}

.cd-unit {
  padding: 1.3rem 0.4rem;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(180deg, var(--holo-deep), var(--holo-night));
  border: 1px solid rgba(92, 225, 255, 0.3);
  box-shadow: inset 0 0 18px rgba(92, 225, 255, 0.12), 0 12px 26px rgba(2, 43, 107, 0.2);
}

.cd-value {
  display: block;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  color: var(--holo-cyan);
  text-shadow: 0 0 18px rgba(92, 225, 255, 0.55);
  font-variant-numeric: tabular-nums;
}

.cd-label {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a9bddd;
}

.countdown-done {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark-blue);
  text-align: center;
}

/* ---------- WHY IT MATTERS ---------- */
.risk-heading {
  margin-top: 2rem;
  font-weight: 800;
  color: var(--dark-blue);
}

.risk-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.risk-list li {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(214, 69, 65, 0.25);
  color: #8a2a24;
  font-weight: 700;
  font-size: 0.95rem;
}

.risk-list li::before {
  content: "⚠ ";
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.mv-card {
  padding: 1.8rem;
  border-radius: 20px;
  background: #ffffff;
  border-left: 5px solid var(--secondary-orange);
  box-shadow: 0 14px 30px rgba(2, 43, 107, 0.08);
}

.mv-card:nth-child(2) {
  border-left-color: var(--primary-blue);
}

.mv-card h3 {
  color: var(--dark-blue);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.mv-card p {
  color: #33445f;
  line-height: 1.7;
}

/* ---------- FINAL CALL ---------- */
.final-call {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 6rem;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(47, 95, 176, 0.5), transparent 60%),
    linear-gradient(180deg, #06142e, var(--holo-night));
  color: var(--holo-text);
}

.final-call h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: #ffffff;
}

.final-call h2 span {
  display: block;
}

.final-call p {
  max-width: 640px;
  margin: 1.3rem auto 0;
  font-size: 1.12rem;
  color: #b9cbea;
}

/* ---------- Scroll reveal ---------- */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-ready .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .holo-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 3rem;
    text-align: center;
  }

  .holo-lead {
    margin: 0 auto;
  }

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

  .holo-event-chip {
    justify-content: center;
    text-align: center;
  }

  .holo-stage {
    height: 460px;
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }

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

  .app-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 640px) {
  .holo-hero-inner {
    padding: 2.4rem 1rem 2rem;
    gap: 0.5rem;
  }

  .holo-eyebrow {
    font-size: 0.72rem;
  }

  .holo-lead {
    font-size: 1.05rem;
  }

  .holo-actions .holo-btn {
    flex: 1 1 100%;
  }

  .holo-stage {
    height: 360px;
  }

  .hud {
    font-size: 0.72rem;
    padding: 0.4rem 0.6rem;
  }

  .hud-1 { top: 4%; left: 0; }
  .hud-2 { top: 12%; right: 0; }
  .hud-3 { bottom: 14%; left: 0; }
  .hud-4 { bottom: 4%; right: 0; }

  .manifesto,
  .home-section,
  .platforms,
  .final-call {
    padding: 3.5rem 0;
  }

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

  .do-grid,
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .mission-panel {
    padding: 1.6rem 1.2rem;
  }

  .countdown {
    gap: 0.45rem;
  }

  .cd-unit {
    padding: 1rem 0.2rem;
    border-radius: 14px;
  }

  .cd-label {
    font-size: 0.66rem;
  }
}

/* Respect visitors who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .holo-grid,
  .holo-gradient,
  .live-dot,
  #hologram,
  .hud,
  .app-card::before,
  .app-card::after,
  .app-holo svg,
  .app-holo .ring {
    animation: none !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================
   INNER PAGES — same holographic language as the homepage
========================================= */
.page {
  display: block;
  width: 100%;
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 35%, rgba(47, 95, 176, 0.45), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(245, 130, 32, 0.12), transparent 50%),
    linear-gradient(180deg, var(--holo-deep), var(--holo-night));
  color: var(--holo-text);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 1.25rem 4.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  min-height: 420px;
}

.page-title {
  margin: 1.1rem 0 1rem;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 900;
  color: #ffffff;
}

.page-lead {
  max-width: 640px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #b9cbea;
}

.page-lead + .page-lead {
  margin-top: 0.8rem;
  font-size: 1.02rem;
}

/* Animated emblem */
.page-emblem {
  position: relative;
  width: min(300px, 80%);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.em-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(92, 225, 255, 0.5);
  border-top-color: transparent;
  border-bottom-color: rgba(245, 130, 32, 0.75);
  animation: ring-spin 12s linear infinite;
}

.em-ring.r2 {
  inset: 13%;
  border-style: dashed;
  border-color: rgba(92, 225, 255, 0.35);
  animation-duration: 18s;
  animation-direction: reverse;
}

.em-ring.r3 {
  inset: 26%;
  border-color: rgba(92, 225, 255, 0.6);
  border-left-color: transparent;
  box-shadow: 0 0 40px rgba(92, 225, 255, 0.18), inset 0 0 30px rgba(92, 225, 255, 0.12);
  animation-duration: 7s;
}

.em-orbit {
  position: absolute;
  inset: 0;
  animation: ring-spin 9s linear infinite;
}

.em-orbit i {
  position: absolute;
  top: -5px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffb26b;
  box-shadow: 0 0 14px 4px rgba(245, 130, 32, 0.7);
}

.em-core {
  position: relative;
  width: 34%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 225, 255, 0.25), rgba(7, 26, 61, 0.2) 70%);
  animation: icon-hover 4s ease-in-out infinite;
}

.em-core svg {
  width: 62%;
  height: 62%;
  fill: none;
  stroke: var(--holo-cyan);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(92, 225, 255, 0.9));
}

.em-beam {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -22%;
  height: 30%;
  background: radial-gradient(ellipse at 50% 100%, rgba(92, 225, 255, 0.35), transparent 70%);
  filter: blur(4px);
  animation: holo-flicker 7s infinite;
}

/* Photo variant (founder page) */
.page-photo {
  position: relative;
  width: min(320px, 85%);
  margin: 0 auto;
  padding: 10px;
  border-radius: 26px;
  isolation: isolate;
}

.page-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--holo-angle), rgba(92,225,255,0.15), var(--holo-cyan), rgba(245,130,32,0.9), rgba(92,225,255,0.15) 40%, rgba(92,225,255,0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-spin 6s linear infinite;
  z-index: -1;
}

.page-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 40px rgba(92, 225, 255, 0.15);
}

/* Event card variant (workshop page) */
.page-hero .event-card {
  margin: 0;
  background: rgba(7, 26, 61, 0.7);
  border: 1px solid rgba(92, 225, 255, 0.35);
  border-left: 5px solid var(--secondary-orange);
  box-shadow: 0 0 30px rgba(92, 225, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-hero .event-card h2 {
  color: #ffffff;
}

.page-hero .event-card dl {
  grid-template-columns: 1fr;
}

.page-hero .event-card dt {
  color: #ffb26b;
}

.page-hero .event-card dd {
  color: #e6f0ff;
}

.page-hero .event-join-note {
  margin: 1.1rem 0 0.8rem;
  color: #cfe0ff;
  font-size: 0.95rem;
  line-height: 1.55;
}

.page-hero .event-join {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ---------- Page body ---------- */
.page-body {
  padding: 4rem 0 4.5rem;
  background: linear-gradient(180deg, #f3f7ff, #f7f9fc);
}

.page-body .home-wrap {
  max-width: 1080px;
}

.page-intro {
  max-width: 860px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.page-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #33445f;
  margin-bottom: 1rem;
}

.page-intro p:first-child {
  font-size: 1.32rem;
  line-height: 1.6;
  font-weight: 600;
  color: var(--dark-blue);
}

.content-block {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2.5rem;
  padding: 2.6rem 0;
  border-top: 1px solid rgba(0, 70, 184, 0.12);
}

.page-intro + .content-block,
.content-block.first {
  border-top: none;
}

.content-block.wide {
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.block-head {
  align-self: start;
  position: sticky;
  top: 96px;
}

.block-num {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 0.6rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--holo-deep), #2f5fb0);
  color: var(--holo-cyan);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(2, 43, 107, 0.25), inset 0 0 14px rgba(92, 225, 255, 0.3);
  margin-bottom: 1rem;
}

.block-head h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 900;
  color: var(--dark-blue);
  text-align: left;
  margin: 0;
}

.content-block.wide .block-head {
  position: static;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.content-block.wide .block-num {
  margin-bottom: 0;
}

.block-body > p {
  font-size: 1.06rem;
  line-height: 1.8;
  color: #33445f;
  margin-bottom: 1rem;
}

.block-body > h3 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1.2rem;
  color: var(--primary-blue);
}

.block-body > h3:first-child {
  margin-top: 0;
}

.block-body a {
  color: var(--primary-blue);
  font-weight: 700;
}

.block-body a.holo-btn {
  color: #ffffff;
}

.block-body a.holo-btn-outline {
  color: var(--dark-blue);
}

.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0.4rem 0 1.4rem;
}

.check-list li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 70, 184, 0.1);
  box-shadow: 0 6px 16px rgba(2, 43, 107, 0.05);
  color: #1f3150;
  font-weight: 600;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1.2em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--holo-cyan);
  box-shadow: 0 0 10px rgba(92, 225, 255, 0.9);
  transform: rotate(45deg);
}

.block-body .holo-actions {
  margin-top: 1.2rem;
}

.block-body .card {
  margin: 1rem 0;
  padding: 1.4rem 1.6rem;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--holo-deep), var(--holo-night));
  color: #e3edff;
  border: 1px solid rgba(92, 225, 255, 0.3);
  box-shadow: 0 0 26px rgba(92, 225, 255, 0.12);
  font-size: 1.08rem;
  line-height: 1.7;
}

.block-body .card a {
  color: var(--holo-cyan);
}

/* Partner logos */
.block-body .partner-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 1.2rem;
  margin: 0.5rem 0 0;
}

.block-body .partner-logo-item {
  flex: 0 1 240px;
  text-align: center;
  padding: 1.4rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 70, 184, 0.12);
  box-shadow: 0 12px 26px rgba(2, 43, 107, 0.08);
}

.block-body .partner-logo-item img {
  width: 160px;
  height: 110px;
  max-width: 160px;
  max-height: 110px;
  object-fit: contain;
}

.block-body .partner-logo-item p {
  margin-top: 0.7rem;
  font-weight: 800;
  color: var(--dark-blue);
}

/* Volunteers and board cards */
.page-body .volunteer-grid,
.page-body .board-grid {
  margin: 0;
}

.page-body .volunteer-card,
.page-body .board-card {
  border: 1px solid rgba(0, 70, 184, 0.12);
  box-shadow: 0 16px 34px rgba(2, 43, 107, 0.1);
}

.page-body .volunteer-card h2 {
  font-size: 1.3rem;
}

/* Donation page in the new layout */
.page .donate-widget {
  margin-top: -3.5rem;
  position: relative;
  z-index: 2;
}

.page-body .donate-campaign {
  max-width: 860px;
  margin: 0 auto 1rem;
}

.page-body .donate-thanks {
  max-width: 760px;
  margin: 2.5rem auto 0;
  color: #33445f;
}

.block-body .donate-widget {
  margin-top: 0.5rem;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.panel {
  padding: 2rem;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(0, 70, 184, 0.12);
  box-shadow: 0 18px 40px rgba(2, 43, 107, 0.1);
}

.panel h2,
.panel h3 {
  color: var(--dark-blue);
  font-weight: 900;
  margin-bottom: 0.8rem;
}

.panel h2 {
  font-size: 1.5rem;
}

.panel h3 {
  font-size: 1.15rem;
}

.panel > p {
  color: #33445f;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.panel-dark {
  background: linear-gradient(160deg, var(--holo-deep), var(--holo-night));
  border-color: rgba(92, 225, 255, 0.3);
  color: #d8e7ff;
}

.panel-dark h2,
.panel-dark h3 {
  color: #ffffff;
}

.panel-dark .check-list {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.panel-dark .check-list li {
  background: rgba(92, 225, 255, 0.07);
  border-color: rgba(92, 225, 255, 0.2);
  color: #e3edff;
  box-shadow: none;
}

.contact-side {
  display: grid;
  gap: 1.2rem;
}

.contact-emails {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.contact-emails a {
  color: var(--primary-blue);
  font-weight: 700;
  word-break: break-word;
}

.page .contact-form button {
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 1.05rem;
}

.page .location-cards {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.page .location-card {
  max-width: none;
  padding: 1.3rem 1.4rem;
  border-radius: 16px;
  background: #f5f8ff;
  border: 1px solid rgba(0, 70, 184, 0.12);
  box-shadow: none;
  backdrop-filter: none;
}

/* Message pages (thank you, 404) */
.page-hero-center .page-hero-inner {
  grid-template-columns: 1fr;
  text-align: center;
  min-height: 560px;
  padding-bottom: 5rem;
}

.page-hero-center .holo-eyebrow {
  margin: 0 auto;
}

.page-hero-center .page-lead {
  margin: 0 auto;
}

.page-hero-center .page-emblem {
  width: 170px;
}

.page-hero-center .holo-actions {
  justify-content: center;
}

.page-hero-center .message-note {
  max-width: 560px;
  margin: 1.4rem auto 0;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(92, 225, 255, 0.3);
  background: rgba(92, 225, 255, 0.07);
  color: #e3edff;
}

.page-hero-center h2 {
  margin-top: 2.2rem;
  color: #ffffff;
  font-size: 1.4rem;
}

.page-hero-center p {
  color: #b9cbea;
  margin-top: 0.6rem;
}

/* Final call on inner pages */
.final-call.compact {
  padding: 4.5rem 0 5rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .page-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: 0;
    padding: 2.6rem 1.1rem 3.2rem;
    gap: 1.8rem;
  }

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

  .page-hero .holo-actions {
    justify-content: center;
  }

  .page-hero-side {
    order: -1;
  }

  .page-emblem {
    width: 150px;
  }

  .page-photo {
    width: min(260px, 75%);
  }

  .page-hero-side.side-card {
    order: 2;
    text-align: left;
  }

  .content-block {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }

  .block-head {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.9rem;
  }

  .block-num {
    margin-bottom: 0;
    min-width: 40px;
    height: 40px;
  }

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

@media (max-width: 600px) {
  .page-body {
    padding: 2.6rem 0 3rem;
  }

  .page-intro {
    margin-bottom: 2rem;
  }

  .page-intro p:first-child {
    font-size: 1.15rem;
  }

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

  .panel {
    padding: 1.4rem 1.1rem;
  }

  .page .donate-widget {
    margin-top: -2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .em-ring,
  .em-orbit,
  .em-core,
  .em-beam,
  .page-photo::before {
    animation: none !important;
  }
}

.page-body .home-wrap > .content-block:first-child {
  border-top: none;
  padding-top: 0;
}

/* Co-founder profile (founder page) */
.cofounder-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 1.6rem;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(0, 70, 184, 0.12);
  box-shadow: 0 18px 40px rgba(2, 43, 107, 0.1);
}

.cofounder-photo {
  position: relative;
  padding: 6px;
  border-radius: 20px;
  isolation: isolate;
}

.cofounder-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--holo-angle), rgba(92,225,255,0.2), var(--holo-cyan), rgba(245,130,32,0.9), rgba(92,225,255,0.2) 40%, rgba(92,225,255,0.2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-spin 6s linear infinite;
  z-index: -1;
}

.cofounder-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 15px;
}

.cofounder-body h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--dark-blue);
  margin: 0 0 0.4rem;
}

.cofounder-role {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(245, 130, 32, 0.12);
  color: #b35400;
  font-weight: 800;
  font-size: 0.95rem;
}

.cofounder-body p:not(.cofounder-role) {
  color: #33445f;
  line-height: 1.75;
  font-size: 1.05rem;
}

@media (max-width: 700px) {
  .cofounder-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.2rem;
  }

  .cofounder-photo {
    width: min(240px, 80%);
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cofounder-photo::before {
    animation: none !important;
  }
}

/* Longer values in the homepage fact boxes */
.fact-value-sm {
  font-size: 1.9rem;
}

@media (max-width: 640px) {
  .fact-value-sm {
    font-size: 1.45rem;
  }
}

/* =========================================
   Research page
========================================= */
.pub-card {
  position: relative;
  margin: 0 auto 2rem;
  max-width: 900px;
  padding: 2.2rem 2.2rem 1.8rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 70, 184, 0.12);
  box-shadow: 0 18px 40px rgba(2, 43, 107, 0.1);
  overflow: hidden;
}

.pub-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--holo-cyan), var(--secondary-orange));
}

.pub-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #53657d;
}

.pub-badge {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--holo-deep), #2f5fb0);
  color: var(--holo-cyan);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pub-title {
  margin: 0.9rem 0 0.5rem;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.25;
  font-weight: 900;
  color: var(--dark-blue);
}

.pub-author {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pub-summary {
  color: #33445f;
  font-size: 1.05rem;
  line-height: 1.8;
}

.pub-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.2rem 0 0.4rem;
}

.pub-tags li {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 70, 184, 0.07);
  color: var(--dark-blue);
  font-weight: 700;
  font-size: 0.85rem;
}

.pub-card .holo-actions {
  margin-top: 1.4rem;
}

.pub-card a.holo-btn-primary {
  color: #ffffff;
}

.pub-card a.holo-btn-outline {
  color: var(--dark-blue);
  font-size: 0.92rem;
}

.pub-cite {
  margin-top: 1.6rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: #f3f7ff;
  border: 1px dashed rgba(0, 70, 184, 0.25);
}

.pub-cite-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary-orange);
  margin-bottom: 0.4rem;
}

.pub-cite p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #24344d;
  word-break: break-word;
}

.pub-copy {
  margin-top: 0.7rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 70, 184, 0.3);
  background: #ffffff;
  color: var(--dark-blue);
  font-weight: 700;
  cursor: pointer;
}

.pub-copy:hover {
  border-color: var(--primary-blue);
}

.research-cta {
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 2rem;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,70,184,0.08), rgba(245,130,32,0.12));
  border: 1px solid rgba(0, 70, 184, 0.14);
}

.research-cta h2 {
  color: var(--dark-blue);
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.research-cta p {
  color: #33445f;
  line-height: 1.7;
}

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

.research-cta a.holo-btn-primary {
  color: #ffffff;
}

/* Founder page: publication titles in the research cards */
.pub-mini-title {
  display: block;
  margin: 0.35rem 0 0.15rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.pub-mini-meta {
  font-size: 0.88rem;
  color: #9fd8ff;
}

/* Homepage: Awaken card link to the research */
.app-research {
  display: block;
  margin: -0.6rem 0 1.2rem;
  color: #ffb26b;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.app-research:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .pub-card {
    padding: 1.6rem 1.2rem 1.4rem 1.5rem;
  }
}

/* =========================================
   Ad Grants review fixes (Oct 2026)
========================================= */

/* Content is always visible: the scroll effect only adds a small slide */
.reveal-ready .reveal {
  opacity: 1;
  transform: translateY(14px);
}

.reveal-ready .reveal.in-view {
  transform: none;
}

/* Stronger contrast for orange text on light backgrounds */
.section-eyebrow,
.event-card dt,
.pub-cite-label,
.eyebrow {
  color: #b35400 !important;
}

.eyebrow-light,
.page-hero .event-card dt {
  color: #ffb26b !important;
}

.chip-label {
  background: #b35400;
}

/* People names on volunteer and board cards */
.person-name {
  margin: 0 0 0.2rem !important;
  font-size: 1.35rem !important;
  font-weight: 900;
  color: var(--dark-blue) !important;
  line-height: 1.25;
}

/* Homepage: at a glance */
.glance {
  position: relative;
  z-index: 2;
  margin-top: -2.5rem;
  padding-bottom: 1rem;
}

.glance .home-wrap {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(0, 70, 184, 0.14);
  box-shadow: 0 20px 45px rgba(2, 43, 107, 0.16);
  padding: 1.8rem 2rem 2rem;
}

.glance-title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b35400;
  margin-bottom: 1.1rem;
}

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

.glance-item h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--dark-blue);
  margin-bottom: 0.4rem;
}

.glance-item p {
  color: #33445f;
  line-height: 1.6;
  font-size: 0.97rem;
}

.glance-item a {
  color: var(--primary-blue);
  font-weight: 700;
  word-break: break-word;
}

/* Homepage: latest news */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.latest-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.4rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 70, 184, 0.12);
  box-shadow: 0 14px 30px rgba(2, 43, 107, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.latest-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px rgba(2, 43, 107, 0.14);
}

.latest-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
}

.latest-date {
  font-weight: 800;
  color: var(--primary-blue);
  font-size: 0.9rem;
}

.latest-kind,
.news-kind {
  align-self: flex-start;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 70, 184, 0.08);
  color: var(--dark-blue);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.latest-card h3 {
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 900;
  color: var(--dark-blue);
}

.latest-card p {
  color: #33445f;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* News page timeline */
.news-timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 2rem;
}

.news-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--holo-cyan), var(--secondary-orange));
}

.news-item {
  position: relative;
  margin-bottom: 1.4rem;
}

.news-dot {
  position: absolute;
  left: -2rem;
  top: 1.6rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(92, 225, 255, 0.25);
}

.news-card {
  padding: 1.4rem 1.6rem;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 70, 184, 0.12);
  box-shadow: 0 12px 26px rgba(2, 43, 107, 0.08);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--primary-blue);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.news-card h2 {
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 900;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

.news-card p {
  color: #33445f;
  line-height: 1.7;
}

.news-link {
  display: inline-block;
  margin-top: 0.7rem;
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: none;
}

.news-link:hover {
  text-decoration: underline;
}

.news-event {
  max-width: 980px;
  margin: 3.5rem auto 0;
}

.news-event h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--dark-blue);
  margin: 0.4rem 0 0.7rem;
}

.news-event > p {
  color: #33445f;
  line-height: 1.75;
  font-size: 1.05rem;
}

/* Event photos */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.4rem 0 1rem;
}

.photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 70, 184, 0.12);
  box-shadow: 0 12px 26px rgba(2, 43, 107, 0.08);
}

.photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.photo figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  color: #33445f;
  line-height: 1.45;
}

/* Resources page */
.res-note {
  max-width: 860px;
  margin: 1.5rem auto 0;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: #fff7ef;
  border: 1px solid rgba(179, 84, 0, 0.25);
  color: #5b3a12;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer address */
.footer-bottom .footer-address {
  margin: 0 auto 0.4rem;
  font-size: 0.92rem;
}

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

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

@media (max-width: 600px) {
  .glance {
    margin-top: -1.5rem;
  }

  .glance .home-wrap {
    margin: 0 0.75rem;
    padding: 1.4rem 1.2rem;
  }

  .glance-grid,
  .latest-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .news-timeline {
    padding-left: 1.4rem;
  }

  .news-dot {
    left: -1.4rem;
  }

  .news-card {
    padding: 1.2rem;
  }
}

.glance {
  background: var(--holo-night);
  padding-top: 0;
}

.holo-hero + .glance {
  margin-top: 0;
  padding-top: 0.5rem;
}
