:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: #0a0a0a;
  --panel: #111111;
  --panel-strong: #181818;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: #a1a1a1;
  --muted-strong: #c9c9c9;
  --accent: #ff4d00;
  --accent-2: #ff6a00;
  --cool: #9bd7d0;
  --max: 1200px;
  --header-h: 76px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  font-family: Inter, Manrope, Onest, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Manrope, Onest, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

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

.section-band {
  position: relative;
  padding: 118px 0;
  overflow: clip;
}

.section-band:nth-of-type(even) {
  background: #080808;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-h);
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  line-height: 1;
}

.brand__name {
  font-size: 14px;
  white-space: nowrap;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.footer__layout nav a {
  color: var(--muted-strong);
  font-size: 14px;
  transition: color 180ms ease;
}

.site-nav a:hover,
.footer__layout nav a:hover {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 14px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 77, 0, 0.6);
  background: rgba(255, 77, 0, 0.18);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease;
}

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

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

.hero {
  min-height: calc(100svh - var(--header-h) - 180px);
  display: grid;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 48px;
  background: #050505;
}

.hero__image {
  position: absolute;
  top: 50%;
  right: max(28px, calc((100vw - var(--max)) / 2));
  z-index: 1;
  width: min(34vw, 460px);
  min-width: 360px;
  aspect-ratio: 0.86;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: var(--panel);
  box-shadow: 0 28px 90px rgba(255, 77, 0, 0.18), 0 36px 120px rgba(0, 0, 0, 0.56);
  transform: translateY(-50%);
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.96;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(5, 5, 5, 0.05) 74%, rgba(5, 5, 5, 0.24)),
    linear-gradient(90deg, rgba(255, 77, 0, 0.1), rgba(5, 5, 5, 0));
  pointer-events: none;
}

.hero__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.94) 46%, rgba(5, 5, 5, 0.46) 72%, rgba(5, 5, 5, 0.12) 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0) 28%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.82) 0%, rgba(5, 5, 5, 0) 24%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin-left: max(20px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(255, 77, 0, 0.2);
}

.hero__kicker {
  display: block;
}

.hero__avatar {
  display: none;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: 72px;
  line-height: 1.02;
  font-weight: 800;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
}

.h1-mobile {
  display: none;
}

h2 {
  margin-bottom: 0;
  font-size: 64px;
  line-height: 1.02;
  font-weight: 800;
}

h3 {
  font-size: 23px;
  line-height: 1.16;
  font-weight: 760;
}

p {
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.7;
}

.hero__lead {
  max-width: 670px;
  margin-bottom: 26px;
  color: #dedede;
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

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

.button--primary {
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 16px 42px rgba(255, 77, 0, 0.24), 0 0 0 rgba(255, 77, 0, 0);
}

.button--primary:hover {
  background: var(--accent-2);
  box-shadow: 0 18px 52px rgba(255, 77, 0, 0.34), 0 0 34px rgba(255, 77, 0, 0.18);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.button--ghost:hover {
  border-color: rgba(255, 77, 0, 0.64);
  background: rgba(255, 77, 0, 0.14);
  box-shadow: 0 14px 36px rgba(255, 77, 0, 0.1);
}

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

.hero__facts li,
.tag-row b,
.filter-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.hero__word {
  position: absolute;
  left: max(20px, calc((100vw - var(--max)) / 2));
  bottom: -22px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.04);
  font-size: 150px;
  line-height: 0.8;
  font-weight: 900;
  pointer-events: none;
}

.split-layout,
.school-pack__layout,
.benefits__layout,
.cta__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: start;
}

.section-heading {
  max-width: 680px;
}

.section-heading--wide {
  max-width: 920px;
  margin-bottom: 46px;
}

.section-heading--center {
  max-width: 880px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin-top: 24px;
}

.about__body p {
  margin-bottom: 20px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 12px;
  margin-top: 34px;
  justify-content: start;
}

.metric-grid article,
.service-card,
.case-card,
.banner-tile,
.pack-panel,
.timeline article,
.benefit-list article,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
}

.metric-grid article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 116px;
  padding: 20px;
}

.metric-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 25px;
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

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

.service-card {
  min-height: 284px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 0, 0.48);
  background: rgba(255, 77, 0, 0.08);
}

.service-card > span,
.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 52px;
  border-radius: 50%;
  background: rgba(255, 77, 0, 0.14);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(255, 77, 0, 0.12);
}

.service-card h3,
.timeline h3,
.benefit-list h3 {
  margin-bottom: 12px;
}

.service-card p,
.timeline p,
.benefit-list p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.service-card--accent {
  background:
    linear-gradient(145deg, rgba(255, 77, 0, 0.24), rgba(255, 255, 255, 0.045) 48%),
    rgba(255, 255, 255, 0.045);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-pill {
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.filter-pill.is-active,
.filter-pill:hover {
  border-color: transparent;
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(255, 77, 0, 0.18);
}

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

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

.banner-group-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 14px 0 2px;
  color: var(--text);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: 1;
}

.banner-group-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(255, 255, 255, 0.62);
}

.banner-group-title:first-of-type {
  margin-top: 0;
}

.case-card {
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
  will-change: transform;
}

.case-card,
.banner-tile {
  color: inherit;
  font: inherit;
  text-align: left;
}

button.case-card,
.banner-tile {
  appearance: none;
  padding: 0;
  cursor: pointer;
}

.case-card:hover,
.banner-tile:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(255, 77, 0, 0.52);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 46px rgba(255, 77, 0, 0.1);
}

.case-card.is-hidden,
.banner-tile.is-hidden,
.banner-group-title.is-hidden {
  display: none;
}

.case-card img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  background: var(--panel);
  transition: transform 620ms ease, filter 260ms ease;
}

.case-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.02);
}

.case-card__body {
  padding: 20px;
}

.case-card__body span,
.pack-panel__top span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-card__body h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.case-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
}

.banner-tile {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
  will-change: transform;
}

.banner-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--panel);
  transition: transform 620ms ease, filter 260ms ease;
}

.banner-tile:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.03);
}

.case-card:not(.is-hidden),
.banner-tile:not(.is-hidden),
.banner-group-title:not(.is-hidden) {
  animation: card-rise 520ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.portfolio-grid > :nth-child(2) {
  animation-delay: 60ms;
}

.portfolio-grid > :nth-child(3) {
  animation-delay: 120ms;
}

.portfolio-grid > :nth-child(4),
.portfolio-grid > :nth-child(7),
.portfolio-grid > :nth-child(10) {
  animation-delay: 40ms;
}

.portfolio-grid > :nth-child(5),
.portfolio-grid > :nth-child(8),
.portfolio-grid > :nth-child(11) {
  animation-delay: 90ms;
}

.portfolio-grid > :nth-child(6),
.portfolio-grid > :nth-child(9),
.portfolio-grid > :nth-child(12) {
  animation-delay: 140ms;
}

.banner-lightbox[hidden] {
  display: none;
}

.banner-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
}

.banner-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.banner-lightbox__content {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(880px, 100%);
  max-height: calc(100vh - 56px);
}

.banner-lightbox__content img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 56px);
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #111;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.55);
}

.banner-lightbox__close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 46px rgba(255, 77, 0, 0.24);
}

body.modal-open {
  overflow: hidden;
}

.school-pack {
  background:
    linear-gradient(180deg, rgba(255, 77, 0, 0.08), rgba(5, 5, 5, 0) 48%),
    #070707;
}

.pack-panel {
  padding: 28px;
  background:
    linear-gradient(160deg, rgba(255, 77, 0, 0.22), rgba(155, 215, 208, 0.08) 52%, rgba(255, 255, 255, 0.045)),
    #111111;
}

.pack-panel__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.pack-panel__top span {
  justify-self: end;
  margin-bottom: 0;
  padding: 8px 11px;
  border: 1px solid rgba(255, 77, 0, 0.34);
  border-radius: 999px;
  background: rgba(255, 77, 0, 0.1);
  line-height: 1;
  order: 2;
}

.pack-panel__top strong {
  max-width: 330px;
  font-size: 34px;
  line-height: 1.05;
  order: 1;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 77, 0, 0.12);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.timeline article {
  min-height: 270px;
  padding: 22px;
}

.timeline span {
  margin-bottom: 70px;
}

.benefit-list {
  display: grid;
  gap: 14px;
}

.benefit-list article {
  padding: 24px;
}

.benefit-list p {
  margin-bottom: 0;
}

.cta {
  padding-bottom: 112px;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(255, 77, 0, 0.14)),
    #070707;
}

.cta h2 {
  margin-bottom: 24px;
}

.cta p {
  max-width: 720px;
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.055);
}

.contact-panel .button {
  width: 100%;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-strong);
  text-align: left;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

button.contact-link {
  width: 100%;
  appearance: none;
  cursor: pointer;
}

.contact-link:hover {
  border-color: rgba(255, 77, 0, 0.54);
  background: rgba(255, 77, 0, 0.07);
  color: var(--text);
  box-shadow: 0 14px 36px rgba(255, 77, 0, 0.08);
}

.contact-copy__email {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

.contact-copy__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: color 180ms ease;
}

.contact-link:hover .contact-copy__meta,
.contact-copy.is-copied .contact-copy__meta {
  color: var(--accent);
}

.contact-copy__icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
}

.contact-copy__icon::before,
.contact-copy__icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.contact-copy__icon::before {
  left: 2px;
  top: 4px;
  opacity: 0.58;
}

.contact-copy__icon::after {
  left: 5px;
  top: 1px;
  background: #121212;
}

.contact-panel > span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.copy-toast {
  position: fixed;
  top: calc(var(--header-h) + 14px);
  left: 50%;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255, 77, 0, 0.34);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.88);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -12px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38), 0 0 32px rgba(255, 77, 0, 0.12);
  backdrop-filter: blur(16px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.copy-toast__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(255, 77, 0, 0.24);
}

.copy-toast__icon::before {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: translateY(-1px) rotate(-45deg);
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer__layout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer__layout nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__layout p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

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

[data-reveal] .service-card,
[data-reveal] .metric-grid article,
[data-reveal] .timeline article,
[data-reveal] .benefit-list article {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

[data-reveal].is-visible .service-card,
[data-reveal].is-visible .metric-grid article,
[data-reveal].is-visible .timeline article,
[data-reveal].is-visible .benefit-list article {
  opacity: 1;
  transform: none;
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

[data-reveal].is-visible .service-card:hover,
[data-reveal].is-visible .metric-grid article:hover,
[data-reveal].is-visible .timeline article:hover,
[data-reveal].is-visible .benefit-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 0, 0.44);
  background: rgba(255, 77, 0, 0.07);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34), 0 0 34px rgba(255, 77, 0, 0.08);
}

@media (max-width: 1199px) {
  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 52px;
  }

  .site-header {
    padding-inline: 20px;
  }

  .hero__content,
  .hero__word {
    margin-left: 0;
    left: 20px;
  }

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

  .timeline article {
    min-height: 244px;
  }
}

@media (max-width: 991px) {
  :root {
    --header-h: 70px;
  }

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

  .section-band {
    padding: 86px 0;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-block;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 12px auto;
    display: grid;
    justify-items: start;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(12, 12, 12, 0.97);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    width: 100%;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 17px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 78px;
  }

  .hero__image {
    top: 120px;
    right: -54px;
    width: min(58vw, 280px);
    min-width: 0;
    border-radius: 28px;
    opacity: 0.48;
    transform: none;
  }

  .hero__image img {
    object-position: center;
  }

  .hero__wash {
    background:
      linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.78) 48%, rgba(5, 5, 5, 0.46) 100%),
      linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0) 45%),
      linear-gradient(180deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.2) 34%);
  }

  .hero__content {
    width: min(calc(100% - 32px), var(--max));
    left: 0;
    margin-inline: auto;
  }

  h1 {
    font-size: 64px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__word {
    display: none;
  }

  .split-layout,
  .school-pack__layout,
  .benefits__layout,
  .cta__layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

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

  .footer__layout {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer__layout nav {
    justify-self: start;
  }

  .footer__layout p {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .container,
  .hero__content {
    width: min(calc(100% - 48px), var(--max));
  }

  p {
    font-size: 16px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(31px, 8vw, 42px);
    line-height: 1.06;
  }

  .hero__image {
    display: none;
  }

  .hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
  }

  .hero__kicker .eyebrow {
    margin: 0;
  }

  .hero__avatar {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 28px rgba(255, 77, 0, 0.18), 0 12px 38px rgba(0, 0, 0, 0.5);
  }

  .h1-desktop {
    display: none;
  }

  .h1-mobile {
    display: block;
  }

  h2 {
    font-size: 38px;
    line-height: 1.08;
  }

  h3 {
    font-size: 21px;
  }

  .section-band {
    padding: 72px 0;
  }

  .hero {
    padding-top: 78px;
    padding-bottom: 76px;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .hero__facts li {
    min-height: 32px;
    font-size: 12px;
  }

  .services-grid,
  .portfolio-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
  }

  .metric-grid article {
    min-height: auto;
    padding: 18px 16px;
    border-radius: 18px;
  }

  .metric-grid strong {
    color: var(--accent);
    font-size: 24px;
  }

  .metric-grid span {
    font-size: 13px;
  }

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

  .service-card > span,
  .timeline span {
    margin-bottom: 34px;
  }

  .filter-row {
    justify-content: flex-start;
  }

  .pack-panel__top {
    display: grid;
  }

  .pack-panel__top strong {
    font-size: 28px;
  }
}

@media (max-width: 420px) {
  .container,
  .hero__content {
    width: min(calc(100% - 48px), var(--max));
  }

  .brand__name {
    max-width: 132px;
    white-space: normal;
    line-height: 1.1;
  }

  h1 {
    font-size: 23px;
    line-height: 1.1;
  }

  h2 {
    font-size: 34px;
  }

  .site-nav {
    inset-inline: 8px;
  }

  .contact-copy__meta [data-copy-label] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-delay: 0s !important;
    transition-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
