/* ==========================================================================
   IBERRIX ACADEMY - MODERN ACADEMY & EDTECH THEME
  
   ========================================================================== */


:root {
  --primary-orange: #0085BE;
  --primary-orange-hover: #006E9E;
  --royal-blue: #1F5A88;
  --deep-navy: #134575;
  --dark-text: #0F172A;
  --muted-text: #64748B;
  --bg-light: #FBFBFE;
  --card-border: #F1F5F9;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-light);
  color: var(--dark-text);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: #FBFBFE;
}

/* Handwritten / Doodle Font */

.font-display {
  font-family: 'Outfit', sans-serif;
}

/* Subtle Dotted & Pattern Backgrounds */

/* Sticky Glass Navbar */

/* Primary Vibrant Orange Pill Buttons */
.btn-orange {
  background: linear-gradient(135deg, #2FA4D6 0%, #0085BE 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 8px 20px -4px rgba(0, 133, 190, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-orange:hover {
  background: linear-gradient(135deg, #3DAEDC 0%, #00618C 100%);
  box-shadow: 0 12px 25px -4px rgba(0, 133, 190, 0.45);
  transform: translateY(-2px);
}

/* Royal Blue Pill Buttons */
.btn-blue {
  background: linear-gradient(135deg, #1F5A88 0%, #1A4F7D 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 8px 20px -4px rgba(31, 90, 136, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-blue:hover {
  background: linear-gradient(135deg, #326792 0%, #0F3A62 100%);
  box-shadow: 0 12px 25px -4px rgba(31, 90, 136, 0.4);
  transform: translateY(-2px);
}

/* Arch Shaped Image/Video Masks */
.arch-mask-hero {
  border-radius: 200px 200px 32px 32px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
  border: 6px solid #FFFFFF;
  background-color: #FFFFFF;
}

/* Programs Card with Top Semi-Circular Orange Arc Cutout */

/* Semi-circular Orange Top Tab */

/* Dotted floating element */

/* Floating animation utilities */
@keyframes floatSoft {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
}

@keyframes floatSoftReverse {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(8px) rotate(-1.5deg); }
}

.animate-float-soft {
  animation: floatSoft 5s ease-in-out infinite;
}

/* FAQ Accordion Styling */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
  opacity: 0;
}
.faq-item.active .faq-content {
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.45s cubic-bezier(1, 0, 1, 0), opacity 0.35s ease;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: #0085BE;
}
.faq-item.active {
  border-color: rgba(0, 133, 190, 0.3);
  box-shadow: 0 10px 25px -5px rgba(0, 133, 190, 0.08);
}

/* Modals */
.modal-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-overlay.open .modal-container {
  transform: scale(1) translateY(0);
}
.modal-container {
  transform: scale(0.95) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0085BE;
}


/* ==========================================================================
   PULSE GLOW & HIGHLIGHTS
   ========================================================================== */
@keyframes highlightCoursePulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 133, 190, 0.6); }
  50% { box-shadow: 0 0 0 16px rgba(0, 133, 190, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 133, 190, 0); }
}

/* ==========================================================================
   PINNED NOTE CARDS & PUSHPINS
   ========================================================================== */

/* ==========================================================================
   CLEAN & MODERN TOPIC CARDS
   ========================================================================== */

/* ==========================================================================
   ANIMATED ORANGE CURVED SQUIGGLE / WAVE
   ========================================================================== */

@keyframes squiggleWobble {
  0%, 100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  25% {
    transform: translateY(-2.5px) scale(1.05) rotate(-2deg);
  }
  50% {
    transform: translateY(1.5px) scale(0.96) rotate(1.5deg);
  }
  75% {
    transform: translateY(-1.5px) scale(1.03) rotate(-1deg);
  }
}

@keyframes squiggleFlow {
  0% {
    stroke-dashoffset: 18;
    opacity: 0.85;
  }
  50% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -18;
    opacity: 0.9;
  }
}

/* ==========================================================================
   BULLET-PROOF MODALS (Quick Enquiry & Syllabus)
   ========================================================================== */
.modal-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.modal-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.modal-overlay .modal-container {
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 50;
}

.modal-overlay.open .modal-container {
  transform: scale(1) translateY(0) !important;
}

/* Close button touch target enhancement */
.modal-close-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #F1F5F9;
  color: #64748B;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  z-index: 60;
}

.modal-close-btn:hover {
  background-color: #E2E8F0;
  color: #0F172A;
  transform: rotate(90deg);
}

.modal-close-btn svg,
.modal-close-btn i {
  pointer-events: none;
}

/* ==========================================================================
   COMPACT & MODERN CURVED ORBIT PROGRAM CARDS (Zero Lengthy Void)
   ========================================================================== */


/* ==========================================================================
   HOME PAGE + SHARED ADDITIONS
   ========================================================================== */
.eyebrow { font-size: .8125rem; font-weight: 800; color: #00618C; letter-spacing: .04em; text-transform: uppercase; }
.section-title { margin-top: .5rem; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: clamp(1.875rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.025em; color: #0F172A; text-wrap: balance; }
h1, h2 { text-wrap: balance; }

/* Hand-drawn underline (replaces the oval that cut through headings) */
@keyframes underlineDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

/* ---------- Cards ---------- */

.why-card { background: #FBFBFE; border: 1px solid #E2E8F0; border-radius: 22px; padding: 1.5rem; transition: transform .25s ease, border-color .25s ease; }
.why-card:hover { transform: translateY(-4px); border-color: #0085BE; }
.why-icon { width: 2.75rem; height: 2.75rem; border-radius: .9rem; display: flex; align-items: center; justify-content: center; }
.why-card h3 { margin-top: 1rem; font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 700; line-height: 1.25; color: #0F172A; }
.why-card p { margin-top: .5rem; font-size: .9rem; line-height: 1.6; color: #475569; }

.audience-card { display: flex; flex-direction: column; align-items: center; gap: .55rem; min-height: 96px; padding: 1rem .6rem; border-radius: 18px; background: #FFFFFF; border: 2px solid #E2E8F0; color: #334155; font-size: .85rem; font-weight: 700; line-height: 1.25; text-align: center; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.audience-card:hover { border-color: #7FC8E8; }
.audience-card.is-active { border-color: #0085BE; background: #F0F8FC; color: #0D5A82; }

.pf-option { padding: 1rem 1.1rem; min-height: 76px; border-radius: 16px; border: 2px solid #E2E8F0; background: #F8FAFC; color: #0F172A; font-size: .95rem; font-weight: 700; text-align: left; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.pf-option:hover, .pf-option:focus-visible { border-color: #0085BE; background: #F0F8FC; transform: translateY(-2px); }

/* ---------- Journey ---------- */
.journey { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.journey::before, .journey::after { content: ''; position: absolute; left: 21px; top: 22px; bottom: 44px; width: 3px; border-radius: 3px; background: #E2E8F0; }
.journey::after { background: #0085BE; transform-origin: top; transform: scaleY(1); }
.journey li { position: relative; display: flex; gap: 1.1rem; z-index: 1; }
.journey-dot { flex-shrink: 0; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #0085BE; color: #FFFFFF; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.1rem; box-shadow: 0 0 0 6px #FFFFFF; }
.journey h3 { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; color: #0F172A; }
.journey p { margin-top: .3rem; font-size: .95rem; line-height: 1.6; color: #475569; }

/* ---------- Forms ---------- */
.form-label { display: block; margin-bottom: .3rem; font-size: .8rem; font-weight: 700; color: #334155; }
.form-input { width: 100%; padding: .75rem .9rem; border-radius: .8rem; background: #F8FAFC; border: 1px solid #CBD5E1; color: #0F172A; font-size: .9rem; }
.form-input:focus { outline: 2px solid #0085BE; outline-offset: 1px; background: #FFFFFF; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
form[hidden] { display: none !important; }
.enquiry-result { margin-top: 1rem; padding: 1.25rem; border-radius: 1rem; text-align: center; }
.enquiry-result.is-saved { background: #ECFDF5; border: 1px solid #6EE7B7; }
.enquiry-result.is-error { background: #EEF8FC; border: 1px solid #7FC8E8; }
.enquiry-result-title { font-weight: 800; color: #0F172A; }
.enquiry-result-text { margin-top: .35rem; font-size: .9rem; line-height: 1.5; color: #475569; }
.enquiry-result-link { display: inline-block; margin-top: .9rem; padding: .7rem 1.4rem; border-radius: 9999px; background: #047857; color: #FFFFFF; font-size: .875rem; font-weight: 700; }
.enquiry-result-link:hover { background: #065F46; }

button:focus-visible, a:focus-visible { outline: 3px solid #1F5A88; outline-offset: 2px; }

/* Staggered scene parts stay in their start state until their delay ends */

/* The closed drawer sits off-screen, so its shadow must not show at the page edge */
#mobile-drawer.translate-x-full { box-shadow: none !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ---------- Read more ---------- */
.rm-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s ease, visibility .35s; }
.rm-inner { min-height: 0; overflow: hidden; }
.js [data-read-more]:not(.rm--open) .rm-body { grid-template-rows: 0fr; visibility: hidden; }
.rm-btn { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; padding: .25rem 0; color: #00618C; font-size: .9rem; font-weight: 800; }
.rm-btn::after { content: ''; width: .45rem; height: .45rem; margin-top: -.15rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s ease; }
.rm--open .rm-btn::after { margin-top: .2rem; transform: rotate(-135deg); }
.rm-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.rm-on-dark .rm-btn { color: #2FA4D6; }

/* ---------- Course module cards ---------- */
.bg-graph-paper { background-color: #FBFBFE; background-image: linear-gradient(#EEF2F7 1px, transparent 1px), linear-gradient(90deg, #EEF2F7 1px, transparent 1px); background-size: 34px 34px; }
.module-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.module-card { --a: #0085BE; --d: #0F172A; --w: #FFFFFF; --m: #CBD5E1; --t: #B0DEF2; --g: #334155; display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #E2E8F0; border-radius: 26px; overflow: hidden; scroll-margin-top: 7rem; transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .3s ease; }
.module-card:hover { transform: translateY(-6px); border-color: var(--a); box-shadow: 0 24px 40px -18px rgba(15, 23, 42, .28); }
.module-card:target { border-color: var(--a); box-shadow: 0 0 0 3px var(--a); }
.module-card-art { position: relative; height: 176px; padding: 14px; overflow: hidden; flex-shrink: 0; }
.module-card--warm .module-card-art { background: linear-gradient(135deg, #F0F8FC, #C4E6F5); }
.module-card--cool .module-card-art { background: linear-gradient(135deg, #EEF4F9, #BCD3E6); --t: #B6CDE2; }
.module-card--dark .module-card-art { background: linear-gradient(135deg, #0F172A, #134575); --d: #475569; --m: #94A3B8; }
.module-art { position: relative; z-index: 1; display: block; width: 100%; height: 100%; overflow: visible; }
.module-card-no { position: absolute; right: 12px; bottom: -14px; font-family: 'Outfit', sans-serif; font-size: 5.25rem; line-height: 1; font-weight: 800; color: transparent; -webkit-text-stroke: 2px rgba(15, 23, 42, .13); }
.module-card--dark .module-card-no { -webkit-text-stroke-color: rgba(255, 255, 255, .2); }
.module-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.35rem 1.4rem 1.5rem; }
.module-card-kicker { font-size: .75rem; font-weight: 800; color: #00618C; letter-spacing: .05em; text-transform: uppercase; }
.module-card h3 { margin-top: .3rem; font-family: 'Outfit', sans-serif; font-size: 1.3rem; font-weight: 700; line-height: 1.22; color: #0F172A; }
.module-card-text { margin-top: .55rem; font-size: .925rem; line-height: 1.6; color: #475569; }
.module-card-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 1rem; }
.module-card-tags li { padding: .28rem .7rem; border-radius: 9999px; background: #F1F5F9; color: #334155; font-size: .75rem; font-weight: 700; }
.module-theme-gd .module-card { --a: #1F5A88; }
.module-theme-gd .module-card--warm .module-card-art { --a: #0085BE; }
.module-theme-gd .module-card-kicker { color: #1A4F7D; }

@media (min-width: 768px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid > .module-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .module-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .module-grid > .module-card:last-child:nth-child(odd) { grid-column: auto; }
  .module-card--wide, .module-grid > .module-card--wide:last-child:nth-child(odd) { grid-column: span 2; flex-direction: row; }
  .module-card--wide .module-card-art { display: flex; align-items: center; width: 48%; height: auto; min-height: 250px; padding: 24px; }
  .module-card--wide .module-art { height: auto; transform: scale(1.2); }
  .module-card--wide .module-card-body { justify-content: center; padding: 2rem 2.25rem; }
  .module-card--wide h3 { font-size: 1.85rem; line-height: 1.15; }
  .module-card--wide .module-card-text { margin-top: .75rem; font-size: 1.05rem; }
  .module-card--wide .module-card-tags { margin-top: 0; padding-top: 1.25rem; }
  .module-card--wide .module-card-no { font-size: 7rem; }
}

/* Art fills */
.f-w { fill: var(--w); } .f-a { fill: var(--a); } .f-d { fill: var(--d); } .f-m { fill: var(--m); } .f-t { fill: var(--t); }
.s-a { stroke: var(--a); stroke-width: 3; stroke-linecap: round; } .s-d { stroke: var(--d); stroke-width: 3; stroke-linecap: round; } .s-m { stroke: var(--m); stroke-width: 3; stroke-linecap: round; } .s-w { stroke: #FFF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.o3 { opacity: .3; } .o4 { opacity: .4; } .o6 { opacity: .6; } .o7 { opacity: .7; }
.ma-type { font: 800 58px 'Outfit', sans-serif; }
.module-art * { transform-box: fill-box; transform-origin: center; }
.ma-bar { transform-origin: center bottom; }
.ma-fold { transform-origin: right center; }
.ma-fold--r { transform-origin: left center; }
.ma-draw { stroke-dasharray: 100; }

.is-live .ma-rise { animation: maRise 3.4s ease-in-out infinite; }
.is-live .ma-float { animation: maFloat 4s ease-in-out infinite; }
.is-live .ma-pop { animation: maPop 2.4s ease-in-out infinite; }
.is-live .ma-ping { animation: maPing 2.4s ease-out infinite; }
.is-live .ma-bar { animation: maBar 3.4s ease-in-out infinite; }
.is-live .ma-draw { animation: maDraw 3.6s ease-in-out infinite; }
.is-live .ma-drop { animation: maDrop 1.8s ease-in infinite; }
.is-live .ma-spin { animation: maSpin 16s linear infinite; }
.is-live .ma-aim { animation: maAim 2.4s ease-in-out infinite; }
.is-live .ma-fold { animation: maFold 4s ease-in-out infinite; }
.is-live .ma-fold--r { animation-name: maFoldR; }
.is-live .ma-tilt { animation: maTilt 5s ease-in-out infinite; }
.is-live .ma-tilt--r { animation-name: maTiltR; }
.is-live .ma-sweep { animation: maSweep 4s ease-in-out infinite; }
.is-live .ma-slide { animation: maSlide 7s cubic-bezier(.65, 0, .35, 1) infinite; }
.is-live .ma-tile { animation: maTile 3.6s ease-in-out infinite; }

@keyframes maRise { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes maFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes maPop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes maPing { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes maBar { 0%, 100% { transform: scaleY(.72); } 50% { transform: scaleY(1); } }
@keyframes maDraw { 0% { stroke-dashoffset: 100; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
@keyframes maDrop { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(96px); opacity: 0; } }
@keyframes maSpin { to { transform: rotate(360deg); } }
@keyframes maAim { 0%, 100% { transform: translate(5px, -4px); } 50% { transform: translate(0, 0); } }
@keyframes maFold { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.84); } }
@keyframes maFoldR { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.84); } }
@keyframes maTilt { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(7deg); } }
@keyframes maTiltR { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(-7deg); } }
@keyframes maSweep { 0%, 100% { opacity: 1; } 50% { opacity: .82; } }
@keyframes maSlide { 0%, 40%, 100% { transform: translateX(0); } 50%, 90% { transform: translateX(-125px); } }
@keyframes maTile { 0%, 100% { transform: scale(1); } 50% { transform: scale(.93); } }

@media (prefers-reduced-motion: reduce) {
  .ma-tilt { transform: rotate(4deg); }
  .ma-tilt--r { transform: rotate(-4deg); }
}


/* ==========================================================================
   MOBILE OPTIMISATION
   ========================================================================== */
.mobile-action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: .5rem; padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid #E2E8F0; box-shadow: 0 -8px 24px -12px rgba(15, 23, 42, .25); }
@media (min-width: 768px) { .mobile-action-bar { display: none; } }
.mobile-action { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; border-radius: 14px; background: #F1F5F9; color: #0F172A; font-size: .85rem; font-weight: 700; }
.mobile-action--wa { background: #047857; color: #FFFFFF; }
.mobile-action--primary { background: linear-gradient(135deg, #2FA4D6, #00618C); color: #FFFFFF; }

@media (max-width: 767px) {
  html, body { overflow-x: clip; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

  /* Keep the hero image and the headline together on the first screen */

  /* Every link and button is big enough for a finger (classes that set display still win) */
  header a, footer a, section a, footer button, section button { display: inline-flex; align-items: center; min-height: 44px; }
  footer > div > .mt-8 > div:first-child a { display: inline; min-height: 0; }
  footer ul > li { margin-top: 0 !important; }
  footer ul button { justify-content: flex-start; text-align: left; }

  /* Stops iPhones zooming the page when a field is tapped */
  input, select, textarea { font-size: 16px !important; }

  /* Finger-sized controls */
  .rm-btn { min-height: 44px; margin-top: 0; }
  footer ul a, footer ul button, footer .space-y-2\.5 a { display: flex; align-items: center; min-height: 44px; }
  footer a[href^="mailto"] { display: inline-flex; align-items: center; min-height: 44px; }

  /* Course cards */
  .module-card-art { height: 160px; }
  .module-card:hover, .why-card:hover { transform: none; }
}

@media (hover: none) {
  .module-card:hover, .why-card:hover, .btn-orange:hover, .btn-blue:hover { transform: none; }
}

@media (max-width: 359px) {
  .mobile-action-bar { grid-template-columns: .8fr 1.2fr 1fr; gap: .35rem; padding-left: .5rem; padding-right: .5rem; }
  .mobile-action { gap: .25rem; font-size: .78rem; }
  .mobile-action svg { width: 1rem; height: 1rem; }
}

/* ==========================================================================
   FRONT BANNER (same on every page)
   ========================================================================== */
.page-banner { background: linear-gradient(135deg, #F0F8FC, #E8F1F8); padding: .6rem .6rem 1rem; }
.pb-card { position: relative; display: flex; flex-direction: column; max-width: 80rem; margin: 0 auto; overflow: hidden; border-radius: 24px; background: #FFFFFF; box-shadow: 0 24px 48px -28px rgba(15, 23, 42, .4); animation: pbRise .7s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes pbRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Text */
.pb-text { position: relative; z-index: 2; padding: .9rem 1rem 1.25rem; text-align: center; }
.pb-text h1 { margin: 0; font-family: 'Outfit', sans-serif; font-size: clamp(1.15rem, 5.9vw, 2.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; text-transform: uppercase; }
.pb-line1, .pb-line2 { display: block; }
.pb-line1 { color: #0F172A; }
.pb-line2 { color: #0077AA; }
.pb-ribbon { display: inline-block; margin-top: .55rem; padding: .35rem .9rem; border-radius: 6px; background: #134575; color: #FFFFFF; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .85rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.pb-intro { max-width: 36rem; margin: .65rem auto 0; color: #475569; font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
.pb-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .6rem; }
.pb-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: 0 1.05rem; border-radius: 9999px; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.pb-btn-ghost { background: #FFFFFF; color: #0F172A; border: 1px solid #CBD5E1; transition: border-color .2s ease, color .2s ease; }
.pb-btn-ghost:hover { border-color: #0077AA; color: #00618C; }
.pb-contact, .pb-facts { display: none; }

/* Photo: person inside a coloured disc with the head breaking out, on a soft blob */
.pb-visual { position: relative; height: clamp(240px, 80vw, 370px); margin-top: .5rem; }
.pb-blob { position: absolute; left: 50%; bottom: 0; width: min(92%, 400px); height: 86%; background: #DDF0F9; border-radius: 58% 42% 46% 54% / 56% 60% 40% 44%; transform: translateX(-50%); animation: pbMorph 12s ease-in-out infinite; }
@keyframes pbMorph { 0%, 100% { border-radius: 58% 42% 46% 54% / 56% 60% 40% 44%; } 50% { border-radius: 44% 56% 54% 46% / 48% 44% 56% 52%; } }
.pb-person { position: absolute; left: 50%; bottom: 0; height: 100%; aspect-ratio: 624 / 968; transform: translateX(-50%); }
.pb-person img { position: absolute; top: 0; left: -27.5%; z-index: 2; width: 155%; max-width: none; height: 100%; animation: pbPerson .9s .1s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes pbPerson { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.pb-disc { position: absolute; z-index: 1; left: 2%; top: 32%; width: 100%; height: 68%; border-radius: 50%; background: linear-gradient(150deg, #1F5A88, #134575); }
.pb-arc { position: absolute; z-index: 0; left: -6%; top: 26%; width: 116%; height: 78%; overflow: visible; animation: pbSpin 24s linear infinite; }
.pb-arc circle { fill: none; stroke: #0085BE; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 34 16; }
@keyframes pbSpin { to { transform: rotate(360deg); } }
.pb-spark { position: absolute; z-index: 3; left: 8%; top: 6%; width: 15%; fill: none; stroke: #0085BE; stroke-width: 4; stroke-linecap: round; }
.pb-badge { position: absolute; z-index: 4; left: 84%; top: 12%; padding: .4rem .7rem; border-radius: 8px; background: #0077AA; color: #FFFFFF; font-family: 'Outfit', sans-serif; font-size: .8rem; font-weight: 800; line-height: 1.1; text-align: center; white-space: nowrap; box-shadow: 0 12px 20px -10px rgba(15, 23, 42, .5); transform: rotate(8deg); animation: pbBadge 5s ease-in-out infinite; }
@keyframes pbBadge { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-5px); } }

/* Doodles */
.pb-doodle { position: absolute; z-index: 1; pointer-events: none; }
.pb-doodle--wave { left: 5%; top: 12px; width: 44px; fill: none; stroke: #1F5A88; stroke-width: 3; stroke-linecap: round; }
.pb-doodle--dots { left: 3%; top: 120px; width: 44px; height: 44px; background-image: radial-gradient(#1F5A88 1.6px, transparent 1.6px); background-size: 11px 11px; opacity: .45; }
.pb-doodle--cross { right: 6%; bottom: 8%; width: 42px; fill: none; stroke: #134575; stroke-width: 2.5; stroke-linecap: round; opacity: .55; }

@media (max-width: 379px) {
  .pb-actions { gap: .4rem; }
  .pb-btn { padding: 0 .8rem; gap: .3rem; font-size: .8125rem; }
}

@media (min-width: 640px) {
  .page-banner { padding: .9rem 1rem 1.25rem; }
  .pb-visual { height: clamp(230px, calc(100svh - 590px), 380px); }
  .pb-text { padding: 1.1rem 1.5rem 1.75rem; }
  .pb-text h1 { font-size: clamp(2rem, 5.2vw, 3rem); }
  .pb-ribbon { font-size: 1rem; }
  .pb-btn { padding: 0 1.5rem; }
  .pb-actions { gap: .75rem; }
  .pb-badge { font-size: .95rem; padding: .55rem .85rem; }
  .pb-blob { width: min(70%, 460px); }
  .pb-contact, .pb-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin: .9rem 0 0; }
}

/* Desktop: text on the left, person on the right, one screen tall */
@media (min-width: 1024px) {
  .page-banner { padding: 1rem 1.5rem 1.5rem; }
  .pb-card { flex-direction: row; align-items: stretch; min-height: clamp(460px, calc(100svh - 170px), 600px); border-radius: 28px; }
  .pb-text { order: 1; flex: 0 0 58%; align-self: center; padding: 1.75rem 0 1.75rem 3.5rem; text-align: left; }
  .pb-text h1 { font-size: min(3.05vw, 6.6vh, 3.1rem); }
  .pb-ribbon { margin-top: .75rem; padding: .45rem 1.1rem; font-size: min(1.45vw, 1.2rem); }
  .pb-intro { margin: .85rem 0 0; max-width: 35rem; font-size: 1.05rem; }
  .pb-actions { justify-content: flex-start; margin-top: .7rem; }
  .pb-contact, .pb-facts { justify-content: flex-start; margin-top: 1rem; padding-top: .85rem; border-top: 1px solid #E2E8F0; font-size: .875rem; }
  .pb-visual { order: 2; flex: 1; height: auto; margin-top: 0; }
  .pb-blob { width: 94%; height: 84%; bottom: 3%; }
  .pb-person { bottom: 3%; height: 92%; }
  .pb-doodle--wave { left: 3.5rem; top: 16px; width: 60px; }
  .pb-doodle--dots { left: 50%; top: auto; bottom: 22px; width: 66px; height: 44px; }
  .pb-doodle--cross { right: 4%; bottom: 6%; width: 60px; }
  .pb-badge { left: auto; right: -4%; top: 15%; font-size: 1.05rem; padding: .65rem .95rem; }
}

.pb-contact a, .pb-contact-place { display: inline-flex; align-items: center; gap: .4rem; color: #334155; font-size: .875rem; font-weight: 600; }
.pb-contact a { min-height: 44px; }
.pb-contact a:hover { color: #00618C; }
.pb-contact svg { color: #0077AA; }
.pb-contact-place { min-height: 44px; }
.pb-facts dt { color: #64748B; font-size: .75rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.pb-facts dd { margin: 0; color: #0F172A; font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; }

/* Two buttons stay on one row on phones */
@media (max-width: 419px) {
  .pb-btn svg { display: none; }
}

/* Admissions tag sits beside the person, clear of the face and hair */
.pb-badge { left: 90%; top: 30%; transform-origin: left center; }
@media (min-width: 640px) {
  .pb-badge { left: 94%; top: 30%; }
}
@media (min-width: 1024px) {
  .pb-badge { left: 84%; right: auto; top: 30%; font-size: min(1.05rem, 1.25vw); padding: .6rem .85rem; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .pb-badge { left: 77%; }
}

/* ==========================================================================
   HOME PAGE FLOW
   ========================================================================== */
html { scroll-padding-top: 96px; }
.home-wrap { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.home-section { padding: 3.5rem 0; background: #FFFFFF; }
.home-section--tight { padding-top: 1.5rem; }
.home-section--last { padding-top: 1rem; }
/* Section backgrounds melt into each other instead of changing at a hard line */
.flow-to-warm { background: linear-gradient(#FFFFFF 55%, #F0F8FC); }
.flow-from-warm { background: linear-gradient(#F0F8FC, #FFFFFF 70%); }
.flow-to-cool { background: linear-gradient(#FFFFFF 40%, #EEF4F9); }
.flow-from-cool { background: linear-gradient(#EEF4F9, #FFFFFF 70%); }
.home-head { max-width: 48rem; margin: 0 auto 2.25rem; text-align: center; }
.home-lead { margin-top: .85rem; color: #475569; font-size: 1rem; line-height: 1.65; text-wrap: pretty; }
.home-lead--left { text-align: left; }
.home-closer { margin-top: 1.75rem; color: #0F172A; font-size: 1.05rem; font-weight: 700; text-align: center; }

/* Reassurance bar, overlapping the banner's lower edge */
.home-trust { position: relative; z-index: 3; padding: 0 .75rem; background: linear-gradient(transparent 50%, #FFFFFF 50%); }
.trust-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem .75rem; max-width: 76rem; margin: 0 auto; padding: 1rem; border: 1px solid #EEF2F6; border-radius: 20px; background: #FFFFFF; box-shadow: 0 18px 40px -26px rgba(15, 23, 42, .45); }
.trust-bar li { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.trust-icon { display: flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; flex-shrink: 0; }
.trust-icon--orange { background: #F0F8FC; color: #00618C; }
.trust-icon--blue { background: #EAF2F8; color: #1A4F7D; }
.trust-bar strong { display: block; color: #0F172A; font-size: .85rem; line-height: 1.25; }
.trust-bar small { display: block; margin-top: .1rem; color: #64748B; font-size: .75rem; line-height: 1.3; }

/* Courses */
.course-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.course-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .8rem; }
.course-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: 0 1.25rem; border-radius: 9999px; font-size: .875rem; font-weight: 700; text-align: center; }
.course-btn--soft { background: #F1F5F9; color: #0F172A; transition: background-color .25s ease; }
.course-btn--soft:hover { background: #E2E8F0; }

/* Is this for me? */
.fit-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.fit-panel { display: flex; flex-direction: column; padding: 1.35rem; border: 1px solid #EEF2F6; border-radius: 24px; background: #FFFFFF; box-shadow: 0 18px 40px -32px rgba(15, 23, 42, .5); }
.fit-panel > h3 { color: #0F172A; font-family: 'Outfit', sans-serif; font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.fit-note { margin-top: .4rem; color: #475569; font-size: .95rem; line-height: 1.55; }
.persona-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: .9rem; }
.audience-card { transition: border-color .3s ease, background-color .3s ease, color .3s ease, transform .3s ease; }
.persona-answer { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; margin-top: 1rem; padding: 1rem; border-radius: 16px; background: #F0F8FC; }
.persona-answer p { color: #0F172A; font-family: 'Outfit', sans-serif; font-size: 1.1rem; font-weight: 700; line-height: 1.3; transition: opacity .16s ease, transform .16s ease; }
.persona-answer p.is-changing { opacity: 0; transform: translateY(4px); }
.pf-track { height: 8px; margin-top: .9rem; overflow: hidden; border-radius: 9999px; background: #F1F5F9; }
.pf-progress { width: 0; height: 100%; border-radius: 9999px; background: linear-gradient(90deg, #2FA4D6, #1F5A88); transition: width .5s cubic-bezier(.16, 1, .3, 1); }
.pf-step { margin-top: 1rem; color: #64748B; font-size: .85rem; font-weight: 700; }
.pf-text { margin-top: .2rem; color: #0F172A; font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 800; line-height: 1.25; }
.pf-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; margin-top: .85rem; }
.pf-enter { animation: pfIn .45s cubic-bezier(.16, 1, .3, 1) both; }
#pf-result:not(.hidden) { animation: pfIn .5s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes pfIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.pf-again { min-height: 44px; padding: 0 .4rem; color: #475569; font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Why here? */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; }
.why-card { background: #FFFFFF; box-shadow: 0 14px 30px -28px rgba(15, 23, 42, .5); transition: transform .45s cubic-bezier(.16, 1, .3, 1), border-color .35s ease, box-shadow .45s ease; }
.tech-kicker { color: #00618C; font-size: .85rem; font-weight: 800; line-height: 1.35; }
.tech-card { padding: 1.25rem; border-radius: 20px; background: #FFFFFF; box-shadow: 0 20px 40px -30px rgba(15, 23, 42, .55); }
.tech-year { color: #0077AA; font-family: 'Outfit', sans-serif; font-size: 3.25rem; font-weight: 800; line-height: 1; }
.tech-year-note { margin-top: .3rem; color: #475569; font-size: .875rem; }
.tech-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem .5rem; margin-top: 1rem; }
.tech-card li { display: flex; align-items: center; gap: .35rem; color: #0F172A; font-size: .82rem; font-weight: 700; line-height: 1.25; }
.tech-card li svg { flex-shrink: 0; color: #0077AA; }

/* How do I start? */
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-items: center; }
.start-btn { margin-top: 1.1rem; }
.start-card { padding: 1.5rem 1.25rem; border: 1px solid #E6ECF7; border-radius: 24px; background: #FFFFFF; box-shadow: 0 24px 50px -36px rgba(19, 69, 117, .55); }
.start-card > h3 { margin-bottom: 1.25rem; color: #0F172A; font-family: 'Outfit', sans-serif; font-size: 1.35rem; font-weight: 800; }
.journey h4 { color: #0F172A; font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.journey::after { transform: scaleY(1); }
.start-card[data-aos] .journey::after { transform: scaleY(0); transition: transform 1.2s .35s cubic-bezier(.65, 0, .35, 1); }
.start-card[data-aos].aos-animate .journey::after { transform: scaleY(1); }

/* Questions */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.faq-side { text-align: center; }
.faq-nudge { display: none; }
.faq-list { display: grid; gap: .65rem; }
.faq-item { overflow: hidden; border: 1px solid #E2E8F0; border-radius: 16px; background: #FFFFFF; transition: border-color .35s ease, box-shadow .35s ease; }
.faq-header { display: flex; align-items: center; justify-content: space-between; gap: .85rem; width: 100%; min-height: 56px; padding: .9rem 1rem; color: #0F172A; font-size: .95rem; font-weight: 700; line-height: 1.35; text-align: left; }
/* Answers open to their real height (the inner wrapper is added by JS) */
.js .faq-content { display: grid; grid-template-rows: 0fr; max-height: none; overflow: visible; opacity: 0; padding-top: 0; padding-bottom: 0; transition: grid-template-rows .4s cubic-bezier(.16, 1, .3, 1), opacity .3s ease, padding-bottom .4s cubic-bezier(.16, 1, .3, 1); }
.js .faq-item.active .faq-content { grid-template-rows: 1fr; max-height: none; opacity: 1; padding-bottom: 1.1rem; transition: grid-template-rows .4s cubic-bezier(.16, 1, .3, 1), opacity .35s .05s ease, padding-bottom .4s cubic-bezier(.16, 1, .3, 1); }
.faq-inner { min-height: 0; overflow: hidden; }
.home-section .faq-content { padding-left: 1rem; padding-right: 1rem; color: #475569; font-size: .95rem; line-height: 1.6; }

/* Enquire */
.final-cta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 1.1rem; border-radius: 28px; background: radial-gradient(70% 90% at 90% 10%, rgba(31, 90, 136, .55), transparent 70%), linear-gradient(140deg, #134575, #0F172A); color: #FFFFFF; }
.final-copy h2 { font-family: 'Outfit', sans-serif; font-size: clamp(1.75rem, 7vw, 3rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.final-copy p { margin-top: .85rem; color: #D6E4F0; font-size: 1rem; line-height: 1.6; }
.final-copy p.final-line { color: #FFFFFF; font-size: 1.1rem; font-weight: 700; }
.final-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 48px; margin-top: .9rem; padding: 0 1.25rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: 9999px; color: #FFFFFF; font-size: .875rem; font-weight: 700; transition: background-color .3s ease; }
.final-link:hover { background: rgba(255, 255, 255, .12); }
.final-form { padding: 1.25rem; border-radius: 20px; background: #FFFFFF; color: #0F172A; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); }
.final-form h3 { font-family: 'Outfit', sans-serif; font-size: 1.35rem; font-weight: 800; }
.final-form > p { margin: .25rem 0 1rem; color: #475569; font-size: .9rem; }

@media (min-width: 640px) {
  .home-wrap { padding: 0 1.5rem; }
  .home-section { padding: 4.5rem 0; }
  .home-section--tight { padding-top: 2rem; }
  .home-section--last { padding-top: 1.5rem; }
  .home-lead { font-size: 1.05rem; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .persona-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .persona-answer { flex-direction: row; align-items: center; justify-content: space-between; }
  .tech-card ul { gap: .7rem; }
  .tech-card li { font-size: .9rem; }
}

@media (min-width: 768px) {
  .home-trust { padding: 0 1.5rem; }
  .trust-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: -1.1rem; padding: 1.1rem 1.25rem; }
}

@media (min-width: 1024px) {
  .home-wrap { padding: 0 2rem; }
  .home-section { padding: 5.5rem 0; }
  .home-section--tight { padding-top: 2.5rem; }
  .home-section--last { padding-top: 2rem; }
  .course-grid, .fit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
  .fit-panel { padding: 1.9rem; }
  .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
  .tech-card { padding: 1.9rem; }
  .start-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
  .start-card { padding: 2.25rem; }
  .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 3.5rem; align-items: start; }
  .faq-side { position: sticky; top: 7rem; text-align: left; }
  .faq-nudge { display: block; margin-top: 1.5rem; padding: 1.25rem; border-radius: 18px; background: #F0F8FC; }
  .faq-nudge strong { color: #0F172A; font-family: 'Outfit', sans-serif; font-size: 1.1rem; }
  .faq-nudge p { margin-top: .25rem; color: #475569; font-size: .925rem; }
  .faq-nudge-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-top: .4rem; color: #047857; font-size: .9rem; font-weight: 700; }
  .faq-nudge-link:hover { text-decoration: underline; text-underline-offset: 3px; }
  .faq-header { padding: 1.1rem 1.25rem; font-size: 1rem; }
  .home-section .faq-content { padding-left: 1.25rem; padding-right: 1.25rem; font-size: 1rem; }
  .final-cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 3.5rem; padding: 3.5rem; border-radius: 34px; }
  .final-form { padding: 2rem; }
}

.persona-answer .course-btn { flex-shrink: 0; white-space: nowrap; }

/* ==========================================================================
   HOME COURSE TILES
   ========================================================================== */
.course-tile { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 1.5rem 1.35rem; border-radius: 26px; color: #FFFFFF; transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s ease; }
.course-tile--dm { background: linear-gradient(150deg, #006E9E, #0D5A82); box-shadow: 0 26px 46px -30px rgba(168, 54, 10, .9); }
.course-tile--gd { background: linear-gradient(150deg, #1A4F7D, #134575); box-shadow: 0 26px 46px -30px rgba(19, 69, 117, .9); }
@media (hover: hover) {
  .course-tile:hover { transform: translateY(-6px); }
  .course-tile:hover .course-tile-rings { transform: scale(1.08); }
}
.course-tile-rings { position: absolute; top: -90px; right: -90px; width: 260px; height: 260px; border: 34px solid rgba(255, 255, 255, .09); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255, 255, 255, .05); transition: transform .8s cubic-bezier(.16, 1, .3, 1); pointer-events: none; }
.course-tile > *:not(.course-tile-rings) { position: relative; }
.course-tile-icon { display: flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 16px; background: #FFFFFF; flex-shrink: 0; }
.course-tile--dm .course-tile-icon { color: #00618C; }
.course-tile--gd .course-tile-icon { color: #1A4F7D; }
.course-tile h3 { margin-top: 1rem; font-family: 'Outfit', sans-serif; font-weight: 800; }
.course-tile h3 span { display: block; font-size: clamp(1.75rem, 7.4vw, 2.4rem); line-height: 1.08; letter-spacing: -.02em; }
.course-tile h3 small { display: block; margin-top: .35rem; color: rgba(255, 255, 255, .92); font-family: 'Plus Jakarta Sans', sans-serif; font-size: .95rem; font-weight: 600; }
.course-tile-hook { margin-top: .85rem; color: #FFFFFF; font-size: 1rem; line-height: 1.55; }
.course-tile-topics { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; margin-top: 1rem; }
.course-tile-topics li { display: flex; align-items: center; gap: .5rem; font-size: .95rem; font-weight: 700; }
.course-tile-topics svg { flex-shrink: 0; padding: 2px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.course-tile-more { margin-top: .5rem; color: #FFFFFF; font-size: .95rem; line-height: 1.6; }
.rm-on-tile .rm-btn { color: #FFFFFF; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: 3px; }
.course-tile-foot { margin-top: auto; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .22); }
.course-tile-line { font-size: .925rem; font-weight: 700; line-height: 1.4; }
.course-tile-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .85rem; }
.course-tile-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: 0 1.25rem; border-radius: 9999px; background: #FFFFFF; font-size: .875rem; font-weight: 800; text-align: center; transition: transform .3s cubic-bezier(.16, 1, .3, 1), background-color .3s ease, color .3s ease; }
.course-tile--dm .course-tile-btn { color: #0D5A82; }
.course-tile--gd .course-tile-btn { color: #134575; }
.course-tile .course-tile-btn--ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, .75); color: #FFFFFF; }
.course-tile .course-tile-btn--ghost:hover { background: #FFFFFF; }
.course-tile--dm .course-tile-btn--ghost:hover { color: #0D5A82; }
.course-tile--gd .course-tile-btn--ghost:hover { color: #134575; }
.course-tile-btn:not(.course-tile-btn--ghost):hover { transform: translateY(-2px); }
.course-tile a:focus-visible, .course-tile button:focus-visible { outline-color: #FFFFFF; }
@media (max-width: 419px) {
  .course-tile-btn { width: 100%; }
}
@media (min-width: 640px) {
  .course-tile-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .course-tile { padding: 2.25rem; border-radius: 30px; }
  .course-tile-hook { font-size: 1.05rem; }
}

/* Opening Read more in one tile leaves the other tile's height alone */
.course-grid:has(.rm--open) { align-items: start; }
.course-tile--dm { background: linear-gradient(150deg, #0077AA, #00618C); box-shadow: 0 26px 46px -30px rgba(0, 97, 140, .9); }
.course-tile--dm .course-tile-btn { color: #0D5A82; }

/* Banner photo: group shots use a larger disc */
.pb-person--group .pb-disc { left: -16.5%; top: 14%; width: 133%; height: 86%; }
.pb-person--group .pb-arc { left: -23%; top: 8.5%; width: 146%; height: 97%; }
.pb-person--group .pb-spark { left: -6%; top: 3%; }
/* On group photos the tag sits low, so it never covers a face */
.pb-person--group .pb-badge { left: 94%; top: 66%; }
@media (min-width: 1024px) {
  .pb-person--group .pb-badge { left: 84%; top: 68%; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .pb-person--group .pb-badge { left: 77%; }
}
/* Small phones: the larger photo leaves less room, so the tag stays inside the card */
@media (max-width: 379px) {
  .pb-badge { padding: .3rem .45rem; font-size: .75rem; }
  .pb-person--group .pb-badge { left: 86%; }
}

/* ==========================================================================
   AOS: small, calm fades
   ========================================================================== */
[data-aos="fade-up"] { transform: translate3d(0, 22px, 0); }
[data-aos^="fade"] { transition-property: opacity, transform, box-shadow, border-color, background-color !important; }
/* Keep card hover lifts working after the fade has finished */
@media (hover: hover) {
  .course-tile[data-aos].aos-animate:hover { transform: translateY(-6px); }
  .why-card[data-aos].aos-animate:hover { transform: translateY(-4px); }
}

/* ==========================================================================
   SWIPER: minimal card sliders
   ========================================================================== */
.iberrix-slider.swiper { padding: .75rem .25rem 0; margin: -.75rem -.25rem 0; }
.swiper-wrapper.swiper-wrapper { display: flex !important; gap: 0 !important; }
.swiper-slide.swiper-slide { height: auto; }
.slider-controls { display: none; }
.swiper .slider-controls { display: flex; align-items: center; justify-content: center; gap: .85rem; margin-top: 1.1rem; padding-bottom: .5rem; }
.slider-arrow { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid #E2E8F0; border-radius: 50%; background: #FFFFFF; color: #0F172A; box-shadow: 0 8px 18px -12px rgba(15, 23, 42, .5); transition: background-color .3s ease, color .3s ease, border-color .3s ease, opacity .3s ease; }
.slider-arrow--prev svg { transform: rotate(180deg); }
.slider-arrow:hover { background: #0077AA; border-color: #0077AA; color: #FFFFFF; }
.slider-arrow.swiper-button-disabled { opacity: .35; pointer-events: none; }
.slider-arrow.swiper-button-lock { display: none; }
.slider-dots { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .1rem; }
.slider-dots .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 3px !important; background: #CBD5E1; opacity: 1; transition: width .3s ease, background-color .3s ease; }
.slider-dots .swiper-pagination-bullet-active { width: 22px; border-radius: 9999px; background: #0077AA; }

/* ==========================================================================
   WAVES: one quiet background behind every page
   ========================================================================== */
html { background-color: #FBFBFE; }
body { background: transparent !important; }
/* Site background: a faint grid (the hero's grid, carried down the page) and soft logo-blue light. No movement. */
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(19, 69, 117, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 69, 117, .045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 55%, #000 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 55%, #000 100%); }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(38% 42% at 100% 0%, rgba(0, 133, 190, .11), transparent 70%), radial-gradient(34% 40% at 0% 100%, rgba(19, 69, 117, .08), transparent 70%), radial-gradient(26% 30% at 0% 38%, rgba(0, 133, 190, .05), transparent 70%); }
@media (max-width: 767px) { body::before { opacity: .65; } }
.page-banner, .home-trust, .home-section, .flow-to-warm, .flow-from-warm, .flow-to-cool, .flow-from-cool, section.bg-white, section[class*="bg-[#FBFBFE]"], section.bg-graph-paper { background: transparent !important; background-image: none !important; }
section.border-t, section.border-y, section.border-b { border-color: transparent !important; }

/* ==========================================================================
   FIXES AND ADDITIONS
   ========================================================================== */
/* Ghost button text stays white on both course tiles */
.course-tile .course-tile-btn.course-tile-btn--ghost { color: #FFFFFF; }
.course-tile--dm .course-tile-btn.course-tile-btn--ghost:hover { color: #0D5A82; }
.course-tile--gd .course-tile-btn.course-tile-btn--ghost:hover { color: #134575; }

/* Phone and tablet banner: a round blob instead of a stretched oval */
@media (max-width: 1023px) {
  .pb-blob { width: auto; height: 94%; aspect-ratio: 1.1 / 1; max-width: 96%; }
}

/* Phones: three lines, then Read more */
.clamp-btn { display: none; }
@media (max-width: 767px) {
  .clamp-p:not(.is-open) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .clamp-rest:not(.is-open) { display: none; }
  .clamp-btn { display: inline-flex; }
  .clamp-btn.is-open::after { margin-top: .2rem; transform: rotate(-135deg); }
  .final-copy .clamp-btn { color: #FFFFFF; }
}

/* Iberr Technologies' published work */
.proof-block { margin-top: 2.5rem; }
.proof-head { margin-bottom: 1.5rem; }
.proof-title { margin-top: .5rem; color: #0F172A; font-family: 'Outfit', sans-serif; font-size: clamp(1.5rem, 3.2vw, 2.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.proof-card { display: flex; flex-direction: column; padding: 1.35rem; border: 1px solid #EEF2F6; border-radius: 22px; background: #FFFFFF; box-shadow: 0 14px 30px -28px rgba(15, 23, 42, .5); }
.proof-number { color: #0077AA; font-family: 'Outfit', sans-serif; font-size: 1.85rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.proof-card:nth-child(even) .proof-number { color: #1A4F7D; }
.proof-card h4 { margin-top: .5rem; color: #0F172A; font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; }
.proof-card > p:last-child { margin-top: .3rem; color: #475569; font-size: .9rem; line-height: 1.55; }
.proof-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.25rem; }
.proof-note { margin-top: .85rem; color: #64748B; font-size: .78rem; line-height: 1.45; text-align: center; }
@media (min-width: 1024px) {
  .proof-block { margin-top: 3.5rem; }
  .proof-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
}

/* ==========================================================================
   TOUCH-UPS
   ========================================================================== */
/* Small card and list text is easier to read at every size */
section p.text-xs { font-size: .875rem; line-height: 1.55; }

/* Footer: readable small text, and the floating buttons no longer sit on top of its last line */
footer .text-slate-500 { color: #94A3B8; }
@media (min-width: 768px) {
  footer { padding-bottom: 5.5rem !important; }
}

@media (max-width: 767px) {
  /* Footer link with the wrapped label keeps its arrow out of the way */
  footer ul button svg { display: none; }
}

/* Trust bar on phones: just the short headline, so it does not feel cramped */
@media (max-width: 479px) {
  .trust-bar small { display: none; }
  .trust-bar { gap: .7rem .5rem; padding: .85rem; }
  .trust-icon { width: 2.1rem; height: 2.1rem; }
}

/* ==========================================================================
   HOME PHOTO PANELS: photo first on phones, text beside it on desktop
   ========================================================================== */

/* Technology company */

/* Closer than you think */

/* ==========================================================================
   SEARCH ANIMATION: a typed course search that finds Iberrix Academy
   ========================================================================== */
.search-demo { --sd-gap: .6rem; --sd-card: 5.25rem; position: relative; overflow: hidden; margin-bottom: 2rem; padding: 2.5rem .85rem 1.25rem; border: 1px solid #E6ECF7; border-radius: 24px; background: linear-gradient(135deg, #FFFFFF, #F1F6FA); box-shadow: 0 24px 50px -40px rgba(19, 69, 117, .6); }
.sd-stage { position: relative; z-index: 1; max-width: 38rem; margin: 0 auto; }
.sd-bar { display: flex; min-height: 3.9rem; overflow: hidden; border: 2px solid #134575; border-radius: 22px; background: #FFFFFF; box-shadow: 0 14px 26px -18px rgba(15, 23, 42, .6); transform: translateY(calc((var(--sd-card) + var(--sd-gap)) / 2)); transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.is-result .sd-bar { transform: none; }
.sd-text { flex: 1; min-width: 0; align-self: center; padding: .45rem .7rem .45rem 1rem; color: #0F172A; font-size: .9375rem; font-weight: 600; line-height: 1.3; text-align: left; }
.sd-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; background: #134575; vertical-align: text-bottom; animation: sdBlink 1s steps(2, jump-none) infinite; }
.is-result .sd-caret { opacity: 0; animation: none; }
@keyframes sdBlink { 0% { opacity: 1; } 100% { opacity: 0; } }
.sd-btn { display: flex; flex: 0 0 3.25rem; align-items: center; justify-content: center; background: linear-gradient(135deg, #0085BE, #0077AA); color: #FFFFFF; transition: filter .15s ease; }
.sd-btn svg { transition: transform .15s ease; }
.sd-btn.is-press { filter: brightness(.85); }
.sd-btn.is-press svg { transform: scale(.82); }
.sd-card { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: var(--sd-card); margin: var(--sd-gap) .35rem 0; padding: .7rem 1rem; border-radius: 18px; background: linear-gradient(135deg, #1F5A88, #134575); color: #FFFFFF; text-align: left; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s ease, transform .45s cubic-bezier(.16, 1, .3, 1), visibility .35s; }
.is-result .sd-card { opacity: 1; visibility: visible; transform: none; }
.sd-card:focus-visible { outline-color: #0077AA; }
.sd-card-text { min-width: 0; }
.sd-card strong { display: block; font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.sd-course { display: block; margin-top: .2rem; color: #DAE6F1; font-size: .875rem; font-weight: 600; }
.sd-tick { display: flex; flex: 0 0 2.5rem; align-items: center; justify-content: center; height: 2.5rem; border-radius: 50%; background: linear-gradient(135deg, #0085BE, #0077AA); color: #FFFFFF; transform: scale(0); transition: transform .4s .25s cubic-bezier(.34, 1.56, .64, 1); }
.is-result .sd-tick { transform: scale(1); }

.sd-doodle { position: absolute; z-index: 0; pointer-events: none; animation: sdFloat 7s ease-in-out infinite; }
.sd-doodle--bars { left: 1rem; top: .5rem; width: 1.6rem; }
.sd-doodle--swatch { right: 1rem; top: .5rem; width: 1.6rem; animation-delay: -3s; }
.sd-doodle--chart, .sd-doodle--image { display: none; }
@keyframes sdFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.search-demo { --sd-card: 5.75rem; }
@media (max-width: 379px) {
  .search-demo { --sd-card: 6.25rem; padding-left: .6rem; padding-right: .6rem; }
  .sd-text { padding: .45rem .4rem .45rem .8rem; font-size: .9rem; }
  .sd-btn { flex-basis: 2.75rem; }
  .sd-card { gap: .5rem; padding: .6rem .8rem; }
  .sd-card strong { font-size: 1.05rem; }
  .sd-tick { flex-basis: 2.25rem; height: 2.25rem; }
}
@media (min-width: 640px) {
  .search-demo { padding: 1.75rem 1.5rem; }
  .sd-bar { min-height: 3.5rem; border-radius: 9999px; }
  .sd-text { padding-left: 1.35rem; font-size: 1.0625rem; }
  .sd-btn { flex-basis: 4rem; }
  .sd-card { margin-left: .75rem; margin-right: .75rem; padding: .7rem 1.25rem; }
  .sd-card strong { font-size: 1.35rem; }
  .search-demo { --sd-card: 5rem; }
}
@media (min-width: 1024px) {
  .search-demo { margin-bottom: 3rem; padding: 2.25rem 2rem; border-radius: 30px; }
  .sd-doodle--bars { left: 6%; top: 18%; width: 4rem; }
  .sd-doodle--swatch { right: 7%; top: 16%; width: 4rem; }
  .sd-doodle--chart { display: block; left: 5%; bottom: 14%; width: 5.5rem; animation-delay: -5s; }
  .sd-doodle--image { display: block; right: 6%; bottom: 14%; width: 5.5rem; animation-delay: -1.5s; }
}
@media (prefers-reduced-motion: reduce) {
  .sd-doodle, .sd-caret { animation: none; }
  .sd-bar, .sd-card, .sd-tick { transition: none; }
}

/* ==========================================================================
   SECTION SPACING: one rhythm on every page
   Coloured end-of-page bands (text-white) keep their own padding.
   ========================================================================== */
.home-section { padding: 1.75rem 0; }
.home-section--tight { padding-top: 1.25rem; }
.home-section--last { padding-top: 1rem; }
section[class*="py-"]:not(.text-white):not(.home-section) { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
section.text-white[class*="py-"] { padding-top: 3rem !important; padding-bottom: 3rem !important; }
section .mb-16, section .mb-14 { margin-bottom: 1.5rem; }
.search-demo { margin-bottom: 1.75rem; }

@media (min-width: 640px) {
  .home-section { padding: 2.25rem 0; }
  .home-section--tight { padding-top: 1.75rem; }
  .home-section--last { padding-top: 1.5rem; }
}
@media (min-width: 768px) {
  section[class*="py-"]:not(.text-white):not(.home-section) { padding-top: 2.75rem !important; padding-bottom: 2.75rem !important; }
  section .mb-16, section .mb-14 { margin-bottom: 2.25rem; }
}
@media (min-width: 1024px) {
  .home-section { padding: 3rem 0; }
  .home-section--tight { padding-top: 2rem; }
  .home-section--last { padding-top: 2rem; }
  section[class*="py-"]:not(.text-white):not(.home-section) { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  section.text-white[class*="py-"] { padding-top: 4rem !important; padding-bottom: 4rem !important; }
  .search-demo { margin-bottom: 2.5rem; }
}

/* Phone footer: lists sit side by side inside each block, so no empty columns are left */
@media (max-width: 639px) {
  footer { padding-top: 2.5rem !important; padding-bottom: 1.5rem !important; }
  footer .grid.grid-cols-2 { row-gap: 1.5rem; padding-bottom: 1.5rem; }
  footer .grid.grid-cols-2 > div:nth-child(2), footer .grid.grid-cols-2 > div:nth-child(3) { grid-column: span 2; }
  footer .grid.grid-cols-2 h4 { margin-bottom: .35rem; }
  footer .grid.grid-cols-2 ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .75rem; }
  footer .grid.grid-cols-2 > div:nth-child(2) li:last-child { grid-column: span 2; }
  footer .grid.grid-cols-2 > div:last-child .space-y-2\.5 > * + * { margin-top: 0; padding-top: 0; }
}

/* ==========================================================================
   PREMIUM HERO, LOGO BLUES
   ========================================================================== */
/* Buttons: logo light blue into logo dark blue */
.btn-orange, .mobile-action--primary { background: linear-gradient(135deg, #0085BE 0%, #134575 100%); box-shadow: 0 10px 22px -8px rgba(19, 69, 117, .55); }
.btn-orange:hover { background: linear-gradient(135deg, #0077AA 0%, #0B2E4F 100%); box-shadow: 0 14px 26px -8px rgba(19, 69, 117, .6); }

/* Full-width hero on a soft blue field with a faint grid */
section.page-banner.page-banner { position: relative; overflow: hidden; padding: .5rem 0 1.25rem; background: radial-gradient(60% 55% at 82% 18%, rgba(0, 133, 190, .16), transparent 70%), radial-gradient(45% 45% at 8% 92%, rgba(19, 69, 117, .08), transparent 70%), linear-gradient(180deg, #F2F8FC 0%, #FFFFFF 100%) !important; }
.page-banner::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(19, 69, 117, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 69, 117, .07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(75% 70% at 70% 35%, #000, transparent 78%); mask-image: radial-gradient(75% 70% at 70% 35%, #000, transparent 78%); }
.pb-card { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }

/* Headline: title case, second line in light blue with a hand-drawn underline */
.pb-text h1 { text-transform: none; letter-spacing: -.025em; font-size: clamp(1.6rem, 7.6vw, 2.6rem); line-height: 1.1; }
.pb-line1 { color: #0B2E4F; }
.pb-line2 { position: relative; display: inline-block; color: #0085BE; padding-bottom: .12em; }
.pb-line2::after { content: ''; position: absolute; left: 2%; right: 2%; bottom: -.12em; height: .32em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 18' preserveAspectRatio='none'%3E%3Cpath d='M3 13C60 5 140 2 297 8' fill='none' stroke='%2300A3E0' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; opacity: .75; }
.pb-ribbon { display: table; margin: .7rem auto 0; padding: .4rem 1rem; border-radius: 9999px; background: #134575; box-shadow: 0 10px 20px -12px rgba(19, 69, 117, .8); }

/* Glass chips around the photo */
.pb-tile { position: absolute; z-index: 5; display: none; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border: 1px solid rgba(255, 255, 255, .9); border-radius: 12px; background: rgba(255, 255, 255, .85); box-shadow: 0 14px 26px -18px rgba(11, 46, 79, .6); color: #0085BE; animation: pbFloat 7s ease-in-out infinite; }
.pb-tile--b { color: #134575; animation-delay: -2s; }
@keyframes pbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Phones: the same two facts sit under the buttons */

@media (min-width: 640px) {
  section.page-banner.page-banner { padding: 1rem 0 1.75rem; }
  .pb-text h1 { font-size: clamp(2.2rem, 5.6vw, 3.2rem); }
  .pb-tile { display: flex; }
  .pb-tile--a { left: 12%; bottom: 18%; }
  .pb-tile--b { right: 10%; top: 12%; }
}
@media (min-width: 1024px) {
  section.page-banner.page-banner { padding: 1.25rem 1.5rem 2rem; }
  .pb-text h1 { font-size: min(3.9vw, 7.4vh, 3.6rem); }
  .pb-ribbon { display: table; margin: .9rem 0 0; }
  .pb-tile--a { left: 4%; bottom: 22%; }
  .pb-tile--b { right: 3%; top: 8%; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-tile { animation: none; }
}

/* ==========================================================================
   GOOGLE REVIEWS OF IBERR TECHNOLOGIES
   ========================================================================== */
.reviews-block { margin-top: 2.5rem; }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.reviews-summary { display: flex; flex-direction: column; align-items: center; padding: 1.5rem 1.25rem; border-radius: 24px; background: radial-gradient(80% 70% at 85% 10%, rgba(0, 133, 190, .45), transparent 70%), linear-gradient(150deg, #134575, #0B2E4F); color: #FFFFFF; text-align: center; }
.reviews-kicker { color: #B0DEF2; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.reviews-score { margin-top: .35rem; font-family: 'Outfit', sans-serif; font-size: 3.6rem; font-weight: 800; line-height: 1; }
.reviews-score span { margin-left: .2rem; color: #B0DEF2; font-size: 1.3rem; font-weight: 700; }
.reviews-stars { margin-top: .35rem; color: #F5B301; font-size: 1.35rem; letter-spacing: .1em; }
.reviews-place { margin-top: .5rem; color: #DAE6F1; font-size: .9rem; font-weight: 600; }
.reviews-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-top: 1rem; padding: 0 1.15rem; border-radius: 9999px; background: #FFFFFF; color: #134575; font-size: .875rem; font-weight: 800; }
.reviews-link:hover { background: #EEF8FC; }
.review-card { display: flex; flex-direction: column; height: 100%; margin: 0; padding: 1.35rem; border: 1px solid #E6EEF6; border-radius: 24px; background: #FFFFFF; box-shadow: 0 20px 40px -32px rgba(11, 46, 79, .55); }
.review-top { display: flex; align-items: center; gap: .75rem; }
.review-avatar { display: flex; flex: 0 0 2.75rem; align-items: center; justify-content: center; height: 2.75rem; border-radius: 50%; background: linear-gradient(135deg, #0085BE, #134575); color: #FFFFFF; font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 800; }
.review-top figcaption { flex: 1; min-width: 0; }
.review-top strong { display: block; color: #0B2E4F; font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 800; }
.review-top small { display: block; color: #64748B; font-size: .8rem; }
.review-stars { color: #F5B301; font-size: 1.05rem; letter-spacing: .06em; white-space: nowrap; }
.review-card blockquote { position: relative; margin: 1rem 0 0; padding-top: 1.6rem; color: #334155; font-size: 1rem; line-height: 1.65; }
.review-card blockquote::before { content: '\201C'; position: absolute; top: -.45rem; left: -.1rem; color: #B0DEF2; font-family: Georgia, serif; font-size: 3.2rem; line-height: 1; }
@media (min-width: 768px) {
  .reviews-grid--single { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.25rem; align-items: stretch; }
  .reviews-summary { justify-content: center; padding: 2rem; }
  .review-card { padding: 2rem 2.25rem; }
  .review-card blockquote { font-size: 1.1rem; }
}
@media (min-width: 1024px) {
  .reviews-block { margin-top: 3.5rem; }
}

/* Header on small laptops: one line per item, call pill returns at 1280px */
header nav a, header nav button, header .btn-orange { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) {
  header a[href^="tel"].rounded-full { display: none !important; }
}
/* The rating chip takes the spark's corner on tablet and desktop */
@media (min-width: 640px) {
  .pb-spark { display: none; }
}

/* ==========================================================================
   HERO: bulb and paper plane doodles, and photos that take turns
   ========================================================================== */
.pb-doodle--plane, .pb-doodle--bulb { z-index: 1; fill: none; }
.pb-trail { fill: none; stroke: #134575; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 4 5; opacity: .6; }
.pb-doodle--plane { right: 3%; top: 4px; width: 72px; animation: pbPlane 7s ease-in-out infinite; }
.pb-doodle--bulb { left: 1%; top: 60%; width: 54px; animation: pbFloat 8s ease-in-out infinite; }
@keyframes pbPlane { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4px, -5px); } }

/* Two students take turns in the disc, each with its course label */
.pb-person--slides img { animation: pbSlideIn .9s .1s cubic-bezier(.16, 1, .3, 1) both, pbSwapA 12s linear infinite; }
.pb-person--slides img + img { animation: pbSlideIn .9s .1s cubic-bezier(.16, 1, .3, 1) both, pbSwapB 12s linear infinite; }
@keyframes pbSlideIn { from { translate: 0 20px; } to { translate: 0 0; } }
@keyframes pbSwapA { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes pbSwapB { 0%, 44% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }
.pb-course { position: absolute; z-index: 5; display: none; }
.pb-course span { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .85rem; border: 1px solid rgba(255, 255, 255, .9); border-radius: 9999px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 16px 30px -20px rgba(11, 46, 79, .6); color: #0B2E4F; font-family: 'Outfit', sans-serif; font-size: .95rem; font-weight: 800; white-space: nowrap; animation: pbSwapA 12s linear infinite; }
.pb-course span + span { position: absolute; left: 0; top: 0; animation-name: pbSwapB; }
.pb-course svg { color: #0085BE; }
.pb-visual--slides .pb-tile--a { display: none; }

@media (min-width: 640px) {
  .pb-doodle--plane { right: 6%; top: 10px; width: 96px; }
  .pb-doodle--bulb { left: 6%; top: 50%; width: 80px; }
  .pb-course { display: block; left: 8%; bottom: 14%; }
}
@media (min-width: 1024px) {
  .pb-doodle--plane { right: 43%; top: 18px; width: 120px; }
  .pb-doodle--bulb { left: -10%; top: 44%; width: 92px; }
  .pb-course { left: 0; bottom: 16%; }
}
@media (prefers-reduced-motion: reduce) {
  .pb-doodle--plane, .pb-doodle--bulb, .pb-course span { animation: none; }
  .pb-person--slides img + img, .pb-course span + span { display: none; }
  .pb-person--slides img { animation: none; opacity: 1; }
}

/* Scroll fades from the sides: left column from the left, right column from the right */
html, body { overflow-x: clip; }
[data-aos="fade-right"] { transform: translate3d(-44px, 0, 0); }
[data-aos="fade-left"] { transform: translate3d(44px, 0, 0); }
@media (max-width: 767px) {
  [data-aos="fade-right"] { transform: translate3d(-28px, 0, 0); }
  [data-aos="fade-left"] { transform: translate3d(28px, 0, 0); }
}

/* Closing photo panel sits on deep blue: white headline, white button */

/* Hero: the soft shape behind the photo stays light grey */
.pb-blob { background: #F1F5F9; }
@media (max-width: 639px) { .pb-doodle--bulb { left: 4%; top: 58%; width: 48px; } }

/* ==========================================================================
   HERO DEPTH: a lit disc with a ground shadow, raised chips, gentle parallax
   ========================================================================== */
.pb-disc { background: radial-gradient(120% 95% at 28% 18%, #2D79B6 0%, #134575 48%, #0B2E4F 100%); box-shadow: inset 0 -22px 46px rgba(3, 18, 33, .35), inset 0 16px 34px rgba(255, 255, 255, .10), 0 42px 60px -34px rgba(11, 46, 79, .7); }
.pb-disc::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 7px 9px 0 -3px rgba(255, 255, 255, .14); pointer-events: none; }
.pb-person::after { content: ''; position: absolute; z-index: 0; left: 8%; right: 4%; bottom: -4.5%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 46, 79, .32), rgba(11, 46, 79, 0)); filter: blur(3px); pointer-events: none; }
.pb-person--group::after { left: -10%; right: -10%; }
.pb-badge { background: linear-gradient(180deg, #0E95D0 0%, #0077AA 100%); box-shadow: 0 4px 0 #00618C, 0 18px 26px -14px rgba(3, 18, 33, .55); }
.pb-person, .pb-doodle--plane, .pb-doodle--bulb { transition: translate .5s cubic-bezier(.16, 1, .3, 1); }
.page-banner.is-tilting .pb-person { translate: calc(var(--px, 0) * 10px) calc(var(--py, 0) * 8px); }
.page-banner.is-tilting .pb-doodle--plane, .page-banner.is-tilting .pb-doodle--bulb { translate: calc(var(--px, 0) * -22px) calc(var(--py, 0) * -16px); }

/* ==========================================================================
   FREE-STANDING HERO: the student stands on a soft glow, no disc, the lower body fades out
   ========================================================================== */
.pb-visual .pb-blob { left: 50%; top: 2%; bottom: auto; width: auto; height: 92%; max-width: none; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 133, 190, .22), rgba(0, 133, 190, .08) 55%, rgba(0, 133, 190, 0)); transform: translateX(-50%); animation: none; }
.pb-person .pb-disc, .pb-person.pb-person--group .pb-disc { left: 4%; top: 14%; width: 94%; height: 86%; border-radius: 44px 44px 0 0; background: linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .5) 55%, rgba(255, 255, 255, 0) 100%); box-shadow: 0 -20px 50px -40px rgba(11, 46, 79, .35); }
.pb-person.pb-person--group .pb-disc { left: -14%; width: 128%; top: 8%; height: 92%; }
.pb-person .pb-disc::after, .pb-person::after { display: none; }
.pb-person .pb-arc, .pb-person.pb-person--group .pb-arc { left: -22%; top: 2%; width: 144%; height: auto; aspect-ratio: 1; animation: pbSpin 120s linear infinite; }
.pb-person .pb-arc circle { stroke: rgba(19, 69, 117, .16); stroke-width: .8; stroke-dasharray: 1.2 2.2; }
.pb-person::before { content: ''; position: absolute; z-index: 0; left: -42%; top: -6%; width: 184%; aspect-ratio: 1; border: 1px dashed rgba(19, 69, 117, .09); border-radius: 50%; pointer-events: none; }
.pb-person img { -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 99%); mask-image: linear-gradient(180deg, #000 68%, transparent 99%); }
.pb-person--group img { -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 99%), linear-gradient(90deg, transparent 4%, #000 14%); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, #000 68%, transparent 99%), linear-gradient(90deg, transparent 4%, #000 14%); mask-composite: intersect; }

/* Admissions Open: a small dark pill by the head */

/* The side items go; their facts sit under the buttons on every screen size */
.pb-tile { display: none !important; }
/* Quieter backdrop: lighter glass panel, only the bulb and the plane as doodles */
.pb-person .pb-disc, .pb-person.pb-person--group .pb-disc { background: linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, .3) 55%, rgba(255, 255, 255, 0) 100%); box-shadow: none; }
.pb-doodle--wave, .pb-doodle--dots, .pb-doodle--cross, .pb-spark { display: none !important; }

/* Hero backdrop matched to the reference: flat #F8FAFC field, a soft periwinkle glow behind the student, no panel, no grid */
section.page-banner.page-banner { background: #F8FAFC !important; }
.page-banner::before { display: none; }
.pb-person .pb-disc, .pb-person.pb-person--group .pb-disc { display: none; }
.pb-visual .pb-blob { top: -2%; height: 104%; background: radial-gradient(closest-side, #D6E2F4 0%, rgba(214, 226, 244, .8) 38%, rgba(214, 226, 244, .35) 66%, rgba(214, 226, 244, 0) 100%); }
.pb-person .pb-arc circle { stroke: rgba(19, 69, 117, .10); }
.pb-person::before { border-color: rgba(19, 69, 117, .06); }

/* No circles. Behind the student: a borderless, softly tinted square (as in the reference) */
.pb-person .pb-arc, .pb-person.pb-person--group .pb-arc { display: none; }
.pb-person::before { display: none; }
.pb-person .pb-disc, .pb-person.pb-person--group .pb-disc { display: block; left: -4%; top: 6%; width: 112%; height: 94%; border-radius: 28px; background: radial-gradient(85% 70% at 45% 28%, #D4E0F2 0%, #E2E9F5 55%, #EDF1F8 100%); box-shadow: none; filter: blur(14px); -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
.pb-person.pb-person--group .pb-disc { left: -18%; width: 136%; top: 4%; height: 96%; }
.pb-visual .pb-blob { background: radial-gradient(closest-side, rgba(214, 226, 244, .7) 0%, rgba(214, 226, 244, .3) 60%, rgba(214, 226, 244, 0) 100%); }

.pb-art { position: absolute; inset: 0; }
.art-square { position: absolute; z-index: 0; left: 6%; right: 6%; top: 4%; bottom: 2%; border-radius: 28px; background: radial-gradient(85% 70% at 45% 30%, #D4E0F2 0%, #E2E9F5 55%, #EDF1F8 100%); filter: blur(14px); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.art-card { position: absolute; z-index: 2; border: 1px solid #E6EEF6; border-radius: 20px; background: #FFFFFF; box-shadow: inset 0 1px 0 #FFFFFF, 0 26px 44px -26px rgba(11, 46, 79, .5), 0 8px 14px -10px rgba(11, 46, 79, .2); color: #0B2E4F; text-align: left; transition: translate .5s cubic-bezier(.16, 1, .3, 1); }
.art-chip { z-index: 4; display: flex; align-items: center; gap: .5rem; padding: .45rem .8rem .45rem .45rem; border-radius: 16px; font-family: 'Outfit', sans-serif; font-size: .78rem; font-weight: 800; white-space: nowrap; animation: pbFloat 6s ease-in-out infinite; }
.art-chip.art-b { animation-delay: -2s; }
.art-chip.art-c { animation-delay: -4s; }
.art-icon { display: flex; flex: 0 0 1.9rem; align-items: center; justify-content: center; height: 1.9rem; border-radius: 10px; background: linear-gradient(135deg, #0085BE, #134575); color: #FFFFFF; }
.art-icon--navy { background: linear-gradient(135deg, #134575, #0B2E4F); }
.art-icon--soft { background: #EEF4F9; color: #134575; }
.art-icon--wa { background: #059669; }

/* About: who runs the academy */
.art-main { z-index: 3; left: 50%; top: 50%; width: min(80%, 330px); padding: 1rem 1.1rem 1.1rem; transform: translate(-50%, -52%); }
.art-logo { width: auto; height: 32px; }
.art-kicker { margin-top: .7rem; color: #64748B; font-size: .72rem; font-weight: 600; }
.art-title { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 800; line-height: 1.1; }
.art-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .8rem; }
.art-stats div { padding: .55rem .65rem; border-radius: 12px; background: #EEF4F9; }
.art-stats strong { display: block; color: #0085BE; font-family: 'Outfit', sans-serif; font-size: 1.35rem; font-weight: 800; line-height: 1; }
.art-stats div + div strong { color: #134575; }
.art-stats span { display: block; margin-top: .2rem; color: #475569; font-size: .66rem; font-weight: 600; line-height: 1.2; }
.pb-art--about .art-a { left: 3%; top: 5%; }
.pb-art--about .art-b { right: 0; top: 64%; }
.pb-art--about .art-c { left: 7%; bottom: 3%; }

/* Blog: real article cards from the blog page */
.art-feature { z-index: 3; left: 50%; top: 50%; width: min(76%, 320px); padding: .75rem; transform: translate(-50%, -50%); }
.art-cover { display: flex; align-items: center; justify-content: space-between; height: 84px; padding: 0 1rem; border-radius: 14px; background: radial-gradient(80% 90% at 85% 10%, rgba(255, 255, 255, .25), transparent 60%), linear-gradient(135deg, #0085BE, #134575); color: #FFFFFF; }
.art-cover-bars { display: flex; align-items: flex-end; gap: 5px; height: 42px; }
.art-cover-bars i { width: 9px; border-radius: 3px; background: rgba(255, 255, 255, .85); }
.art-cover-bars i:nth-child(1) { height: 30%; } .art-cover-bars i:nth-child(2) { height: 55%; } .art-cover-bars i:nth-child(3) { height: 75%; } .art-cover-bars i:nth-child(4) { height: 100%; }
.art-tag { display: inline-block; margin-top: .65rem; padding: .2rem .55rem; border-radius: 9999px; background: #EEF4F9; color: #134575; font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.art-feature-title { display: -webkit-box; overflow: hidden; margin-top: .4rem; font-family: 'Outfit', sans-serif; font-size: .95rem; font-weight: 800; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.art-meta { margin-top: .35rem; color: #64748B; font-size: .68rem; font-weight: 600; }
.art-post { display: flex; align-items: center; gap: .6rem; width: min(68%, 290px); padding: .6rem .7rem; }
.art-post .art-tag { margin-top: 0; }
.art-post-title { display: -webkit-box; overflow: hidden; margin-top: .25rem; font-size: .72rem; font-weight: 800; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.art-post .art-meta { margin-top: .2rem; }
.art-thumb { display: flex; flex: 0 0 2.6rem; align-items: center; justify-content: center; height: 2.6rem; border-radius: 12px; color: #FFFFFF; }
.art-thumb--b { background: linear-gradient(135deg, #134575, #0B2E4F); }
.art-thumb--c { background: linear-gradient(135deg, #0E95D0, #00618C); }
.art-post--back1 { left: 0; top: 3%; rotate: -4deg; }
.art-post--back2 { right: 0; bottom: 3%; rotate: 3deg; }

/* Contact: where to find us */
.art-map { z-index: 3; left: 50%; top: 48%; width: min(80%, 340px); aspect-ratio: 16 / 11; overflow: hidden; transform: translate(-50%, -50%); }
.art-map-svg { display: block; width: 100%; height: 100%; }
.art-pin { position: absolute; left: 47%; top: 30%; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%; background: #FFFFFF; color: #0085BE; box-shadow: 0 14px 24px -12px rgba(11, 46, 79, .6); transform: translate(-50%, -50%); }
.art-pin::after { content: ''; position: absolute; inset: -8px; border: 2px solid rgba(0, 133, 190, .35); border-radius: 50%; animation: artPulse 2.4s ease-out infinite; }
@keyframes artPulse { from { opacity: 1; transform: scale(.7); } to { opacity: 0; transform: scale(1.35); } }
.art-place { position: absolute; left: 50%; bottom: .7rem; padding: .45rem .8rem; border-radius: 12px; background: #FFFFFF; box-shadow: 0 12px 22px -14px rgba(11, 46, 79, .55); text-align: center; white-space: nowrap; transform: translateX(-50%); }
.art-place strong { display: block; font-family: 'Outfit', sans-serif; font-size: .82rem; font-weight: 800; }
.art-place span { display: block; color: #64748B; font-size: .66rem; font-weight: 600; }
.pb-art--contact .art-a { left: 0; top: 4%; }
.pb-art--contact .art-b { right: 0; top: 46%; }
.pb-art--contact .art-c { left: 6%; bottom: 3%; }

@media (min-width: 1024px) {
  .art-chip { font-size: .85rem; }
  .art-main { width: min(74%, 360px); }
  .art-feature { width: min(72%, 340px); }
  .art-map { width: min(80%, 380px); }
}
.page-banner.is-tilting .art-card { translate: calc(var(--px, 0) * -12px) calc(var(--py, 0) * -9px); }
@media (prefers-reduced-motion: reduce) { .art-chip, .art-pin::after { animation: none; } }
/* Phones: chips sit outside the main card */
@media (max-width: 639px) {
  .art-chip { font-size: .72rem; padding: .35rem .65rem .35rem .35rem; }
  .art-icon { flex-basis: 1.6rem; height: 1.6rem; border-radius: 8px; }
  .art-main { top: 56%; padding: .8rem .9rem .9rem; }
  .art-logo { height: 26px; }
  .art-title { font-size: 1.1rem; }
  .art-stats strong { font-size: 1.15rem; }
  .pb-art--about .art-a { left: auto; right: 0; top: 1%; }
  .pb-art--about .art-b { top: auto; bottom: 1%; right: 0; }
  .pb-art--about .art-c { display: none; }
  .art-post--back2 { display: none; }
  .art-post--back1 { left: 2%; top: 1%; }
  .art-feature { top: 56%; }
  .art-cover { height: 66px; }
  .pb-art--contact .art-a { top: 1%; }
  .pb-art--contact .art-c { bottom: 1%; }
}
@media (max-width: 399px) {
  .pb-art--contact .art-b { display: none; }
}

/* The square behind the student: more sky blue, and no visible edge at all */
.pb-person .pb-disc, .pb-person.pb-person--group .pb-disc, .art-square { background: radial-gradient(70% 62% at 50% 34%, #C9E0F7 0%, #D6E8F9 45%, #E6F0FB 75%, rgba(230, 240, 251, 0) 100%); filter: blur(18px); -webkit-mask-image: radial-gradient(75% 70% at 50% 40%, #000 55%, transparent 100%); mask-image: radial-gradient(75% 70% at 50% 40%, #000 55%, transparent 100%); }
.pb-person .pb-disc, .pb-person.pb-person--group .pb-disc, .art-square { background: radial-gradient(70% 62% at 50% 34%, #BCD9F5 0%, #CFE4F8 45%, #E2EEFA 75%, rgba(226, 238, 250, 0) 100%); }

/* ==========================================================================
   PROMO BANNERS (home): white banner, student on a blue circle, shapes, dots, waves, colour bars
   ========================================================================== */
.promo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; margin-top: 1.5rem; border: 1px solid #E6EEF6; border-radius: 28px; background: #FFFFFF; box-shadow: 0 30px 60px -48px rgba(11, 46, 79, .55); }
.promo--start { margin-top: 2rem; }
.promo-hex { position: absolute; z-index: 1; left: -10px; top: -14px; width: 84px; }
.promo-corner { position: absolute; z-index: 1; width: 120px; }
.promo-corner--tr { right: 0; top: 0; }
.promo-corner--bl { left: 0; bottom: 0; width: 96px; }
.promo-visual { position: relative; height: 340px; margin: 1.5rem 1rem 0; }
.promo-waves { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.promo-dots { position: absolute; z-index: 1; background-size: 13px 13px; }
.promo-dots--a { left: 2%; top: 12%; width: 66px; height: 92px; background-image: radial-gradient(#134575 2px, transparent 2.2px); opacity: .55; }
.promo-dots--b { right: 4%; top: 44%; width: 52px; height: 78px; background-image: radial-gradient(#2FA4D6 2px, transparent 2.2px); }
.promo-circle { position: absolute; z-index: 1; left: 50%; top: 10%; width: min(72%, 300px); aspect-ratio: 1; border-radius: 50%; background: linear-gradient(150deg, #2FA4D6, #0085BE); transform: translateX(-56%); }
.promo-person { position: absolute; z-index: 2; left: 50%; bottom: 20px; width: auto; max-width: none; height: calc(100% - 26px); transform: translateX(-50%); }
.promo-round { position: absolute; z-index: 2; left: 50%; top: 8%; width: min(64%, 270px); aspect-ratio: 1; border: 8px solid #FFFFFF; border-radius: 50%; object-fit: cover; box-shadow: 0 24px 40px -24px rgba(11, 46, 79, .6); transform: translateX(-42%); }
.promo--start .promo-circle { width: min(60%, 250px); top: 4%; transform: translateX(-74%); }
.promo-bars { position: absolute; z-index: 3; left: 8%; right: 6%; bottom: 0; display: flex; height: 20px; }
.promo-bars i { display: block; }
.promo-bars i:nth-child(1) { flex: 3; background: #0085BE; }
.promo-bars i:nth-child(2) { flex: 1; background: #2FA4D6; }
.promo-bars i:nth-child(3) { flex: 1.3; background: #134575; }
.promo-copy { position: relative; z-index: 2; padding: 1.5rem 1.25rem 1.75rem; }
.promo .tech-kicker { color: #0077AA; }
.promo .section-title { color: #0B2E4F; }
.promo-accent { color: #0085BE; }
.promo .home-lead { color: #475569; }
.promo .tech-card { margin-top: 1.25rem; padding: 1rem 1.15rem; border: 1px solid #E6EEF6; border-radius: 18px; background: #F4F8FC; box-shadow: none; }
.promo .tech-year { display: inline; color: #0085BE; font-size: 1.9rem; }
.promo .tech-year-note { display: inline; margin-left: .5rem; color: #475569; }
.promo .tech-card ul { margin-top: .6rem; gap: .45rem .5rem; }
.promo .tech-card li { color: #0B2E4F; font-size: .9rem; }
.promo .tech-card li svg { color: #0085BE; }
.promo-line { margin-top: .5rem; color: #0B2E4F; font-family: 'Outfit', sans-serif; font-size: 1.7rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.promo--start .promo-copy { text-align: center; }
.promo--start .start-btn { margin-top: 1.25rem; }
@media (min-width: 768px) {
  .promo-visual { height: 400px; }
}
@media (min-width: 1024px) {
  .promo { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; min-height: 520px; margin-top: 2.25rem; border-radius: 34px; }
  .promo-copy { order: 1; padding: 3rem 1rem 3rem 3.5rem; }
  .promo-visual { order: 2; height: 470px; margin: 2rem 2rem 0 0; align-self: end; }
  .promo-hex { left: 0; top: -10px; width: 110px; }
  .promo-corner { width: 170px; }
  .promo-corner--bl { width: 120px; }
  .promo--start { min-height: 460px; }
  .promo--start .promo-copy { text-align: left; }
  .promo-line { font-size: clamp(2rem, 3vw, 2.75rem); }
  .promo--start .promo-visual { height: 420px; }
}

/* ==========================================================================
   READABILITY: slightly larger type everywhere, darker muted text
   ========================================================================== */
html { font-size: 106.25%; }
.text-xs { font-size: .8125rem; line-height: 1.15rem; }
section .text-slate-400 { color: #64748B; }
section .text-slate-500 { color: #475569; }
@media (min-width: 1024px) {
  .promo-hex { width: 72px; top: -12px; left: -6px; }
  .promo-copy { padding-top: 4rem; }
}
/* Closing banner: the colour bars sit right under the round photo */
.promo--start .promo-visual { height: 268px; }
.promo--start .promo-round { top: 2%; }
@media (min-width: 768px) { .promo--start .promo-visual { height: 330px; } }
@media (min-width: 1024px) {
  .promo--start { min-height: 400px; }
  .promo--start .promo-visual { height: 350px; margin-top: 2.5rem; }
  .promo--start .promo-round { top: 4%; }
}

/* Admissions Open: cloud badge with a graduation cap (drawn in SVG, theme blues) */

/* The courses pill sits under the student, where the photo fades, on every screen size */

/* Admissions Open: a round seal; the words turn slowly around a cap icon */
@keyframes pbSealSpin { to { transform: rotate(360deg); } }

/* Admission Open: yellow and black signboards beside the head, gently swaying */
.pb-badge.pb-badge--board { display: block; width: 7.2rem; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; filter: drop-shadow(0 10px 14px rgba(11, 46, 79, .22)); transform-origin: 50% 100%; animation: pbBoard 5s ease-in-out infinite; }
.pb-badge--board svg { display: block; width: 100%; height: auto; overflow: visible; }
@keyframes pbBoard { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.pb-person .pb-badge.pb-badge--board { left: 74%; top: -2%; }
.pb-person.pb-person--group .pb-badge.pb-badge--board { left: 78%; top: -4%; }
@media (min-width: 640px) { .pb-person .pb-badge.pb-badge--board { left: 82%; width: 9rem; } }
@media (min-width: 1024px) { .pb-person .pb-badge.pb-badge--board { left: 78%; top: 0; width: 10rem; } }
@media (min-width: 1200px) { .pb-person .pb-badge.pb-badge--board { left: 86%; } }
@media (prefers-reduced-motion: reduce) { .pb-badge.pb-badge--board { animation: none; } }
@media (max-width: 379px) { .pb-person .pb-badge.pb-badge--board { left: 64%; width: 6.6rem; } }
@media (min-width: 1024px) and (max-width: 1199px) { .pb-person .pb-badge.pb-badge--board { left: 68%; } }
@media (min-width: 1024px) and (max-width: 1199px) { .pb-person .pb-badge.pb-badge--board { left: 62%; } }

/* Paper plane flies just after the first line of the headline (tablet and desktop) */
.pb-plane-inline { display: none; }
@media (min-width: 640px) {
  .pb-doodle--plane { display: none; }
  .pb-line1 { position: relative; width: fit-content; margin-inline: auto; }
  .pb-plane-inline { position: absolute; left: calc(100% + .4rem); top: -.55em; display: block; width: 1.9em; fill: none; animation: pbPlane 7s ease-in-out infinite; }
}
@media (min-width: 1024px) { .pb-line1 { margin-inline: 0; } }
@media (prefers-reduced-motion: reduce) { .pb-plane-inline { animation: none; } }
@media (max-width: 639px) { .pb-doodle--plane { right: auto; left: 4%; top: 6px; width: 64px; } }

/* Bulb sits beside the student (photo banners); drawn banners keep their own */
.page-banner:not(.page-banner--art) .pb-visual > .pb-doodle--bulb { display: none; }
.pb-bulb-near { position: absolute; z-index: 4; left: -24%; top: 40%; width: 3.4rem; pointer-events: none; animation: pbFloat 8s ease-in-out infinite; }
.pb-person--group .pb-bulb-near { left: -34%; top: 30%; }
@media (min-width: 640px) { .pb-bulb-near { left: -22%; width: 4.4rem; } }
@media (min-width: 1024px) { .pb-bulb-near { left: -20%; top: 42%; width: 5rem; } }
@media (prefers-reduced-motion: reduce) { .pb-bulb-near { animation: none; } }
/* Phones: the plane flies just above the end of the headline's first line */
@media (max-width: 639px) {
  .pb-doodle--plane { display: none; }
  .pb-line1 { position: relative; width: fit-content; margin-inline: auto; }
  .pb-plane-inline { position: absolute; right: -.3em; top: -1.3em; display: block; width: 1.7em; fill: none; animation: pbPlane 7s ease-in-out infinite; }
}
/* Bulb clear of the hands: above the pointing hands, and beside the head next to the raised fist */
.pb-person--digital-marketing .pb-bulb-near { top: 12%; left: -14%; }
.pb-person--graphic-designing .pb-bulb-near { top: 20%; left: -16%; }
@media (min-width: 1024px) {
  .pb-person--digital-marketing .pb-bulb-near { top: 10%; left: -12%; }
  .pb-person--graphic-designing .pb-bulb-near { top: 20%; left: -14%; }
}
/* Tablets and small laptops: the call pill would wrap, so it waits for 1280px (the number is in the top strip) */
@media (min-width: 768px) and (max-width: 1279px) { header a[href^="tel"].rounded-full { display: none !important; } }
/* Admission Open: grey and yellow pills; a gentle float instead of the sway */
.pb-badge.pb-badge--board { animation: pbFloat 6s ease-in-out infinite; filter: drop-shadow(0 12px 16px rgba(11, 46, 79, .2)); }
