*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --night-sky-semi-tranparent: #00000057;
  --soil: #1a2238;
  --root: #222d48;
  --root-light: #2c3a5c;
  --linen: #f0e8d2;
  --yellow: #f1d78e;
  --ochre: #eeba70;
  --rose: #eb9288;
  --forest: #2b4a35;
  --forest-fg: #f5f2ec;
  --radius: 0.625rem;
  --light-blue: #9ea7c8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', 'Lato', system-ui, sans-serif;
  color: var(--linen);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #0a1c2c; /* base color behind the fixed star layer below */
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #0a1c2c url(/wp-content/themes/MUM-child-main/media/home/star-bg_6.webp) no-repeat center top;
  background-size: cover;
}

h1, h2, h3 {
    color: var(--linen);
}

h3 {
  margin-top: 0;
}

@-webkit-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

.font-display {
  font-family: 'Rosario', 'Source Sans 3', sans-serif;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

article {
    width: 100%;
}

p a {
  color: var(--ochre);
}

@media (min-width: 768px) {
  .container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Starfield canvas */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 10;
}

/* Header */

header {
    z-index: 500;
    color: #606060;
    background: #fff;
}

.header {
  border-bottom: 1px solid rgba(240, 232, 210, 0.1);
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Hero: text + testimonial layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Testimonial video / still */
.video-container {
  position: relative;
  width: 100%;
}

.hero-content .video-container {
  margin: 0.5rem 0 2.5rem;
}

.video-link {
  position: relative;
  display: block;
  border-radius: 2px;
  overflow: visible;
}

/*.video-still {
    display: block;
    width: 85%;
    height: auto;
    border-radius: 2px;
    margin-left: 15%;
}*/

.video-still {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
    margin-left: 3%;
}

/*.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 45%);
    left: 15%;
}*/

.video-container .play-button {
   font-size: 20px;
    text-align: center;
    width: 150px;
    height: auto;
    border-radius: 50%;
    background: rgba(26, 34, 56, 0.35);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    display: block;
    filter: brightness(1);
    transition: filter 0.4s linear ;
}

.video-container .play-button:hover img {
filter: brightness(2.5);
}

.video-container .play-button img {
    display: block;
    width: 100%;
    height: auto;
}

/*.video-link:hover .play-button {
  background: rgba(217, 165, 90, 0.1);
  border-color: var(--linen);
}*/

.video-caption .section-number {
    display: block;
    margin-top: 20px;
    font-size: .9rem;
}

.video-caption .section-number .line {
    display: inline-block;
    vertical-align: 5px;
    margin-right: 10px;
}

/* Caption over the still */
.video-caption {
  position: absolute;
  left: .1rem;
    bottom: 0.75rem;
  z-index: 2;
  margin: 0;
  max-width: 62%;
  font-family: 'Rosario', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.15;
  text-align: left;
  color: var(--linen);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
}


p.video-caption.flex {
    align-items: center;
    gap: 20px;
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.kicker-line {
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--ochre);
}

.kicker-text {
  font-family: 'Rosario', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(240, 232, 210, 0.85);
}

h1 {
  font-family: 'Rosario', sans-serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-wrap: balance;
  font-size: 3rem;
  margin-bottom: 2.5rem;
  max-width: 18ch;
}

h1 .italic {
  font-style: italic;
  color: var(--yellow);
}

.hero p {
  font-size: 1.4rem;
  max-width: 58ch;
  color: rgba(240, 232, 210);
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s;
  line-height: 1.2;
}

.hero-btn:hover {
  text-decoration: none;
}

.hero-btn.filled {
  background: var(--ochre);
  color: var(--soil);
}

.hero-btn.filled.alt {
  background: var(--rose);
  color: var(--soil);
}

.hero-btn.filled:hover {
  background: var(--linen);
}

.hero-btn.outline {
  border: 1px solid rgba(240, 232, 210, 0.3);
  color: var(--linen);
}

.hero-btn.outline:hover {
  background: rgba(240, 232, 210, 0.1);
}

.hero-stats {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--root-light);
  /*display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;*/
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.stat-label {
  font-family: 'Rosario', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--linen);
  margin-bottom: 0.25rem;
  letter-spacing: 2px;
}

.stat-value {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yellow);
}

.section-context, .section-architecture,
.section-campus {
  padding-bottom: 7rem;
}

/* Sections general */
.section-context {
  padding-top: 7rem;
}

.section-voices {
  padding-top: 0;
}

.section-context .container,
.section-voices .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

/* Text + image rows in #context (.item1 = text, .item2 = image) */
.sticky-col,
.section-context .principle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.section-context .item2 {
  width: 100%;
  max-width: 400px;
  align-self: center;
}

.section-context .item2 img {
  display: block;
  width: 100%;
  height: auto;
}

section#context img {
    width: 90%;
    margin-top: 30px;
}

.section-architecture,
.section-campus {
  padding-top: 7rem;
}

.section-architecture {
  background: #121b1a url(/wp-content/themes/MUM-child-main/media/home/looking-into-sun-bg-2.webp) no-repeat top;
  color: var(--forest-fg);
  background-size: contain;
}

section#architecture h2, section#architecture p.section-intro {
    text-shadow: 0 0 12px #563a2e;
}

.section-header {
  border-bottom: 1px solid rgba(240, 232, 210, 0.2);
  padding-bottom: 2rem;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  /*gap: 1.5rem;*/
}

.section-architecture .section-header {
  border-bottom-color: rgba(245, 242, 236, 0.5);
}

.section-number {
  font-family: 'Rosario', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-number .num {
  color: rgba(217, 165, 90, 0.7);
}

.section-number .line {
  width: 2rem;
  height: 1px;
  background: rgba(217, 165, 90, 0.4);
}

h2 {
  font-family: 'Rosario', sans-serif;
  font-weight: 300;
  font-size: 2.25rem;
  line-height: 1.05;
  text-wrap: balance;
  max-width: 20ch;
}

h2 .italic {
  font-style: italic;
  color: var(--ochre);
}

.section-intro {
  font-size: 1.3rem;
  line-height: 1.6;
  color: rgba(240, 232, 210, 0.85);
  max-width: 52ch;
  margin-top: 2rem;
}

.section-architecture .section-intro {
  color: rgba(245, 242, 236, 0.7);
}

/* Principles list */
.principles {
  display: flex;
  flex-direction: column;
  position: relative;
}

.principles::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 2.5rem;
  bottom: 2.5rem;
  width: 1px;
  background: rgba(240, 232, 210, 0.1);
}

.principle {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.principle .item1 {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0 1.5rem;
  width: 100%;
}

.principle + .principle {
  border-top: 1px solid rgba(240, 232, 210, 0.15);
}

.principle-num {
  font-family: 'Rosario', sans-serif;
  font-style: italic;
  color: rgba(217, 165, 90, 0.7);
  font-size: 1.125rem;
  padding-top: 0.25rem;
  position: relative;
  z-index: 1;
  /*background: var(--soil);*/
}

.principle h3 {
  font-family: 'Rosario', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.principle p {
  color: rgba(240, 232, 210, 0.85);
  line-height: 1.6;
  text-wrap: pretty;
  max-width: 52ch;
}

/* Qualities grid */
.qualities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.quality {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 2.5rem;
}

.quality-bg-num {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  font-family: 'Rosario', sans-serif;
  font-weight: 300;
  font-size: 6rem;
  line-height: 1;
  color: rgba(245, 242, 236, 0.07);
  pointer-events: none;
  user-select: none;
}

.quality-num {
  font-family: 'Rosario', sans-serif;
  font-style: italic;
  font-size: 3rem;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-weight: 300;
}

.quality h3 {
  font-family: 'Rosario', sans-serif;
  font-size: 1.875rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.quality p {
  color: rgba(245, 242, 236, 0.85);
  line-height: 1.6;
  text-wrap: pretty;
  max-width: 40ch;
  position: relative;
  z-index: 1;
}

.quote-block {
  margin-top: 6rem;
  border-left: 2px solid rgba(217, 165, 90, 0.5);
  padding-left: 2rem;
}

.quote-block p {
  font-family: 'Rosario', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.35;
  text-wrap: balance;
  color: rgba(245, 242, 236, 0.9);
  max-width: 34ch;
}

/* Testimonials */

/*section#voices .reveal.visible {
border-bottom: 1px solid var(--root-light);
    padding-bottom: 2rem;
    margin-bottom: 4rem;
}*/

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 6rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
}

.testimonial-quote-mark {
  font-family: 'Rosario', sans-serif;
  font-size: 3.75rem;
  line-height: 1;
  color: var(--ochre);
  margin-bottom: 0.5rem;
  user-select: none;
}

.testimonial blockquote {
  font-family: 'Rosario', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.35;
  text-wrap: balance;
  color: rgba(240, 232, 210, 0.9);
  margin-bottom: 2rem;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testimonial-avatar {
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  background: var(--night-sky-semi-tranparent);
  /*border: 1px solid rgba(240, 232, 210, 0.15);*/
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rosario', sans-serif;
  color: var(--ochre);
  font-size: 0.875rem;
}

.testimonial-name {
  font-family: 'Rosario', sans-serif;
  font-size: 1rem;
  color: var(--linen);
}

.testimonial-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(240, 232, 210, 1);
}

/* Quiz */
.quiz-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
    background: var(--night-sky-semi-tranparent);
    padding: 4rem;
}

.quiz-intro h3 {
  font-family: 'Rosario', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.05;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}

.quiz-intro p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(240, 232, 210, 0.85);
  max-width: 42ch;
}

.quiz-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quiz-progress-bar {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: rgba(240, 232, 210, 0.15);
  transition: background 0.3s;
}

.quiz-progress-bar.active {
  background: var(--ochre);
}

.quiz-step-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(240, 232, 210, 0.55);
  flex-shrink: 0;
}

.quiz-question {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-kicker {
  font-family: 'Rosario', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
}

.quiz-question h4 {
  font-family: 'Rosario', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.1;
  text-wrap: balance;
  color: var(--color-linen);
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.quiz-option {
  text-align: left;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  padding: 1.25rem;
  border-radius: 2px;
  border: 1px solid rgba(240, 232, 210, 0.2);
  background: transparent;
  color: rgba(240, 232, 210, 0.85);
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-option:hover {
  border-color: rgba(240, 232, 210, 0.6);
  background: rgba(240, 232, 210, 0.05);
}

.quiz-option.selected {
  border-color: var(--ochre);
  background: rgba(217, 165, 90, 0.1);
  color: var(--linen);
}

.quiz-back {
  align-self: flex-start;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(240, 232, 210, 0.55);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.quiz-back:hover {
  color: var(--linen);
}

/* Quiz form */
.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(240, 232, 210, 0.55);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(240, 232, 210, 0.25);
  padding: 0.5rem 0;
  color: var(--linen);
  font-size: 1rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--ochre);
}

.form-field input::placeholder {
  color: rgba(240, 232, 210, 0.4);
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f0e8d2' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.form-field select option {
  background: var(--root);
  color: var(--linen);
}

.radio-group {
  display: flex;
  gap: 1.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Source Sans 3', sans-serif;
  color: rgba(240, 232, 210, 0.85);
  cursor: pointer;
}

.radio-group input[type="radio"] {
  accent-color: var(--ochre);
  width: auto;
}

.form-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form-btn {
  padding: 0.75rem 1.5rem;
  font-family: 'Rosario', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.form-btn.back {
  border: 1px solid rgba(240, 232, 210, 0.25);
  background: transparent;
  color: var(--linen);
}

.form-btn.back:hover {
  border-color: var(--linen);
}

.form-btn.submit {
  background: var(--ochre);
  color: var(--soil);
  border: none;
}

.form-btn.submit:hover {
  background: rgba(217, 165, 90, 0.9);
}

.thank-you h4 {
  font-family: 'Rosario', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--linen);
  margin-bottom: 1rem;
}

.thank-you p {
  font-size: 0.875rem;
  color: rgba(240, 232, 210, 0.85);
  max-width: 44ch;
}

.thank-you .highlight {
  color: var(--ochre);
}

/* Programs */
.section-programs {
  padding-top: 0;
  padding-bottom: 10rem;
}

.section-programs .section-header {
  border-bottom: none;
}

.tab-buttons {
  display: inline-flex;
  border-radius: var(--radius);
  border: 1px solid rgba(240, 232, 210, 0.2);
  padding: 0.25rem;
  margin-bottom: 3rem;
}

a.tab-alternative {
    text-decoration: none;
    color: rgba(255,255,255,.85);
    font-size: 1.2rem;
    height: auto;
    display: inline-block;
    margin-left: 12px;
    transition: all 0.2s;
}

a.tab-alternative:hover {
    color: rgba(255,255,255,1);
}

.tab-btn {
  padding: 0.625rem 1.25rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 2px;
  background: transparent;
  color: rgba(240, 232, 210, 0.85);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: capitalize;
  font-family: source sans pro;
}

.tab-btn.active {
  background: var(--ochre);
  color: var(--soil);
}

.tab-btn:hover:not(.active) {
  color: var(--linen);
}

.programs-grid,
.programs-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.program-card {
  position: relative;
  border-radius: 2px;
  border: 1px solid rgba(240, 232, 210, 0.15);
  background: rgba(34, 45, 72, 0.4);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  transition: all 0.3s;
  overflow: hidden;
  width: 100%;
}

.program-card .text-wrapper {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.program-card .image-wrapper {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  min-height: 270px;
}

.program-card .image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-card:hover {
  border-color: rgba(217, 165, 90, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.45);
}

.program-card .corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  border-top-right-radius: 2px;
  transition: border-color 0.3s;
  z-index: 1;
}

.program-card:hover .corner {
  border-color: rgba(217, 165, 90, 0.6);
}

.program-card h3 {
    margin-top: 0;
}

.program-meta {
  font-family: 'Rosario', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
}

.program-card h3 {
  font-family: 'Rosario', sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-wrap: balance;
  line-height: 1.2;
}

.program-card p {
  color: var(--linen);
  line-height: 1.6;
  text-wrap: pretty;
  margin-bottom: 2rem;
  max-width: 44ch;
}

.quality p, .principle p, .program-card p, .campus-card p, .cta-card p  {
  font-size: 1.2rem;
}

.program-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--ochre)!important;
  text-decoration: none;
  transition: color 0.2s;
}

.program-link:hover {
  color: var(--linen)!important;
}

.browse-all {
  margin-top: 3rem;
  text-align: center;
}

.browse-all a {
  font-family: 'Rosario', sans-serif;
  font-size: 1.2rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(217, 165, 90, 0.6);
  color: var(--linen);
  transition: color 0.2s;
}

.browse-all a:hover {
  color: var(--ochre);
}

/* Campus life */
.section-campus {
      background: #192C4E url(/wp-content/themes/MUM-child-main/media/home/sl-center-hallway.webp);
    background-size: cover;
}

.campus-intro {
  margin-bottom: 3rem;
  max-width: 60ch;
}

.campus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.campus-card {
  border-radius: 2px;
  border: 1px solid rgba(240, 232, 210, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}

.campus-card:hover {
  border-color: rgba(217, 165, 90, 0.4);
}

.campus-card-img {
  /*aspect-ratio: 2 / 1;*/
  background: linear-gradient(135deg, rgba(43, 74, 53, 0.3), var(--root), rgba(217, 165, 90, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.campus-card-img span {
  font-family: 'Rosario', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240, 232, 210, 0.4);
  transition: transform 0.5s;
}

.campus-card-img img {
    width: 100%;
    display: block;
}

.campus-card:hover .campus-card-img span {
  transform: scale(1.05);
}

.campus-card-body {
  padding: 2rem;
}

.campus-card h3 {
  font-family: 'Rosario', sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.campus-card p {
  color: rgba(240, 232, 210, 0.95);
  line-height: 1.6;
  text-wrap: pretty;
  max-width: 44ch;
}

/* CTA */
/*.section-cta {
  padding-bottom: 5rem;
}*/

.cta-red {
      background-color: #e14701;
    color: #fff;
}

.cta-card {
    position: relative;
    overflow: hidden;
    color: var(--forest-fg);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
}

.cta-card h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.cta-card p {
  color: rgba(245, 242, 236, 0.85);
  line-height: 1.6;
  text-wrap: pretty;
  max-width: 40ch;
}

.cta-actions {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  width: 100%;
  flex-shrink: 0;
}

.cta-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}

.cta-red:hover {
      background-color: #fff;
    color: var(--soil);
}

.cta-actions .primary {
  background: var(--ochre);
  color: var(--soil);
      transition: all 0.2s;
}

.cta-actions .primary:hover {
  background: #fff;
}

.cta-actions .secondary {
  border: 1px solid rgba(245, 242, 236, 0.3);
  color: var(--forest-fg);
}

.cta-actions .secondary:hover {
  background: rgba(245, 242, 236, 0.1);
}

button.toggle {
    color: var(--linen);
}


/* Footer */
.footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--root-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(240, 232, 210, 0.5);
}

.footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--linen);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

@media (min-width: 1024px) {
.section-architecture {
  background-size: cover;
}
}

/* Media queries */
@media (min-width: 640px) {
  .logo-text {
    display: block;
    font-size: 1.5rem;
  }

  .cta-btn.ghost {
    display: inline-flex;
  }

  .cta-actions {
    width: auto;
  }

  h1 {
    font-size: 3.75rem;
  }

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

  .stat-label {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 3rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .testimonial blockquote {
    font-size: 1.5rem;
  }

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

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

  .form-field.full {
    grid-column: span 2;
  }

  .programs-grid,
  .programs-panel {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .campus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .campus-card:nth-child(2),
  .campus-card:nth-child(4) {
    margin-top: 3rem;
  }

  .cta-card {
    padding: 4rem 4rem;
    flex-direction: row;
    align-items: center;
  }

  .cta-card h2 {
    font-size: 3rem;
  }

  .faq-card {
    border-top: 1px solid var(--linen);
    padding: 4rem;
  }

  .faq-card h2 {
      text-align: center;
    max-width: 100%;
    font-size: 2.5rem;
    opacity: .85;
    margin-bottom: 40px;
  }

  section .faq-card ul li.drop-down {
    padding: 23px 0 25px;
    border-top: 1px solid rgba(240, 232, 210, 0.15);
  }

  section .faq-card ul li.drop-down:last-child {
    border-bottom: 1px solid rgba(240, 232, 210, 0.15);
  }

  /* Ensure button layout accounts for the right-hand arrow */
section .faq-card ul li.drop-down .toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 1rem 0;
  position: relative;
}

button.toggle {
    border: none;
    font-weight: 400;
    font-size: 23px;
    margin-top: 0;
    padding-left: 0;
    font-family: Source Sans Pro, sans-serif;
    color: var(--linen);
    background: #fff0;
    text-align: left;
}

/* 1. Thin, Modern Arrow Icon using ::after */
section .faq-card ul li.drop-down .toggle::after {
        content: '';
        display: inline-block;
        width: 15px;
        height: 15px;
        margin-left: 1rem;
        flex-shrink: 0;
        border-right: 2px solid var(--ochre);
        border-bottom: 2px solid var(--ochre);
        transform: rotate(45deg);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        background: none;
}

/* 2. Animate arrow to point up when active (.selected or aria-expanded) */
section .faq-card ul li.drop-down .toggle.selected::after,
section .faq-card ul li.drop-down .toggle[aria-expanded="true"]::after {
  /* Rotates 180 deg to point upward (-135deg or 225deg) */
  transform: rotate(-135deg);
}

  .footer {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .search-box {
    display: flex;
  }

  .utility-nav {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 3.5rem;
  }

  .video-caption {
    font-size: 1.625rem;
  }

  .tagline {
    display: block;
  }

  /*.section-context .container,
  .section-voices .container {
    gap: 6rem;
  }*/

  .section-voices .container {
    margin-bottom: 4rem;
}

   .section-context .container {
    grid-template-columns: 7fr 7fr;
  }

  .sticky-col {
    position: sticky;
    top: 8rem;
    align-self: start;
    flex-direction: row;
    align-items: center;
  }

  .section-context .principle {
    flex-direction: row;
    align-items: center;
  }

  .section-context .item2 {
    flex: 0 0 30%;
    width: 30%;
  }

  .sticky-col .item1,
  .section-context .principle .item1 {
    flex: 1 1 auto;
    min-width: 0;
  }

  .qualities-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .quiz-section {
    grid-template-columns: 5fr 7fr;
    gap: 6rem;
  }

  .quote-block {
    padding-left: 3rem;
  }

  .quote-block p {
    font-size: 2.25rem;
  }

  .program-card {
    padding: 2.5rem;
  }

  .campus-card-body {
    padding: 2.5rem;
  }

  .primary-nav nav {
    justify-content: flex-end;
    gap: 2.25rem;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 4.5rem;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .logo img {
    height: 4rem;
    width: 4rem;
  }

  .program-card {
    padding: 2.5rem;
    grid-template-columns: 6fr 4fr;
    align-items: stretch;
  }

  .program-card .image-wrapper {
    min-height: 100%;
  }
}
@media screen and (max-width: 1260px) {
    /*
    .video-caption {
    position: static;
    }*/
    .video-container .play-button {
    width: 25%;
    height: 25%;
    font-size: 18px;
}
p.video-caption.flex {
    font-size: 3vw;
}
  }
@media screen and (min-width: 1024px) and (max-width: 1260px) {
  header .greenbar {
    padding: 25px;
  }
}
  
  @media screen and (min-width: 640px) and (max-width: 1023px) {
      .hero-grid {
        grid-template-columns: 5fr 5fr;
    }
        h1 {
        font-size: 3.2rem;
    }
    .hero p {
    margin-bottom: 2.5rem;
}
  }

@media screen and (max-width: 1023px) {
    .video-overlay {
    display: none;
}
.video-link, .video-link:hover {
    text-decoration: none;
}
p.video-caption.flex {
    font-size: 1.8rem;
    margin-top: -80px;
}
 p.video-caption.flex {
        position: static;
        gap: 25px;
    }
        .video-container .play-button {
        width: 7rem;
        height: auto;
        background: transparent;
    }
.video-container .play-button {
    width: 7rem;
    height: 7rem;
}
.video-still {
    width: 100%;
    margin-left: 0;
}
.video-link:hover .play-button {
    background: transparent;
    border-color: transparent;
}
.cta-actions {
    flex-direction: column;
}
}

@media screen and (max-width: 639px) {
    h1 {
    line-height: 1;
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    }

    .container {
        width: 95%;
    }

    .hero {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

    .hero p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
    }

    .hero-btn {
  width: 100%;
}

     .hero-stats {
    flex-direction: column;
    margin-top: 3rem;
  }

    .section-header {
    margin-bottom: 2rem;
  }

  .principle {
    padding-top: 1.3rem;
    padding-bottom: .5rem;
}

section#voices .reveal.visible {
    margin-bottom: 0rem;
}

.testimonials-grid {
  gap: 2rem;
  margin-bottom: 2rem;
}

.quiz-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.45rem;
}

.section-voices {
    padding-bottom: 2rem;
}

  .quality h3 {
    margin-top: 0;
}

.qualities-grid {
    gap: 5px;
}

.quote-block {
    margin-top: 4rem;
}

.section-architecture, .section-campus, .section-context {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-context { 
padding-bottom: 1rem;
}

.section-context .container, .section-voices .container {
    gap: 2rem;
}
    p.video-caption.flex {
        font-size: 1.6rem;
    }
        .video-container .play-button {
        width: 7rem;
        height: auto;
        background: transparent;
        font-size: 16px;
    }
    .tab-buttons {
    margin-bottom: 0;
}
a.tab-alternative {
    display: block;
    margin: 10px 0 30px;
}
.section-programs {
    padding-bottom: 3rem;
}
.section-programs .section-header {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}
.program-card {
    padding: 1rem;
}

.program-card p {
    margin-bottom: .5rem;
}
.program-link {
    font-size: .85em;
}
    .video-overlay {
        display: none;
    }
    .section-cta {
    padding-bottom: 0;
}
.cta-card {
    gap: 15px;
}
}

/* QUIZ WIDGET */

@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial}}}:root,:host{--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-light:300;--radius-sm:.375rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--color-soil:oklch(22% .045 260);--color-linen:oklch(92% .015 80);--color-ochre:oklch(74% .11 75)}.flex{display:flex}.grid{display:grid}.h-1{height:var(--spacing)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-8{gap:calc(var(--spacing) * 8)}.self-start{align-self:flex-start}.rounded-full{border-radius:3.40282e38px}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-linen\/20{border-color:#eae4da33}@supports (color:color-mix(in lab,red,red)){.border-linen\/20{border-color:color-mix(in oklab,var(--color-linen) 20%,transparent)}}.border-ochre{border-color:var(--color-ochre)}.bg-linen\/15{background-color:#eae4da26}@supports (color:color-mix(in lab,red,red)){.bg-linen\/15{background-color:color-mix(in oklab,var(--color-linen) 15%,transparent)}}.bg-ochre{background-color:var(--color-ochre)}.bg-ochre\/10{background-color:#d3a0561a}@supports (color:color-mix(in lab,red,red)){.bg-ochre\/10{background-color:color-mix(in oklab,var(--color-ochre) 10%,transparent)}}.px-5{padding-inline:calc(var(--spacing) * 5)}.py-5{padding-block:calc(var(--spacing) * 5)}.text-left{text-align:left}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-\[1\.1\]{--tw-leading:1.1;line-height:1.1}.leading-\[1\.15\]{--tw-leading:1.15;line-height:1.15}.font-light{--tw-font-weight:var(--font-weight-light);font-weight:var(--font-weight-light)}.tracking-\[0\.2em\]{--tw-tracking:.2em;letter-spacing:.2em}.tracking-\[0\.15em\]{--tw-tracking:.15em;letter-spacing:.15em}.text-balance{text-wrap:balance}.text-linen{color:var(--color-linen)}.text-linen\/55{color:#eae4da8c}@supports (color:color-mix(in lab,red,red)){.text-linen\/55{color:color-mix(in oklab,var(--color-linen) 55%,transparent)}}.text-linen\/85{color:#eae4dad9}@supports (color:color-mix(in lab,red,red)){.text-linen\/85{color:color-mix(in oklab,var(--color-linen) 85%,transparent)}}.text-ochre{color:var(--color-ochre)}.uppercase{text-transform:uppercase}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media(hover:hover){.hover\:border-linen\/60:hover{border-color:#eae4da99}@supports (color:color-mix(in lab,red,red)){.hover\:border-linen\/60:hover{border-color:color-mix(in oklab,var(--color-linen) 60%,transparent)}}.hover\:bg-linen\/5:hover{background-color:#eae4da0d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-linen\/5:hover{background-color:color-mix(in oklab,var(--color-linen) 5%,transparent)}}.hover\:text-linen:hover{color:var(--color-linen)}}@media(min-width:40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:48rem){.md\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.md\:text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}}@layer theme;@layer base{#miu-find-your-path,.miu-fyp{background-color:var(--color-soil);color:var(--color-linen);box-sizing:border-box;font-family:"Source Sans 3",Source Sans Pro,Lato,system-ui,sans-serif;font-weight:400}.miu-fyp *,.miu-fyp :before,.miu-fyp :after{box-sizing:border-box;border:0 solid}.miu-fyp h1,.miu-fyp h2,.miu-fyp h3,.miu-fyp h4,.miu-fyp p{margin:0}.miu-fyp button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:1px solid color-mix(in oklab,var(--linen) 20%,transparent);}.miu-fyp input,.miu-fyp select,.miu-fyp textarea{font:inherit;color:inherit;border-radius:0}.miu-fyp .font-serif-display{font-family:Rosario,"Source Sans 3",sans-serif}.miu-fyp .font-serif-body{font-family:"Source Sans 3",Source Sans Pro,Lato,sans-serif}}@layer components,utilities;@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}