.home-section {
  position: sticky;
  top: 0;
  z-index: 0;
  overflow: visible;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  color: var(--color-ink);
  background: #f7f9fb;
}

.home-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: calc(100% + 0.5rem);
  object-fit: cover;
  object-position: center;
}

.home-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  min-height: 100%;
  padding-block: 4.5rem 3rem;
}

.home-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, 45rem);
  margin-top: 6.5rem;
}

.home-logo {
  position: absolute;
  top: 1.5rem;
  left: 0;
  width: 6.5rem;
  aspect-ratio: 1.05;
  margin: 0;
  overflow: hidden;
}

.home-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280%;
  max-width: none;
  transform: translate(-50%, -50%);
}

.home-brand h1 {
  margin: 0.75rem 0 0;
  font-size: 3.5rem;
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: 0;
}

.home-brand h2 {
  max-width: none;
  margin: 0.8rem 0 0;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.home-brand .home-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--color-brand);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.home-kicker::after {
  width: 2rem;
  height: 1px;
  content: "";
  background: var(--color-brand);
}

.home-brand .home-summary {
  margin: .3rem 0 0;
  color: #7e8287;
  font-size: .85rem;
  font-weight: 550;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 3.25rem;
}

.home-action {
  --action-color: var(--color-ink);
  --action-fill: rgba(7, 136, 207, 0.2);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 0;
  min-height: 2.7rem;
  padding: 0.65rem 1rem;
  color: var(--action-color);
  background: none;
  border: 0;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: none;
  transition: transform 180ms ease;
}

.home-action::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: .15rem;
  height: 2.2rem;
  content: "";
  background: var(--action-fill);
  /* border-radius: var(--radius-pill); */
  transform: translateY(-50%);
  transition: width 300ms ease, background 300ms ease;
}

.home-action-primary {
  --action-color: var(--color-ink);
  --action-fill: rgba(49, 178, 252);
}

.home-action-secondary {
  --action-color: var(--color-brand);
  --action-fill: rgb(17, 19, 23);
}

.home-action span {
  position: relative;
  color: var(--action-color);
}

.home-action:is(:hover, :focus-visible)::before {
  width: 100%;
}

.home-action-icon {
  position: relative;
  color: var(--action-color);
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1;
  transform: translateX(-0.25rem);
  transition: transform 300ms ease;
}

.home-action:is(:hover, :focus-visible) .home-action-icon {
  transform: translateX(0);
}

.home-action:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 4px;
}

.home-action:active {
  transform: translateY(1px) scale(0.98);
}

.home-transition {
  position: absolute;
  right: 0;
  top: -6.5rem;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 7rem;
  fill: var(--color-white);
  overflow: hidden;
  pointer-events: none;
}

.home-transition path {
  filter:
    drop-shadow(0 -0.3rem 0.35rem rgba(28, 35, 43, 0.16))
    drop-shadow(0 -1rem 1.25rem rgba(28, 35, 43, 0.1));
}


/* Desktop Home CSS */
/* ...existing home CSS... */


/* Tablet */

@media (min-width: 761px) and (max-width: 900px) {

  .home-logo {
    width: 6.5rem;
  }

  .home-brand h1 {
    font-size: 3rem;
  }

}


/* Mobile */

@media (max-width: 760px) {

  .home-section {
    height: 100vh;
    height: 100svh;
  }

  .home-visual {
    top: 0;
    bottom: auto;
    height: calc(100% + 0.5rem);
    object-position: 64% center;
  }

  .home-content {
    align-items: flex-start;
    padding-block: 4.5rem 4rem;
  }

  .home-brand {
    align-items: flex-start;
    width: 100%;
    margin-top: 7rem;
    text-align: left;
  }

  .home-logo {
    top: 1.25rem;
    width: 5.5rem;
    height: auto;
    aspect-ratio: 1.05;
  }

  .home-logo img {
    top: 50%;
  }

  .home-brand h1 {
    margin-top: 0.8rem;
    font-size: 2rem;
    white-space: nowrap;
  }

  .home-brand h2 {
    max-width: none;
    margin-top: 0.65rem;
    font-size: 0.96rem;
    white-space: nowrap;
  }

  .home-brand .home-kicker {
    font-size: 0.62rem;
  }

  .home-brand .home-summary {
    margin-top: 0.75rem;
    font-size: 0.83rem;
  }

  .home-actions {
    gap: 0.75rem;
    margin-top: 1.15rem;
  }

  .home-action {
    min-width: 0;
    min-height: 2.5rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.76rem;
  }

  .home-action::before {
    width: 2.5rem;
    height: 2.5rem;
  }

  .home-action-icon {
    flex: 0 0 auto;
    width: auto;
    height: auto;
  }

  .home-action:focus-visible {
    outline-color: var(--color-brand);
  }

  .home-transition {
    top: -3.25rem;
    height: 4.5rem;
  }

  .home-transition path {
    filter:
      drop-shadow(
        0 -0.2rem 0.3rem
        rgba(28, 35, 43, 0.13)
      )
      drop-shadow(
        0 -0.65rem 0.8rem
        rgba(28, 35, 43, 0.08)
      );
  }

}

/* SMALL PHONE */
@media (max-width: 560px) and (max-height: 560px) {

  .home-content {
    padding-block: 3.5rem 2rem;
  }

  .home-logo {
    width: 4.5rem;
  }

  .home-brand h1 {
    font-size: 1.8rem;
  }

  .home-brand h2 {
    font-size: 1rem;
  }

  .home-brand .home-summary {
    margin-top: 0.45rem;
  }

}

/* LARGE PHONE */
@media (min-width: 561px) and (max-width: 760px) {

  .home-section {
    height: 100vh;
    height: 100svh;
  }

  .home-visual {
    top: 0;
    bottom: auto;
    height: calc(100% + 0.5rem);
    object-position: center;
  }

  .home-logo {
    width: 6.5rem;
  }

  .home-brand h1 {
    font-size: 2.75rem;
  }

  .home-brand h2 {
    font-size: 1.35rem;
  }

}
/* REDUCE MOTION */
@media (prefers-reduced-motion: reduce) {

  .home-action,
  .home-action::before,
  .home-action-icon {
    transition: none;
  }

  .home-action:is(:hover, :active) {
    transform: none;
  }

  .home-action::before,
  .home-action:is(:hover, :focus-visible, :active)::before,
  .home-action-icon,
  .home-action:is(:hover, :focus-visible, :active)
  .home-action-icon {
    transform: none;
  }

}