/* ===================================================================
   MOOR Home V3 - immersive charted harbor concept
   =================================================================== */

.home-v3 {
  --v3-wide: min(100% - var(--header-gutter) * 2, 1360px);
  --v3-mid: min(100% - var(--header-gutter) * 2, 1180px);
  --v3-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --v3-blue-veil: rgba(5, 107, 241, 0.16);
  --v3-hero-pad-top: clamp(6.93rem, 11.22vh, 8.91rem);
  --v3-hero-pad-bottom: clamp(2.2rem, 4.95vh, 3.85rem);
  background: var(--color-cream);
}

.home-v3 main {
  overflow: clip;
}

.home-v3 .site-header {
  position: fixed;
  left: 0;
  right: 0;
  transition:
    background var(--duration-fast) var(--v3-ease),
    border-color var(--duration-fast) var(--v3-ease),
    box-shadow var(--duration-fast) var(--v3-ease);
}

.home-v3 .site-header--on-hero {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.home-v3 .site-header--on-hero .site-nav a {
  color: var(--color-cream-a88);
}

.home-v3 .site-header--on-hero .site-nav a:hover,
.home-v3 .site-header--on-hero .site-nav a[aria-current="page"] {
  color: var(--color-cream);
}

.home-v3 .site-header--on-hero .site-header__cta {
  background: var(--color-cream);
  color: var(--color-navy);
}

.home-v3 .site-header--on-hero .site-header__cta:hover {
  background: var(--color-white);
}

.home-v3 .site-header--on-hero .menu-toggle {
  color: var(--color-cream);
  border-color: var(--color-cream-a45);
}

.home-v3 .site-logo__wordmark--hero {
  display: none;
}

.home-v3 .site-header--on-hero .site-logo__wordmark--default {
  display: none;
}

.home-v3 .site-header--on-hero .site-logo__wordmark--hero,
.home-v3 .site-header--scrolled .site-logo__wordmark--default {
  display: block;
}

.home-v3 .site-header--scrolled .site-logo__wordmark--hero {
  display: none;
}

.v3-home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-accent-on-dark);
}

.v3-home-kicker::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: currentColor;
}

/* --- Hero --- */

.v3-home-hero {
  position: relative;
  min-height: min(100svh, 1120px);
  max-height: 100svh;
  padding-block: var(--v3-hero-pad-top) var(--v3-hero-pad-bottom);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
  isolation: isolate;
  box-sizing: border-box;
}

.v3-home-hero__bg,
.v3-home-hero__chart,
.v3-home-hero__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.v3-home-hero__bg {
  z-index: -3;
}

.v3-home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.92) contrast(1.04);
}

@media (prefers-reduced-motion: no-preference) {
  .js .home-v3 .v3-home-hero__bg img {
    animation: v3-hero-drift 32s var(--v3-ease) infinite alternate;
    transform-origin: 66% 44%;
  }
}

@keyframes v3-hero-drift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, 0.8%, 0);
  }
}

.v3-home-hero__wash {
  z-index: -2;
  background:
    radial-gradient(circle at 82% 22%, rgba(5, 131, 242, 0.32), transparent 26rem),
    linear-gradient(105deg, rgba(3, 34, 68, 0.96) 0%, rgba(3, 34, 68, 0.84) 39%, rgba(3, 34, 68, 0.48) 70%, rgba(3, 34, 68, 0.86) 100%);
}

.v3-home-hero__chart {
  z-index: -1;
  opacity: 0.2;
  mix-blend-mode: soft-light;
  mask-image: linear-gradient(110deg, black 0%, black 62%, transparent 88%);
  -webkit-mask-image: linear-gradient(110deg, black 0%, black 62%, transparent 88%);
}

.v3-home-hero__chart img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.v3-home-hero__inner {
  position: relative;
  z-index: 2;
  width: var(--v3-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.65fr);
  gap: clamp(2rem, 4vw, 4.75rem);
  align-items: center;
  min-height: 0;
  flex: 1 1 auto;
}

.v3-home-hero__copy {
  max-width: 45rem;
  container-type: inline-size;
}

.v3-home-hero__title {
  margin: 0;
  max-width: 100%;
  color: var(--color-cream);
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: normal;
}

.v3-home-hero__title .hero__heading-static {
  display: inline;
}

.v3-home-hero__title .hero__heading-static,
.v3-home-hero__title .hero__heading-typed {
  color: inherit;
}

.v3-home-hero__title .hero__heading-typed {
  display: block;
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  font-size: min(1em, clamp(2.15rem, 9cqi, 4.375rem));
  letter-spacing: -0.045em;
}

.v3-home-hero__title .hero__heading-continued {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}

.v3-home-hero__lead {
  max-width: 39rem;
  margin: clamp(0.85rem, 1.5vw, 1.15rem) 0 0;
  color: rgba(249, 249, 227, 0.82);
  font-size: clamp(1rem, 0.55vw + 0.88rem, 1.125rem);
  line-height: 1.65;
}

.v3-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1rem, 2vw, 1.35rem);
}

.v3-home-hero__atlas {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.75rem, 1.4vh, 1.05rem);
  width: 100%;
  min-height: 0;
  border: 1px solid rgba(249, 249, 227, 0.16);
  padding: clamp(0.5rem, 0.95vh, 0.68rem);
  padding-bottom: clamp(0.75rem, 1.4vh, 1rem);
}

.v3-founder-photo {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 627 / 760;
  overflow: hidden;
}

.v3-founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.v3-founder-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: clamp(2.5rem, 6vh, 3.5rem) clamp(1rem, 2vw, 1.35rem) clamp(0.75rem, 1.5vh, 1rem);
  background: linear-gradient(
    to top,
    rgba(3, 34, 68, 0.92) 0%,
    rgba(3, 34, 68, 0.78) 45%,
    rgba(3, 34, 68, 0.3) 78%,
    transparent 100%
  );
}

.v3-founder-body {
  padding: 0 clamp(0.2rem, 0.6vw, 0.45rem);
  min-height: 0;
}

.v3-founder-kicker {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5db2f6;
}

.v3-founder-name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-cream);
  text-wrap: pretty;
}

.v3-founder-role {
  margin: 0 0 clamp(0.6rem, 1.2vh, 0.85rem);
  max-width: 42rem;
  font-size: clamp(0.875rem, 0.35vw + 0.8rem, 0.9375rem);
  line-height: 1.5;
  color: rgba(249, 249, 227, 0.9);
}

.v3-founder-role strong {
  font-weight: 700;
  color: var(--color-cream);
}

.v3-founder-creds {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(0.45rem, 0.8vh, 0.6rem);
}

.v3-founder-creds li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: clamp(0.875rem, 0.28vw + 0.76rem, 0.9rem);
  font-weight: 700;
  line-height: 1.5;
  color: rgba(249, 249, 227, 0.9);
}

.v3-founder-creds li::before {
  content: "";
  flex: 0 0 0.35rem;
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0.45em;
  background: var(--color-blue);
}

/* --- Intake band --- */

.v3-intake-band {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
  background:
    linear-gradient(90deg, rgba(5, 107, 241, 0.08), transparent 34%),
    var(--color-cream);
}

.v3-intake-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/topographic/topo-beige-4-2-squared.svg") right -12rem top -16rem / min(54vw, 46rem) auto no-repeat;
  opacity: 0.48;
  pointer-events: none;
}

.v3-intake-band__inner {
  position: relative;
  z-index: 1;
  width: var(--v3-mid);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.v3-intake-band__copy {
  position: sticky;
  top: 7rem;
  padding-top: clamp(0.5rem, 4vw, 2.5rem);
}

.v3-intake-band__copy h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.v3-intake-band__copy .lead {
  max-width: 37rem;
  margin-top: 1.25rem;
}

.v3-intake-band .hero-intake {
  background: var(--color-white);
  border-color: rgba(3, 34, 68, 0.12);
  box-shadow: 0 28px 70px rgba(3, 34, 68, 0.14);
}

/* --- Routefinder --- */

.v3-routes {
  padding-block: clamp(4.5rem, 10vw, 9rem);
  background: var(--color-bento-shell);
  color: var(--color-cream);
}

.v3-routes__head {
  width: var(--v3-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.34fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.v3-routes__head .v3-home-kicker {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  text-align: right;
}

.v3-routes__head h2 {
  grid-column: 1;
  grid-row: 1;
  max-width: 16ch;
  margin: 0;
  color: var(--color-cream);
  font-size: clamp(1.5rem, 2.7vw, 2.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.v3-routefinder {
  width: var(--v3-wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  border: 1px solid var(--color-cream-a12);
  min-height: 42rem;
}

.v3-routefinder__tabs {
  display: grid;
  align-content: stretch;
  background:
    linear-gradient(180deg, rgba(5, 107, 241, 0.16), transparent),
    rgba(249, 249, 227, 0.04);
}

.v3-route-tab {
  appearance: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
  min-height: 9rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 0;
  border-bottom: 1px solid var(--color-cream-a12);
  background: transparent;
  text-align: left;
  color: var(--color-cream);
  cursor: pointer;
  transition: background var(--duration-med) var(--v3-ease), color var(--duration-med) var(--v3-ease);
}

.v3-route-tab:last-child {
  border-bottom: 0;
}

.v3-route-tab span {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
  font-weight: var(--weight-black);
  line-height: 1;
}

.v3-route-tab small {
  max-width: 18rem;
  color: rgba(249, 249, 227, 0.7);
  font-size: 0.9rem;
  line-height: 1.45;
}

.v3-route-tab:hover,
.v3-route-tab:focus-visible,
.v3-route-tab.is-active {
  background: var(--color-cream);
  color: var(--color-navy);
}

.v3-route-tab:hover small,
.v3-route-tab:focus-visible small,
.v3-route-tab.is-active small {
  color: var(--color-muted-on-cream);
}

.v3-route-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  min-height: 42rem;
  background: var(--color-cream);
  color: var(--color-navy);
}

.v3-route-panel[hidden] {
  display: none;
}

.v3-route-panel figure {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--color-navy);
}

.v3-route-panel figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 34, 68, 0.06), rgba(3, 34, 68, 0.55)),
    linear-gradient(90deg, transparent, rgba(5, 107, 241, 0.18));
  pointer-events: none;
}

.v3-route-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v3-route-panel__body {
  align-self: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.v3-route-panel__body h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.55rem);
  line-height: 1.02;
}

.v3-route-panel__body p {
  margin-top: 1rem;
  color: var(--color-muted-on-cream);
}

.v3-route-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.35rem 0 1.6rem;
  padding: 0;
  list-style: none;
}

.v3-route-list li {
  display: flex;
  gap: 0.7rem;
  color: var(--color-muted-on-cream);
  line-height: 1.5;
}

.v3-route-list li::before {
  content: "";
  flex: 0 0 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.52rem;
  background: var(--color-deep-blue);
}

.v3-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-on-light);
  text-decoration: none;
}

.v3-inline-link span {
  transition: transform var(--duration-fast) var(--v3-ease);
}

.v3-inline-link:hover span,
.v3-inline-link:focus-visible span {
  transform: translateX(4px);
}

/* --- Name section --- */

.v3-name {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.v3-name__topo {
  position: absolute;
  inset: -20% auto -15% 42%;
  width: min(64vw, 56rem);
  opacity: 0.16;
  pointer-events: none;
}

.v3-name__topo img {
  width: 100%;
  height: auto;
}

.v3-name__inner {
  position: relative;
  z-index: 1;
  width: var(--v3-mid);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.v3-name__word {
  min-width: 0;
}

.v3-name__word span {
  display: block;
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7.5vw, 5.75rem);
  font-weight: var(--weight-black);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.v3-name__word small {
  display: block;
  margin-top: 1rem;
  color: var(--color-accent-on-dark);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.v3-name__copy h2 {
  margin: 0;
  color: var(--color-cream);
  font-size: clamp(1.85rem, 3.4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.v3-name__copy p {
  max-width: 43rem;
  margin-top: 1.25rem;
  color: rgba(249, 249, 227, 0.78);
  font-size: 1.08rem;
}

/* --- Method --- */

.v3-method {
  padding-block: clamp(4.5rem, 10vw, 9rem);
  background: var(--color-cream);
}

.v3-method__grid {
  width: var(--v3-mid);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(380px, 0.9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.v3-method__intro {
  position: sticky;
  top: 7rem;
}

.v3-method__intro .v3-home-kicker {
  color: var(--color-accent-on-light);
}

.v3-method__intro h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.v3-method__intro .lead {
  margin-block: 1.25rem 1.75rem;
}

.v3-method__stack {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(3, 34, 68, 0.16);
}

.v3-method__stack article {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  padding-block: clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(3, 34, 68, 0.16);
  align-items: baseline;
}

.v3-method__stack span {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-on-light);
}

.v3-method__stack h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.45vw, 1.375rem);
  line-height: 1.12;
}

.v3-method__stack p {
  margin: 0;
  color: var(--color-muted-on-cream);
}

/* --- Gallery --- */

.v3-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.74fr);
  grid-template-rows: repeat(2, minmax(18rem, 28vw));
  gap: 1px;
  background: var(--color-navy);
}

.v3-gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--color-navy);
}

.v3-gallery__item--large {
  grid-row: 1 / span 2;
}

.v3-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--v3-ease), filter 900ms var(--v3-ease);
}

.v3-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 34, 68, 0.78));
  pointer-events: none;
}

.v3-gallery__item figcaption {
  position: absolute;
  z-index: 1;
  left: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 2rem);
  font-weight: var(--weight-black);
  line-height: 1;
  letter-spacing: -0.02em;
}

.v3-gallery__item:hover img {
  transform: scale(1.04);
  filter: saturate(1.04);
}

/* --- Closing --- */

.v3-closing {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5.5rem, 12vw, 10rem);
  text-align: center;
}

.v3-closing__bg {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  pointer-events: none;
}

.v3-closing__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(5, 131, 242, 0.22), transparent 28rem),
    rgba(3, 34, 68, 0.74);
}

.v3-closing__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v3-closing__inner {
  position: relative;
  z-index: 1;
  width: var(--v3-mid);
  margin-inline: auto;
}

.v3-closing__logo {
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.v3-closing h2 {
  max-width: 12ch;
  margin: 0 auto;
  color: var(--color-cream);
  font-size: clamp(2.1rem, 4.4vw, 4.25rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.v3-closing .lead {
  max-width: 42rem;
  margin: 1.35rem auto 0;
  color: rgba(249, 249, 227, 0.8);
}

.v3-closing__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.v3-edition-note {
  margin: 0 0 var(--space-md);
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-cream-a12);
  color: rgba(249, 249, 227, 0.76);
  font-size: 0.9rem;
}

.v3-edition-note strong,
.v3-edition-note a {
  color: var(--color-cream);
}

/* --- Focus and motion states --- */

.v3-route-tab:focus-visible,
.v3-inline-link:focus-visible,
.v3-gallery__item:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus-on-dark);
  outline-offset: var(--focus-ring-offset);
}

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

/* --- Responsive --- */

@media (min-width: 1024px) {
  .v3-home-hero {
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    justify-content: stretch;
  }

  .v3-home-hero__inner {
    height: calc(100svh - var(--v3-hero-pad-top) - var(--v3-hero-pad-bottom));
    max-height: calc(100svh - var(--v3-hero-pad-top) - var(--v3-hero-pad-bottom));
    padding-block: clamp(0.75rem, 3.85vh, 2.75rem);
    box-sizing: border-box;
    align-items: stretch;
    align-self: center;
  }

  .v3-home-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
  }

  .v3-home-hero__title {
    font-size: clamp(3.25rem, 3.5vw + 1.25rem, 4.375rem);
  }

  .v3-home-hero__atlas {
    display: flex;
    flex-direction: column;
    align-self: center;
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow: hidden;
    gap: clamp(0.65rem, 1.2vh, 0.9rem);
    padding: clamp(0.45rem, 0.85vh, 0.6rem);
    padding-bottom: clamp(0.65rem, 1.2vh, 0.85rem);
  }

  .v3-founder-photo {
    flex: 1 1 auto;
    width: 100%;
    min-height: 16rem;
    max-height: none;
    height: auto;
    aspect-ratio: auto;
  }

  .v3-founder-body {
    flex: 0 0 auto;
    min-height: 0;
  }
}

@media (min-width: 1024px) and (max-height: 900px) {
  .home-v3 {
    --v3-hero-pad-top: clamp(6.27rem, 9.9vh, 7.59rem);
    --v3-hero-pad-bottom: clamp(1.925rem, 4.4vh, 3.025rem);
  }

  .v3-home-hero__title {
    font-size: clamp(2.75rem, 5.2vw + 0.25rem, 5.25rem);
  }

  .v3-home-hero__lead {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
  }

  .v3-home-hero__actions {
    margin-top: 0.85rem;
  }

  .v3-founder-name {
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  }
}

@media (max-width: 1100px) {
  .v3-home-hero__inner,
  .v3-intake-band__inner,
  .v3-method__grid {
    grid-template-columns: 1fr;
  }

  .v3-home-hero {
    align-items: stretch;
    max-height: none;
    height: auto;
    min-height: auto;
    flex-direction: column;
    justify-content: center;
  }

  .v3-home-hero__inner {
    height: auto;
    max-height: none;
    align-items: center;
  }

  .v3-home-hero__copy {
    display: block;
  }

  .v3-home-hero__atlas {
    display: grid;
    min-height: 0;
    max-height: none;
    max-width: 46rem;
    height: auto;
  }

  .v3-founder-photo {
    flex: none;
    aspect-ratio: 627 / 720;
  }

  .v3-intake-band__copy,
  .v3-method__intro {
    position: static;
  }

  .v3-intake-band__copy h2,
  .v3-method__intro h2 {
    max-width: 16ch;
  }

  .v3-routefinder,
  .v3-route-panel,
  .v3-name__inner {
    grid-template-columns: 1fr;
  }

  .v3-routefinder {
    min-height: auto;
  }

  .v3-routes__head {
    width: var(--v3-wide);
  }

  .v3-routes__head .v3-home-kicker,
  .v3-routes__head h2 {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    text-align: left;
  }

  .v3-routefinder__tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .v3-route-tab {
    min-height: 8rem;
    border-bottom: 1px solid var(--color-cream-a12);
    border-right: 1px solid var(--color-cream-a12);
  }

  .v3-route-tab:last-child {
    border-right: 0;
  }

  .v3-route-panel {
    min-height: auto;
  }

  .v3-route-panel figure {
    min-height: 28rem;
  }

  .v3-name__word span {
    font-size: clamp(3rem, 12vw, 4.75rem);
  }
}

@media (max-width: 820px) {
  .v3-home-hero {
    min-height: auto;
    max-height: none;
    padding-block: 9rem 5rem;
  }

  .v3-home-hero__inner {
    gap: 2.5rem;
  }

  .v3-home-hero__title {
    font-size: clamp(3rem, 13vw, 7.2rem);
  }

  .v3-home-hero__atlas {
    min-height: 0;
    max-height: none;
  }

  .v3-founder-photo {
    width: 100%;
    max-height: none;
    aspect-ratio: 627 / 640;
  }

  .v3-routes__head,
  .v3-method__stack article {
    grid-template-columns: 1fr;
  }

  .v3-routes__head .v3-home-kicker,
  .v3-routes__head h2 {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    text-align: left;
  }

  .v3-routes__head h2 {
    max-width: 13ch;
  }

  .v3-routefinder__tabs {
    grid-template-columns: 1fr;
  }

  .v3-route-tab {
    min-height: auto;
    border-right: 0;
  }

  .v3-route-panel figure {
    min-height: 20rem;
  }

  .v3-route-panel__body {
    padding: 1.25rem;
  }

  .v3-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .v3-gallery__item,
  .v3-gallery__item--large {
    min-height: 22rem;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .home-v3 {
    --header-gutter: 1rem;
    overflow-x: clip;
  }

  /* Both heading spans are nowrap; floors must fit a 320px viewport */
  .v3-home-hero__title {
    font-size: clamp(1.7rem, 8.2vw, 2.6rem);
  }

  .v3-home-hero__title .hero__heading-typed {
    font-size: min(1em, clamp(1.55rem, 8.8cqi, 4.375rem));
  }

  .v3-home-hero__actions,
  .v3-closing__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .v3-home-hero__actions .btn,
  .v3-closing__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .v3-founder-body {
    padding-inline: clamp(0.35rem, 1vw, 0.65rem);
  }

  .v3-intake-band .hero-intake {
    padding: 1rem;
  }

  .v3-intake-band__copy h2,
  .v3-routes__head h2,
  .v3-name__copy h2,
  .v3-method__intro h2,
  .v3-closing h2 {
    font-size: clamp(2.1rem, 12vw, 3.35rem);
  }

  .v3-method__stack article {
    gap: 0.55rem;
  }
}
