* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: var(--sans);
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
}

p {
  margin-bottom: 20px;
}

.page-container {
  width: min(1360px, calc(100% - 72px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 12px 16px;
  border: 2px solid var(--focus);
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.programme-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(26, 40, 72, 0.13);
  background: rgba(247, 245, 239, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.wordmark img {
  width: 205px;
  height: auto;
}

.wordmark span {
  padding-left: 15px;
  border-left: 1px solid var(--line);
  color: var(--teal-dark);
  font-size: 0.95rem;
  font-weight: 600;
}

.header-apply {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.programme-hero {
  min-height: calc(100svh - 82px);
  padding: clamp(44px, 5vw, 78px) 0 clamp(64px, 7vw, 102px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 0 66%, rgba(220, 233, 223, 0.42) 66% 100%),
    var(--paper);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
  gap: clamp(52px, 7vw, 108px);
  align-items: center;
}

.hero-copy {
  max-width: 850px;
}

.offer-name {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 52px);
  color: var(--teal-dark);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.offer-name::before {
  width: 44px;
  height: 5px;
  background: var(--red);
  content: "";
}

.hero-copy > .offer-name {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

h1 {
  max-width: 880px;
  margin-bottom: clamp(30px, 4vw, 48px);
  font-size: clamp(3.45rem, 5.35vw, 5.95rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-callout {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
  line-height: 1.12;
}

.hero-copy > p:not(.offer-name, .hero-callout, .hero-goal) {
  max-width: 720px;
  font-size: clamp(1.14rem, 1.55vw, 1.32rem);
  line-height: 1.5;
}

.hero-goal {
  max-width: 720px;
  margin: 28px 0 34px;
  color: var(--ink);
  font-size: clamp(1.14rem, 1.55vw, 1.32rem);
  line-height: 1.5;
}

.hero-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero-offer-note {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.2vw, 1.18rem);
  line-height: 1.5;
}

.hero-offer-note strong {
  color: var(--ink);
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.button-primary {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.button-primary:hover {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.application-layout-closed {
  align-items: center;
}

.closed-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 24px;
}

.closed-secondary-link {
  color: var(--white);
  font-weight: 700;
  text-underline-offset: 5px;
}

.hero-portrait {
  position: relative;
  margin: 0;
}

.hero-portrait::before {
  position: absolute;
  top: -28px;
  right: -28px;
  width: 96px;
  height: 96px;
  border: 10px solid var(--red);
  content: "";
}

.portrait-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #eeeae1;
}

.portrait-frame::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 9px;
  background: var(--red);
  content: "";
}

.hero-portrait img {
  width: 100%;
  height: min(72vh, 790px);
  min-height: 620px;
  object-fit: cover;
  object-position: 50% 34%;
  transition: transform 800ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.hero-portrait:hover img {
  transform: scale(1.015);
}

.hero-portrait figcaption {
  position: relative;
  z-index: 1;
  max-width: 580px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.proof-strip {
  padding: clamp(62px, 7vw, 94px) 0 30px;
  background: var(--navy);
  color: var(--white);
}

.proof-heading h2 {
  max-width: 920px;
  margin: 0 0 clamp(36px, 5vw, 64px);
  color: var(--white);
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.proof-item {
  min-width: 0;
  padding: 32px clamp(28px, 3vw, 48px) 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-label {
  margin-bottom: 28px;
  color: #b7e2dc;
  font-size: 0.92rem;
  font-weight: 700;
}

.proof-result {
  margin-bottom: 18px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.35vw, 2.45rem);
  letter-spacing: -0.026em;
  line-height: 1.08;
}

.proof-result strong {
  color: #b7e2dc;
  font-weight: 400;
}

.proof-detail {
  margin-bottom: 0;
  color: #d9e1e5;
  font-size: 0.98rem;
}

.proof-qualification {
  padding-top: 24px;
  color: #c5cfd5;
  font-size: 0.86rem;
  text-align: right;
}

.process-section {
  padding: clamp(86px, 10vw, 148px) 0;
  background: #fcfbf8;
}

.process-section h2 {
  margin-bottom: clamp(48px, 7vw, 88px);
  font-size: clamp(4.5rem, 10vw, 9.5rem);
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1.72fr);
  gap: clamp(28px, 6vw, 96px);
  padding: clamp(34px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step-number {
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  letter-spacing: -0.06em;
  line-height: 0.86;
}

.process-list h3 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.5vw, 3.7rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.process-list p {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
}

.difference-section {
  padding: clamp(90px, 11vw, 170px) 0 clamp(70px, 9vw, 126px);
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 10%, rgba(18, 110, 99, 0.52), transparent 34%),
    var(--navy);
  color: var(--white);
}

.difference-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.45fr);
  gap: clamp(54px, 9vw, 140px);
  align-items: end;
}

.difference-statement {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5.25vw, 5.7rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.difference-intro {
  margin-bottom: 0.55em;
  color: inherit;
}

.difference-list {
  margin: 0;
  padding: 0;
  font-size: 0.72em;
  letter-spacing: -0.02em;
  line-height: 1.18;
  list-style: none;
}

.difference-list li {
  position: relative;
  margin: 0.18em 0;
  padding-left: 0.72em;
}

.difference-list li::before {
  position: absolute;
  left: 0;
  color: #b7e2dc;
  content: "-";
}

.implementation-note {
  margin: 0;
  padding-top: 24px;
  border-top: 5px solid var(--red);
  color: #e4eaed;
  font-size: 1rem;
}

.payoff-section {
  padding: clamp(84px, 11vw, 168px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--mint);
}

.payoff-layout {
  position: relative;
}

.payoff-mark {
  display: block;
  width: clamp(78px, 9vw, 130px);
  height: clamp(78px, 9vw, 130px);
  margin-bottom: clamp(44px, 7vw, 82px);
  border: clamp(8px, 1vw, 14px) solid var(--red);
  transform: rotate(10deg);
}

.payoff-section p {
  max-width: 1200px;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.1rem, 6.7vw, 7.2rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.payoff-section strong {
  font-weight: 700;
}

.application-section {
  padding: clamp(84px, 10vw, 144px) 0;
  background: var(--navy);
  color: #dbe4e8;
}

.application-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(52px, 8vw, 120px);
  align-items: start;
}

.application-intro {
  position: sticky;
  top: 122px;
}

.offer-name-light {
  color: #b7e2dc;
}

.application-section h2 {
  margin-bottom: 30px;
  color: var(--white);
  font-size: clamp(3.7rem, 7vw, 6.8rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.offer-copy {
  color: var(--white);
  font-size: clamp(1.15rem, 1.55vw, 1.35rem);
}

.application-intro > p:not(.offer-name, .offer-copy) {
  color: #dbe4e8;
}

.application-prompt-mobile {
  display: none;
}

.form-shell {
  min-width: 0;
  padding: clamp(24px, 4vw, 46px);
  border-top: 9px solid var(--red);
  background: var(--paper);
  color: var(--body);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.form-title {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.form-shell iframe {
  display: block;
  min-width: 100%;
  border: 0;
}

.form-fallback {
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.form-fallback a {
  color: var(--teal-dark);
  font-weight: 600;
  text-underline-offset: 3px;
}

.programme-footer {
  padding: 34px 0;
  border-top: 1px solid #425777;
  background: var(--navy);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.footer-wordmark img {
  width: 205px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: #c3cdd3;
  font-size: 0.84rem;
  flex-wrap: wrap;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-underline-offset: 3px;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 48px;
  }

  h1 {
    font-size: clamp(3.2rem, 6vw, 5.1rem);
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .proof-item:first-child,
  .proof-item:last-child {
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .proof-label {
    margin-bottom: 14px;
  }

  .difference-layout,
  .application-layout {
    grid-template-columns: 1fr;
  }

  .implementation-note {
    max-width: 720px;
  }

  .application-intro {
    position: static;
    max-width: 780px;
  }
}

@media (max-width: 780px) {
  .page-container {
    width: min(100% - 40px, 1360px);
  }

  .programme-hero {
    background: var(--paper);
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .application-prompt-desktop {
    display: none;
  }

  .application-prompt-mobile {
    display: inline;
  }

  .hero-portrait {
    width: min(100%, 620px);
    margin-top: 14px;
  }

  .hero-portrait img {
    height: min(78vh, 720px);
    min-height: 520px;
  }

  .process-list li {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 78px;
  }

  body {
    font-size: 17px;
  }

  .page-container {
    width: min(100% - 32px, 1360px);
  }

  .header-inner {
    min-height: 72px;
  }

  .wordmark img {
    width: 158px;
  }

  .wordmark span {
    display: none;
  }

  .header-apply {
    font-size: 0.9rem;
  }

  .programme-hero {
    min-height: 0;
    padding: 42px 0 66px;
  }

  .offer-name {
    margin-bottom: 28px;
  }

  h1 {
    font-size: clamp(2.85rem, 13.8vw, 4.2rem);
    line-height: 0.98;
  }

  .hero-callout {
    font-size: 1.8rem;
  }

  .button {
    width: 100%;
  }

  .hero-portrait::before {
    top: -16px;
    right: -8px;
    width: 66px;
    height: 66px;
    border-width: 7px;
  }

  .hero-portrait img {
    height: 530px;
    min-height: 0;
    object-position: 50% 30%;
  }

  .proof-strip {
    padding-top: 56px;
  }

  .proof-result {
    font-size: 1.75rem;
  }

  .proof-qualification {
    text-align: left;
  }

  .process-section {
    padding: 76px 0;
  }

  .process-section h2 {
    font-size: 5rem;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0;
  }

  .step-number {
    font-size: 4.5rem;
  }

  .process-list h3 {
    font-size: 2.25rem;
  }

  .difference-section {
    padding: 78px 0;
  }

  .difference-statement {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .payoff-section {
    padding: 78px 0;
  }

  .payoff-section p {
    font-size: clamp(2.75rem, 13vw, 4.4rem);
  }

  .application-section {
    padding: 78px 0;
  }

  .application-section h2 {
    font-size: 4rem;
  }

  .form-shell {
    margin-inline: -8px;
    padding: 26px 12px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 360px) {
  .page-container {
    width: min(100% - 26px, 1360px);
  }

  .wordmark img {
    width: 144px;
  }

  .header-apply {
    font-size: 0.84rem;
  }

  .hero-portrait img {
    height: 470px;
  }
}

@media (min-width: 781px) {
  h1 {
    max-width: 820px;
    font-size: clamp(3.2rem, 4.45vw, 4.75rem);
    letter-spacing: -0.03em;
    line-height: 1.06;
    text-wrap: balance;
  }

  h1 u {
    white-space: nowrap;
  }

  .proof-heading h2 {
    font-size: clamp(2.4rem, 3.7vw, 4rem);
    letter-spacing: -0.025em;
    line-height: 1.08;
    text-wrap: balance;
  }

  .process-section h2 {
    font-size: clamp(4.5rem, 7.5vw, 7.5rem);
    letter-spacing: -0.04em;
    line-height: 0.95;
  }

  .process-list h3 {
    letter-spacing: -0.025em;
    line-height: 1.06;
  }

  .difference-statement {
    font-size: clamp(2.75rem, 4.15vw, 4.5rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-wrap: pretty;
  }

  .payoff-section p {
    font-size: clamp(3rem, 4.8vw, 5rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-wrap: balance;
  }

  .application-section h2 {
    font-size: clamp(3.7rem, 5vw, 5.2rem);
    letter-spacing: -0.035em;
    line-height: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .hero-portrait img,
  .js [data-reveal] {
    transition: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
