/* Falcon landing — loaded only on site home. */
:root {
  /* Keep chrome spacer in sync even before Moodle recompiles theme SCSS. */
  --falcon-app-chrome-height: 4.4375rem;
  --falcon-navbar-height: 4.2rem;
}

.falcon-landing {
--radius: 0.25rem;

  --navy: #102a43;
  --navy-dark: #091d30;
  --navy-soft: #1d3b55;
  --warm-white: #faf8f4;
  --paper: #f4f1eb;
  --beige: #e9e5de;
  --line: #d8d4cc;
  --grey: #5f666b;
  --ink: #17242e;
  --green: #147a43;
  --red: #c62832;
  --gold: #b89552;

  --background: var(--warm-white);
  --foreground: var(--ink);
  --card: #fff;
  --card-foreground: var(--ink);
  --popover: #fff;
  --popover-foreground: var(--ink);
  --primary: var(--navy);
  --primary-foreground: #fff;
  --secondary: var(--paper);
  --secondary-foreground: var(--navy);
  --muted: var(--beige);
  --muted-foreground: var(--grey);
  --accent: var(--paper);
  --accent-foreground: var(--navy);
  --destructive: var(--red);
  --destructive-foreground: #fff;
  --border: rgb(16 42 67 / 14%);
  --input: rgb(16 42 67 / 14%);
  --ring: var(--gold);
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-sans: "Sora", "Helvetica Neue", Arial, sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
.falcon-landing *, .falcon-landing *::before, .falcon-landing *::after { box-sizing: border-box; }
.falcon-landing a { color: inherit; text-decoration: none; }
.falcon-landing img { display: block; max-width: 100%; }
.falcon-landing p, .falcon-landing h1, .falcon-landing h2, .falcon-landing h3, .falcon-landing figure { margin: 0; }
.falcon-landing a:focus-visible, .falcon-landing summary:focus-visible, .falcon-landing button:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 4px;
}
.falcon-landing ::selection { background: color-mix(in srgb, var(--green) 28%, white); color: var(--navy-dark); }

.falcon-landing /*
 * Falcon Innovation Academy — editorial design system
 * Inspired by Falcon Expert Institute: navy,
.falcon-landing warm paper,
.falcon-landing serif display,
.falcon-landing UAE accents.
 */


/* ——— Landing shell ——— */
.page-shell {

  width: min(1320px, calc(100% - 80px));
  margin-inline: auto;

}
.falcon-landing .section-kicker {

  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.19em;
  text-transform: uppercase;

}
.falcon-landing .section-kicker.light-kicker {

  color: #8bbda1;

}
.falcon-landing .uae-rule,
.falcon-landing .accent-rule {

  height: 3px;
  display: grid;
  grid-template-columns: 18px 1fr;

}
.falcon-landing .uae-rule {

  width: 54px;

}
.falcon-landing .accent-rule {

  width: 83px;
  grid-template-columns: 30px 1fr;
  margin-top: 31px;

}
.falcon-landing .uae-rule i,
.falcon-landing .accent-rule i {

  background: var(--red);

}
.falcon-landing .uae-rule b,
.falcon-landing .accent-rule b {

  background: var(--green);

}
.falcon-landing .button {

  min-height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 23px;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;

}
.falcon-landing .button-navy {

  background: var(--navy);
  color: #fff;

}
.falcon-landing .button-navy:hover {

  background: var(--green);
  transform: translateY(-1px);

}
.falcon-landing .button-white {

  background: #fff;
  color: var(--navy);

}
.falcon-landing .button-white:hover {

  background: var(--green);
  color: #fff;
  transform: translateY(-1px);

}
.falcon-landing .button-ghost {

  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;

}
.falcon-landing .button-ghost:hover {

  background: #fff;
  color: var(--navy);
  transform: translateY(-1px);

}
.falcon-landing .button-outline {

  border: 1px solid var(--navy);
  color: var(--navy);

}
.falcon-landing .button-outline:hover {

  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);

}
.falcon-landing .text-link {

  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;

}
.falcon-landing .text-link span {

  font-size: 18px;
  font-weight: 400;
  transition: transform 180ms ease;

}
.falcon-landing .text-link:hover span {

  transform: translateX(4px);

}
.falcon-landing .lead-serif {

  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.55;

}
.falcon-landing /* ——— Header ——— */
.institution-bar {

  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;

}
.falcon-landing .institution-bar-inner {

  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;

}
.falcon-landing .institution-bar-inner > div {

  display: flex;
  gap: 30px;

}
.falcon-landing .institution-bar-inner > div span + span::before {

  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--gold);

}
.falcon-landing .institution-bar-inner > div span {

  position: relative;

}
.falcon-landing .site-header {

  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(16, 42, 67, 0.14);
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    backdrop-filter 0.4s ease,
    -webkit-backdrop-filter 0.4s ease,
    color 0.35s ease;

}
.falcon-landing .site-header.is-scrolled {

  background: rgba(255, 255, 255, 0.52);
  border-bottom-color: rgba(16, 42, 67, 0.08);
  box-shadow: 0 10px 40px rgba(9, 29, 48, 0.07);
  backdrop-filter: saturate(175%) blur(18px);
  -webkit-backdrop-filter: saturate(175%) blur(18px);

}
.falcon-landing .site-header.is-on-dark {

  background: rgba(9, 29, 48, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  color: #fff;

}
.falcon-landing .site-header.is-on-dark.is-scrolled {

  background: rgba(9, 29, 48, 0.55);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);

}
.falcon-landing .site-header.is-on-dark .main-nav a,
.falcon-landing .site-header.is-on-dark .header-auth,
.falcon-landing .site-header.is-on-dark .mobile-nav-trigger__button {

  color: rgba(255, 255, 255, 0.88);

}
.falcon-landing .site-header.is-on-dark .main-nav a:hover,
.falcon-landing .site-header.is-on-dark .header-auth:hover,
.falcon-landing .site-header.is-on-dark .mobile-nav-trigger__button:hover {

  color: #fff;

}
.falcon-landing .site-header.is-on-dark .header-cta {

  background: #fff;
  color: var(--navy);

}
.falcon-landing .site-header.is-on-dark .header-cta:hover {

  background: var(--green);
  color: #fff;

}
.falcon-landing .site-header.is-on-dark .logo-link {

  border-right-color: rgba(255, 255, 255, 0.18);

}
.falcon-landing .header-main {

  min-height: 70px;
  display: grid;
  grid-template-columns: minmax(154px, 266px) 1fr;
  align-items: stretch;
  column-gap: 20px;

}
.falcon-landing .logo-link {

  display: flex;
  align-items: center;
  padding: 4px 16px 4px 0;
  border-right: 1px solid var(--line);

}
.falcon-landing .logo-swap {

  position: relative;
  display: block;
  width: min(100%, 252px);

}
.falcon-landing .logo-link img,
.falcon-landing .full-logo {

  display: block;
  width: 100%;
  height: auto;
  max-height: 62px;
  aspect-ratio: 1024 / 241;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.35s ease;

}
.falcon-landing .full-logo--light {

  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;

}
.falcon-landing .site-header.is-on-dark .full-logo--dark {

  opacity: 0;

}
.falcon-landing .site-header.is-on-dark .full-logo--light {

  opacity: 1;

}
.falcon-landing .desktop-navigation {

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;

}
.falcon-landing .main-nav {

  display: flex;
  align-items: center;
  gap: clamp(14px, 1.2vw, 24px);

}
.falcon-landing .main-nav a {

  white-space: nowrap;
  color: #263b4d;
  font-size: 12.5px;
  font-weight: 680;
  letter-spacing: 0.025em;
  transition: color 180ms ease;
  display: inline-flex;
  align-items: center;
  padding: 2px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;

}
.falcon-landing .main-nav a:hover {

  color: var(--green);
  background: transparent;
  box-shadow: none;

}
.falcon-landing .main-nav a:focus {

  outline: none;
  background: transparent;
  box-shadow: none;

}
.falcon-landing .main-nav a:focus-visible {

  outline: 2px solid var(--gold);
  outline-offset: 3px;
  background: transparent;
  box-shadow: none;

}
.falcon-landing .main-nav a:active {

  color: var(--green);
  background: transparent;
  box-shadow: none;

}
.falcon-landing .main-nav a[aria-current="page"] {

  color: var(--navy);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--green);

}
.falcon-landing .header-cta {

  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 17px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;

}
.falcon-landing .header-cta:hover {

  background: var(--green);

}
.falcon-landing .mobile-nav-trigger {

  display: none;

}
.falcon-landing /* ——— Hero ——— */
.hero {

  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(420px, 42%) 1fr;
  background: var(--paper);
  border-bottom: 0;
  margin-bottom: 0;

}
.falcon-landing .hero-copy {

  position: relative;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;

}
.falcon-landing .hero-copy::before {

  content: "FIA";
  position: absolute;
  left: -44px;
  bottom: -95px;
  color: rgba(16, 42, 67, 0.035);
  font-family: var(--font-serif);
  font-size: 270px;
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;

}
.falcon-landing .hero-copy-inner {

  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 80px));
  margin-right: 58px;
  padding: 82px 0 64px;
  align-self: center;

}
.falcon-landing .hero .eyebrow {

  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.19em;
  text-transform: uppercase;

}
.falcon-landing .hero .eyebrow span {

  color: var(--red);

}
.falcon-landing .hero h1 {

  margin-top: 25px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;

}
.falcon-landing .hero-title-visible {

  display: block;

}
.falcon-landing .hero-title-line {

  display: block;
  margin: 0;
  padding: 0;
  line-height: 1.05;

}
.falcon-landing .hero-title-line--typed {

  /* Reserve one full title line so empty typewriter never collapses. */
  min-height: 1.05em;

}
.falcon-landing .hero h1 em,
.falcon-landing .hero-typewriter__text {

  color: var(--navy-soft);
  font-style: normal;
  font-weight: 500;

}
.falcon-landing .hero-typewriter {

  position: relative;
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
  line-height: 1.05;

}
.falcon-landing .hero-typewriter__sizer {

  display: block;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
  font-style: normal;
  font-weight: 500;
  color: var(--navy-soft);

}
.falcon-landing .hero-typewriter__live {

  position: absolute;
  inset: 0 auto 0 0;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  max-width: 100%;

}
.falcon-landing .hero-typewriter__text {

  display: inline;
  white-space: nowrap;

}
.falcon-landing .hero-typewriter__caret {

  display: inline-block;
  flex: 0 0 auto;
  width: 0.08em;
  height: 0.78em;
  margin-left: 0.08em;
  background: var(--green, #147a43);
  animation: hero-caret-blink 0.9s steps(1) infinite;

}
.falcon-landing .hero-typewriter.is-typing .hero-typewriter__caret {

  animation: none;
  opacity: 1;

}
@keyframes hero-caret-blink {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .falcon-landing .hero-typewriter__caret {
    animation: none;
    opacity: 1;
  }
}
.falcon-landing .hero-lead {

  max-width: 510px;
  margin-top: 28px;
  color: #56626b;
  font-size: 17px;
  line-height: 1.72;

}
.falcon-landing .hero-actions {

  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;

}
.falcon-landing .hero-note {

  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #7b817f;
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;

}
.falcon-landing .hero-image {

  position: relative;
  margin: 0;
  padding: 0;
  min-height: 640px;
  overflow: hidden;
  background: var(--paper);
  align-self: stretch;

}
.falcon-landing .hero-image picture {

  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

}
/* Soft blur + paper fade on the seam between copy and photo. */
.falcon-landing .hero-image::before {

  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  width: clamp(72px, 16%, 180px);
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--paper) 0%,
    rgba(244, 241, 235, 0.72) 42%,
    rgba(244, 241, 235, 0) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 100%);

}
.falcon-landing .hero-image::after {

  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(9, 29, 48, 0.5), transparent 36%);

}
.falcon-landing .hero-image img {

  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center 51%;

}
.falcon-landing .hero-image figcaption {

  position: absolute;
  z-index: 4;
  left: 38px;
  right: 38px;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 670;
  letter-spacing: 0.16em;
  text-transform: uppercase;

}
.falcon-landing /* ——— Program / mission ——— */
.mission-section {

  padding: 116px 0;
  overflow: hidden;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0;
  border-top: 0;

}
.falcon-landing .mission-grid {

  display: grid;
  grid-template-columns: 0.87fr 1.13fr;
  gap: 92px;
  align-items: center;

}
.falcon-landing .mission-copy h2 {

  margin-top: 17px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.4vw, 51px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;

}
.falcon-landing .mission-copy > p:not(.section-kicker) {

  max-width: 580px;
  margin-top: 23px;
  font-size: 15px;
  line-height: 1.82;

}
.falcon-landing .mission-copy p.mission-lead {

  margin-top: 31px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.58;

}
.falcon-landing .mission-stats {

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  max-width: 420px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);

}
.falcon-landing .mission-stats strong {

  display: block;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;

}
.falcon-landing .mission-stats span {

  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;

}
.falcon-landing .light-link {

  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 37px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;

}
.falcon-landing .light-link:hover {

  border-color: var(--green);

}
.falcon-landing .mission-collage {

  position: relative;
  min-height: 560px;

}
.falcon-landing .mission-main-image,
.falcon-landing .mission-small-image {

  position: absolute;
  overflow: hidden;
  will-change: transform;

}
.falcon-landing .mission-main-image {

  top: 0;
  left: 0;
  width: 68%;
  height: 480px;
  animation: mission-float-a 10s ease-in-out infinite;

}
.falcon-landing .mission-main-image::after,
.falcon-landing .mission-small-image::after {

  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 29, 48, 0.5), transparent 45%);

}
.falcon-landing .mission-main-image img,
.falcon-landing .mission-small-image img {

  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78);

}
.falcon-landing .mission-main-image figcaption,
.falcon-landing .mission-small-image figcaption {

  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 13px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;

}
.falcon-landing .mission-small-image {

  z-index: 2;
  top: 52px;
  right: 0;
  width: 37%;
  height: 220px;
  border: 8px solid var(--navy-dark);
  animation: mission-float-b 12s ease-in-out infinite;

}
.falcon-landing .mission-small-image.second {

  top: auto;
  right: 3%;
  bottom: 0;
  width: 43%;
  height: 240px;
  animation: mission-float-c 11s ease-in-out infinite 0.6s;

}
@keyframes mission-float-a {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}
@keyframes mission-float-b {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 11px, 0); }
}
@keyframes mission-float-c {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -9px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .falcon-landing .mission-main-image,
  .falcon-landing .mission-small-image,
  .falcon-landing .mission-small-image.second {
    animation: none;
  }
}
.falcon-landing /* ——— Courses slider ——— */
.courses-section.falcon-course-slider {

  padding: 72px 0 78px;
  background: var(--warm-white);
  text-align: left;

}
.falcon-landing .falcon-slider-head {

  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 18px;

}
.falcon-landing .falcon-slider-copy {

  flex: 0 1 780px;
  width: min(780px, 100%);

}
.falcon-landing .falcon-slider-eyebrow {

  margin: 0 0 17px;
  color: var(--green);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;

}
.falcon-landing .falcon-slider-copy > h2 {

  margin: 0 0 15px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(35px, 3.4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;

}
.falcon-landing .falcon-slider-subtitle {

  margin: 0;
  color: var(--grey);
  font-size: 15px;
  line-height: 1.6;

}
.falcon-landing .falcon-slider-controls {

  display: grid;
  grid-template-columns: auto 48px 48px;
  align-items: center;
  flex-shrink: 0;
  margin-bottom: 2px;

}
.falcon-landing .falcon-slider-count {

  margin-right: 20px;
  color: var(--grey);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;

}
.falcon-landing .falcon-slider-current {

  color: var(--green);

}
.falcon-landing .falcon-slider-arrow {

  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-size: 17px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;

}
.falcon-landing .falcon-slider-next {

  border-color: var(--navy);
  background: var(--navy);
  color: #fff;

}
.falcon-landing .falcon-slider-next:hover:not(:disabled) {

  border-color: var(--green);
  background: var(--green);
  transform: translateY(-1px);

}
.falcon-landing .falcon-slider-arrow:hover:not(:disabled) {

  transform: translateY(-1px);

}
.falcon-landing .falcon-slider-arrow:disabled {

  opacity: 0.35;
  cursor: default;

}
.falcon-landing .falcon-slider-viewport {

  overflow: hidden;

}
.falcon-landing .falcon-slider-track {

  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  width: 100%;
  margin: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;

}
.falcon-landing .falcon-slider-track::-webkit-scrollbar {

  display: none;

}
.falcon-landing .falcon-course-card {

  display: grid;
  grid-template-columns: minmax(360px, 0.84fr) minmax(0, 1.16fr);
  flex: 0 0 78%;
  width: 78%;
  max-width: 78%;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: inherit;
  scroll-snap-align: start;
  text-decoration: none;
  transition: border-color 180ms ease;

}
.falcon-landing .falcon-course-card:hover {

  border-color: color-mix(in srgb, var(--green) 35%, var(--line));

}
.falcon-landing .falcon-course-card__media {

  width: 100%;
  height: 100%;
  min-height: 350px;
  border-right: 1px solid var(--line);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}
.falcon-landing .falcon-course-card__body {

  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 24px 30px;

}
.falcon-landing .falcon-course-step {

  margin: 0 0 10px;
  color: var(--green);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;

}
.falcon-landing .falcon-course-card h3 {

  margin: 0 0 14px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(21px, 1.8vw, 27px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-wrap: balance;

}
.falcon-landing .falcon-course-card__desc {

  margin: 0;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.55;

}
.falcon-landing .falcon-course-card__footer {

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);

}
.falcon-landing .falcon-course-status {

  color: var(--green);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;

}
.falcon-landing .falcon-course-learn {

  flex-shrink: 0;
  min-height: 42px;
  gap: 12px;
  padding: 0 16px;
  font-size: 10px;
  pointer-events: none;

}
.falcon-landing .falcon-course-card:hover .falcon-course-learn {

  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);

}
.falcon-landing .falcon-slider-dots {

  display: flex;
  justify-content: center;
  gap: 9px;
  margin: 16px 0 0;

}
.falcon-landing .falcon-slider-dot {

  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d3d3cf;
  cursor: pointer;
  transition: width 180ms ease, border-radius 180ms ease, background 180ms ease;

}
.falcon-landing .falcon-slider-dot.is-active {

  width: 28px;
  border-radius: 99px;
  background: var(--green);

}
.falcon-landing /* ——— Corporate ——— */
/* Mirrored layout (copy left / photo right) so corporate doesn't read as a twin of agents */
.corporate-section {

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 720px;
  background: var(--warm-white);
  border-top: 1px solid var(--line);

}
.falcon-landing .corporate-photo {

  position: relative;
  order: 2;
  min-height: 720px;
  overflow: hidden;

}
.falcon-landing .corporate-photo::after {

  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 29, 48, 0.7), transparent 43%);

}
.falcon-landing .corporate-photo img {

  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  filter: saturate(0.75);

}
.falcon-landing .corporate-photo-label {

  position: absolute;
  z-index: 2;
  left: 40px;
  right: max(40px, calc((100vw - 1320px) / 2));
  bottom: 38px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;

}
.falcon-landing .corporate-copy {

  order: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;

}
.falcon-landing .corporate-copy-inner {

  width: min(570px, calc(100% - 90px));
  margin-right: 72px;
  padding: 72px 0;

}
.falcon-landing .corporate-copy h2 {

  margin-top: 18px;
  margin-bottom: 28px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.2vw, 45px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.99;

}
.falcon-landing .corporate-copy-inner > p:not(.section-kicker):not(.lead-serif) {

  margin-top: 18px;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.78;

}
.falcon-landing .corporate-copy .button-outline {

  margin-top: 35px;

}
/* Agents section: mirror layout (photo left / copy right) vs corporate. */
.falcon-landing .agents-section {

  background: var(--paper);
  border-top: 1px solid var(--line);

}
.falcon-landing .agents-section .corporate-photo {

  order: 1;

}
.falcon-landing .agents-section .corporate-copy {

  order: 2;
  justify-content: flex-start;

}
.falcon-landing .agents-section .corporate-copy-inner {

  margin-right: 0;
  margin-left: 72px;

}
.falcon-landing .agents-section .corporate-photo-label {

  left: max(40px, calc((100vw - 1320px) / 2));
  right: 40px;

}
.falcon-landing /* ——— Why / four principles ——— */
.why-section {

  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 100svh;
  padding: clamp(36px, 5.5vh, 64px) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);

}
.falcon-landing .why-shell {
  display: grid;
  gap: clamp(28px, 4vh, 48px);
}
.falcon-landing .why-head {
  max-width: 640px;
}
.falcon-landing .why-head h2 {
  margin-top: 12px;
  margin-bottom: clamp(10px, 1.6vh, 16px);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.99;
}
.falcon-landing .why-head .lead-serif {
  margin: 0;
  color: var(--grey);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.5;
}
.falcon-landing .why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(36px, 4.5vw, 64px);
  row-gap: clamp(28px, 4vh, 44px);
}
.falcon-landing .why-card {
  --why-accent: var(--navy);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 2.2vh, 26px) clamp(16px, 1.6vw, 22px);
  background: transparent;
  border: 0;
  border-radius: 2px;
  overflow: visible;
  cursor: default;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}
.falcon-landing .why-card--roi { --why-accent: var(--green); }
.falcon-landing .why-card--truth { --why-accent: var(--red); }
.falcon-landing .why-card--build { --why-accent: var(--navy); }
.falcon-landing .why-card--bridge { --why-accent: var(--gold); }
.falcon-landing .why-card__icon {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 0 clamp(16px, 2vh, 22px);
  padding: 0;
  color: var(--why-accent);
  background: transparent;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}
.falcon-landing .why-card__icon svg {
  display: block;
  width: 54px;
  height: 54px;
  stroke: currentColor;
  stroke-width: 1.5;
}
.falcon-landing .why-card h3 {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  transition: color 0.3s ease;
}
.falcon-landing .why-card__body {
  margin-top: 12px;
  max-width: 34em;
  color: var(--ink);
  font-size: clamp(14px, 1.15vw, 15.5px);
  line-height: 1.55;
}
.falcon-landing .why-card__detail {
  margin-top: clamp(14px, 1.8vh, 20px);
  max-width: 36em;
  padding-top: 0;
  border-top: 0;
  color: var(--grey);
  font-size: clamp(13px, 1.05vw, 14px);
  line-height: 1.6;
  transition: color 0.3s ease;
}
.falcon-landing [data-reveal="why"][data-in-view="true"] .why-card:hover {
  transform: translate3d(0, -8px, 0);
  background: color-mix(in srgb, #fff 78%, var(--paper));
  box-shadow: 0 18px 40px rgba(9, 29, 48, 0.08);
}
.falcon-landing [data-reveal="why"][data-in-view="true"] .why-card:hover .why-card__icon {
  transform: translate3d(0, -2px, 0) scale(1.08);
}
.falcon-landing [data-reveal="why"][data-in-view="true"] .why-card:hover h3 {
  color: var(--why-accent);
}
.falcon-landing [data-reveal="why"][data-in-view="true"] .why-card:hover .why-card__detail {
  color: var(--ink);
}
/* Directional slide offsets before reveal */
.falcon-landing .why-card--left.reveal {
  transform: translate3d(-72px, 0, 0);
}
.falcon-landing .why-card--right.reveal {
  transform: translate3d(72px, 0, 0);
}
.falcon-landing .why-card--bottom.reveal {
  transform: translate3d(0, 72px, 0);
}
.falcon-landing .why-card--top.reveal {
  transform: translate3d(0, -72px, 0);
}
.falcon-landing /* ——— Certificate ——— */
.certificate-section {

  padding: 112px 0;
  background: var(--warm-white);
  border-top: 1px solid var(--line);
  overflow: visible;

}
.falcon-landing .certificate-grid {

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;

}
.falcon-landing .certificate-copy h2 {

  margin-top: 18px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.2vw, 45px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;

}
.falcon-landing .certificate-copy p {

  margin-top: 22px;
  max-width: 520px;
  color: var(--grey);
  font-size: 15px;
  line-height: 1.78;

}
.falcon-landing .certificate-frame {

  position: relative;
  background: transparent;
  padding: 0;
  border: 0;
  /* Let the poster-slam overshoot the box without clipping. */
  overflow: visible;

}
.falcon-landing /* Sample certificate image */
.cert-card {

  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f9f8f3;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(9, 29, 48, 0.16);
  /* Resting tilt — slam animation ends here. */
  transform: rotate(-3deg);
  transform-origin: center center;

}
/* Breaking-news poster slam: spin + scale in when section enters view. */
.falcon-landing .cert-card--slam {
  opacity: 0;
  transform: rotate(-540deg) scale(2.35);
  filter: blur(10px);
  will-change: transform, opacity, filter;
}
.falcon-landing .cert-card__image {

  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 723;
  object-fit: contain;
  object-position: center;

}
.falcon-landing /* ——— FAQ ——— */
.faq-section {

  padding: 112px 0;
  background: #fff;
  border-top: 1px solid var(--line);

}
.falcon-landing .faq-grid {

  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;

}
.falcon-landing .faq-grid h2 {

  margin-top: 18px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.2vw, 45px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;

}
.falcon-landing .faq-grid > div > p {

  margin-top: 22px;
  max-width: 360px;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.75;

}
.falcon-landing .faq-list {

  border-top: 1px solid var(--navy);

}
.falcon-landing .faq-item {

  border-bottom: 1px solid var(--line);

}
.falcon-landing .faq-item summary {

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 180ms ease;

}
.falcon-landing .faq-item summary:hover {

  color: var(--green);

}
.falcon-landing .faq-item summary::-webkit-details-marker {

  display: none;

}
.falcon-landing .faq-item summary b {

  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--navy);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 400;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;

}
.falcon-landing .faq-item summary:hover b {

  border-color: var(--green);
  transform: translateY(-1px);

}
.falcon-landing .faq-item[open] summary b {

  background: var(--navy);
  color: #fff;

}
.falcon-landing .faq-item p {

  padding: 0 0 26px;
  max-width: 640px;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.75;

}
.falcon-landing /* ——— Final CTA ——— */
.final-cta {

  position: relative;
  padding: 100px 0 105px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;

}

.falcon-landing .final-cta-grid {

  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.83fr;
  gap: 90px;
  align-items: end;

}
.falcon-landing .final-cta h2 {

  margin-top: 17px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.4vw, 51px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;

}
.falcon-landing .final-cta-copy > p {

  max-width: 500px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.5;

}
.falcon-landing .final-actions {

  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;

}
.falcon-landing /* ——— Footer ——— */
.site-footer {

  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.74);

}
.falcon-landing .footer-top {

  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) repeat(2, minmax(120px, 0.9fr));
  gap: clamp(16px, 2vw, 28px);
  padding: 28px 0 22px;

}
.falcon-landing .footer-brand a {

  display: inline-block;

}
.falcon-landing .footer-brand img,
.falcon-landing .footer-logo {

  display: block;
  width: min(180px, 100%);
  height: auto;

}
.falcon-landing .footer-brand p {

  margin-top: 6px;
  max-width: 320px;
  font-size: 12px;
  line-height: 1.5;

}
.falcon-landing .footer-brand p:first-of-type {

  margin-top: 10px;

}
.falcon-landing .footer-column {

  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;

}
.falcon-landing .footer-column h3 {

  margin-bottom: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.17em;
  text-transform: uppercase;

}
.falcon-landing .footer-column a,
.falcon-landing .footer-column button {

  background: none;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease;

}
.falcon-landing .footer-column a:hover,
.falcon-landing .footer-column button:hover {

  color: #fff;

}
.falcon-landing .footer-bottom {

  min-height: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  letter-spacing: 0.035em;
  padding: 14px 0;

}
/* ——— Reveal ——— */
@keyframes section-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes section-reveal-left {
  from {
    opacity: 0;
    transform: translate3d(-48px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes section-reveal-right {
  from {
    opacity: 0;
    transform: translate3d(48px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes section-reveal-item {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes reveal-mission-up {
  from {
    opacity: 0;
    transform: translate3d(0, 56px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes reveal-mission-left {
  from {
    opacity: 0;
    transform: translate3d(-64px, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes reveal-mission-right {
  from {
    opacity: 0;
    transform: translate3d(64px, -12px, 0) scale(1.03);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes reveal-courses-card {
  from {
    opacity: 0;
    transform: translate3d(0, 48px, 0) rotate(-0.6deg);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}
@keyframes reveal-why-from-left {
  from {
    opacity: 0;
    transform: translate3d(-80px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes reveal-why-from-right {
  from {
    opacity: 0;
    transform: translate3d(80px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes reveal-why-from-bottom {
  from {
    opacity: 0;
    transform: translate3d(0, 80px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes reveal-why-from-top {
  from {
    opacity: 0;
    transform: translate3d(0, -80px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes reveal-certificate-scale {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.94);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}
/* Newspaper / breaking-news poster slam for the certificate. */
@keyframes cert-poster-slam {
  0% {
    opacity: 0;
    transform: rotate(-540deg) scale(2.4);
    filter: blur(12px);
  }
  58% {
    opacity: 1;
    filter: blur(0);
    transform: rotate(14deg) scale(1.1);
  }
  74% {
    transform: rotate(-9deg) scale(0.94);
  }
  88% {
    transform: rotate(1.5deg) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: rotate(-3deg) scale(1);
    filter: blur(0);
  }
}
@keyframes reveal-corporate-photo {
  from {
    opacity: 0;
    transform: translate3d(72px, 0, 0) scale(1.04);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes reveal-faq-item {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes reveal-cta-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}
.falcon-landing .reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  will-change: transform, opacity;
}
.falcon-landing .reveal-left {
  transform: translate3d(-48px, 0, 0);
}
.falcon-landing .reveal-right {
  transform: translate3d(48px, 0, 0);
}
.falcon-landing .reveal-item {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  will-change: transform, opacity;
}
.falcon-landing [data-in-view="true"] .reveal {
  animation: section-reveal 1.45s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}
.falcon-landing [data-in-view="true"] .reveal.reveal-left {
  animation-name: section-reveal-left;
}
.falcon-landing [data-in-view="true"] .reveal.reveal-right {
  animation-name: section-reveal-right;
}
.falcon-landing [data-in-view="true"] .reveal-item {
  animation: section-reveal-item 1.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}
.falcon-landing [data-in-view="true"] .hero-actions .reveal-item,
.falcon-landing [data-in-view="true"] .final-actions .reveal-item {
  animation-duration: 1.05s;
}

/* Per-section reveal dialects */
.falcon-landing [data-reveal="mission"][data-in-view="true"] .reveal {
  animation-name: reveal-mission-up;
  animation-duration: 1.6s;
}
.falcon-landing [data-reveal="mission"][data-in-view="true"] .reveal.reveal-left {
  animation-name: reveal-mission-left;
  animation-duration: 1.7s;
}
.falcon-landing [data-reveal="mission"][data-in-view="true"] .reveal.reveal-right {
  animation-name: reveal-mission-right;
  animation-duration: 1.85s;
}
.falcon-landing [data-reveal="mission"][data-in-view="true"] .reveal-item {
  animation-duration: 1.25s;
}

.falcon-landing [data-reveal="courses"][data-in-view="true"] .reveal {
  animation-duration: 1.5s;
}
.falcon-landing [data-reveal="courses"][data-in-view="true"] .falcon-course-card.reveal-item {
  animation-name: reveal-courses-card;
  animation-duration: 1.35s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.falcon-landing [data-reveal="why"][data-in-view="true"] .why-head.reveal {
  animation-name: section-reveal;
  animation-duration: 1.35s;
}
.falcon-landing [data-reveal="why"][data-in-view="true"] .why-card--left.reveal,
.falcon-landing [data-reveal="why"][data-in-view="true"] .why-card--left.reveal-item {
  animation-name: reveal-why-from-left;
  animation-duration: 1.35s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.falcon-landing [data-reveal="why"][data-in-view="true"] .why-card--right.reveal,
.falcon-landing [data-reveal="why"][data-in-view="true"] .why-card--right.reveal-item {
  animation-name: reveal-why-from-right;
  animation-duration: 1.35s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.falcon-landing [data-reveal="why"][data-in-view="true"] .why-card--bottom.reveal,
.falcon-landing [data-reveal="why"][data-in-view="true"] .why-card--bottom.reveal-item {
  animation-name: reveal-why-from-bottom;
  animation-duration: 1.35s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.falcon-landing [data-reveal="why"][data-in-view="true"] .why-card--top.reveal,
.falcon-landing [data-reveal="why"][data-in-view="true"] .why-card--top.reveal-item {
  animation-name: reveal-why-from-top;
  animation-duration: 1.35s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.falcon-landing [data-reveal="certificate"][data-in-view="true"] .reveal,
.falcon-landing [data-reveal="certificate"][data-in-view="true"] .reveal-item {
  animation-name: reveal-certificate-scale;
  animation-duration: 1.65s;
}
.falcon-landing [data-reveal="certificate"][data-in-view="true"] .cert-card--slam {
  animation: cert-poster-slam 1.45s cubic-bezier(0.2, 0.85, 0.25, 1) both;
  animation-delay: 160ms;
}

.falcon-landing [data-reveal="corporate"][data-in-view="true"] .reveal.reveal-right {
  animation-name: reveal-corporate-photo;
  animation-duration: 1.8s;
}
.falcon-landing [data-reveal="corporate"][data-in-view="true"] .reveal.reveal-left,
.falcon-landing [data-reveal="corporate"][data-in-view="true"] .reveal-item {
  animation-duration: 1.4s;
}

.falcon-landing [data-reveal="agents"][data-in-view="true"] .reveal.reveal-left {
  animation-name: reveal-corporate-photo;
  animation-duration: 1.8s;
}
.falcon-landing [data-reveal="agents"][data-in-view="true"] .reveal.reveal-right,
.falcon-landing [data-reveal="agents"][data-in-view="true"] .reveal-item {
  animation-duration: 1.45s;
}

.falcon-landing [data-reveal="faq"][data-in-view="true"] .reveal-item {
  animation-name: reveal-faq-item;
  animation-duration: 1.2s;
}
.falcon-landing [data-reveal="faq"][data-in-view="true"] .reveal {
  animation-duration: 1.5s;
}

.falcon-landing [data-reveal="cta"][data-in-view="true"] .reveal,
.falcon-landing [data-reveal="cta"][data-in-view="true"] .reveal-item {
  animation-name: reveal-cta-rise;
  animation-duration: 1.7s;
}
/* ——— Responsive ———
 * Do NOT prefix this with `.falcon-landing` — a bare selector before @media
 * makes the entire media block invalid and the browser drops it.
 */
@media (max-width: 1100px) {

  .falcon-landing .page-shell {
    width: min(100% - 56px, 1080px);
  }

  /* Must beat `.falcon-landing .header-cta { display: inline-flex }` */
  .falcon-landing .header-cta {
    display: none;
  }

  .falcon-landing .hero {
    grid-template-columns: 48% 52%;
  }

  .falcon-landing .hero-copy-inner {
    width: calc(100% - 56px);
    margin-right: 28px;
  }

  .falcon-landing .falcon-slider-head,
  .falcon-landing .mission-grid,
  .falcon-landing .certificate-grid,
  .falcon-landing .faq-grid,
  .falcon-landing .final-cta-grid,
  .falcon-landing .why-grid,
  .falcon-landing .corporate-section {
    grid-template-columns: 1fr;
  }

  .falcon-landing .falcon-slider-head {
    display: block;
  }

  .falcon-landing .falcon-slider-copy > h2 {
    font-size: clamp(38px, 10.5vw, 48px);
  }

  .falcon-landing .falcon-slider-controls {
    grid-template-columns: auto 46px 46px;
    justify-content: start;
    margin: 24px 0 0;
  }

  .falcon-landing .falcon-slider-arrow {
    width: 46px;
    height: 46px;
  }

  .falcon-landing .falcon-course-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .falcon-landing .falcon-course-card__media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .falcon-landing .falcon-course-card__body {
    min-height: 350px;
    padding: 25px 22px 26px;
  }

  .falcon-landing .falcon-course-card h3 {
    font-size: 27px;
  }

  .falcon-landing .why-shell {
    gap: 40px;
  }

  .falcon-landing .corporate-copy-inner {
    width: min(100% - 56px, 720px);
    margin: 0 auto;
  }

  .falcon-landing .agents-section .corporate-copy-inner {
    margin-left: auto;
    margin-right: auto;
  }

  /* Stack photo → copy on mobile (natural DOM order) */
  .falcon-landing .corporate-photo,
  .falcon-landing .corporate-copy {
    order: unset;
  }

  .falcon-landing .corporate-copy {
    justify-content: flex-start;
  }

  .falcon-landing .corporate-photo,
  .falcon-landing .corporate-photo img {
    min-height: 480px;
  }

  .falcon-landing .corporate-photo-label {
    left: 40px;
    right: 40px;
  }

  .falcon-landing .mission-collage {
    max-width: 720px;
    width: 100%;
    min-height: 500px;
  }

}
@media (max-width: 900px) {

  .falcon-landing .institution-bar-inner > div span:not(:last-child) {
    display: none;
  }

  .falcon-landing .header-main {
    min-height: 64px;
    /* Logo column keeps a real floor so 1fr cannot collapse to 0. */
    grid-template-columns: minmax(140px, 1fr) auto;
  }

  .falcon-landing .logo-link {
    min-width: 0;
  }

  .falcon-landing .full-logo {
    width: min(100%, 210px);
  }

  .falcon-landing .desktop-navigation {
    justify-content: flex-end;
    gap: 0;
  }

  .falcon-landing .desktop-navigation .main-nav {
    display: none;
  }

  /* Auth + CTA live in #falcon-mobile-nav — hide duplicate header chrome. */
  .falcon-landing .header-actions {
    display: none;
  }

  .falcon-landing .mobile-nav-trigger {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .falcon-landing .mobile-nav-trigger__button {
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    justify-content: center;
    box-sizing: border-box;
  }

  .falcon-landing .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .falcon-landing .hero-copy {
    justify-content: center;
  }

  .falcon-landing .hero-copy-inner {
    width: min(100% - 56px, 720px);
    margin: 0;
    padding: 64px 0 56px;
  }

  .falcon-landing .hero-image,
  .falcon-landing .hero-image img {
    min-height: 420px;
  }

}
@media (max-width: 680px) {

  .falcon-landing .page-shell {
    width: calc(100% - 32px);
  }

  .falcon-landing .institution-bar-inner > div {
    display: none;
  }

  .falcon-landing .header-main {
    min-height: 56px;
    grid-template-columns: minmax(120px, 1fr) auto;
    column-gap: 8px;
  }

  .falcon-landing .logo-link {
    border-right: 0;
    padding: 4px 0;
  }

  .falcon-landing .logo-link img,
  .falcon-landing .full-logo {
    width: auto;
    max-width: min(100%, 168px);
    height: auto;
    max-height: 36px;
  }

  .falcon-landing .mobile-nav-trigger__button span:first-child {
    /* Icon-only control on narrow phones — keeps header to logo + ☰ */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .falcon-landing .hero-copy-inner {
    width: calc(100% - 32px);
    padding: 48px 0 40px;
  }

  .falcon-landing .hero h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.5rem);
    overflow-wrap: anywhere;
  }

  .falcon-landing .hero-lead {
    font-size: 15px;
  }

  .falcon-landing .hero-note {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }

  .falcon-landing .hero-image,
  .falcon-landing .hero-image img {
    min-height: 260px;
    max-height: 52vh;
  }

  .falcon-landing .hero-image figcaption {
    left: 16px;
    right: 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .falcon-landing .hero-actions,
  .falcon-landing .final-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .falcon-landing .button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .falcon-landing .mission-section,
  .falcon-landing .courses-section,
  .falcon-landing .certificate-section,
  .falcon-landing .faq-section {
    padding: 64px 0 72px;
  }

  .falcon-landing .mission-copy h2 {
    font-size: clamp(1.85rem, 8vw, 2.75rem);
  }

  .falcon-landing .mission-stats {
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    max-width: 100%;
  }

  .falcon-landing .mission-collage {
    /* Absolute figures — keep a real box height on phones */
    min-height: 360px;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
  }

  .falcon-landing .mission-main-image {
    width: 78%;
    height: 260px;
    max-height: none;
    aspect-ratio: auto;
  }

  .falcon-landing .mission-small-image {
    height: 140px;
    max-height: none;
    aspect-ratio: auto;
    border-width: 5px;
    /* Keep framed thumbs inside the collage (border box + % width). */
    right: 4px;
    width: 34%;
  }

  .falcon-landing .mission-small-image.second {
    height: 150px;
    max-height: none;
    right: 6%;
    width: 40%;
  }

  .falcon-landing .corporate-photo,
  .falcon-landing .corporate-photo img {
    min-height: 280px;
  }

  .falcon-landing .why-section {
    min-height: 0;
    display: block;
    padding: 64px 0 72px;
  }

  .falcon-landing .why-grid {
    column-gap: 0;
    row-gap: 36px;
  }

  .falcon-landing .why-card__icon,
  .falcon-landing .why-card__icon svg {
    width: 48px;
    height: 48px;
  }

  .falcon-landing .corporate-copy-inner {
    width: calc(100% - 32px);
  }

  .falcon-landing .falcon-slider-track {
    gap: 12px;
  }

  .falcon-landing .falcon-course-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .falcon-landing .falcon-course-card__body {
    min-height: 0;
    padding: 22px 18px 24px;
  }

  .falcon-landing .falcon-course-card h3 {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }

  .falcon-landing .falcon-slider-dots {
    gap: 10px;
    /* Room for expanded hit areas without crowding neighboring dots */
    padding: 12px 0;
    margin: 4px 0 0;
  }

  .falcon-landing .falcon-slider-dot {
    position: relative;
    /* Keep the visible chip tiny — tap target comes from ::before */
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-clip: border-box;
  }

  .falcon-landing .falcon-slider-dot::before {
    content: "";
    position: absolute;
    inset: -18px -14px;
    /* Invisible 44×~36+ hit pad around the chip */
  }

  .falcon-landing .falcon-slider-dot.is-active {
    width: 28px;
    height: 8px;
  }

  .falcon-landing .legal-modal {
    padding: 0.75rem;
    align-items: flex-end;
  }

  .falcon-landing .legal-modal__dialog {
    max-height: min(88vh, 100%);
    padding: 1.5rem 1.15rem 1.25rem;
    padding-top: 3rem;
  }

  .falcon-landing .legal-modal__close {
    width: 44px;
    height: 44px;
    top: 0.5rem;
    right: 0.5rem;
  }

  .falcon-landing .mobile-nav-panel__links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .falcon-landing .footer-top {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .falcon-landing .footer-brand {
    grid-column: auto;
  }

}
@media (prefers-reduced-motion: reduce) {

  .falcon-landing html {
    scroll-behavior: auto;
  }

  .falcon-landing .reveal {
    opacity: 1;
    transform: none;
  }
  .falcon-landing .reveal-item {
    opacity: 1;
    transform: none;
  }
  .falcon-landing .why-card--left.reveal,
  .falcon-landing .why-card--right.reveal,
  .falcon-landing .why-card--bottom.reveal,
  .falcon-landing .why-card--top.reveal {
    transform: none;
  }
  .falcon-landing [data-reveal="why"][data-in-view="true"] .why-card:hover,
  .falcon-landing [data-reveal="why"][data-in-view="true"] .why-card:hover .why-card__icon {
    transform: none;
  }
  .falcon-landing .cert-card--slam {
    opacity: 1;
    transform: rotate(-3deg);
    filter: none;
  }

  .falcon-landing [data-in-view="true"] .reveal {
    animation: none;
  }
  .falcon-landing [data-in-view="true"] .reveal-item {
    animation: none;
  }
  .falcon-landing [data-reveal="certificate"][data-in-view="true"] .cert-card--slam {
    animation: none;
  }

}

.falcon-landing .header-actions { display: flex; align-items: center; gap: 12px; }
/* Edit mode toggle restored into Falcon chrome (Boost navbar is hidden). */
.falcon-landing .falcon-editmode-switch .editmode-switch-form { margin-inline-start: 0; }
.falcon-landing .falcon-editmode-switch .form-check-label {
  color: var(--navy);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.falcon-landing .falcon-editmode-switch .form-check-input { cursor: pointer; }
.falcon-landing .falcon-editmode-switch--mobile .editmode-switch-form {
  width: 100%;
  justify-content: space-between;
}
.falcon-landing .header-auth { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.falcon-landing .header-auth:hover { color: var(--green); }
.falcon-landing .mobile-nav-trigger__button { display: inline-flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); cursor: pointer; }
.falcon-landing .mobile-nav-panel { position: fixed; inset: 0; z-index: 60; pointer-events: none; visibility: hidden; }
.falcon-landing .mobile-nav-panel.is-open { pointer-events: auto; visibility: visible; }
.falcon-landing .mobile-nav-panel__backdrop { position: absolute; inset: 0; background: rgba(9, 29, 48, 0.45); opacity: 0; transition: opacity 180ms ease; }
.falcon-landing .mobile-nav-panel.is-open .mobile-nav-panel__backdrop { opacity: 1; }
.falcon-landing .mobile-nav-panel__sheet { position: absolute; top: 0; right: 0; width: min(88vw, 24rem); height: 100%; background: var(--warm-white); border-left: 1px solid var(--line); padding: 4rem 1.5rem 2rem; transform: translateX(100%); transition: transform 220ms ease; overflow-y: auto; }
.falcon-landing .mobile-nav-panel.is-open .mobile-nav-panel__sheet { transform: translateX(0); }
.falcon-landing .mobile-nav-panel__title {
  margin: 0;
  padding-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--navy);
}
.falcon-landing .mobile-nav-panel__links { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.falcon-landing .mobile-nav-panel__links a { font-size: 1.125rem; font-weight: 600; color: var(--navy); }
.falcon-landing .mobile-nav-panel__account-block {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.falcon-landing .mobile-nav-panel__account-details {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
}
.falcon-landing .mobile-nav-panel__account-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
  user-select: none;
}
.falcon-landing .mobile-nav-panel__account-summary::-webkit-details-marker {
  display: none;
}
.falcon-landing .mobile-nav-panel__account-summary-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.falcon-landing .mobile-nav-panel__account-kicker {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(16, 42, 67, 0.55);
}
.falcon-landing .mobile-nav-panel__user {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink, #17242e);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.falcon-landing .mobile-nav-panel__user--solo {
  padding: 0 0.15rem;
}
.falcon-landing .mobile-nav-panel__account-chevron {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  transition: transform 160ms ease;
  margin-top: -0.2rem;
}
.falcon-landing .mobile-nav-panel__account-details[open] .mobile-nav-panel__account-chevron {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}
.falcon-landing .mobile-nav-panel__account {
  margin: 0;
  padding: 0 1rem 1rem;
  gap: 0.15rem;
}
.falcon-landing .mobile-nav-panel__account a {
  font-size: 0.9375rem;
  font-weight: 600;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  border-top: 1px solid rgba(216, 212, 204, 0.7);
  color: var(--navy);
}
.falcon-landing .mobile-nav-panel__account a:first-child {
  border-top: 0;
}
.falcon-landing .mobile-nav-panel__account-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.falcon-landing .mobile-nav-panel__account-action:hover,
.falcon-landing .mobile-nav-panel__account-action:focus {
  background: var(--navy);
  color: #fff;
}
.falcon-landing .mobile-nav-panel__account-action--logout {
  border-color: rgba(16, 42, 67, 0.28);
  color: rgba(16, 42, 67, 0.72);
}
.falcon-landing .mobile-nav-panel__account-action--logout:hover,
.falcon-landing .mobile-nav-panel__account-action--logout:focus {
  border-color: #8a1f1f;
  background: #8a1f1f;
  color: #fff;
}
.falcon-landing .legal-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 1.5rem; pointer-events: none; visibility: hidden; }
.falcon-landing .legal-modal.is-open { pointer-events: auto; visibility: visible; }
.falcon-landing .legal-modal__backdrop { position: absolute; inset: 0; background: rgba(9, 29, 48, 0.55); }
.falcon-landing .legal-modal__dialog { position: relative; z-index: 1; width: min(42rem, 100%); max-height: 85vh; overflow-y: auto; background: var(--warm-white); border: 1px solid rgba(16, 42, 67, 0.1); padding: 1.75rem 1.5rem; }
.falcon-landing .legal-modal__title { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.falcon-landing .legal-modal__meta { margin-top: 0.35rem; font-size: 0.875rem; color: rgba(23, 36, 46, 0.5); }
.falcon-landing .legal-modal__section { margin-top: 1.25rem; }
.falcon-landing .legal-modal__section h3 { font-weight: 700; }
.falcon-landing .legal-modal__section p { margin-top: 0.35rem; font-size: 0.875rem; line-height: 1.65; color: rgba(0,0,0,0.65); }
.falcon-landing .legal-modal__close { position: absolute; top: 1rem; right: 1rem; width: 2.25rem; height: 2.25rem; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.25rem; }

/*
 * Mobile header overrides MUST come after the base chrome rules above —
 * otherwise `.header-actions { display: flex }` and `padding: 0` on the
 * hamburger re-win the cascade inside earlier @media blocks.
 */
@media (max-width: 1100px) {
  .falcon-landing .header-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  .falcon-landing .header-actions {
    display: none;
  }

  .falcon-landing .mobile-nav-trigger {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .falcon-landing .mobile-nav-trigger__button {
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media (max-width: 680px) {
  .falcon-landing .legal-modal {
    padding: 0.75rem;
    align-items: flex-end;
  }

  .falcon-landing .legal-modal__dialog {
    max-height: min(88vh, 100%);
    padding: 3rem 1.15rem 1.25rem;
  }

  .falcon-landing .legal-modal__close {
    width: 44px;
    height: 44px;
    top: 0.5rem;
    right: 0.5rem;
  }

  .falcon-landing .mobile-nav-panel__links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .falcon-landing .mobile-nav-panel__sheet {
    /* Clear the absolute × (44px) so "NAVIGATION" isn't flush under it */
    padding-top: 4.75rem;
  }
}

/* Lock page scroll while the drawer is open (CSS-only — no JS change). */
html:has(.falcon-landing .mobile-nav-panel.is-open),
body:has(.falcon-landing .mobile-nav-panel.is-open) {
  overflow: hidden;
}

/* Last-resort paint clip; prefer fixing overflow sources above. */
html:has(body.pagelayout-frontpage.falcon-landing-active),
body.pagelayout-frontpage.falcon-landing-active {
  overflow-x: clip;
}

/* Course PDP / app chrome: footer ID selector beat weaker mobile rules and
 * forced ~500px min grid → document scrollWidth ~564 on phones. */
@media (max-width: 680px) {
  body.falcon-chrome-active #page-footer.falcon-site-footer .falcon-footer-top,
  body.mc-public-course-page #page-footer.falcon-site-footer .falcon-footer-top {
    grid-template-columns: 1fr;
  }

  body.falcon-chrome-active #page-footer.falcon-site-footer .falcon-footer-brand,
  body.mc-public-course-page #page-footer.falcon-site-footer .falcon-footer-brand {
    grid-column: auto;
  }

  body.falcon-chrome-active #page-footer.falcon-site-footer .falcon-footer-brand img,
  body.mc-public-course-page #page-footer.falcon-site-footer .falcon-footer-brand img {
    width: min(100%, 240px);
  }
}

html:has(body.mc-public-course-page),
body.mc-public-course-page {
  overflow-x: clip;
}

body.pagelayout-frontpage.falcon-landing-active {
  padding-top: 0 !important;
}
/* Moodle core sets #maincontent { height: 1px } — kills the white seam above institution-bar. */
body.pagelayout-frontpage.falcon-landing-active #maincontent {
  height: 0 !important;
  overflow: hidden;
}
body.pagelayout-frontpage.falcon-landing-active #page-wrapper,
body.pagelayout-frontpage.falcon-landing-active #page { max-width: none; padding: 0; margin: 0; }
body.pagelayout-frontpage.falcon-landing-active [role="main"] {
  padding: 0;
  margin: 0;
}
body.pagelayout-login .falcon-landing-chrome .site-header {
  position: sticky;
  top: 0;
}
body.pagelayout-login .falcon-landing.falcon-landing-chrome {
  min-height: 0 !important;
  height: auto;
}
body.pagelayout-login #page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.pagelayout-login .falcon-landing-chrome {
  flex: 0 0 auto;
}
body.pagelayout-login #page {
  flex: 1 1 auto;
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
}
body.pagelayout-login #page-content {
  flex: 1 1 auto;
  min-height: 0 !important;
}
body.pagelayout-login .login-layout-left {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  align-self: stretch !important;
}
body.pagelayout-login .login-layout-right,
body.pagelayout-login .login-layout-right-content {
  min-height: 100%;
}
body.pagelayout-login .login-layout-right-content {
  min-height: 100% !important;
}
body.falcon-chrome-active {
  padding-top: 0 !important;
}
body.falcon-chrome-active .falcon-landing.falcon-landing-chrome {
  min-height: 0 !important;
  height: auto;
}
body.falcon-chrome-active .falcon-app-chrome .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1040;
}
/* Boost #page-wrapper is flex — reserve app header height or #page overlaps the chrome. */
body.falcon-chrome-active #page-wrapper {
  flex-direction: column;
  min-height: 100vh;
}
body.falcon-chrome-active #page {
  flex: 1 1 auto;
  width: 100%;
}
body.falcon-chrome-active #page-footer.falcon-site-footer {
  flex: 0 0 auto;
  margin-top: auto;
}
body.falcon-chrome-active .falcon-app-chrome.falcon-landing-chrome {
  flex: 0 0 auto;
  width: 100%;
  /* Spacer for fixed .site-header — keeps #page from jumping under the chrome. */
  height: var(--falcon-app-chrome-height, 4.4375rem) !important;
  min-height: var(--falcon-app-chrome-height, 4.4375rem) !important;
}
body.falcon-chrome-active .navbar.fixed-top {
  display: none !important;
}

/* Boost still injects #page.drawers { margin-top: ~60px } for its fixed navbar.
 * Falcon app chrome already reserves that space via .falcon-app-chrome height —
 * keeping Boost's margin doubles the offset (white stripe under the header on phones).
 * Desktop (lg+) already zeroed this inside the media query below; do it at all widths. */
body.falcon-chrome-active #page,
body.falcon-chrome-active #page.drawers,
body.falcon-chrome-active #page.drawers.show-drawer-left,
body.falcon-chrome-active #page.drawers.show-drawer-right {
  margin-top: 0 !important;
}

/* Mobile app header is ~56px; default spacer 4.4375rem (71px) left a dead band. */
@media (max-width: 767.98px) {
  body.falcon-chrome-active {
    --falcon-app-chrome-height: 3.5rem;
  }
}

/*
 * MC public surfaces (guest checkout, etc.): Moodle #page-header duplicates the
 * in-page .mc-public-hero eyebrow/title and sits flush under Falcon chrome.
 * Hide it when the hero is present; otherwise give the heading a little air.
 */
body.falcon-chrome-active.path-local-moderncommerce:has(.mc-public-hero) #page-header {
  display: none !important;
}

body.falcon-chrome-active.path-local-moderncommerce #page-header {
  margin-bottom: 1rem;
  padding-top: 1rem;
  padding-bottom: 0.75rem;
}

@media (max-width: 767.98px) {
  body.falcon-chrome-active.path-local-moderncommerce #page-header {
    padding-top: 0.75rem;
    padding-inline: 1rem;
    margin-bottom: 0.75rem;
  }

  body.falcon-chrome-active.path-local-moderncommerce #page-header .page-context-header {
    margin-bottom: 0 !important;
  }
}

/* Boost drawers use ~60px top offset; Falcon app header is taller. */
@media (min-width: 992px) {
  body.falcon-chrome-active .drawer-left,
  body.falcon-chrome-active .drawer-right,
  body.falcon-chrome-active #theme_boost-drawers-courseindex.drawer {
    top: var(--falcon-app-chrome-height, 4.4375rem);
    height: calc(100vh - var(--falcon-app-chrome-height, 4.4375rem));
  }

  body.falcon-chrome-active #page.drawers {
    margin-top: 0;
  }

  body.falcon-chrome-active .drawer-toggles .drawer-toggler {
    top: calc(var(--falcon-app-chrome-height, 4.4375rem) + 1rem);
  }

  body:not(.falcon-chrome-active):not(.pagelayout-login):not(.falcon-landing-active) .drawer-left,
  body:not(.falcon-chrome-active):not(.pagelayout-login):not(.falcon-landing-active) .drawer-right,
  body:not(.falcon-chrome-active):not(.pagelayout-login):not(.falcon-landing-active) #theme_boost-drawers-courseindex.drawer {
    top: var(--falcon-navbar-height, 4.2rem);
    height: calc(100vh - var(--falcon-navbar-height, 4.2rem));
  }

  body:not(.falcon-chrome-active):not(.pagelayout-login):not(.falcon-landing-active) #page.drawers {
    margin-top: var(--falcon-navbar-height, 4.2rem);
  }

  body:not(.falcon-chrome-active):not(.pagelayout-login):not(.falcon-landing-active) .drawer-toggles .drawer-toggler {
    top: calc(var(--falcon-navbar-height, 4.2rem) + 1rem);
  }
}
.falcon-landing-chrome.chrome-mode-minimal .desktop-navigation {
  justify-content: flex-end;
}

/* App + frontpage landing — user menu toggle */
.falcon-app-chrome .header-user-menu,
.falcon-landing .header-user-menu {
  margin-left: 4px;
}
.falcon-app-chrome .header-user-menu .usermenu,
.falcon-app-chrome .header-user-menu .dropdown,
.falcon-landing .header-user-menu .usermenu,
.falcon-landing .header-user-menu .dropdown {
  height: 100%;
}
.falcon-app-chrome .falcon-user-menu-toggle,
.falcon-landing .falcon-user-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--navy);
  text-decoration: none;
  line-height: 1;
}
.falcon-app-chrome .falcon-user-menu-chevron,
.falcon-landing .falcon-user-menu-chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--navy);
  opacity: 0.72;
}
.falcon-app-chrome .falcon-user-menu-toggle:hover,
.falcon-app-chrome .falcon-user-menu-toggle:focus,
.falcon-app-chrome .falcon-user-menu-toggle.show,
.falcon-landing .falcon-user-menu-toggle:hover,
.falcon-landing .falcon-user-menu-toggle:focus,
.falcon-landing .falcon-user-menu-toggle.show {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--green);
}
.falcon-app-chrome .falcon-user-menu-toggle:hover .falcon-user-menu-chevron,
.falcon-app-chrome .falcon-user-menu-toggle.show .falcon-user-menu-chevron,
.falcon-landing .falcon-user-menu-toggle:hover .falcon-user-menu-chevron,
.falcon-landing .falcon-user-menu-toggle.show .falcon-user-menu-chevron {
  border-top-color: var(--green);
  opacity: 1;
}
.falcon-app-chrome .falcon-user-menu-toggle .userbutton,
.falcon-landing .falcon-user-menu-toggle .userbutton {
  display: inline-flex;
  align-items: center;
}
.falcon-app-chrome .falcon-user-menu-toggle .avatars,
.falcon-landing .falcon-user-menu-toggle .avatars {
  display: inline-flex;
  align-items: center;
}
.falcon-app-chrome .falcon-user-menu-toggle .avatar,
.falcon-landing .falcon-user-menu-toggle .avatar {
  display: inline-flex;
}
.falcon-app-chrome .falcon-user-menu-toggle .userinitials,
.falcon-app-chrome .falcon-user-menu-toggle .userpicture,
.falcon-landing .falcon-user-menu-toggle .userinitials,
.falcon-landing .falcon-user-menu-toggle .userpicture {
  width: 36px;
  height: 36px;
  margin: 0;
}
.falcon-app-chrome .falcon-user-menu-toggle .userinitials,
.falcon-landing .falcon-user-menu-toggle .userinitials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid rgba(16, 42, 67, 0.14);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}
.falcon-app-chrome .falcon-user-menu-toggle:hover .userinitials,
.falcon-app-chrome .falcon-user-menu-toggle.show .userinitials,
.falcon-landing .falcon-user-menu-toggle:hover .userinitials,
.falcon-landing .falcon-user-menu-toggle.show .userinitials {
  border-color: var(--green);
  color: var(--green);
}
.falcon-app-chrome .falcon-user-menu-dropdown,
.falcon-landing .falcon-user-menu-dropdown {
  margin-top: 10px;
  padding: 0.35rem 0;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 12px 32px rgba(9, 29, 48, 0.12);
}
.falcon-app-chrome .falcon-user-menu-dropdown .dropdown-item,
.falcon-landing .falcon-user-menu-dropdown .dropdown-item {
  font-size: 0.8125rem;
  padding: 0.55rem 1rem;
  color: var(--navy);
}
.falcon-app-chrome .falcon-user-menu-dropdown .dropdown-item:hover,
.falcon-app-chrome .falcon-user-menu-dropdown .dropdown-item:focus,
.falcon-landing .falcon-user-menu-dropdown .dropdown-item:hover,
.falcon-landing .falcon-user-menu-dropdown .dropdown-item:focus {
  background: var(--paper);
  color: var(--green);
}
body.pagelayout-frontpage.falcon-landing-active .main-inner,
body.pagelayout-frontpage.falcon-landing-active #page-content,
body.pagelayout-frontpage.falcon-landing-active #region-main,
body.pagelayout-frontpage.falcon-landing-active #region-main-box { max-width: none; padding: 0; margin: 0; border: 0; background: transparent; }
body.pagelayout-frontpage.falcon-landing-active.limitedwidth #page.drawers,
body.pagelayout-frontpage.falcon-landing-active.limitedwidth .main-inner { max-width: none; }
body.pagelayout-frontpage.falcon-landing-active .navbar,
body.pagelayout-frontpage.falcon-landing-active footer:not(.site-footer),
body.pagelayout-frontpage.falcon-landing-active .drawer-toggles,
body.pagelayout-frontpage.falcon-landing-active .breadcrumb,
body.pagelayout-frontpage.falcon-landing-active #page-header,
body.pagelayout-frontpage.falcon-landing-active .activity-header,
body.pagelayout-frontpage.falcon-landing-active .secondary-navigation { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .falcon-landing { scroll-behavior: auto; }
  .falcon-landing .reveal { opacity: 1; transform: none; }
  .falcon-landing [data-in-view="true"] .reveal { animation: none; }
  .falcon-landing .reveal-item { opacity: 1; transform: none; }
  .falcon-landing [data-in-view="true"] .reveal-item { animation: none; }
  .falcon-landing .why-card--left.reveal,
  .falcon-landing .why-card--right.reveal,
  .falcon-landing .why-card--bottom.reveal,
  .falcon-landing .why-card--top.reveal { transform: none; }
  .falcon-landing .cert-card--slam {
    opacity: 1;
    transform: rotate(-3deg);
    filter: none;
  }
  .falcon-landing [data-reveal="certificate"][data-in-view="true"] .cert-card--slam { animation: none; }
}
