:root {
  color-scheme: light;
  --ink: #13201d;
  --muted: #5f6f69;
  --line: rgba(17, 32, 29, 0.14);
  --paper: #f7f3ed;
  --white: #ffffff;
  --green: #168c63;
  --blue: #1463b4;
  --orange: #bf5a1d;
  --black: #101815;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.direction-shell {
  min-height: 100vh;
  overflow: hidden;
}

.section {
  min-height: 100vh;
  position: relative;
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 22px clamp(24px, 4vw, 64px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}

.brand {
  align-items: baseline;
  display: flex;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
}

.nav-links span {
  color: var(--muted);
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  text-decoration: none;
}

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

.button.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  min-height: 100vh;
  padding: 112px clamp(24px, 5vw, 78px) 48px;
}

.hero-copy {
  align-self: center;
  max-width: 700px;
}

.hero > .hero-copy {
  align-self: end;
  grid-column: 1;
  grid-row: 1;
}

.hero > .visual {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.hero-detail {
  align-self: start;
  grid-column: 1;
  grid-row: 2;
  max-width: 760px;
}

.kicker {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

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

.headline {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(58px, 7vw, 112px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.89;
  margin-bottom: 24px;
}

.subhead {
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.55;
  margin-bottom: 30px;
  max-width: 620px;
}

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

.visual {
  align-self: center;
  border-radius: 28px;
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.visual img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.visual::after {
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.28));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.float-card,
.metric-card {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(14, 24, 21, 0.17);
  color: var(--ink);
  padding: 18px;
  position: absolute;
  z-index: 2;
}

.float-card {
  bottom: 22px;
  left: 22px;
  width: min(410px, calc(100% - 44px));
}

.float-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.float-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.metric-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  max-width: 760px;
}

.metric {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.metric b {
  display: block;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel-grid {
  display: grid;
  gap: 14px;
  margin-top: 36px;
  max-width: 720px;
}

.panel {
  align-items: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  gap: 16px;
  grid-template-columns: 120px 1fr auto;
  padding: 14px;
}

.panel b {
  font-size: 14px;
}

.panel p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.spot-suite-mini {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin-top: 22px;
  max-width: 720px;
  padding-top: 16px;
}

.spot-suite-mini strong,
.spot-suite-note strong {
  font-size: 15px;
}

.spot-suite-mini p,
.spot-suite-note p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.spot-suite-mini .button,
.spot-suite-note .button {
  margin-top: 4px;
  width: fit-content;
}

.split-band {
  background: #101815;
  color: #f7f3ed;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  min-height: 100vh;
  padding: 112px clamp(24px, 5vw, 78px) 56px;
}

.split-band .brand small,
.split-band .nav-links span,
.split-band .subhead {
  color: rgba(247, 243, 237, 0.68);
}

.split-band .button.primary {
  background: white;
  color: #101815;
}

.split-band .button.ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: white;
}

.browser {
  align-self: center;
  background: #f8f7f5;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.38);
  color: #1c1c1c;
  overflow: hidden;
}

.browser-top {
  align-items: center;
  background: #ece7df;
  border-bottom: 1px solid #ded7cf;
  display: flex;
  gap: 8px;
  padding: 14px 18px;
}

.dot {
  background: #d6cec4;
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

.browser-body {
  padding: clamp(22px, 3vw, 42px);
}

.search-box {
  background: white;
  border: 1px solid #e1dad1;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(33, 24, 15, 0.08);
  padding: 18px;
}

.search-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
}

.fake-input {
  background: #f4f0ea;
  border-radius: 10px;
  color: #6b6560;
  font-size: 14px;
  padding: 14px;
}

.course-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.course {
  align-items: center;
  background: white;
  border: 1px solid #ece7df;
  border-radius: 16px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr auto;
  padding: 16px;
}

.course b {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.course span {
  color: #756e66;
  font-size: 13px;
}

.score {
  background: #101815;
  border-radius: 10px;
  color: white;
  font-size: 13px;
  font-weight: 900;
  padding: 9px 11px;
}

.footer-line {
  bottom: 18px;
  color: rgba(19, 32, 29, 0.56);
  font-size: 12px;
  left: clamp(24px, 5vw, 78px);
  position: absolute;
}

.split-band .footer-line {
  color: rgba(247, 243, 237, 0.5);
}

.dark {
  --ink: #f4f7f4;
  --muted: rgba(244, 247, 244, 0.68);
  --line: rgba(255, 255, 255, 0.16);
  --paper: #101815;
  --white: #16231f;
  background: #101815;
  color: #f4f7f4;
}

.dark .nav-links span,
.dark .brand small {
  color: rgba(244, 247, 244, 0.62);
}

.dark .button.primary {
  background: #f7f3ed;
  color: #101815;
}

.dark .button.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #f7f3ed;
}

.dark .panel {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.dark .visual {
  box-shadow: 0 28px 110px rgba(0, 0, 0, 0.42);
}

.editorial {
  --paper: #fbf7ef;
  --ink: #211a14;
  --muted: #6f6258;
  background: #fbf7ef;
}

.editorial .headline {
  font-size: clamp(64px, 8vw, 128px);
}

.technical {
  --paper: #f1f5f9;
  --ink: #0f172a;
  --muted: #5b6778;
  background: #f1f5f9;
}

.technical .headline {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 900;
  letter-spacing: 0;
}

.mono-card {
  background: #0f172a;
  border-radius: 20px;
  color: #dbeafe;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 28px;
  padding: 20px;
}

.mono-card span {
  color: #86efac;
}

.services-page {
  background: #eef4f8;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  min-height: 100vh;
  padding: 112px clamp(24px, 5vw, 78px) 56px;
}

.service-head {
  align-self: start;
  grid-column: 1 / -1;
  max-width: 980px;
}

.service-title,
.training-title {
  font-size: clamp(48px, 5.4vw, 86px);
  letter-spacing: -0.02em;
  line-height: 0.96;
  margin-bottom: 20px;
}

.service-copy,
.training-copy {
  color: var(--muted);
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.55;
  max-width: 780px;
}

.service-rail,
.training-cta {
  align-self: start;
  background: #101815;
  border-radius: 22px;
  color: #f7f3ed;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.rail-label {
  color: var(--orange);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rail-item {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 4px;
  padding-top: 14px;
}

.rail-item b {
  font-size: 24px;
}

.rail-item span,
.training-cta p {
  color: rgba(247, 243, 237, 0.68);
}

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

.service-card {
  background: white;
  border: 1px solid rgba(17, 32, 29, 0.1);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 24px;
}

.service-card h3,
.training-card h3 {
  font-size: clamp(24px, 2vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1;
}

.service-card p,
.training-card p {
  color: var(--muted);
  line-height: 1.5;
}

.service-card .button,
.training-card .button {
  margin-top: auto;
  width: fit-content;
}

.service-index {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 44px;
}

.service-strip {
  align-items: center;
  background: var(--green);
  border-radius: 18px;
  color: white;
  display: grid;
  gap: 16px;
  grid-column: 2;
  grid-template-columns: 0.5fr 1fr auto;
  padding: 20px;
}

.service-strip p {
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
}

.service-strip .button.primary {
  background: white;
  color: var(--green);
}

.spot-suite-note {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 32, 29, 0.12);
  border-radius: 18px;
  display: grid;
  gap: 9px;
  grid-column: 2;
  padding: 18px;
}

.training-page {
  background: #fffaf1;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) 340px;
  min-height: 100vh;
  padding: 112px clamp(24px, 5vw, 78px) 56px;
}

.training-head {
  grid-column: 1 / -1;
  max-width: 960px;
}

.training-finder {
  background: #101815;
  border-radius: 24px;
  color: white;
  display: grid;
  gap: 16px;
  grid-column: 1;
  padding: 20px;
}

.training-finder .fake-input {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.training-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.training-grid {
  display: grid;
  gap: 16px;
  grid-column: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.training-card {
  background: white;
  border: 1px solid rgba(17, 32, 29, 0.12);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 20px;
}

.training-card .score {
  align-self: flex-start;
  margin-bottom: 18px;
}

.training-cta {
  grid-column: 2;
  grid-row: 2 / span 2;
  min-height: 100%;
}

.training-cta h3 {
  font-size: 34px;
  line-height: 1;
}

.training-cta .spot-suite-mini {
  border-color: rgba(255, 255, 255, 0.14);
  margin-top: 12px;
  padding-top: 16px;
}

.training-cta .spot-suite-mini p,
.training-cta .spot-suite-mini .rail-label {
  color: rgba(247, 243, 237, 0.68);
}

.training-cta .spot-suite-mini strong {
  color: #f7f3ed;
}

.training-cta .spot-suite-mini .button.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #f7f3ed;
}

.dark .spot-suite-mini {
  border-color: rgba(255, 255, 255, 0.16);
}

.dark .spot-suite-mini p,
.dark .spot-suite-note p {
  color: rgba(244, 247, 244, 0.68);
}

.dark .spot-suite-note {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.dark .spot-suite-note .button.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #f7f3ed;
}

.visual-led {
  --ink: #f7f3ed;
  --muted: rgba(247, 243, 237, 0.72);
  --line: rgba(255, 255, 255, 0.16);
  background: #081210;
  color: #f7f3ed;
}

.visual-led .hero {
  background-image:
    linear-gradient(90deg, rgba(8, 18, 16, 0.94) 0%, rgba(8, 18, 16, 0.74) 36%, rgba(8, 18, 16, 0.14) 73%),
    linear-gradient(180deg, rgba(8, 18, 16, 0.14) 0%, rgba(8, 18, 16, 0.88) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  display: block;
  min-height: 100vh;
  padding: 124px clamp(24px, 5vw, 78px) 52px;
}

.visual-led .hero > .visual {
  display: none;
}

.visual-led .nav,
.visual-led .hero-copy,
.visual-led .hero-detail,
.visual-led .footer-line {
  position: relative;
  z-index: 1;
}

.visual-led .brand small,
.visual-led .nav-links span {
  color: rgba(247, 243, 237, 0.68);
}

.visual-led .hero-copy {
  max-width: 720px;
  padding-top: clamp(24px, 5vh, 70px);
}

.visual-led .headline {
  font-size: clamp(58px, 7vw, 116px);
}

.visual-led .button.primary {
  background: #f7f3ed;
  color: #081210;
}

.visual-led .button.ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: #f7f3ed;
}

.visual-led .hero-detail {
  margin-top: clamp(30px, 5vw, 56px);
  max-width: 760px;
}

.visual-led .metric-strip {
  margin-top: 0;
}

.visual-led .panel {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.08);
}

.visual-led .spot-suite-mini {
  border-color: rgba(255, 255, 255, 0.16);
}

.visual-led .spot-suite-mini p {
  color: rgba(247, 243, 237, 0.72);
}

.visual-led .footer-line {
  color: rgba(247, 243, 237, 0.56);
}

@media (max-width: 980px) {
  .hero,
  .split-band,
  .services-page,
  .training-page {
    grid-template-columns: 1fr;
    padding-top: 104px;
  }

  .hero > .hero-copy,
  .hero > .visual,
  .hero-detail {
    grid-column: auto;
    grid-row: auto;
  }

  .visual-led .hero > .visual {
    grid-column: auto;
    grid-row: auto;
    position: absolute;
  }

  .visual {
    min-height: 440px;
  }

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

  .service-head,
  .service-strip,
  .spot-suite-note,
  .training-head,
  .training-finder,
  .training-cta {
    grid-column: auto;
    grid-row: auto;
  }

  .service-cards,
  .training-grid {
    grid-template-columns: 1fr;
  }

  .service-strip {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 680px) {
  .nav {
    padding: 18px 20px;
  }

  .hero,
  .split-band,
  .services-page,
  .training-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .search-row,
  .course {
    grid-template-columns: 1fr;
  }
}
