.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #000;
  color: var(--paper);
}
.site-header nav[aria-label="Main navigation"]::before { content: none; }
.site-header .navlinks a { white-space: nowrap; }
@media (max-width: 767px), (max-width: 1024px) and (max-height: 500px) and (pointer: coarse) {
  .site-header .navlinks a:not(.contactlink) { display: none; }
}
.site-header .contactlink,
.footerlinks a,
.footerlinks button { display: inline-flex; align-items: center; gap: .35em; }
.footerlinks button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.arrow-icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.cta .submit-arrow .arrow-icon { display: block; }
#kreate-type-ring .kr-stage { min-height: max(540px, calc(100svh - 100px)); }

.idea-graphic {
  max-width: 340px;
  margin-top: clamp(22px, 4vw, 48px);
}
.idea-diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.idea-diagram::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 16.67%;
  right: 16.67%;
  border-top: 1px solid var(--line);
}
.idea-step {
  display: grid;
  justify-items: center;
  gap: 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
}
.idea-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
}
.idea-spark::after {
  content: "";
  width: 25px;
  height: 25px;
  background: var(--red);
  clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%);
}
.idea-attention::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--red), 0 0 0 10px var(--paper), 0 0 0 11px var(--line);
}
.idea-growth {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  padding-bottom: 17px;
  background: var(--ink);
  border-color: var(--ink);
}
.idea-growth i { width: 6px; height: 10px; background: var(--paper); }
.idea-growth i:nth-child(2) { height: 18px; }
.idea-growth i:nth-child(3) { height: 27px; background: var(--red); }
.idea-caption {
  display: block;
  margin-top: 19px;
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: .12em;
}
.results .result { text-align: center; padding-inline: 14px; }
.metrics-note {
  margin: 15px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}
main { --partners-edge-space: 55px; }
#good-instincts { padding-bottom: var(--partners-edge-space); }
.partners {
  padding-bottom: var(--partners-edge-space);
  margin-bottom: 70px;
  border-bottom: 1px solid var(--line);
}
.brand-marquee { overflow: hidden; margin-top: 28px; }
.brand-track { display: flex; width: max-content; animation: brand-scroll 40s linear infinite; }
.brand-track .names {
  flex: none;
  min-width: min(90vw, 1350px);
  flex-wrap: nowrap;
  gap: clamp(34px, 6vw, 88px);
  padding-right: clamp(34px, 6vw, 88px);
  margin: 0;
  white-space: nowrap;
}
.brand-track .pangaia { letter-spacing: .14em; font-size: .84em; }
.brand-track .bang { font-style: italic; }
@keyframes brand-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .brand-track .names { flex-wrap: wrap; padding: 0; gap: 18px 30px; }
  .brand-track .names[aria-hidden] { display: none; }
  .brand-track { animation: none; width: auto; }
  .brand-track .names { flex: 1; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 80px; }
  #kreate-type-ring .kr-stage {
    display: flex;
    flex-direction: column;
    height: calc(100svh - 80px);
    /* The viewport difference excludes part of the floating toolbar on iOS. */
    --hero-toolbar-space: calc(
      max(env(safe-area-inset-bottom, 0px), calc(100lvh - 100dvh)) + var(--ios-toolbar-bleed, 0px)
    );
    height: calc(100dvh - 80px + var(--hero-toolbar-space));
    padding-bottom: var(--hero-toolbar-space);
    min-height: 0;
  }
  #kreate-type-ring .kr-stage:not([data-scene]) {
    --ground: var(--hero-orange);
    --ink: var(--hero-dark);
    --punctuation: #fff;
  }
  #kreate-type-ring .kr-heading { padding-top: clamp(12px, 3.5svh, 28px); }
  #kreate-type-ring .kr-heading { --headline-size: clamp(24px, 8.5vw, 62px); }
  #kreate-type-ring .kr-playfield {
    position: relative;
    inset: auto;
    flex: 1;
    min-height: 0;
  }
  #kreate-type-ring .kr-footer {
    position: relative;
    inset: auto;
    justify-content: center;
    flex: none;
    margin-top: 12px;
    padding: 0 16px;
  }
  #kreate-type-ring .kr-footer .arrowlink {
    min-height: 44px;
    justify-content: center;
    margin-top: 0;
    padding-bottom: 0;
  }
  .intro-aside { display: contents; }
  .intro-aside .eyebrow { order: -2; }
  .idea-graphic { order: 1; margin: 0; }
  .results .result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 20px 8px;
  }
  .result strong {
    font-size: clamp(30px, 9.6vw, 44px);
    line-height: 1;
  }
  .result p {
    max-width: 16ch;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    text-wrap: balance;
  }
  .metrics-note { font-size: 12px; }
  .contact-form .field input,
  .contact-form .field textarea {
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
  }
  .contact-form .field input:focus,
  .contact-form .field textarea:focus {
    outline: none;
    border-bottom-color: var(--ink);
    box-shadow: 0 1px 0 var(--ink);
  }
}

.partners-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .23em;
  margin: 0;
  font: 500 clamp(11px, 3.35vw, 44px)/1.2 'Space Grotesk', sans-serif;
  letter-spacing: -.045em;
  text-align: center;
  white-space: nowrap;
}
#kreate-type-ring .hero-apostrophe { margin-inline-end: .065em; }

@supports (-webkit-touch-callout: none) {
  @media (max-width: 800px) {
    #kreate-type-ring .kr-stage { --ios-toolbar-bleed: 80px; }
  }
}

@media (max-width: 800px) {
  main { --partners-edge-space: 35px; }
  .partners { margin-bottom: 45px; }
  .partners-heading {
    flex-direction: column;
    gap: 0;
    font-size: clamp(21px, 6.5vw, 39px);
    white-space: normal;
    text-wrap: balance;
  }
}
