:root {
  --navy: #061b70;
  --navy-dark: #031052;
  --pink: #eb2fac;
  --pink-dark: #c9158d;
  --white: #ffffff;
  --soft: #f5f6fb;
  --text: #1d2440;
  --muted: #606a86;
  --shadow: 0 18px 45px rgba(3, 16, 82, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 6vw;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(6, 27, 112, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--navy);
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  animation: logoEntrance 700ms cubic-bezier(.2,.7,.2,1) 120ms forwards;
}

.brand-text { font-size: 0.9rem; }

.nav {
  display: flex;
  gap: 22px;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
  color: var(--navy);
}
.nav a:hover { color: var(--pink); }

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  background: url('assets/hero-main.jpg') center 25% / cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,16,82,0.78), rgba(3,16,82,0.32) 55%, rgba(235,47,172,0.18));
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: 96px 6vw 86px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.86rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-copy {
  max-width: 680px;
  font-size: 1.25rem;
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: 0.2s ease;
}
.button.primary { background: var(--pink); color: var(--white); }
.button.primary:hover { background: var(--pink-dark); transform: translateY(-2px); }
.button.secondary { border: 2px solid var(--white); color: var(--white); }
.button.secondary:hover { background: var(--white); color: var(--navy); }

.section { padding: 84px 6vw; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.narrow { max-width: 820px; text-align: center; }

h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.35rem;
}

.intro { background: var(--soft); }
.intro p, .section-heading + p { font-size: 1.15rem; }

.section-heading { margin-bottom: 28px; }
.cards { display: grid; gap: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--pink);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(3, 16, 82, 0.18);
}
.card.compact { padding: 24px; }
.card p { margin: 0; color: var(--muted); }

.services { background: var(--white); }
.workplace {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
}
.workplace h2, .workplace h3 { color: var(--white); }
.workplace p { color: rgba(255,255,255,0.9); }
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}
.reverse { grid-template-columns: 0.8fr 1.2fr; }
.panel {
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 30px;
  border-radius: 26px;
}
.panel ul { margin: 16px 0 0; padding-left: 20px; }
.panel li { margin: 10px 0; }

.wellbeing-options { background: var(--soft); }

.schools {
  position: relative;
  background: linear-gradient(135deg, #f6f7fc 0%, #ffffff 58%, #fff0f8 100%);
}
.schools::after {
  content: "";
  position: absolute;
  left: 6vw;
  right: 6vw;
  bottom: 0;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--navy), var(--pink));
}
.school-panel {
  background: var(--soft);
  padding: 30px;
  border-radius: 26px;
  border-left: 6px solid var(--pink);
  box-shadow: var(--shadow);
}
.school-panel ul {
  margin: 16px 0 0;
  padding-left: 20px;
}
.school-panel li {
  margin: 10px 0;
}

.about {
  position: relative;
  background: var(--white);
  padding-top: 100px;
}

.about-box {
  min-height: 280px;
  border-radius: 28px;
  background: transparent;
  display: grid;
  place-items: center;
}
.large-logo {
  width: 230px;
  max-width: 82%;
  height: auto;
  display: block;
  object-fit: contain;
}

.contact {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
}
.contact h2, .contact .eyebrow { color: var(--white); }
.contact-grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.contact-grid a {
  display: block;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  text-decoration: none;
  font-weight: 800;
}
.contact-grid a:hover { background: rgba(255,255,255,0.24); }


/* Testimonials */
.testimonials {
  background: var(--soft);
  overflow: hidden;
}
.testimonial-heading {
  max-width: 760px;
}
.testimonial-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  /* A soft edge keeps the continuously moving row feeling polished. */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.testimonial-viewport {
  overflow: hidden;
  padding: 6px 0 24px;
}
.testimonial-track {
  display: flex;
  width: max-content;
  gap: 22px;
  will-change: transform;
  animation: testimonialMarquee 54s linear infinite;
}
.testimonial-card {
  position: relative;
  display: flex;
  flex: 0 0 min(360px, calc(100vw - 48px));
  width: min(360px, calc(100vw - 48px));
  flex-direction: column;
  min-height: 250px;
  padding: 30px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 6px solid var(--pink);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 8px;
  right: 22px;
  color: rgba(235, 47, 172, 0.16);
  font-size: 5rem;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(3, 16, 82, 0.18);
}
.testimonial-quote {
  position: relative;
  margin: 0 0 24px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.7;
  font-style: italic;
}
.testimonial-person {
  margin: auto 0 2px;
  color: var(--navy);
  font-weight: 900;
}
.testimonial-service {
  margin: 0;
  color: var(--pink-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@keyframes testimonialMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 11px)); }
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 17px;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}
.whatsapp-float svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  filter: brightness(0.98);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.whatsapp-float:active {
  transform: translateY(0) scale(0.98);
}

.footer {
  padding: 24px 6vw;
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
}
.footer p { margin: 0; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .nav { flex-wrap: wrap; gap: 14px; }
  .hero { min-height: 600px; }
  .cards.three, .cards.four, .two-col, .reverse { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 64px 5vw; }
  .hero-content { padding: 80px 5vw 70px; }
  .brand-text { display: none; }
  .nav { font-size: 0.84rem; }
  .whatsapp-float { width: 54px; height: 54px; padding: 0; justify-content: center; border-radius: 50%; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
}




/* Motion and interaction */
@keyframes logoEntrance {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-content {
  animation: heroContentIn 850ms cubic-bezier(.2,.7,.2,1) 180ms both;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.button,
.contact-grid a,
.nav a {
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.button:hover,
.contact-grid a:hover {
  transform: translateY(-2px);
}

.button:active,
.contact-grid a:active {
  transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.card.reveal.is-visible:hover {
  transform: translateY(-6px);
}


/* Dedicated workplace and school pages */
.page-hero {
  position: relative;
  min-height: 590px;
  display: grid;
  align-items: end;
  color: var(--white);
  background-image: url('assets/hero-main.jpg');
  background-size: cover;
  background-repeat: no-repeat;
}
.workplace-page-hero { background-position: center 31%; }
.schools-page-hero { background-position: center 38%; }
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 110px 6vw 82px;
  animation: heroContentIn 850ms cubic-bezier(.2,.7,.2,1) 180ms both;
}
.page-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 1.01;
  letter-spacing: -0.055em;
}
.page-hero-content > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 1.22rem;
}
.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  margin-top: 18px;
}
.card-links a {
  color: var(--pink-dark);
  font-weight: 900;
  text-decoration: none;
}
.card-links a::after { content: ' →'; }
.card-links a:hover { color: var(--navy); }
.page-button {
  margin-top: 18px;
  background: var(--white);
  color: var(--navy);
}
.page-button:hover { background: var(--pink); color: var(--white); }
.navy-button {
  background: var(--navy);
  color: var(--white);
}
.navy-button:hover { background: var(--pink); }
.light-panel {
  color: var(--text);
  background: var(--soft);
  border: 0;
  border-left: 6px solid var(--pink);
  box-shadow: var(--shadow);
}
.light-panel h3 { color: var(--navy); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.step-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.2);
}
.step-card span {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 10px;
  margin-bottom: 18px;
  border-radius: 50px;
  background: var(--pink);
  color: var(--white);
  font-weight: 900;
}
.step-card h3 { color: var(--white); }
.step-card p { margin: 0; color: rgba(255,255,255,0.88); }
.light-steps .step-card {
  background: var(--white);
  border: 0;
  box-shadow: var(--shadow);
}
.light-steps .step-card h3 { color: var(--navy); }
.light-steps .step-card p { color: var(--muted); }
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 540px; }
}
@media (max-width: 560px) {
  .page-hero-content { padding: 88px 5vw 66px; }
  .page-hero h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
}

/* Dedicated 1-to-1 services page */
.one-to-one-page-hero { background-position: center 28%; }
.service-jump-cards .card { display: flex; flex-direction: column; }
.service-jump-cards .card-links { margin-top: auto; padding-top: 18px; }
.one-to-one-feature { scroll-margin-top: 100px; }
.feature-soft { background: linear-gradient(135deg, #f7f8fc 0%, #ffffff 62%, #fff2f9 100%); }
.reformer-panel { border-left-color: var(--navy); }
.personal-cta { margin-top: 20px; }
@media (max-width: 560px) {
  .one-to-one-page-hero { background-position: 58% 28%; }
}


/* Booking page */
.booking-page-hero {
  min-height: 420px;
  background-image: linear-gradient(rgba(5, 22, 78, 0.66), rgba(5, 22, 78, 0.66)), url("assets/hero.jpg");
  background-position: center;
}

.booking-section {
  background: #f6f7fb;
}

.booking-inner {
  max-width: 1120px;
}

.booking-intro {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.booking-shell {
  overflow: hidden;
  border: 1px solid rgba(6, 27, 112, 0.13);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(6, 27, 112, 0.12);
}

.booking-frame {
  display: block;
  width: 100%;
  min-height: 1050px;
  border: 0;
  background: #fff;
}

.booking-fallback {
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.95rem;
}

.booking-fallback a {
  font-weight: 700;
}

.nav a[aria-current="page"] {
  color: var(--pink);
}

@media (max-width: 720px) {
  .booking-page-hero {
    min-height: 360px;
  }

  .booking-shell {
    border-radius: 16px;
  }

  .booking-frame {
    min-height: 1250px;
  }
}

/* Workplace and school enquiry forms */
.enquiry-section {
  background: linear-gradient(135deg, #061b70 0%, #0b2a8f 58%, #d8328a 150%);
  color: var(--white);
}

.enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

.enquiry-copy {
  padding-top: 18px;
}

.enquiry-copy h2 {
  color: var(--white);
}

.enquiry-copy > p:not(.eyebrow) {
  color: rgba(255,255,255,0.86);
  font-size: 1.08rem;
}

.enquiry-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.enquiry-points li {
  position: relative;
  padding-left: 30px;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
}

.enquiry-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #ff9ccc;
  font-weight: 900;
}

.enquiry-form {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 26px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 24px 65px rgba(0,0,0,0.22);
}

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

.enquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.enquiry-form label span {
  margin-left: 3px;
  color: var(--pink-dark);
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(6,27,112,0.24);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 500;
}

.enquiry-form textarea {
  min-height: 145px;
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: 3px solid rgba(216,50,138,0.2);
  border-color: var(--pink);
}

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

.form-submit {
  width: 100%;
  margin-top: 22px;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.form-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thanks-page {
  min-height: calc(100vh - 150px);
  display: grid;
  place-items: center;
  padding: 120px 6vw 80px;
  background: linear-gradient(135deg, #f6f7fb, #fff2f9);
}

.thanks-card {
  width: min(680px, 100%);
  padding: clamp(34px, 6vw, 64px);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-card h1 {
  margin-bottom: 16px;
  color: var(--navy);
}

.thanks-card .button {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .enquiry-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: auto;
  }

  .enquiry-form {
    padding: 22px;
    border-radius: 18px;
  }
}



/* Privacy policy */
.footer a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--pink);
}

.footer-separator {
  padding: 0 0.35rem;
  opacity: 0.7;
}

.form-note a,
.booking-privacy a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-privacy {
  max-width: 820px;
  margin: 0.75rem auto 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  text-align: center;
}

.privacy-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 76px) 6vw clamp(44px, 6vw, 64px);
  background:
    radial-gradient(circle at 88% 18%, rgba(235,47,172,0.28), transparent 30%),
    linear-gradient(135deg, #061b70 0%, #0b2a8f 72%, #192f87 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.privacy-hero .section-inner {
  position: relative;
  z-index: 1;
}

.privacy-hero .eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #ffd6ef;
  font-size: 0.78rem;
}

.privacy-hero h1 {
  margin: 0 0 0.7rem;
  color: var(--white);
  font-size: clamp(2.35rem, 5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.privacy-hero p:not(.eyebrow) {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,0.88);
  font-size: 1.02rem;
}

.privacy-updated {
  margin-top: 0.9rem;
  margin-bottom: 0;
  font-size: 0.86rem !important;
  font-weight: 700;
  color: rgba(255,255,255,0.72) !important;
}

.privacy-section {
  background: #f7f8fc;
}

.privacy-content {
  max-width: 920px;
  display: grid;
  gap: 24px;
}

.privacy-content > section {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(6,27,112,0.1);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(6,27,112,0.07);
}

.privacy-content h2 {
  margin-bottom: 0.85rem;
  color: var(--navy);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
}

.privacy-content p,
.privacy-content li {
  line-height: 1.72;
}

.privacy-content ul {
  margin: 1rem 0;
  padding-left: 1.3rem;
}

.privacy-content li + li {
  margin-top: 0.55rem;
}

.privacy-content a {
  color: var(--navy);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 620px) {
  .footer p {
    line-height: 1.8;
  }

  .privacy-content > section {
    padding: 22px;
    border-radius: 17px;
  }
}


/* Logo introduction */
body > :not(.site-intro) {
  transition: opacity 650ms ease;
}

.show-site-intro body {
  overflow: hidden;
}

.show-site-intro body > :not(.site-intro) {
  opacity: 0;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(235, 47, 172, 0.10), transparent 28%),
    radial-gradient(circle at 50% 58%, rgba(6, 27, 112, 0.08), transparent 36%),
    #ffffff;
  opacity: 1;
  visibility: visible;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.show-site-intro .site-intro,
.site-intro.is-leaving {
  display: grid;
}

.site-intro.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-intro-inner {
  width: min(78vw, 360px);
  display: grid;
  place-items: center;
}

.site-intro-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: translateY(10px) scale(0.94);
  filter: drop-shadow(0 18px 34px rgba(6, 27, 112, 0.14));
  animation: siteIntroLogo 850ms cubic-bezier(.2, .75, .25, 1) 80ms forwards;
}

@keyframes siteIntroLogo {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  60% {
    opacity: 1;
    transform: translateY(0) scale(1.015);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 620px) {
  .site-intro-inner {
    width: min(82vw, 290px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body > :not(.site-intro) {
    transition: none;
  }

  .site-intro {
    display: none !important;
  }

  .show-site-intro body > :not(.site-intro) {
    opacity: 1;
  }
}
