.about-founder figure::before {
  content: "H0—FOUNDER";
}

.lake-wordmark {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.lake-wordmark i {
  flex-basis: 100%;
}

:root {
  --focus-ring: #b6ff16;
  --raised-ink: #141412;
}

html {
  overflow-x: clip;
  scroll-padding-top: 92px;
}

body {
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

main,
main * {
  min-width: 0;
}

img,
svg {
  height: auto;
  max-width: 100%;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
blockquote {
  text-wrap: pretty;
}

main:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--acid);
  font-family: var(--font-mono), monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgb(11 11 10 / 8%);
}

.brand,
.primary-nav a,
.header-cta,
.button,
.text-link,
.text-button,
.footer-nav a,
.footer-email {
  transition: color 180ms ease, background-color 180ms ease, opacity 180ms ease,
    transform 180ms ease, border-color 180ms ease;
}

.brand:hover {
  opacity: 0.72;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--ink);
  background: var(--acid);
}

.button:hover {
  box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
}

.button-acid:hover,
.button-acid:focus-visible {
  background: #c5ff47;
  border-color: #c5ff47;
}

.text-link:hover,
.text-button:hover,
.footer-nav a:hover,
.footer-email:hover {
  color: var(--acid);
}

#app > main {
  min-height: 60vh;
  animation: page-enter 360ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.directory-grid > a,
.study-card,
.work-card,
.pricing-grid article,
.service-grid article,
.about-work article,
.engagement-steps article,
.contact-next article {
  transition: color 220ms ease, background-color 220ms ease,
    border-color 220ms ease, box-shadow 220ms ease;
}

@media (hover: hover) {
  .directory-grid > a:hover,
  .study-card:hover {
    box-shadow: inset 0 -3px 0 var(--acid);
  }

  .pricing-grid article:hover,
  .service-grid article:hover,
  .about-work article:hover,
  .engagement-steps article:hover,
  .contact-next article:hover {
    background: var(--raised-ink);
  }
}

.form-panel {
  box-shadow: 0 28px 80px rgb(0 0 0 / 18%);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding-block: 12px;
  border-bottom-color: #686861;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-bottom-color: #8e8d86;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: rgb(182 255 22 / 3%);
  border-bottom-color: var(--acid);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.faq-item button,
.rule button {
  transition: color 180ms ease, background-color 180ms ease;
}

.faq-item button:hover,
.rule button:hover {
  background: rgb(182 255 22 / 3%);
}

.case-hero {
  overflow: clip;
}

.case-hero h1 {
  max-width: 1180px;
  font-size: clamp(3.9rem, 7.5vw, 8rem);
}

.lake-case-hero h1 {
  max-width: 1240px;
  font-size: clamp(4rem, 7.1vw, 7.7rem);
}

.lake-case-hero::before {
  right: 0;
}

.footer-email {
  overflow-wrap: anywhere;
}

.home-origin,
.about-name-story {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.home-origin {
  padding-block: clamp(82px, 10vw, 135px);
}

.home-origin h2,
.about-name-story h2 {
  margin-bottom: 34px;
}

.home-origin > div > p {
  max-width: 810px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
}

.home-origin .text-link {
  margin-top: 24px;
}

.about-name-story > div {
  max-width: 920px;
}

.about-name-story > div > p {
  max-width: 790px;
  color: var(--muted);
}

.about-name-story .lead {
  color: var(--paper);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.45;
}

.about-name-story strong {
  color: var(--paper);
}

.about-name-story blockquote {
  max-width: 850px;
  margin: 58px 0 0;
  padding-top: 38px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display), sans-serif;
  font-size: clamp(2.5rem, 4.7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

@media (max-width: 1050px) {
  .menu-toggle {
    min-width: 48px;
    min-height: 48px;
  }

  .primary-nav {
    position: fixed;
    inset: 70px 0 0;
    min-height: 0;
    height: calc(100dvh - 70px);
    overflow-y: auto;
    box-shadow: 0 24px 60px rgb(11 11 10 / 18%);
  }

  .primary-nav a {
    min-height: 64px;
    display: flex;
    align-items: center;
  }

  .primary-nav a.is-active::after {
    right: 8px;
  }

  .home-origin,
  .about-name-story {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 78px;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 17vw, 5.4rem);
    line-height: 0.86;
  }

  .hero-copy > p,
  .intro-copy,
  .case-hero > p:not(.eyebrow),
  .lake-case-hero .lake-hero-lead {
    font-size: 1.05rem;
  }

  .case-hero {
    padding-block: 55px 88px;
  }

  .case-hero h1,
  .lake-case-hero h1 {
    font-size: clamp(3.2rem, 14.5vw, 4.8rem);
    line-height: 0.9;
  }

  .lake-wordmark {
    margin-bottom: 52px;
  }

  .lake-wordmark i {
    line-height: 1.6;
  }

  .contact-page {
    gap: 64px;
    padding-block: 78px;
  }

  .form-panel {
    padding: 22px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
  }

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

  .footer-nav {
    row-gap: 14px;
  }

  .home-origin {
    padding-block: 82px;
  }

  .about-name-story blockquote {
    margin-top: 44px;
    padding-top: 30px;
  }
}

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

/* Header-only Hypothesis Zero logo */
.brand-compact {
  gap: 10px;
}

.brand-compact .brand-mark {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  border-radius: 9px;
}

.brand-compact .brand-zero {
  position: absolute;
  width: 23px;
  height: 23px;
  border: 3px solid var(--acid);
  border-radius: 50%;
}

.brand-compact .brand-minus {
  position: absolute;
  width: 17px;
  height: 3px;
  background: var(--paper);
  box-shadow: 0 0 0 2px var(--ink);
}

.brand-compact .brand-name {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}

.brand-compact .brand-name span,
.brand-compact .brand-name strong {
  font: inherit;
}

.brand-compact .brand-name strong {
  color: var(--acid);
}

@media (max-width: 720px) {
  .brand-compact {
    gap: 8px;
    font-size: 0.84rem;
  }

  .brand-compact .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .brand-compact .brand-zero {
    width: 21px;
    height: 21px;
  }
}

