html,
body.main-page {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body.main-page::-webkit-scrollbar {
  display: none;
}

body.main-page {
  position: relative;
  overflow-y: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f6f4ef 100%);
  padding-top: 0;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
}

.site-breathing-wall {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.site-breathing-wall canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.page-load-reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

body.main-page.is-page-ready .page-load-reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .page-load-reveal,
  body.main-page.is-page-ready .page-load-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.main-page .page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 0 12px;
}

.main-corner-anchor {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.main-corner-asset {
  display: block;
  width: clamp(500px, 10vw, 500px);
  max-width: 18vw;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.main-shell {
  width: calc(100vw - 100px);
  min-height: calc(100vh - 100px);
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  padding-bottom: clamp(10px, 1.4vw, 16px);
  padding-left: clamp(100px, 3vw, 42px);
  padding-right: clamp(100px, 3vw, 42px);
  position: relative;
}

.main-stage-top {
  position: relative;
  z-index: 140;
  min-height: clamp(56px, 6vw, 82px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-brand-lockup {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.main-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.main-logo-corner {
  display: block;
  width: clamp(126px, 11vw, 184px);
  max-width: 24vw;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.main-page .nav-link {
  color: rgba(31, 41, 51, 0.88);
  font-size: clamp(16px, 1.15vw, 18px);
}

.main-page .nav-link::after {
  background: #e8742f;
}

.main-page .nav-link:hover,
.main-page .nav-link[aria-current="page"] {
  color: #e8742f;
}

.main-page .site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 26px);
  flex-wrap: wrap;
}

.header-quote-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-left: clamp(4px, 0.8vw, 12px);
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff9f0;
  text-decoration: none;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.header-quote-button:hover,
.header-quote-button:focus-visible {
  border-color: #ffffff;
  background: #ffffff;
  color: #e8742f;
  outline: none;
}

.page-site-footer__inner {
  border-top-color: rgba(31, 41, 51, 0.12);
}

.page-site-footer__brand,
.page-site-footer__credit,
.page-site-footer__social-button {
  border-color: rgba(31, 41, 51, 0.12);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(31, 41, 51, 0.08);
}

.page-site-footer__copy,
.page-site-footer__creator-label,
.page-site-footer__social-button {
  color: #1f2933;
}

.page-site-footer__social-button:hover {
  background: rgba(232, 116, 47, 0.14);
}

.page-site-footer__social-button:focus-visible {
  outline-color: rgba(232, 116, 47, 0.44);
}

.certifications-page-title {
  margin: 0;
  text-align: center;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: 0.94;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f2933;
  text-shadow: none;
}

.certifications-stage {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(0px, 1.4vh, 10px);
}

.certifications-layout {
  width: min(1260px, 100%);
  display: grid;
  gap: clamp(22px, 2.6vw, 34px);
  align-content: start;
}

.certifications-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: stretch;
  padding: clamp(24px, 3vw, 36px);
  border: 2px solid rgba(31, 41, 51, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 42px rgba(31, 41, 51, 0.08);
  backdrop-filter: blur(10px);
}

.certifications-hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.certifications-heading {
  margin: 0;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 0.98;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1f2933;
  text-wrap: balance;
}

.certifications-summary {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.8;
  color: #52606d;
}

.certifications-spotlight {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(31, 41, 51, 0.12);
  background: #ffffff;
  min-height: clamp(280px, 34vw, 440px);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(31, 41, 51, 0.03);
}

.certifications-spotlight-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.certifications-grid-shell {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 2.4vw, 30px);
  border: 2px solid rgba(31, 41, 51, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 42px rgba(31, 41, 51, 0.08);
  backdrop-filter: blur(10px);
}

.certifications-kicker {
  margin: 0;
  padding-left: 8px;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cf6425;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
}

.certification-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 22px;
  border: 1px solid rgba(31, 41, 51, 0.12);
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(31, 41, 51, 0.06);
}

.certification-card-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 116, 47, 0.24);
  background: rgba(232, 116, 47, 0.08);
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cf6425;
}

.certification-card-copy {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #52606d;
}

.certification-card-meta {
  display: grid;
  gap: 4px;
}

.certification-card-name,
.certification-card-role {
  margin: 0;
}

.certification-card-name {
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1f2933;
}

.certification-card-role {
  font-size: 14px;
  line-height: 1.7;
  color: #7b8794;
}

@media (max-width: 980px) {
  .certifications-hero,
  .certifications-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .main-shell {
    width: min(100%, calc(100vw - 28px));
    padding-left: 14px;
    padding-right: 14px;
  }

  .main-stage-top {
    display: grid;
    justify-items: center;
    gap: 14px;
  }

  .main-brand-lockup {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }
}

@media (max-width: 720px) {
  body.main-page {
    overflow-y: auto;
  }

  .main-page .page {
    padding: 22px 0 8px;
  }

  .main-shell {
    width: calc(100vw - 20px);
    min-height: calc(100vh - 30px);
    padding-left: 10px;
    padding-right: 10px;
  }

  .main-corner-anchor {
    display: none;
  }

  .main-stage-top {
    justify-items: stretch;
  }

  .main-page .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .nav-dropdown {
    width: 100%;
    display: grid;
    gap: 8px;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    padding: 8px;
    gap: 6px;
    opacity: 1;
    visibility: visible;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav-link,
  .nav-dropdown-link {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 18px;
    text-align: center;
  }
}

.main-stage-top {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  min-height: auto;
  display: block;
}

.site-header-inner {
  width: 100%;
  min-height: clamp(56px, 6vw, 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(28px, 3vw, 56px);
}

.main-brand-lockup {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  min-height: clamp(56px, 6vw, 82px);
  display: flex;
  align-items: center;
  justify-self: start;
}

.main-page .site-nav {
  justify-self: center;
}

.site-header-action {
  justify-content: flex-end;
}

.header-quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 9px 18px;
  border: 1px solid #e8742f;
  border-radius: 999px;
  background: #e8742f;
  color: #ffffff;
  text-decoration: none;
  font-family: "FuturaCyrillicBold", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-quote-button:hover,
.header-quote-button:focus-visible {
  border-color: #d76522;
  background: #d76522;
  color: #ffffff;
  outline: none;
}

@media (max-width: 960px) {
  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand quote"
      "nav nav";
    row-gap: 14px;
    column-gap: 16px;
  }

  .main-brand-lockup {
    grid-area: brand;
  }

  .main-page .site-nav {
    grid-area: nav;
  }

  .site-header-action {
    grid-area: quote;
    min-height: auto;
  }

  .header-quote-button {
    min-height: 0;
    padding: 9px 16px;
    font-size: 11px;
  }
}
  
.page-static-style-1 { --reveal-delay: 40ms; }
.page-static-style-2 { --reveal-delay: 120ms; }
.page-static-style-3 { --reveal-delay: 180ms; }
.page-static-style-4 { --reveal-delay: 260ms; }

@media (max-width: 960px) {
  .main-page .main-shell {
    width: 100%;
    min-height: 0;
    padding-right: 20px;
    padding-left: 20px;
  }

  .certifications-layout,
  .certifications-hero-copy,
  .certification-card,
  .certification-card-meta {
    min-width: 0;
  }

  .certifications-hero,
  .certifications-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .certifications-heading {
    font-size: clamp(28px, 5.8vw, 42px);
    line-height: 1.06;
    overflow-wrap: break-word;
  }

  .certifications-spotlight {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .certification-card-name {
    overflow-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .main-page .main-shell {
    padding-right: 16px;
    padding-left: 16px;
  }

  .certifications-hero,
  .certifications-grid-shell,
  .certification-card {
    padding: 18px;
  }
}
