:root {
  color-scheme: dark;
  --ink: #f3f5ef;
  --muted: #b6c0ba;
  --paper: #0b1413;
  --white: #ffffff;
  --black: #08110f;
  --charcoal: #101918;
  --surface-soft: #111d1b;
  --surface-panel: rgba(22, 34, 32, 0.82);
  --surface-panel-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);
  --blue: #75c5cf;
  --petrol: #1f6f73;
  --petrol-dark: #124c50;
  --green: #6f7962;
  --sage: #b7c2ba;
  --olive: #737966;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(13, 22, 20, 0.96);
  color: var(--white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 42px;
  background: var(--black);
}

.brand-mark img {
  grid-area: 1 / 1;
  display: block;
  width: 58px;
  height: auto;
  object-fit: contain;
}

.brand-logo-dark {
  display: none;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 650;
}

nav a:hover,
.footer-links a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 75px);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px) clamp(40px, 6vw, 74px);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero::before,
.hero::after,
.section-dark::before,
.approach-section::before,
.contact-section::before,
.lottery-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  top: -150px;
  right: -130px;
  width: min(760px, 52vw);
  height: min(360px, 26vw);
  border-radius: 63% 37% 42% 58% / 58% 48% 52% 42%;
  background: rgba(31, 111, 115, 0.42);
  transform: rotate(-12deg);
}

.hero::after {
  top: 290px;
  left: -220px;
  width: min(720px, 54vw);
  height: 210px;
  border-radius: 48% 52% 58% 42% / 52% 41% 59% 48%;
  background: rgba(111, 121, 98, 0.32);
  transform: rotate(9deg);
}

.hero-copy,
.hero-profile,
.section-banner,
.why-layout,
.approach-heading,
.approach-grid,
.mode-list,
.contact-panel,
.lottery-panel {
  position: relative;
  z-index: 1;
}

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

.hero-profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 3vw, 38px);
  justify-self: stretch;
  width: auto;
  min-width: 0;
  transform: none;
}

.hero-profile-image {
  width: clamp(220px, 22vw, 360px);
  min-width: 0;
  align-self: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(183, 194, 186, 0.18);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.24);
}

.hero-profile-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 43% 12%;
  filter: grayscale(1);
  transform: scale(1.28);
  transform-origin: 43% 12%;
  transition: filter 260ms ease, transform 260ms ease;
}

.hero-profile:hover img {
  filter: grayscale(0);
  transform: scale(1.31);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 1240px;
  margin-bottom: 26px;
  font-size: clamp(42px, 5.3vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 850;
}

.hero-timeline {
  --timeline-axis: 10px;
  --timeline-gutter: 34px;
  position: relative;
  display: grid;
  gap: clamp(34px, 4.7vw, 62px);
  max-width: 760px;
  margin: 0 0 clamp(42px, 5vw, 66px);
  padding: 6px 0 6px var(--timeline-gutter);
}

.hero-timeline::before {
  content: "";
  position: absolute;
  top: 47px;
  bottom: 47px;
  left: var(--timeline-axis);
  width: 2px;
  background: linear-gradient(180deg, var(--sage), var(--petrol), var(--green));
  opacity: 0.72;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  animation: timelineDraw 1800ms ease forwards 220ms;
}

.timeline-phase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  color: var(--white);
  opacity: 0;
  transform: translateY(18px);
  animation: phaseFade 900ms ease forwards;
}

.timeline-phase::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(var(--timeline-axis) - var(--timeline-gutter));
  width: 18px;
  height: 18px;
  border: 2px solid var(--sage);
  border-radius: 50%;
  background: var(--black);
  box-shadow: 0 0 0 7px rgba(183, 194, 186, 0.1);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.timeline-phase:nth-child(2) {
  animation-delay: 650ms;
}

.timeline-phase:nth-child(3) {
  animation-delay: 1300ms;
}

.phase-number {
  color: rgba(183, 194, 186, 0.72);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.timeline-phase h2 {
  margin-bottom: 4px;
  color: var(--white);
  font-size: clamp(42px, 5.4vw, 82px);
  font-weight: 760;
  line-height: 0.98;
}

.timeline-phase p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.38;
}

@keyframes timelineDraw {
  to {
    transform: translateX(-50%) scaleY(1);
  }
}

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

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 820;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.1;
}

@media (min-width: 768px) {
  h1,
  h2,
  h3 {
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

  h1 {
    font-size: clamp(42px, 4.8vw, 72px);
  }

  h2 {
    font-size: clamp(30px, 3.1vw, 44px);
  }

  h3 {
    font-size: clamp(22px, 2.2vw, 31px);
  }

  .section-banner h2 {
    max-width: min(100%, 1360px);
    font-size: clamp(34px, 3.6vw, 60px);
    line-height: 1;
  }

  .offer-copy h3 {
    font-size: clamp(28px, 3vw, 48px);
    line-height: 1.04;
  }

  .timeline-phase h2 {
    white-space: nowrap;
  }

  .mode-list h3,
  .approach-grid h3 {
    font-size: clamp(22px, 1.9vw, 30px);
    line-height: 1.08;
  }
}

h4 {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.16;
}

.lead {
  width: min(100%, 760px);
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.secondary {
  background: rgba(183, 194, 186, 0.08);
  border-color: var(--sage);
  color: var(--sage);
}

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

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

.button.secondary:hover {
  background: rgba(183, 194, 186, 0.16);
}

.section {
  padding: clamp(62px, 8vw, 112px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.section-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface-soft);
  color: var(--ink);
}

.section-dark::before {
  right: -240px;
  bottom: 120px;
  width: min(760px, 58vw);
  height: 420px;
  border-radius: 58% 42% 48% 52% / 42% 52% 48% 58%;
  background: rgba(31, 111, 115, 0.16);
  transform: rotate(18deg);
}

.section-banner {
  max-width: 1120px;
  margin: 0 0 clamp(34px, 5.5vw, 64px);
  padding: clamp(30px, 5vw, 54px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark .section-banner {
  border-color: var(--line);
}

.section-banner.compact {
  margin-bottom: clamp(28px, 5vw, 48px);
}

.offer-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0d1715;
}

.offer-section::before {
  content: "";
  position: absolute;
  top: 120px;
  right: -220px;
  z-index: -1;
  width: min(720px, 55vw);
  height: 320px;
  border-radius: 56% 44% 47% 53% / 44% 58% 42% 56%;
  background: rgba(31, 111, 115, 0.14);
  transform: rotate(-11deg);
}

.offer-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.offer-copy h3 {
  max-width: 1180px;
}

.offer-copy p {
  max-width: 1120px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
}

.offer-copy p:last-child {
  margin-bottom: 0;
}

.offer-proof {
  display: grid;
  gap: 0;
  max-width: 1120px;
  margin: clamp(26px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
}

.offer-proof article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.offer-proof span {
  color: var(--petrol-dark);
  font-size: 15px;
  font-weight: 900;
}

.offer-proof p {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 640;
  line-height: 1.3;
}

.offer-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.offer-list article {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 34px);
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.offer-list span {
  color: rgba(183, 194, 186, 0.34);
  font-size: 14px;
  font-weight: 850;
}

.offer-list h4 {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 620;
}

.offer-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.industry-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 92px);
  margin-top: clamp(40px, 6vw, 70px);
  padding: clamp(24px, 4vw, 38px) 0 0;
  border-top: 1px solid var(--line);
}

.industry-panel > div > span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 620px;
}

.industry-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(183, 194, 186, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
  cursor: default;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.industry-tags span:hover {
  transform: translateY(-2px);
  border-color: rgba(117, 197, 207, 0.64);
  background: rgba(31, 111, 115, 0.18);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: transparent;
}

.trust-strip article {
  position: relative;
  min-height: 116px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.028);
}

.trust-strip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 780;
  line-height: 1;
}

.trust-strip span {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 680;
  text-transform: none;
}

.trust-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.trust-heading strong {
  margin-bottom: 0;
}

.trust-icon {
  flex: 0 0 auto;
  width: clamp(30px, 3vw, 44px);
  aspect-ratio: 1;
  background: var(--petrol-dark);
}

.trust-icon-location {
  -webkit-mask: url("assets/map-pin-simple.svg") center / contain no-repeat;
  mask: url("assets/map-pin-simple.svg") center / contain no-repeat;
}

.trust-icon-experience {
  -webkit-mask: url("assets/medal.svg") center / contain no-repeat;
  mask: url("assets/medal.svg") center / contain no-repeat;
}

.trust-icon-projects {
  -webkit-mask: url("assets/briefcase.svg") center / contain no-repeat;
  mask: url("assets/briefcase.svg") center / contain no-repeat;
}

.trust-icon-global {
  -webkit-mask: url("assets/globe-hemisphere-west.svg") center / contain no-repeat;
  mask: url("assets/globe-hemisphere-west.svg") center / contain no-repeat;
}

html[data-theme="dark"] .trust-icon {
  background: var(--blue);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(46px, 6vw, 78px);
  align-items: start;
}

.experience-intro,
.contact-panel,
.lottery-panel {
  border: 1px solid var(--line);
  background: var(--surface-panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

.section-dark .experience-intro {
  border-color: var(--line);
  background: var(--surface-panel-soft);
}

.experience-intro {
  padding: clamp(24px, 4vw, 38px);
}

.experience-intro span,
.project-overlay span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.experience-intro p,
.project-overlay p,
.mode-list p,
.contact-panel li,
.lottery-panel p,
footer span {
  color: var(--muted);
}

.section-dark .experience-intro p {
  color: var(--muted);
}

.section-dark .project-overlay p {
  color: rgba(255, 255, 255, 0.78);
}

.education-block,
.experience-block {
  display: grid;
  gap: clamp(30px, 4vw, 48px);
}

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

.project-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--black);
}

.education-card {
  min-height: 340px;
}

.project-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.86;
  transform: scale(1.01);
  transition: transform 260ms ease, opacity 260ms ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.08) 0%,
    rgba(5, 5, 5, 0.36) 45%,
    rgba(5, 5, 5, 0.84) 100%
  );
  color: var(--white);
}

.project-card:hover img,
.project-card:focus-visible img,
.project-card:focus-within img {
  opacity: 0.52;
  transform: scale(1.04);
}

.project-card:focus-visible,
.project-card:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.project-overlay p {
  max-width: none;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  transform: translateY(8px);
  transition: max-height 260ms ease, margin 260ms ease, opacity 220ms ease, transform 220ms ease;
}

.project-card:hover p,
.project-card:focus-visible p,
.project-card:focus-within p {
  max-height: 360px;
  margin-top: 14px;
  opacity: 1;
  transform: translateY(0);
}

.project-overlay a {
  display: inline-block;
  margin-left: 10px;
  color: var(--sage);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-overlay h4 {
  max-width: none;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.12;
  font-weight: 560;
}

.project-overlay span {
  color: var(--sage);
}

.approach-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0d1715;
}

.approach-section::before {
  top: -90px;
  right: -170px;
  width: min(620px, 50vw);
  height: 300px;
  border-radius: 46% 54% 64% 36% / 46% 42% 58% 54%;
  background: rgba(183, 194, 186, 0.12);
  transform: rotate(-16deg);
}

.approach-heading {
  max-width: 980px;
  margin-bottom: clamp(54px, 8vw, 92px);
}

.approach-heading .eyebrow {
  color: var(--muted);
}

.approach-heading h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(44px, 5.8vw, 78px);
  font-weight: 650;
  line-height: 1;
}

.approach-heading p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.34;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(30px, 5.5vw, 88px);
}

.approach-grid article {
  min-width: 0;
}

.approach-grid span {
  display: block;
  margin-bottom: 24px;
  color: rgba(183, 194, 186, 0.22);
  font-size: clamp(58px, 5.8vw, 86px);
  font-weight: 300;
  line-height: 0.95;
}

.approach-grid h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 520;
}

.approach-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.mode-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 0;
}

.mode-list article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 250px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.028);
}

.mode-list h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 560;
}

.mode-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mode-icon {
  flex: 0 0 auto;
  width: clamp(28px, 2.6vw, 36px);
  aspect-ratio: 1;
  background: var(--petrol-dark);
}

.mode-icon-full-time {
  -webkit-mask: url("assets/calendar-check.svg") center / contain no-repeat;
  mask: url("assets/calendar-check.svg") center / contain no-repeat;
}

.mode-icon-interim {
  -webkit-mask: url("assets/user-switch.svg") center / contain no-repeat;
  mask: url("assets/user-switch.svg") center / contain no-repeat;
}

.mode-icon-part-time {
  -webkit-mask: url("assets/calendar-dots.svg") center / contain no-repeat;
  mask: url("assets/calendar-dots.svg") center / contain no-repeat;
}

.mode-icon-expert {
  -webkit-mask: url("assets/lightbulb.svg") center / contain no-repeat;
  mask: url("assets/lightbulb.svg") center / contain no-repeat;
}

html[data-theme="dark"] .mode-icon {
  background: var(--blue);
}

.legal-back {
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
  transition: color 180ms ease;
}

.legal-back:hover {
  color: var(--petrol);
}

.legal-shell {
  min-height: calc(100vh - 75px);
  padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.legal-panel {
  width: min(100%, 920px);
}

.legal-panel h1 {
  margin-bottom: clamp(30px, 5vw, 54px);
  color: var(--ink);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 760;
  line-height: 0.96;
}

.legal-panel p,
.legal-panel address {
  max-width: 820px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  font-style: normal;
  line-height: 1.6;
}

.legal-panel a {
  color: var(--petrol);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-panel .legal-intro {
  color: var(--ink);
  font-weight: 650;
}

.legal-section {
  max-width: 820px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
}

.legal-section p,
.legal-section address {
  margin-bottom: 16px;
}

.legal-section p:last-child,
.legal-section address:last-child {
  margin-bottom: 0;
}

.legal-panel code {
  color: var(--ink);
  font-size: 0.92em;
}

.legal-panel .legal-updated {
  margin-top: 34px;
  font-size: 15px;
}

html[data-theme="dark"] .legal-back {
  color: var(--muted);
}

html[data-theme="dark"] .legal-back:hover,
html[data-theme="dark"] .legal-panel a {
  color: var(--blue);
}

@media (max-width: 560px) {
  .legal-page .site-header {
    align-items: flex-start;
  }

  .legal-page .brand {
    min-width: 0;
  }

  .legal-back {
    padding-top: 10px;
    white-space: nowrap;
  }
}

.mode-list p {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.45;
}

.mode-list .price-link {
  display: inline-flex;
  align-self: flex-start;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
  transition: color 180ms ease, transform 180ms ease;
}

.mode-list .price-link:hover {
  color: var(--petrol);
  transform: translateX(3px);
}

.pricing-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #101918;
}

.contact-section::before {
  right: -190px;
  bottom: -170px;
  width: min(640px, 56vw);
  height: 360px;
  border-radius: 57% 43% 36% 64% / 52% 56% 44% 48%;
  background: rgba(31, 111, 115, 0.16);
  transform: rotate(10deg);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: clamp(26px, 4vw, 44px);
}

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

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.contact-form label > span {
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form ::placeholder {
  color: rgba(182, 192, 186, 0.58);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.form-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-dialog {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-panel);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(17, 19, 15, 0.24);
}

.form-dialog::backdrop {
  background: rgba(7, 17, 15, 0.72);
}

.form-dialog-content {
  padding: clamp(28px, 6vw, 54px);
}

.form-dialog .eyebrow {
  margin-bottom: 18px;
}

.form-dialog h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(38px, 7vw, 62px);
  line-height: 1;
}

.form-dialog p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
}

.form-dialog .button {
  min-width: 150px;
}

.contact-form .form-privacy-note {
  max-width: 760px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.form-privacy-note a {
  color: var(--petrol);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[data-theme="dark"] .form-privacy-note a {
  color: var(--blue);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lottery-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0d1715;
  color: var(--white);
}

.lottery-section::before {
  top: -130px;
  left: -210px;
  width: min(720px, 60vw);
  height: 360px;
  border-radius: 42% 58% 48% 52% / 60% 38% 62% 40%;
  background: rgba(111, 121, 98, 0.22);
  transform: rotate(-8deg);
}

.lottery-panel {
  max-width: 1120px;
  padding: clamp(28px, 5vw, 52px);
  border-color: var(--line-dark);
  background: rgba(23, 32, 31, 0.9);
}

.lottery-panel p {
  max-width: 920px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.38;
}

.lottery-panel p:last-of-type {
  margin-bottom: 28px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--black);
  color: var(--white);
  font-size: 14px;
}

footer div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-links {
  align-items: flex-end;
}

@media (min-width: 768px) and (max-width: 1500px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.52fr);
    align-items: center;
  }

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

  .hero-profile {
    align-items: center;
    gap: 24px;
  }

  .hero-profile-image {
    width: clamp(220px, 24vw, 340px);
  }

  .hero-profile .lead {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 1080px) {
  .offer-layout,
  .industry-panel,
  .why-layout {
    grid-template-columns: 1fr;
  }
  .approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .offer-list article {
    grid-template-columns: minmax(0, 1fr);
  }

  .offer-list p {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
  }

  h1 {
    font-size: 42px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: start;
  }

  .hero-profile {
    justify-self: stretch;
    align-items: center;
    gap: 28px;
    width: 100%;
    min-width: 0;
  }

  .hero-profile-image {
    width: min(76vw, 300px);
    min-width: 0;
  }

  .hero-profile .lead {
    width: 100%;
  }

  .timeline-phase {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .timeline-phase h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .education-grid,
  .reference-grid,
  .approach-grid,
  .mode-list,
  .form-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .mode-list article {
    min-height: 0;
    gap: 18px;
  }

  .offer-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .offer-list p {
    grid-column: auto;
  }

  .project-card {
    min-height: auto;
  }

  .project-card img {
    min-height: 280px;
  }

  .project-overlay p {
    max-height: none;
    margin-top: 12px;
    opacity: 1;
    transform: none;
  }

  .education-card img {
    position: absolute;
    inset: 0;
    min-height: 100%;
  }

  .education-card .project-overlay {
    position: relative;
    min-height: 340px;
  }

  .contact-panel .button,
  .lottery-panel .button,
  .hero-actions .button,
  .form-actions .button {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-timeline::before,
  .timeline-phase {
    opacity: 1;
    animation: none;
  }

  .hero-timeline::before {
    transform: translateX(-50%) scaleY(1);
  }

  .timeline-phase {
    transform: none;
  }
}

/* Typza-inspired test direction: editorial, lighter, trust-first. */
:root {
  color-scheme: light;
  --ink: #11130f;
  --muted: #696d64;
  --paper: #f3f0e8;
  --white: #fffaf0;
  --black: #10130f;
  --charcoal: #191d17;
  --surface-soft: #ebe6da;
  --surface-panel: rgba(255, 250, 240, 0.72);
  --surface-panel-soft: rgba(16, 19, 15, 0.045);
  --line: rgba(17, 19, 15, 0.16);
  --line-dark: rgba(17, 19, 15, 0.2);
  --blue: #247d82;
  --petrol: #1f6f73;
  --petrol-dark: #15565a;
  --green: #6f7962;
  --sage: #798474;
  --olive: #737966;
  --shadow: none;
}

body {
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  background: rgba(243, 240, 232, 0.92);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.brand-mark {
  background: transparent;
}

.brand-logo-light {
  display: none;
}

.brand-logo-dark {
  display: block;
}

nav {
  color: rgba(17, 19, 15, 0.72);
}

nav a:hover,
.footer-links a:hover {
  color: var(--petrol);
}

.hero {
  min-height: calc(100vh - 75px);
  background: var(--paper);
  color: var(--ink);
}

.hero::before {
  top: 80px;
  right: -260px;
  width: min(980px, 62vw);
  height: 410px;
  background: rgba(31, 111, 115, 0.14);
}

.hero::after {
  top: auto;
  bottom: 70px;
  background: rgba(111, 121, 98, 0.13);
}

.hero-profile-image {
  background: rgba(17, 19, 15, 0.08);
}

.eyebrow {
  color: var(--petrol);
}

.timeline-phase {
  color: var(--ink);
}

.timeline-phase::before {
  border-color: var(--petrol);
  background: var(--paper);
  box-shadow: 0 0 0 7px rgba(31, 111, 115, 0.1);
}

.timeline-phase h2 {
  color: var(--ink);
  font-size: clamp(58px, 7vw, 112px);
  letter-spacing: 0;
}

.phase-number {
  color: rgba(17, 19, 15, 0.46);
}

.lead {
  color: rgba(17, 19, 15, 0.72);
}

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

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

.button.secondary {
  background: transparent;
  border-color: rgba(17, 19, 15, 0.34);
  color: var(--ink);
}

.button.secondary:hover {
  background: rgba(17, 19, 15, 0.06);
}

.section,
.section-dark,
.offer-section,
.approach-section,
.contact-section,
.lottery-section {
  background: var(--paper);
  color: var(--ink);
}

.section:nth-of-type(even),
.section-dark {
  background: var(--surface-soft);
}

.section-banner {
  max-width: none;
  padding: clamp(34px, 5vw, 62px) 0;
}

.section-banner h2 {
  max-width: 1100px;
  font-size: clamp(48px, 6.4vw, 92px);
  font-weight: 560;
  line-height: 0.98;
}

.offer-section::before,
.section-dark::before,
.approach-section::before,
.contact-section::before,
.lottery-section::before {
  background: rgba(31, 111, 115, 0.08);
}

.offer-layout {
  grid-template-columns: minmax(0, 1fr);
}

.offer-copy h3 {
  max-width: 780px;
  font-size: clamp(30px, 3.7vw, 56px);
  font-weight: 560;
  line-height: 1.04;
}

.offer-copy p,
.offer-list p,
.industry-panel p,
.approach-heading p:last-child,
.approach-grid p,
.mode-list p,
.contact-panel li,
.lottery-panel p,
footer span {
  color: var(--muted);
}

.offer-list {
  border-top-color: var(--line);
}

.offer-list article {
  grid-template-columns: minmax(180px, 0.62fr) minmax(0, 1fr);
  padding: 30px 0;
  border-bottom-color: var(--line);
}

.offer-list span,
.approach-grid span {
  color: rgba(17, 19, 15, 0.24);
}

.offer-list h4,
.approach-grid h3,
.mode-list h3 {
  color: var(--ink);
}

.industry-panel {
  align-items: start;
}

.industry-tags span {
  border-color: rgba(17, 19, 15, 0.18);
  background: rgba(255, 250, 240, 0.54);
  color: var(--ink);
}

.industry-tags span:hover {
  border-color: rgba(31, 111, 115, 0.42);
  background: rgba(31, 111, 115, 0.1);
  color: var(--petrol);
  box-shadow: 0 12px 26px rgba(17, 19, 15, 0.08);
}

.trust-strip {
  gap: 14px;
  border: 0;
}

.trust-strip article {
  min-height: 138px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.58);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.trust-strip article:hover {
  z-index: 1;
  transform: translateY(-2px);
  border-color: rgba(31, 111, 115, 0.42);
  background: rgba(31, 111, 115, 0.1);
  box-shadow: 0 12px 26px rgba(17, 19, 15, 0.08);
}

.trust-strip strong {
  color: var(--ink);
  font-size: clamp(38px, 4vw, 62px);
}

.trust-strip span {
  color: var(--muted);
}

.experience-intro,
.contact-panel,
.lottery-panel {
  background: rgba(255, 250, 240, 0.62);
  border-color: var(--line);
}

.section-dark .experience-intro {
  background: rgba(255, 250, 240, 0.54);
  border-color: var(--line);
}

.project-card {
  background: var(--black);
}

.approach-heading h2 {
  color: var(--ink);
}

.mode-list,
.mode-list article {
  border-color: var(--line);
}

.mode-list .price-link {
  border-top-color: var(--line);
  color: var(--petrol);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 250, 240, 0.62);
  border-color: var(--line);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--petrol);
  background: rgba(255, 250, 240, 0.82);
}

.contact-form ::placeholder {
  color: rgba(105, 109, 100, 0.68);
}

footer {
  background: var(--black);
  color: var(--white);
}

@media (max-width: 1080px) {
  .offer-layout,
  .industry-panel {
    grid-template-columns: 1fr;
  }

  .offer-list article {
    grid-template-columns: minmax(0, 1fr);
  }

  .offer-list p {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .timeline-phase h2 {
    font-size: clamp(42px, 13vw, 64px);
  }

  .offer-list article,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .offer-list p {
    grid-column: auto;
  }

  .section-banner h2 {
    font-size: clamp(38px, 12vw, 58px);
  }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  width: 104px;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid rgba(17, 19, 15, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.46);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.theme-toggle:hover {
  border-color: var(--petrol);
  color: var(--petrol);
}

.theme-toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 32px;
  height: 17px;
  border-radius: 999px;
  background: rgba(17, 19, 15, 0.14);
}

.theme-toggle-thumb {
  position: absolute;
  left: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--petrol);
  transition: transform 180ms ease, background 180ms ease;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f3f5ef;
  --muted: #b6c0ba;
  --paper: #0b1413;
  --white: #ffffff;
  --black: #08110f;
  --charcoal: #101918;
  --surface-soft: #111d1b;
  --surface-panel: rgba(22, 34, 32, 0.82);
  --surface-panel-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);
  --blue: #75c5cf;
  --petrol: #1f6f73;
  --petrol-dark: #124c50;
  --green: #6f7962;
  --sage: #b7c2ba;
  --olive: #737966;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] body {
  background: var(--paper);
  color: var(--ink);
}

html[data-theme="dark"] .site-header {
  background: rgba(13, 22, 20, 0.96);
  color: var(--white);
  border-bottom-color: var(--line);
}

html[data-theme="dark"] .brand-mark {
  background: transparent;
}

html[data-theme="dark"] .brand-logo-light {
  display: block;
}

html[data-theme="dark"] .brand-logo-dark {
  display: none;
}

html[data-theme="dark"] nav {
  color: rgba(255, 255, 255, 0.78);
}

html[data-theme="dark"] nav a:hover,
html[data-theme="dark"] .footer-links a:hover {
  color: var(--blue);
}

html[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-dark);
  color: rgba(255, 255, 255, 0.82);
}

html[data-theme="dark"] .theme-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}

html[data-theme="dark"] .theme-toggle-track {
  background: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .theme-toggle-thumb {
  background: var(--blue);
  transform: translateX(15px);
}

html[data-theme="dark"] .hero {
  background: var(--black);
  color: var(--white);
}

html[data-theme="dark"] .hero::before {
  top: -150px;
  right: -130px;
  width: min(760px, 52vw);
  height: min(360px, 26vw);
  background: rgba(31, 111, 115, 0.42);
}

html[data-theme="dark"] .hero::after {
  top: 290px;
  bottom: auto;
  background: rgba(111, 121, 98, 0.32);
}

html[data-theme="dark"] .eyebrow {
  color: var(--blue);
}

html[data-theme="dark"] .timeline-phase {
  color: var(--white);
}

html[data-theme="dark"] .timeline-phase::before {
  border-color: var(--sage);
  background: var(--black);
  box-shadow: 0 0 0 10px rgba(183, 194, 186, 0.11);
}

html[data-theme="dark"] .timeline-phase h2 {
  color: var(--white);
}

html[data-theme="dark"] .phase-number {
  color: rgba(183, 194, 186, 0.74);
}

html[data-theme="dark"] .lead {
  color: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .button.primary {
  background: var(--petrol);
  border-color: var(--petrol);
  color: var(--white);
}

html[data-theme="dark"] .button.primary:hover {
  background: var(--petrol-dark);
  border-color: var(--petrol-dark);
}

html[data-theme="dark"] .button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: rgba(255, 255, 255, 0.78);
}

html[data-theme="dark"] .button.secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

html[data-theme="dark"] .section,
html[data-theme="dark"] .offer-section,
html[data-theme="dark"] .approach-section,
html[data-theme="dark"] .contact-section,
html[data-theme="dark"] .lottery-section {
  background: var(--paper);
  color: var(--ink);
}

html[data-theme="dark"] .section:nth-of-type(even),
html[data-theme="dark"] .section-dark {
  background: var(--surface-soft);
  color: var(--ink);
}

html[data-theme="dark"] .section-banner h2,
html[data-theme="dark"] .offer-copy h3,
html[data-theme="dark"] .offer-list h4,
html[data-theme="dark"] .approach-heading h2,
html[data-theme="dark"] .approach-grid h3,
html[data-theme="dark"] .mode-list h3,
html[data-theme="dark"] .trust-strip strong {
  color: var(--ink);
}

html[data-theme="dark"] .mode-list .price-link {
  border-top-color: var(--line);
  color: var(--blue);
}

html[data-theme="dark"] .mode-list .price-link:hover {
  color: var(--white);
}

html[data-theme="dark"] .offer-copy p,
html[data-theme="dark"] .offer-list p,
html[data-theme="dark"] .industry-panel p,
html[data-theme="dark"] .approach-heading p:last-child,
html[data-theme="dark"] .approach-grid p,
html[data-theme="dark"] .mode-list p,
html[data-theme="dark"] .contact-panel li,
html[data-theme="dark"] .lottery-panel p,
html[data-theme="dark"] footer span {
  color: var(--muted);
}

html[data-theme="dark"] .offer-section::before,
html[data-theme="dark"] .section-dark::before,
html[data-theme="dark"] .approach-section::before,
html[data-theme="dark"] .contact-section::before,
html[data-theme="dark"] .lottery-section::before {
  background: rgba(31, 111, 115, 0.16);
}

html[data-theme="dark"] .offer-proof article,
html[data-theme="dark"] .offer-list,
html[data-theme="dark"] .offer-list article,
html[data-theme="dark"] .mode-list,
html[data-theme="dark"] .mode-list article {
  border-color: var(--line);
}

html[data-theme="dark"] .offer-list span,
html[data-theme="dark"] .approach-grid span {
  color: rgba(183, 194, 186, 0.38);
}

html[data-theme="dark"] .offer-proof span {
  color: var(--blue);
}

html[data-theme="dark"] .industry-tags span,
html[data-theme="dark"] .trust-strip article,
html[data-theme="dark"] .experience-intro,
html[data-theme="dark"] .section-dark .experience-intro,
html[data-theme="dark"] .contact-panel,
html[data-theme="dark"] .lottery-panel {
  background: var(--surface-panel-soft);
  border-color: var(--line);
  color: var(--ink);
}

html[data-theme="dark"] .trust-strip article:hover {
  border-color: rgba(117, 197, 207, 0.64);
  background: rgba(31, 111, 115, 0.18);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

html[data-theme="dark"] .industry-tags span:hover {
  border-color: rgba(117, 197, 207, 0.62);
  background: rgba(117, 197, 207, 0.12);
  color: var(--blue);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .project-card {
  background: var(--charcoal);
}

/* Keep longer reference descriptions fully visible in the two-column tablet grid. */
@media (min-width: 821px) and (max-width: 1100px) {
  .reference-grid .project-card {
    min-height: 420px;
  }
}

html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form select,
html[data-theme="dark"] .contact-form textarea {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line);
  color: var(--ink);
}

html[data-theme="dark"] .contact-form input:focus,
html[data-theme="dark"] .contact-form select:focus,
html[data-theme="dark"] .contact-form textarea:focus {
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.07);
}

html[data-theme="dark"] .contact-form ::placeholder {
  color: rgba(183, 194, 186, 0.62);
}

html[data-theme="dark"] footer {
  background: var(--black);
  color: var(--white);
}

@media (max-width: 720px) {
  .theme-toggle {
    justify-content: center;
    width: 104px;
  }
}

.timeline-phase > div {
  margin-left: 66px;
}

@media (max-width: 720px) {
  .timeline-phase > div {
    margin-left: 32px;
  }
}

@media (min-width: 768px) {
  h1,
  h2,
  h3 {
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

  h1 {
    font-size: clamp(42px, 4.8vw, 72px);
  }

  h2 {
    font-size: clamp(30px, 3.1vw, 44px);
  }

  h3 {
    font-size: clamp(22px, 2.2vw, 31px);
  }

  .section-banner h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(38px, 4.8vw, 82px);
    line-height: 0.98;
    text-wrap: wrap;
    text-wrap-style: auto;
  }

  .offer-copy h3 {
    width: 100%;
    max-width: none;
    font-size: clamp(32px, 4.1vw, 64px);
    line-height: 1.04;
    text-wrap: wrap;
    text-wrap-style: auto;
  }

  .timeline-phase h2 {
    white-space: nowrap;
  }

  .mode-list h3,
  .approach-grid h3 {
    font-size: clamp(21px, 1.7vw, 28px);
    line-height: 1.08;
  }

  #why .section-banner,
  #model .section-banner {
    width: 100%;
    max-width: none;
  }

  #why .section-banner h2,
  #model .section-banner h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(36px, 3.8vw, 68px);
    line-height: 0.98;
    text-wrap: wrap;
    text-wrap-style: auto;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .section-banner h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(34px, 7.2vw, 52px);
    line-height: 1;
    text-wrap: wrap;
    text-wrap-style: auto;
  }

  .offer-copy h3 {
    width: 100%;
    max-width: none;
    font-size: clamp(30px, 6.2vw, 44px);
    line-height: 1.04;
    text-wrap: wrap;
    text-wrap-style: auto;
  }

  #why .section-banner,
  #model .section-banner {
    width: 100%;
    max-width: none;
  }

  #why .section-banner h2,
  #model .section-banner h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(32px, 6vw, 44px);
    line-height: 1;
    text-wrap: wrap;
    text-wrap-style: auto;
  }
}

/* Monthly staffing slot: a distinct programme band, not a second contact panel. */
.section.lottery-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #dfe5dc;
  color: var(--ink);
}

.section.lottery-section::before {
  top: -180px;
  left: -190px;
  width: min(650px, 58vw);
  height: 420px;
  background: rgba(31, 111, 115, 0.1);
}

.monthly-slot-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: start;
}

.monthly-slot-intro {
  max-width: 650px;
}

.monthly-slot-intro .eyebrow {
  margin-bottom: 24px;
  color: var(--petrol);
}

.monthly-slot-intro h2 {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(46px, 5.4vw, 82px);
  font-weight: 620;
  line-height: 0.98;
}

.monthly-slot-intro > p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
}

.monthly-slot-steps {
  border-top: 1px solid rgba(17, 19, 15, 0.18);
}

.monthly-slot-steps article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 20px;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid rgba(17, 19, 15, 0.18);
}

.monthly-slot-steps > article > span {
  color: var(--petrol-dark);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.monthly-slot-steps h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 680;
  line-height: 1.1;
}

.monthly-slot-steps p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

html[data-theme="dark"] .section.lottery-section {
  background: #10201e;
  color: #f3f5ef;
}

html[data-theme="dark"] .section.lottery-section::before {
  background: rgba(31, 111, 115, 0.24);
}

html[data-theme="dark"] .monthly-slot-intro .eyebrow,
html[data-theme="dark"] .monthly-slot-steps > article > span {
  color: #75c5cf;
}

html[data-theme="dark"] .monthly-slot-intro h2,
html[data-theme="dark"] .monthly-slot-steps h3 {
  color: #f3f5ef;
}

html[data-theme="dark"] .monthly-slot-intro > p:not(.eyebrow),
html[data-theme="dark"] .monthly-slot-steps p {
  color: #b6c0ba;
}

html[data-theme="dark"] .monthly-slot-steps {
  border-top-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .monthly-slot-steps article {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 820px) {
  .monthly-slot-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .monthly-slot-intro h2 {
    max-width: 680px;
  }
}

@media (max-width: 560px) {
  .monthly-slot-intro h2 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .monthly-slot-steps article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
  }
}
