:root {
  color-scheme: dark;
  --ink: #11120f;
  --ink-soft: #191a16;
  --paper: #f3f1e9;
  --paper-muted: #c7c5bc;
  --yellow: #ffc500;
  --yellow-dark: #e5af00;
  --line-dark: rgba(255, 255, 255, 0.15);
  --line-light: rgba(17, 18, 15, 0.15);
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 0 7.2%;
  border-bottom: 1px solid var(--line-light);
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 160px;
  max-height: 48px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  gap: 34px;
  color: rgba(17, 18, 15, 0.78);
  font-size: 14px;
  font-weight: 500;
}

.main-nav a,
.text-link,
.site-footer a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--yellow);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 24px;
  border: 1px solid var(--yellow);
  border-radius: 2px;
  font-size: 15px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--yellow-dark);
}

.button-yellow {
  background: var(--yellow);
  color: var(--ink);
}

.button-small {
  min-height: 42px;
  gap: 16px;
  padding: 0 16px;
  font-size: 13px;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(760px, 100svh);
  min-height: max(700px, 100svh);
  align-items: center;
  overflow: hidden;
  padding: 125px 10% 90px;
  isolation: isolate;
}

.hero-photo,
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-photo {
  background-image: url("assets/hero-boy.jpg");
  background-position: 62% 45%;
  background-size: cover;
  transform: scale(1.015);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 15, 21, 0.9) 0%, rgba(10, 15, 21, 0.73) 41%, rgba(10, 15, 21, 0.16) 100%),
    linear-gradient(0deg, rgba(10, 15, 21, 0.46), transparent 40%);
}

.hero-content {
  max-width: 750px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

.hero h1 {
  margin-bottom: 21px;
  font-size: clamp(58px, 8.1vw, 110px);
  font-weight: 800;
  letter-spacing: -0.085em;
  line-height: 0.94;
}

.hero h1 span {
  color: var(--yellow);
}

.hero-description {
  max-width: 490px;
  margin-bottom: 19px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.55;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.37);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.89);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-button {
  min-width: 220px;
}

.hero-note {
  margin: 31px 0 0;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-caption {
  position: absolute;
  right: 7.2%;
  bottom: 45px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  letter-spacing: 0.15em;
}

.hero-caption span {
  color: var(--yellow);
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  display: block;
  width: 20px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
}

.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 8px;
  width: 2px;
  height: 7px;
  background: var(--yellow);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 7.2%;
  border-bottom: 1px solid var(--line-dark);
  background: #151612;
}

.fact {
  display: flex;
  min-height: 105px;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-right: 1px solid var(--line-dark);
}

.fact:first-child {
  border-left: 1px solid var(--line-dark);
}

.fact-icon {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 26px;
}

.fact-label,
.fact strong {
  display: block;
}

.fact-label {
  margin-bottom: 6px;
  color: #92928b;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact strong {
  font-size: 14px;
  font-weight: 600;
}

.fact-arrow {
  padding-left: 8px;
  color: var(--yellow);
}

.fact-link:hover strong {
  color: var(--yellow);
}

.section-wrap {
  padding-right: 10%;
  padding-left: 10%;
}

.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 9%;
  padding-top: 125px;
  padding-bottom: 125px;
}

.eyebrow-dark {
  color: #8a6c00;
}

.intro h2,
.section-heading h2,
.audience h2,
.enrol h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1.04;
}

.intro h2 span,
.audience h2 span {
  color: var(--yellow);
}

.intro-detail {
  max-width: 450px;
  padding-bottom: 4px;
}

.intro-detail > p {
  margin-bottom: 24px;
  color: var(--paper-muted);
  font-size: 15px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
}

.program {
  padding-top: 100px;
  padding-bottom: 100px;
  background: var(--ink-soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 47px;
}

.section-heading .eyebrow {
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(38px, 4.6vw, 57px);
}

.section-aside {
  max-width: 330px;
  margin-bottom: 3px;
  color: #aaa9a1;
  font-size: 15px;
  line-height: 1.7;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.program-card {
  position: relative;
  min-height: 255px;
  padding: 28px 22px 25px 0;
}

.program-card + .program-card {
  padding-left: 22px;
  border-left: 1px solid var(--line-dark);
}

.card-number,
.instructor-index {
  color: #a09f96;
  font-size: 13px;
  letter-spacing: 0.16em;
}

.card-symbol {
  display: block;
  margin: 31px 0 19px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 30px;
}

.program-card h3 {
  margin-bottom: 9px;
  font-size: 17px;
  font-weight: 700;
}

.program-card p {
  max-width: 240px;
  margin-bottom: 0;
  color: #aaa9a1;
  font-size: 14px;
  line-height: 1.7;
}

.learning-points {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 15px 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.learning-points li {
  position: relative;
  padding-left: 13px;
  color: #d0cfc8;
  font-size: 13px;
  line-height: 1.55;
}

.learning-points li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--yellow);
  content: "";
}

.deliverables {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
}

.deliverable-label {
  color: #a09f96;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.deliverable-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.deliverable-list span {
  font-size: 14px;
}

.deliverable-list b {
  margin-right: 6px;
  color: var(--yellow);
  font-size: 10px;
}

.audience {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 10%;
  padding-top: 120px;
  padding-bottom: 120px;
}

.audience h2 {
  max-width: 580px;
}

.audience-copy > p:last-child {
  max-width: 390px;
  margin: 22px 0 0;
  color: var(--paper-muted);
  font-size: 16px;
  line-height: 1.7;
}

.audience-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 16px;
  font-weight: 600;
}

.audience-list li:first-child {
  border-top: 1px solid var(--line-dark);
}

.audience-list li span {
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.instructors {
  padding-top: 100px;
  padding-bottom: 112px;
  background: var(--paper);
  color: var(--ink);
}

.instructors .section-heading {
  margin-bottom: 42px;
}

.instructors .section-aside {
  color: #6e6e67;
}

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.instructor-card {
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line-light);
}

.instructor-index {
  color: #77766e;
}

.instructor-avatar {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin: 25px 0 20px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.instructor-avatar-light {
  background: #e8e5da;
}

.instructor-avatar-dark {
  background: var(--ink);
  color: var(--paper);
}

.instructor-card h3 {
  margin-bottom: 7px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.instructor-card p {
  max-width: 260px;
  margin-bottom: 0;
  color: #5c5b54;
  font-size: 14px;
  line-height: 1.6;
}

.enrol {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10%;
  padding-top: 115px;
  padding-bottom: 115px;
  background:
    radial-gradient(ellipse at 85% 50%, rgba(255, 197, 0, 0.08), transparent 31%),
    var(--ink);
}

.enrol h2 {
  margin-bottom: 22px;
}

.enrol h2 span {
  color: var(--yellow);
}

.enrol-copy > p:not(.eyebrow):not(.enrol-contact) {
  max-width: 410px;
  margin-bottom: 29px;
  color: var(--paper-muted);
  font-size: 16px;
  line-height: 1.75;
}

.enrol-button {
  min-width: 245px;
}

.registration-form {
  max-width: 520px;
  margin: 0 0 18px;
}

.form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 17px;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
}

.form-field label span {
  color: #aaa9a1;
  font-size: 13px;
  font-weight: 400;
}

.form-field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  background: #1a1b17;
  color: var(--paper);
  font: inherit;
  font-size: 16px;
}

.form-field input:focus-visible,
.consent-field input:focus-visible,
.form-submit:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 18px;
  color: var(--paper-muted);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.55;
}

.consent-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--yellow);
}

.form-submit {
  min-width: 220px;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--paper-muted);
  font-size: 14px;
  line-height: 1.5;
}

.form-status.is-success {
  color: #a8df9d;
}

.form-status.is-error {
  color: #ff9b91;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.enrol-contact {
  margin: 18px 0 0;
  color: #a9a89f;
  font-size: 13px;
}

.enrol-contact a {
  color: var(--paper);
}

.enrol-contact a:hover {
  color: var(--yellow);
}

.enrol-contact span {
  padding: 0 4px;
}

.enrol-details {
  align-self: center;
  padding-left: 32px;
  border-left: 1px solid var(--line-dark);
}

.price-label {
  color: #aaa9a1;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.price {
  margin: 7px 0 1px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 1;
}

.price span {
  font-size: 20px;
  letter-spacing: 0;
}

.price-caption {
  margin-bottom: 14px;
  color: #aaa9a1;
  font-size: 14px;
}

.enrol-details ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 17px;
  margin: 0 0 27px;
  padding: 0;
  list-style: none;
}

.enrol-details li {
  color: var(--paper);
  font-size: 14px;
}

.enrol-details li span {
  margin-right: 5px;
  color: var(--yellow);
}

.date-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 21px;
  border-top: 1px solid var(--line-dark);
}

.date-card > span {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.date-card > strong {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.date-card > strong small {
  color: var(--yellow);
  font-size: 12px;
}

.date-place {
  margin-left: auto;
  color: #c3c2b9;
  font-size: 13px;
}

.date-place span {
  margin-left: 4px;
  color: var(--yellow);
  font-size: 17px;
}

.site-footer {
  display: flex;
  min-height: 95px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 7.2%;
  border-top: 1px solid var(--line-light);
  background: var(--paper);
  color: #5c5b54;
}

.footer-brand .brand-logo {
  width: 145px;
}

.partner-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.partner-logos img {
  display: block;
  width: 88px;
  height: 43px;
  object-fit: contain;
}

.site-footer > p,
.site-footer > a:not(.brand),
.footer-copyright {
  margin: 0;
  font-size: 13px;
}

.site-footer > a:not(.brand) span {
  margin-left: 6px;
  color: var(--yellow);
}

@media (max-width: 900px) {
  .site-header {
    padding-right: 5%;
    padding-left: 5%;
  }

  .main-nav {
    gap: 18px;
  }

  .hero {
    padding-right: 7%;
    padding-left: 7%;
  }

  .quick-facts {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 5%;
  }

  .fact:nth-child(3) {
    border-left: 1px solid var(--line-dark);
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .section-wrap {
    padding-right: 7%;
    padding-left: 7%;
  }

  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-card:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .program-card:nth-child(n + 3) {
    border-top: 1px solid var(--line-dark);
  }

  .enrol {
    gap: 6%;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 72px;
  }

  .brand-logo {
    width: 135px;
    max-height: 41px;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 11px;
    font-size: 13px;
  }

  .hero {
    min-height: 690px;
    min-height: 95svh;
    align-items: center;
    padding: 115px 7% 100px;
  }

  .hero-photo {
    background-position: 60% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 15, 21, 0.81), rgba(10, 15, 21, 0.34)),
      linear-gradient(0deg, rgba(10, 15, 21, 0.62), transparent 60%);
  }

  .hero h1 {
    font-size: clamp(39px, 12.5vw, 65px);
  }

  .hero-description {
    max-width: 390px;
  }

  .hero-caption {
    right: 7%;
    bottom: 30px;
    font-size: 12px;
  }

  .scroll-cue {
    display: none;
  }

  .quick-facts {
    padding: 0 4%;
  }

  .fact {
    min-height: 86px;
    gap: 10px;
    padding: 14px 10px;
  }

  .fact-icon {
    font-size: 22px;
  }

  .fact-label {
    font-size: 12px;
  }

  .fact strong {
    font-size: 13px;
  }

  .section-wrap {
    padding-right: 7%;
    padding-left: 7%;
  }

  .intro,
  .audience,
  .enrol {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .program,
  .instructors {
    padding-top: 77px;
    padding-bottom: 80px;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-aside {
    margin-top: 15px;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .program-card,
  .program-card + .program-card,
  .program-card:nth-child(3) {
    min-height: unset;
    padding: 22px 0;
    border-left: 0;
  }

  .program-card + .program-card {
    border-top: 1px solid var(--line-dark);
  }

  .card-symbol {
    display: inline-block;
    margin: 17px 10px 0 0;
    vertical-align: middle;
  }

  .program-card h3 {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
  }

  .program-card p {
    max-width: 100%;
    margin-top: 7px;
  }

  .learning-points {
    gap: 8px;
    margin-top: 14px;
  }

  .deliverables {
    display: block;
  }

  .deliverable-list {
    gap: 13px 18px;
    margin-top: 16px;
  }

  .audience-list li {
    font-size: 15px;
  }

  .instructor-grid {
    grid-template-columns: 1fr;
  }

  .instructor-card {
    min-height: unset;
    padding: 21px;
  }

  .instructor-avatar {
    margin: 19px 0 15px;
  }

  .enrol-details {
    padding: 25px 0 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .form-fields {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .form-submit {
    width: 100%;
  }

  .date-card {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .date-card > span {
    font-size: 28px;
  }

  .date-place {
    width: 100%;
    margin-left: 0;
  }

  .site-footer {
    justify-content: flex-start;
    gap: 14px 24px;
    padding: 22px 7%;
  }

  .footer-brand .brand-logo {
    width: 135px;
  }

  .partner-logos img {
    width: 76px;
    height: 38px;
  }

  .footer-copyright {
    margin-left: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
