:root {
  --header-height: 78px;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

html {
  scroll-behavior: auto;
}

header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  padding: 10px 5%;
  background: var(--bg);
}

nav {
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}

nav a,
.home-link {
  white-space: nowrap;
}

.home-link {
  border: 1px solid #ed7135;
  padding: 8px 13px;
  color: #ed7135;
  font: inherit;
}

main {
  display: flex;
  width: 100vw;
  height: calc(100svh - var(--header-height));
  margin-top: var(--header-height);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

main::-webkit-scrollbar {
  display: none;
}

main > .hero,
main > section {
  box-sizing: border-box;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  min-height: 0;
  padding: clamp(24px, 4.5vw, 64px) 6% 74px;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

main > .hero {
  position: relative;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
}

.hero .strip {
  width: min(680px, 100%);
  margin-top: 24px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 10px;
}

main > section.intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-content: center;
}

main > section#focus .rows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

main > section#focus .row {
  display: block;
  padding: 20px 0;
}

main > section#focus .row h3 {
  margin: 12px 0;
}

main > section.visual-section .visual-grid {
  margin-top: 20px;
}

main > section.visual-section .visual {
  height: clamp(210px, 38vh, 340px);
}

main > section.wide .cards {
  margin-top: 18px;
}

main > section.wide .card {
  min-height: 0;
}

main > section.ceo .ceo-layout {
  gap: 14px !important;
}

main > section.ceo .ceo-layout p {
  margin: 12px auto;
  font-size: clamp(18px, 2vw, 24px) !important;
}

main > section.ceo .ceo-layout img {
  width: min(100%, 205px) !important;
  height: 205px;
}

main > section.approach .steps {
  gap: 26px;
  margin-top: 20px;
}

main > section#information details {
  padding: 14px 0;
}

main > section#information {
  position: relative;
}

.slide-footer {
  position: absolute;
  bottom: 22px;
  left: 6%;
  right: 6%;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

.deck-controls {
  position: fixed;
  z-index: 25;
  right: 5%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(245, 241, 233, 0.18);
  background: rgba(16, 31, 43, 0.92);
}

.deck-controls button {
  border: 0;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  font: inherit;
}

.deck-controls [data-step] {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 241, 233, 0.25);
  font-size: 20px;
}

.deck-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.deck-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: #77838a;
}

.deck-dots button[aria-current="true"] {
  width: 20px;
  border-radius: 8px;
  background: #ed7135;
}

.page-status {
  min-width: 44px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

@media (max-width: 750px) {
  :root {
    --header-height: 104px;
  }

  header {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 7px;
    padding: 7px 5%;
  }

  nav {
    width: 100%;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
    font-size: 10px;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  .home-link {
    padding: 3px 8px;
  }

  main > .hero,
  main > section {
    padding: 22px 5% 68px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 62px);
    letter-spacing: -2px;
  }

  .hero .art {
    top: 12%;
    right: -350px;
  }

  .hero .strip {
    gap: 8px 14px;
    font-size: 9px;
  }

  main > section.intro {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  main > section.intro h2,
  main > section h2 {
    font-size: clamp(32px, 9vw, 46px);
    margin: 8px 0 14px;
  }

  main > section#focus .rows {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  main > section#focus .row {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 3px 10px;
    padding: 10px 0;
  }

  main > section#focus .row h3 {
    margin: 0;
    font-size: 18px;
  }

  main > section#focus .row p {
    grid-column: 2;
    font-size: 13px;
    line-height: 1.35;
  }

  main > section.visual-section .visual-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
  }

  main > section.visual-section .visual {
    height: clamp(112px, 19vh, 150px);
    padding: 8px;
  }

  main > section.visual-section .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }

  main > section.visual-section .section-note {
    font-size: 12px;
    line-height: 1.35;
  }

  main > section.wide .cards,
  main > section.approach .steps {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 8px;
  }

  main > section.wide .card {
    padding: 8px 12px;
  }

  main > section.wide .card h3,
  main > section.approach .steps h3 {
    margin: 0;
    font-size: 17px;
  }

  main > section.wide .card p,
  main > section.approach .steps p {
    font-size: 12px;
    line-height: 1.35;
  }

  main > section.ceo .ceo-layout img {
    width: min(42vw, 172px) !important;
    height: min(42vw, 172px);
  }

  main > section.ceo .ceo-layout p {
    font-size: 16px !important;
    line-height: 1.35;
  }

  .deck-controls {
    right: 50%;
    bottom: 8px;
    transform: translateX(50%);
    gap: 8px;
    padding: 5px 8px;
  }

  .deck-controls [data-step] {
    width: 30px;
    height: 30px;
  }

  .deck-dots {
    gap: 5px;
  }

  .deck-dots button {
    width: 6px;
    height: 6px;
  }

  .deck-dots button[aria-current="true"] {
    width: 14px;
  }

  .page-status {
    min-width: 35px;
    font-size: 10px;
  }

  .slide-footer {
    bottom: 50px;
    font-size: 9px;
  }
}

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