:root {
  --black: #050505;
  --soft-black: #111111;
  --white: #ffffff;
  --off-white: #f7f7f2;
  --gold: #c8a24a;
  --gold-deep: #8b6b23;
  --muted: #bdbdbd;
  --ink-muted: #666666;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(0, 0, 0, 0.12);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

@keyframes splashFrameIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(18px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes splashMarkIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes splashDot {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }

  35% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(26);
  }
}

@keyframes drawHorizontal {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes drawVertical {
  from {
    height: 0;
  }

  to {
    height: 100%;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes imageReveal {
  from {
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    transform: scale(1.04);
  }

  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: scale(1);
  }
}

.splash-screen {
  align-items: center;
  background: var(--black);
  display: grid;
  inset: 0;
  justify-items: center;
  position: fixed;
  transition: opacity 700ms ease, visibility 700ms ease;
  z-index: 100;
}

.splash-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.splash-inner {
  animation: splashFrameIn 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
  padding: clamp(34px, 7vw, 70px);
  position: relative;
  text-align: center;
  width: min(84vw, 560px);
}

.splash-screen.is-hidden .splash-inner {
  transform: scale(1.08);
}

.splash-dot {
  animation: splashDot 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
  background: var(--gold);
  border-radius: 999px;
  height: 8px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 8px;
  z-index: 0;
}

.splash-frame {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.frame-line {
  background: var(--gold);
  position: absolute;
}

.frame-top,
.frame-bottom {
  height: 1px;
  left: 0;
  width: 0;
}

.frame-right,
.frame-left {
  height: 0;
  top: 0;
  width: 1px;
}

.frame-top {
  animation: drawHorizontal 520ms cubic-bezier(0.16, 1, 0.3, 1) 520ms both;
  top: 0;
}

.frame-right {
  animation: drawVertical 520ms cubic-bezier(0.16, 1, 0.3, 1) 760ms both;
  right: 0;
}

.frame-bottom {
  animation: drawHorizontal 520ms cubic-bezier(0.16, 1, 0.3, 1) 1000ms both;
  bottom: 0;
}

.frame-left {
  animation: drawVertical 520ms cubic-bezier(0.16, 1, 0.3, 1) 1240ms both;
  left: 0;
}

.splash-mark {
  animation: splashMarkIn 950ms cubic-bezier(0.16, 1, 0.3, 1) 920ms both;
  color: var(--gold);
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(64px, 13vw, 130px);
  letter-spacing: -0.08em;
  line-height: 0.9;
  position: relative;
  z-index: 2;
}

.splash-inner p {
  animation: fadeUp 800ms cubic-bezier(0.16, 1, 0.3, 1) 1120ms both;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin: 26px 0 8px;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
}

.splash-inner small {
  animation: fadeUp 800ms cubic-bezier(0.16, 1, 0.3, 1) 1280ms both;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.5em;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
}

.site-header {
  align-items: center;
  background: rgba(5, 5, 5, 0.9);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 22px clamp(20px, 5vw, 64px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

body.is-ready .site-header {
  animation: fadeUp 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo {
  display: grid;
  line-height: 1;
  text-transform: uppercase;
}

.logo span {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.26em;
}

.logo strong {
  font-size: 15px;
  letter-spacing: 0.08em;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
}

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 12px 18px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 36px;
  width: 42px;
}

.nav-toggle span {
  background: var(--white);
  display: block;
  height: 2px;
  margin: 8px 0;
  width: 100%;
}

.section-pad {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 96px clamp(20px, 4vw, 36px);
}

.hero {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  min-height: calc(100vh - 82px);
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.88;
  margin-bottom: 28px;
  max-width: 780px;
}

h2 {
  font-size: clamp(38px, 5vw, 70px);
  line-height: 0.95;
  margin-bottom: 24px;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  font-size: 20px;
  max-width: 640px;
}

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

.button {
  border: 1px solid var(--gold);
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.08em;
  min-width: 190px;
  padding: 16px 22px;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease, border-color 220ms ease;
  text-transform: uppercase;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  background: var(--gold);
  color: var(--black);
}

.button.secondary {
  background: transparent;
  color: var(--gold);
}

.hero-visual {
  min-height: 620px;
  position: relative;
}

body.is-ready .hero-copy > * {
  animation: fadeUp 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.is-ready .hero-copy > :nth-child(1) {
  animation-delay: 120ms;
}

body.is-ready .hero-copy > :nth-child(2) {
  animation-delay: 240ms;
}

body.is-ready .hero-copy > :nth-child(3) {
  animation-delay: 360ms;
}

body.is-ready .hero-copy > :nth-child(4) {
  animation-delay: 480ms;
}

body.is-ready .hero-visual {
  animation: imageReveal 1100ms cubic-bezier(0.16, 1, 0.3, 1) 320ms both;
}

.hero-visual::before {
  border: 1px solid var(--gold);
  content: "";
  inset: 28px -24px -24px 28px;
  position: absolute;
  z-index: -1;
}

.hero-visual img {
  filter: grayscale(100%) contrast(1.08);
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  width: 100%;
}

.hero-badge {
  background: var(--white);
  bottom: 24px;
  color: var(--black);
  left: 24px;
  padding: 22px;
  position: absolute;
  width: min(82%, 360px);
}

body.is-ready .hero-badge {
  animation: fadeUp 800ms cubic-bezier(0.16, 1, 0.3, 1) 820ms both;
}

.hero-badge span {
  color: var(--gold-deep);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.hero-badge strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  line-height: 1;
}

.intro {
  background: var(--white);
  max-width: none;
  padding-left: max(clamp(20px, 4vw, 36px), calc((100vw - var(--max-width)) / 2 + 36px));
  padding-right: max(clamp(20px, 4vw, 36px), calc((100vw - var(--max-width)) / 2 + 36px));
}

.intro p {
  color: var(--black);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.07;
  margin: 0;
  max-width: 1040px;
}

.image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.image-row img {
  aspect-ratio: 1 / 1.05;
  filter: grayscale(100%);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.section-heading {
  max-width: 780px;
}

.text-link {
  color: var(--gold);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-top: 14px;
  text-transform: uppercase;
}

.programmes {
  background: var(--black);
}

.service-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.service-grid article,
.service-grid a {
  background: var(--soft-black);
  border: 1px solid var(--line-dark);
  color: var(--white);
  display: block;
  min-height: 260px;
  padding: 34px;
  transition: border-color 220ms ease, transform 220ms ease;
}

.service-grid article:hover,
.service-grid a:hover,
.programme-detail article:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}

.service-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-grid p {
  margin-bottom: 0;
}

.branches {
  background: var(--white);
  color: var(--black);
  max-width: none;
  padding-left: max(clamp(20px, 4vw, 36px), calc((100vw - var(--max-width)) / 2 + 36px));
  padding-right: max(clamp(20px, 4vw, 36px), calc((100vw - var(--max-width)) / 2 + 36px));
}

.branches p {
  color: var(--ink-muted);
}

.branch-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 42px;
}

.branch-grid article {
  background: var(--off-white);
  border: 1px solid var(--line-light);
  min-height: 220px;
  padding: 28px;
}

.branch-grid span {
  color: var(--gold-deep);
  display: block;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 26px;
}

.approach {
  align-items: stretch;
  display: grid;
  gap: 36px;
  grid-template-columns: 0.92fr 1fr;
}

.approach-card {
  background: var(--white);
  color: var(--black);
  padding: clamp(36px, 5vw, 72px);
}

.approach-card p:not(.eyebrow) {
  color: var(--ink-muted);
}

.approach-image {
  display: grid;
  gap: 18px;
}

.approach-image img {
  filter: grayscale(100%) contrast(1.05);
  height: 460px;
  object-fit: cover;
  width: 100%;
}

.stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.stats div {
  background: var(--soft-black);
  border: 1px solid var(--line-dark);
  padding: 24px;
}

.stats strong {
  color: var(--gold);
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 40px;
  line-height: 1;
  margin-bottom: 10px;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.academy {
  background: var(--off-white);
  color: var(--black);
  max-width: none;
  padding-left: max(clamp(20px, 4vw, 36px), calc((100vw - var(--max-width)) / 2 + 36px));
  padding-right: max(clamp(20px, 4vw, 36px), calc((100vw - var(--max-width)) / 2 + 36px));
}

.academy p {
  color: var(--ink-muted);
}

.split-content {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.65fr) minmax(260px, 0.58fr);
  margin-top: 34px;
}

.split-content > div:first-child p {
  color: var(--black);
  font-size: 22px;
}

.academy-photo {
  aspect-ratio: 0.8 / 1;
  filter: grayscale(100%) contrast(1.05);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.check-list {
  border-top: 1px solid var(--black);
}

.check-list p {
  border-bottom: 1px solid var(--line-light);
  color: var(--black);
  font-weight: 900;
  margin: 0;
  padding: 18px 0;
}

.cta {
  align-items: start;
  background: var(--black);
  color: var(--white);
  display: grid;
  gap: 48px;
  grid-template-columns: 0.9fr 1fr;
  max-width: none;
  padding-left: max(clamp(20px, 4vw, 36px), calc((100vw - var(--max-width)) / 2 + 36px));
  padding-right: max(clamp(20px, 4vw, 36px), calc((100vw - var(--max-width)) / 2 + 36px));
}

.home-guide {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
}

.home-guide p:not(.eyebrow) {
  max-width: 520px;
}

.home-guide .button {
  margin-top: 22px;
}

.compact-stage {
  min-height: 560px;
}

.compact-stage .phone-mockup {
  min-height: 470px;
}

.compact-stage .phone-screen {
  min-height: 400px;
}

.cta p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  background: var(--white);
  color: var(--black);
  display: grid;
  gap: 18px;
  padding: 34px;
}

.contact-form label {
  color: var(--black);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line-light);
  padding: 15px;
  resize: vertical;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(200, 162, 74, 0.18);
}

.site-footer {
  align-items: center;
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 64px);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

.site-footer a {
  color: var(--gold);
}

.page-hero {
  padding-bottom: 64px;
}

.page-hero p:not(.eyebrow) {
  font-size: 20px;
  max-width: 760px;
}

.programme-detail {
  display: grid;
  gap: 24px;
}

.programme-detail article {
  background: var(--white);
  color: var(--black);
  display: grid;
  gap: 28px;
  grid-template-columns: 80px minmax(0, 0.9fr) minmax(280px, 0.7fr);
  padding: clamp(28px, 5vw, 58px);
}

.programme-detail span {
  color: var(--gold-deep);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 44px;
  line-height: 1;
}

.programme-detail h2 {
  font-size: clamp(32px, 4vw, 54px);
  margin-bottom: 16px;
}

.programme-detail p {
  color: var(--ink-muted);
  margin-bottom: 0;
}

.programme-detail ul,
.application-summary ol {
  color: var(--black);
  line-height: 1.8;
  margin: 0;
  padding-left: 20px;
}

.programme-banner {
  align-items: center;
  background: var(--soft-black);
  border-top: 1px solid var(--line-dark);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  max-width: none;
  padding-left: max(clamp(20px, 4vw, 36px), calc((100vw - var(--max-width)) / 2 + 36px));
  padding-right: max(clamp(20px, 4vw, 36px), calc((100vw - var(--max-width)) / 2 + 36px));
}

.programme-banner h2 {
  max-width: 760px;
}

.application-layout {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
}

.application-summary {
  background: var(--white);
  color: var(--black);
  padding: 34px;
  position: sticky;
  top: 110px;
}

.application-summary > strong {
  color: var(--gold-deep);
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(56px, 6vw, 86px);
  line-height: 0.9;
  margin-bottom: 24px;
}

.application-summary p {
  color: var(--ink-muted);
}

.application-summary h2 {
  color: var(--black);
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 14px;
}

.class-location-list {
  border-top: 1px solid var(--line-light);
  display: grid;
  margin: 26px 0;
}

.class-location-list span {
  border-bottom: 1px solid var(--line-light);
  color: var(--black);
  font-weight: 900;
  padding: 14px 0;
}

.application-note {
  border-left: 3px solid var(--gold);
  margin: 0;
  padding-left: 16px;
}

.payment-card {
  background: var(--black);
  color: var(--white);
  margin: 28px 0;
  padding: 24px;
}

.payment-card span {
  color: var(--gold);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.payment-card h2 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.payment-card p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.application-form {
  display: grid;
  gap: 18px;
}

.form-section {
  background: var(--white);
  color: var(--black);
  padding: clamp(26px, 4vw, 42px);
}

.reveal-item {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-item.is-visible:nth-child(2) {
  transition-delay: 80ms;
}

.reveal-item.is-visible:nth-child(3) {
  transition-delay: 160ms;
}

.reveal-item.is-visible:nth-child(4) {
  transition-delay: 240ms;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

.form-section h2 {
  font-size: clamp(30px, 4vw, 48px);
}

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

.application-form label {
  color: var(--black);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.application-form input,
.application-form select,
.application-form textarea {
  background: var(--off-white);
  border: 1px solid var(--line-light);
  color: var(--black);
  padding: 15px;
  resize: vertical;
  text-transform: none;
  width: 100%;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: var(--gold);
  outline: 2px solid rgba(200, 162, 74, 0.18);
}

.application-form small {
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.checkbox-label {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 18px 1fr;
  line-height: 1.5;
  text-transform: none !important;
}

.checkbox-label input {
  margin-top: 4px;
  padding: 0;
  width: auto;
}

.form-actions {
  background: var(--soft-black);
  border: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  padding: 24px;
}

.payment-reveal {
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--black);
  display: none;
  padding: clamp(26px, 4vw, 42px);
}

.payment-reveal.is-visible {
  display: block;
}

.payment-reveal h2 {
  color: var(--black);
  font-size: clamp(34px, 5vw, 58px);
  margin-bottom: 18px;
}

.payment-reveal p:not(.eyebrow) {
  color: var(--ink-muted);
  max-width: 680px;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-18px) rotate(2deg);
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(200, 162, 74, 0);
  }

  50% {
    box-shadow: 0 0 42px rgba(200, 162, 74, 0.28);
  }
}

.onboarding-page {
  overflow: hidden;
}

.onboarding-hero {
  align-items: center;
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  min-height: calc(100vh - 82px);
}

.onboarding-hero p:not(.eyebrow) {
  font-size: 20px;
  max-width: 620px;
}

.motion-stage {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: 650px;
  position: relative;
}

.orbit {
  border: 1px solid rgba(200, 162, 74, 0.22);
  border-radius: 999px;
  position: absolute;
}

.orbit::after {
  background: var(--gold);
  border-radius: 999px;
  content: "";
  height: 12px;
  position: absolute;
  right: 20%;
  top: 6%;
  width: 12px;
}

.orbit-one {
  animation: orbitSpin 18s linear infinite;
  height: min(72vw, 560px);
  width: min(72vw, 560px);
}

.orbit-two {
  animation: orbitSpin 26s linear infinite reverse;
  height: min(58vw, 430px);
  width: min(58vw, 430px);
}

.phone-mockup {
  animation: pulseGlow 4s ease-in-out infinite;
  background: var(--white);
  border: 10px solid #1c1c1c;
  border-radius: 42px;
  color: var(--black);
  min-height: 520px;
  padding: 16px;
  position: relative;
  width: min(76vw, 310px);
  z-index: 2;
}

.phone-top {
  background: var(--black);
  border-radius: 999px;
  height: 6px;
  margin: 2px auto 22px;
  width: 74px;
}

.phone-screen {
  background: var(--off-white);
  border-radius: 28px;
  display: grid;
  min-height: 450px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.guide-step-number {
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.guide-step-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 0.95;
  margin: 16px 0 10px;
}

.guide-step-copy {
  color: var(--ink-muted);
  line-height: 1.5;
}

.screen-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  height: 54px;
  margin-top: 12px;
}

.screen-card.active-card {
  background: var(--gold);
  border-color: var(--gold);
}

.floating-card {
  animation: floatCard 4.8s ease-in-out infinite;
  background: var(--black);
  border: 1px solid var(--gold);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 16px 18px;
  position: absolute;
  text-transform: uppercase;
  z-index: 3;
}

.card-one {
  left: 2%;
  top: 20%;
}

.card-two {
  animation-delay: 700ms;
  right: 0;
  top: 34%;
}

.card-three {
  animation-delay: 1200ms;
  bottom: 18%;
  left: 10%;
}

.guide-panel {
  background: var(--white);
  color: var(--black);
  max-width: none;
  padding-left: max(clamp(20px, 4vw, 36px), calc((100vw - var(--max-width)) / 2 + 36px));
  padding-right: max(clamp(20px, 4vw, 36px), calc((100vw - var(--max-width)) / 2 + 36px));
}

.guide-progress {
  background: rgba(0, 0, 0, 0.12);
  height: 3px;
  margin-bottom: 34px;
  overflow: hidden;
}

.guide-progress-fill {
  background: var(--gold);
  height: 100%;
  transition: width 500ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 16.6%;
}

.guide-steps {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.guide-step {
  background: var(--off-white);
  border: 1px solid var(--line-light);
  color: var(--black);
  cursor: pointer;
  display: grid;
  font-weight: 900;
  gap: 14px;
  min-height: 140px;
  padding: 20px;
  text-align: left;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.guide-step span {
  color: var(--gold-deep);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
}

.guide-step.is-active {
  background: var(--black);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-8px);
}

@media (max-width: 980px) {
  .home-guide {
    grid-template-columns: 1fr;
  }

  .onboarding-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .motion-stage {
    min-height: 520px;
  }

  .phone-mockup {
    min-height: 460px;
    width: min(86vw, 300px);
  }

  .phone-screen {
    min-height: 390px;
  }

  .floating-card {
    font-size: 11px;
    padding: 12px 14px;
  }

  .guide-steps {
    grid-template-columns: 1fr;
  }

  .guide-step {
    min-height: auto;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: var(--black);
    border-bottom: 1px solid var(--line-dark);
    display: none;
    flex-direction: column;
    gap: 18px;
    left: 0;
    padding: 24px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .approach,
  .split-content,
  .cta,
  .application-layout {
    grid-template-columns: 1fr;
  }

  .programme-detail article {
    grid-template-columns: 1fr;
  }

  .application-summary {
    position: static;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 560px;
  }

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

@media (max-width: 640px) {
  .section-pad {
    padding-bottom: 68px;
    padding-top: 68px;
  }

  .site-header {
    padding: 18px 20px;
  }

  .hero,
  .page-hero {
    gap: 34px;
    padding-bottom: 48px;
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 54px);
    line-height: 0.95;
    margin-bottom: 18px;
  }

  h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .hero-text,
  .page-hero p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-actions,
  .form-actions {
    display: grid;
    gap: 12px;
  }

  .button {
    min-width: 0;
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 380px;
  }

  .hero-visual::before {
    inset: 18px -10px -10px 18px;
  }

  .image-row,
  .service-grid,
  .branch-grid,
  .stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .programme-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid article,
  .service-grid a,
  .contact-form,
  .hero-badge {
    padding: 26px;
  }

  .application-summary,
  .form-section,
  .payment-reveal {
    padding: 24px;
  }

  .application-summary > strong {
    font-size: 54px;
  }

  .application-layout {
    gap: 20px;
    padding-top: 36px;
  }

  .application-form {
    gap: 14px;
  }

  .form-section h2 {
    margin-bottom: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}
