:root {
  --brand: #135df4;
  --brand-strong: #0b48cf;
  --cyan: #10c8f4;
  --navy: #081c4a;
  --ink: #102044;
  --muted: #63708a;
  --line: #dfe6f2;
  --surface: #ffffff;
  --soft: #f5f7fa;
  --gold: #d9a84e;
  --shadow: 0 22px 60px rgba(8, 28, 74, 0.1);
  --radius-lg: 28px;
  --radius-md: 18px;
  --header-height: 72px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.section--soft {
  background: var(--soft);
}

.section--navy {
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(16, 200, 244, 0.25), transparent 28%),
    linear-gradient(145deg, #071638, var(--navy));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p,
.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.section--navy .section-heading p,
.section--navy .lead {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  border-radius: 2px;
}

.section--navy .eyebrow,
.page-hero--dark .eyebrow {
  color: var(--cyan);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 230, 242, 0.85);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--cyan));
  border-radius: 12px;
  box-shadow: 0 9px 22px rgba(19, 93, 244, 0.26);
  place-items: center;
}

.brand-mark::before {
  content: "✦";
  font-size: 1.35rem;
}

.brand-name {
  display: block;
  font-size: 1.22rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-company {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  padding: 24px 0;
  color: #35415c;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  border-radius: 3px;
  transform: scaleX(0);
  transition: transform 0.24s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: 10px;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-carousel {
  position: relative;
  height: min(820px, calc(100svh - var(--header-height)));
  min-height: 650px;
  overflow: hidden;
  background: var(--navy);
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 18, 51, 0.94) 0%, rgba(5, 18, 51, 0.73) 34%, rgba(5, 18, 51, 0.08) 70%);
}

.hero-slide--light::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.87) 34%, rgba(255, 255, 255, 0.05) 72%);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: max(20px, calc((100% - var(--container)) / 2));
  z-index: 2;
  width: min(650px, calc(100% - 40px));
  color: #fff;
  transform: translateY(-50%);
}

.hero-slide--light .hero-content {
  color: var(--ink);
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content p {
  max-width: 610px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-slide--light .hero-content p {
  color: #586782;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  color: #fff;
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-weight: 750;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  background: var(--brand-strong);
  box-shadow: 0 12px 30px rgba(19, 93, 244, 0.3);
  transform: translateY(-2px);
}

.button--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
}

.hero-slide--light .button--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  border-color: #bcc8da;
}

.carousel-controls {
  position: absolute;
  right: max(20px, calc((100% - var(--container)) / 2));
  bottom: 36px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
}

.carousel-arrow {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: rgba(8, 28, 74, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(10px);
  place-items: center;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 30px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: #fff;
}

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

.stats-strip {
  position: relative;
  z-index: 4;
  margin-top: -1px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.stat {
  padding: 30px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--brand);
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

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

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

.card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  border-color: rgba(19, 93, 244, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

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

.card-number,
.card-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  color: var(--brand);
  background: #eaf1ff;
  border-radius: 14px;
  font-weight: 900;
  place-items: center;
}

.card-number {
  font-size: 0.9rem;
}

.card-icon {
  font-size: 1.35rem;
}

.card h3 {
  margin-bottom: 12px;
}

.card p,
.card li {
  color: var(--muted);
}

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

.card--dark:hover {
  border-color: rgba(16, 200, 244, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.card--dark p,
.card--dark li {
  color: rgba(255, 255, 255, 0.68);
}

.feature-split {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.feature-split--reverse .feature-media {
  order: 2;
}

.feature-copy h2 {
  margin-bottom: 24px;
}

.feature-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-media {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  background: #e7eeff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-media--contain {
  padding: 18px;
  background: #eef3ff;
}

.feature-media--contain img {
  object-fit: contain;
  border-radius: 16px;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 800;
}

.inline-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.inline-link:hover::after {
  transform: translateX(4px);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  counter-increment: process;
}

.process-step::before {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  content: counter(process, decimal-leading-zero);
  font-size: 0.72rem;
  font-weight: 900;
  place-items: center;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 49px;
  right: -19px;
  z-index: 2;
  width: 20px;
  height: 2px;
  content: "";
  background: var(--cyan);
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 28, 74, 0.94), rgba(8, 28, 74, 0.64) 48%, rgba(8, 28, 74, 0.08));
}

.page-hero--light::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.83) 46%, rgba(255, 255, 255, 0.08));
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 72px 0;
  color: #fff;
}

.page-hero--light .page-hero-content {
  color: var(--ink);
}

.page-hero-content h1 {
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 6vw, 5.3rem);
}

.page-hero-content p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.page-hero--light .page-hero-content p {
  color: var(--muted);
}

.brand-tree {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr 74px 1fr 74px 1fr;
}

.brand-node {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.brand-node strong {
  color: var(--brand);
  font-size: 1.55rem;
}

.brand-node span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.brand-connector {
  display: grid;
  color: var(--cyan);
  font-size: 1.8rem;
  place-items: center;
}

.list-clean {
  padding: 0;
  margin: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--line);
}

.list-check li::before {
  position: absolute;
  top: 15px;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  content: "✓";
  font-size: 0.7rem;
  font-weight: 900;
  place-items: center;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.pill-list li {
  padding: 8px 14px;
  color: var(--brand);
  background: #eaf1ff;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.matrix-item {
  display: grid;
  min-height: 150px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  grid-template-columns: 54px 1fr;
  gap: 18px;
}

.matrix-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.matrix-item .card-icon {
  margin: 0;
}

.matrix-item h3 {
  margin-bottom: 7px;
  font-size: 1.16rem;
}

.matrix-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.image-panel {
  position: relative;
  overflow: hidden;
  background: #eef3ff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.case-results-layout,
.about-profile-layout {
  align-items: start;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.case-results-panel,
.about-profile-panel {
  width: min(100%, 460px);
  justify-self: end;
}

.case-results-panel img,
.about-profile-panel img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.image-zoom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 16px;
  color: #fff;
  background: rgba(8, 28, 74, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.course-days {
  display: grid;
  gap: 22px;
}

.course-day {
  display: grid;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  grid-template-columns: 160px 1fr;
}

.course-day-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--navy));
}

.course-day-label strong {
  font-size: 1.5rem;
}

.course-day-label span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.85rem;
}

.course-day-content {
  display: grid;
  padding: 24px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.course-block {
  padding: 18px;
  background: var(--soft);
  border-radius: 14px;
}

.course-block strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
}

.course-block p,
.course-block ul {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.course-block ul {
  padding-left: 18px;
}

.case-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 40px rgba(8, 28, 74, 0.07);
}

.case-card-media {
  overflow: hidden;
  aspect-ratio: 16 / 9.7;
  background: #eef3ff;
}

.case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.case-card-media--trim-heading img {
  height: 114%;
  object-position: center bottom;
  transform: translateY(-12.3%);
}

.case-card:hover .case-card-media img {
  transform: scale(1.025);
}

.case-card:hover .case-card-media--trim-heading img {
  transform: translateY(-12.3%) scale(1.025);
}

.case-card-content {
  padding: 32px;
}

.case-tag {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.case-card-content p,
.case-card-content li {
  color: var(--muted);
}

.case-card-content ul {
  padding-left: 20px;
}

.notice {
  padding: 20px 24px;
  color: #53617c;
  background: #f1f5ff;
  border-left: 4px solid var(--brand);
  border-radius: 0 14px 14px 0;
  font-size: 0.92rem;
}

.legal-content {
  max-width: 860px;
  padding: 78px 0 112px;
  margin-inline: auto;
}

.legal-content h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.legal-content h2 {
  margin-top: 46px;
  font-size: 1.45rem;
}

.legal-content p,
.legal-content li {
  color: #53617c;
}

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

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: #06132f;
}

.footer-main {
  display: grid;
  padding: 64px 0 46px;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .brand-name {
  color: #fff;
  font-size: 1.6rem;
}

.footer-brand p {
  max-width: 450px;
  margin: 18px 0 0;
}

.footer-group strong {
  display: block;
  margin-bottom: 16px;
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 0.84rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom a:hover {
  color: #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  padding: 70px 24px 30px;
  background: rgba(3, 10, 28, 0.93);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  place-items: center;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(1200px, 94vw);
  max-height: calc(100vh - 110px);
  border-radius: 12px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1024px) {
  .site-nav {
    gap: 22px;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-split {
    gap: 42px;
  }

  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(2)::after {
    display: none;
  }

  .course-day-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 64px;
  }

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

  .section {
    padding: 78px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    gap: 0;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(8, 28, 74, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  .site-nav.is-open {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 16px 24px;
    border-top: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .hero-carousel {
    height: calc(100svh - var(--header-height));
    min-height: 620px;
  }

  .hero-slide > img {
    object-position: 62% center;
  }

  .hero-slide::after,
  .hero-slide--light::after {
    background: linear-gradient(180deg, rgba(5, 18, 51, 0.28), rgba(5, 18, 51, 0.93) 67%);
  }

  .hero-content,
  .hero-slide--light .hero-content {
    top: auto;
    bottom: 90px;
    left: 16px;
    width: calc(100% - 32px);
    max-width: calc(100vw - 32px);
    color: #fff;
    transform: none;
  }

  .hero-content h1 {
    margin-bottom: 16px;
    max-width: 100%;
    font-size: clamp(2.05rem, 9vw, 3rem);
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .hero-content p,
  .hero-slide--light .hero-content p {
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
  }

  .hero-slide--light .button--ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.42);
  }

  .carousel-controls {
    right: auto;
    bottom: 24px;
    left: 16px;
  }

  .carousel-arrow {
    display: none;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .grid--3,
  .grid--2,
  .feature-split,
  .case-results-layout,
  .about-profile-layout,
  .matrix-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .case-results-panel,
  .about-profile-panel {
    width: min(100%, 520px);
    justify-self: center;
  }

  .feature-split--reverse .feature-media {
    order: 0;
  }

  .feature-media {
    min-height: 360px;
  }

  .page-hero {
    min-height: 470px;
  }

  .page-hero > img {
    object-position: 65% center;
  }

  .page-hero::after,
  .page-hero--light::after {
    background: linear-gradient(180deg, rgba(8, 28, 74, 0.28), rgba(8, 28, 74, 0.94) 76%);
  }

  .page-hero-content,
  .page-hero--light .page-hero-content {
    align-self: flex-end;
    padding: 180px 0 52px;
    color: #fff;
  }

  .page-hero--light .page-hero-content p {
    color: rgba(255, 255, 255, 0.76);
  }

  .brand-tree {
    grid-template-columns: 1fr;
  }

  .brand-connector {
    height: 58px;
    transform: rotate(90deg);
  }

  .matrix-item:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .course-day {
    grid-template-columns: 1fr;
  }

  .course-day-label {
    min-height: 120px;
  }

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

@media (max-width: 560px) {
  .brand-company {
    display: none;
  }

  .grid--4,
  .process-line {
    grid-template-columns: 1fr;
  }

  .process-step::after {
    display: none;
  }

  .card,
  .case-card-content {
    padding: 26px 22px;
  }

  .matrix-item {
    min-height: 0;
    padding: 22px;
    grid-template-columns: 44px 1fr;
  }

  .matrix-item .card-icon {
    width: 44px;
    height: 44px;
  }

  .feature-media {
    min-height: 310px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button--ghost {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
