/* Landing page layout and hero styles extracted from legacy stylesheet. */

:root {
  --lighthouse-heading-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

/* Alternating section backgrounds - off-white and white after hero */
.page-landing section.section:nth-of-type(odd) {
  background-color: var(--color-off-white);
}

.page-landing section.section:nth-of-type(even) {
  background-color: #ffffff;
}

.landing-hero ~ .section:first-of-type {
  padding-top: 0;
}

.landing-section {
  position: relative;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
}

.landing-section__container {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

.landing-section__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  margin: 0 auto;
  max-width: 560px;

}

.landing-section__header--split {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  text-align: left;
  margin: 0;
}

.landing-section__intro {
  display: grid;
  gap: 0.75rem;
}

.landing-section__grid {
  width: 100%;
}

/* Featured & Openings hero stack */
#featured-section,
#openings-section,
.landing-section--flush {
  padding-bottom: 0 !important;
  margin-bottom: 0;
  min-height: auto;
}

.section-hero-container {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  text-align: center;
}

.hero-text {
  position: relative;
  bottom: 0;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-text h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-tight);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.5rem;
  text-wrap: balance;
  color: var(--color-brand-primary);
}

.hero-text p {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: var(--font-size-lead);
  color: var(--color-brand-primary);
  line-height: var(--line-height-relaxed);
}

.section-hero-layout {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.section-hero-media,
.section-hero-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(420px, 65vh, 700px);
}

.section-hero-media {
  align-items: center;
}

.hero-image-frame {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.featured-image-wrapper,
.recent-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.featured-hero-media__picture,
.openings-hero-media__picture {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.featured-hero-image,
.openings-hero-image {
  width: 100%;
  height: 100%;
  max-height: 650px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.section-hero-cards {
  gap: 1rem;
}

.featured-scroll,
.openings-scroll {
  flex: 1;
  height: clamp(420px, 60vh, 640px);
  max-height: 700px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#featured-section .featured-scroll {
  background: transparent;
  height: 100%;
  max-height: 650px;
}

#openings-section .openings-scroll {
  height: 100%;
  max-height: 650px;
}

.featured-scroll::-webkit-scrollbar,
.openings-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.featured-scroll::-webkit-scrollbar-thumb,
.openings-scroll::-webkit-scrollbar-thumb {
  display: none;
}

.featured-scroll__inner,
.openings-scroll__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem;
}

.featured-scroll__inner .card--featured-job:nth-child(n+5) {
  display: none;
}

.featured-scroll .card--featured-job,
.openings-scroll .card--job-v2 {
  margin-bottom: 0;
}

.featured-scroll .job-card-v2__header,
.openings-scroll .job-card-v2__header {
  padding: 1rem;
  padding-bottom: 0.875rem;
}

.featured-scroll .job-card-v2__title,
.openings-scroll .job-card-v2__title {
  font-size: var(--font-size-h6);
  margin-bottom: 0.375rem;
}

.featured-scroll .job-card-v2__department,
.openings-scroll .job-card-v2__department {
  font-size: var(--font-size-sm);
}

.featured-scroll .job-card-v2__body,
.openings-scroll .job-card-v2__body {
  padding: 0.875rem 1rem;
  gap: 0.75rem;
}

.featured-scroll .job-card-v2__meta,
.openings-scroll .job-card-v2__meta {
  gap: 0.5rem 0.75rem;
  justify-content: center;
}

.featured-scroll .job-card-v2__meta-item,
.openings-scroll .job-card-v2__meta-item {
  font-size: var(--font-size-sm);
}

.featured-scroll .job-card-v2__description,
.openings-scroll .job-card-v2__description {
  font-size: var(--font-size-base-sm);
  line-height: var(--line-height-normal);
  -webkit-line-clamp: 2;
}

.featured-scroll .job-card-v2__skills,
.openings-scroll .job-card-v2__skills {
  padding-top: 0.5rem;
  gap: 0.4rem;
}

.featured-scroll .job-card-v2__skill,
.openings-scroll .job-card-v2__skill {
  padding: 0.3rem 0.65rem;
  font-size: var(--font-size-xs);
}

.featured-scroll .job-card-v2__footer,
.openings-scroll .job-card-v2__footer {
  padding: 0.75rem 1rem;
  gap: 0.75rem;
}

.featured-section-viewall,
.recent-section-viewall {
  display: flex;
  justify-content: flex-end;
  padding-top: 1rem;
}

.viewall-inline {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 1.5rem 1rem;
  background: transparent;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.viewall-inline[data-scroll-target="featured"] {
  background: transparent;
}

.viewall-inline[data-scroll-target="openings"] {
  background: transparent;
}

@media (min-width: 1024px) {
  #featured-section,
  #openings-section {
    padding-top: clamp(2rem, 3vw, 2.5rem);
  }

  .section-hero-layout {
    flex-direction: row;
    align-items: stretch;
    gap: clamp(2rem, 5vw, 4rem);
  }

  .section-hero-media,
  .section-hero-cards {
    min-height: 640px;
  }

  .featured-scroll__inner .card--featured-job:nth-child(n+5) {
    display: flex;
  }

  .section-hero-cards .featured-section-viewall,
  .section-hero-cards .recent-section-viewall {
    justify-content: flex-start;
  }
}

@media (max-width: 1023px) {
  .featured-scroll,
  .openings-scroll {
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  .section-hero-media,
  .section-hero-cards {
    min-height: auto;
  }

  .featured-scroll,
  .openings-scroll {
    height: auto;
    max-height: none;
    overflow-y: visible;
  }

  .hero-text {
    padding-inline: 1rem;
  }

  .featured-section-viewall,
  .recent-section-viewall {
    justify-content: center;
  }

  /* Reorder featured section: title -> image -> cards */
  #featured-section .section-hero-layout {
    display: flex;
    flex-direction: column;
  }

  #featured-section .section-hero-media {
    order: 1;
  }

  #featured-section .section-hero-cards {
    order: 2;
  }
}

.landing-intro {
  min-height: auto;
  padding: var(--section-padding-y-sm) 0;
}

.landing-intro .section-heading {
  color: var(--color-brand-primary);
}

.landing-intro .exec-overview__icon {
  background-color: var(--color-brand-accent);
}

.landing-intro .exec-overview__icon svg {
  stroke: var(--color-brand-primary);
}

.landing-intro .exec-overview {
  align-items: stretch;
}

.landing-intro .exec-overview__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(var(--spacing-xs), 4vw, var(--spacing-sm));
  align-items: flex-start;
  height: 100%;
}

.landing-intro .exec-overview__card {
  background: var(--gradient-brand);
  color: #ffffff;
  border: var(--border-width-thin) solid rgba(0, 212, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 30, 60, 0.28);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.landing-intro .exec-overview__card .heading-sm {
  color: var(--color-brand-accent);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

/* Hide mobile line break on desktop */
@media (min-width: 769px) {
  .landing-intro .exec-overview__card .heading-sm .mobile-break {
    display: none;
  }
}

.landing-intro .exec-overview__steps {
  border-top: var(--border-width-thin) solid rgba(255, 255, 255, 0.45);
  padding-top: 0.75rem;
  gap: 1rem;
}

.landing-intro .exec-overview__step h4 {
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
}

.landing-intro .exec-overview__step-time {
  font-size: 0.875em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.landing-intro .exec-overview__step p {
  color: rgba(233, 242, 250, 0.9);
}

.landing-intro .exec-overview__step-index {
  background: transparent;
  color: var(--color-brand-accent);
  border: var(--border-width-medium) solid var(--color-brand-accent);
  box-shadow: none;
}

.landing-intro .hero-actions {
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: auto;
}

/* Center heading and text on mobile for landing-intro section */
@media (max-width: 767px) {
  .landing-intro .exec-overview__copy {
    align-items: center;
  }
  
  .landing-intro .exec-overview__copy .section-heading {
    text-align: center;
  }
  
  .landing-intro .exec-overview__copy .text-lead {
    text-align: center;
  }
}

.landing-intro .hero-actions .btn-primary {
  background: var(--color-brand-accent);
  color: var(--color-brand-primary);
  border: var(--border-width-medium) solid var(--color-brand-accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.landing-intro .hero-actions .btn-primary:hover,
.landing-intro .hero-actions .btn-primary:focus-visible {
  background: var(--color-brand-primary);
  color: var(--color-brand-accent);
  border-color: var(--color-brand-primary);
  box-shadow: 0 8px 20px rgba(0, 30, 60, 0.35);
  transform: translateY(-2px);
}

.section-lighthouse .grid-two {
  align-items: stretch;
}

.section-lighthouse .card {
  height: 100%;
}

.section-lighthouse {
  background: var(--color-off-white);
}

.section-lighthouse .card {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 32px rgba(0, 30, 60, 0.25);
  gap: 1rem;
}

.section-lighthouse .heading-sm {
  color: var(--color-brand-accent);
  margin-bottom: 0.5rem;
  font-size: var(--lighthouse-heading-size);
  letter-spacing: -0.01em;
}

.section-lighthouse .section-heading,
.section-lighthouse .section-subheading {
  text-align: center;
}

.section-lighthouse .section-heading {
  color: var(--color-brand-accent);
}

.section-lighthouse .section-subheading {
  margin-left: auto;
  margin-right: auto;
}

.section-lighthouse .exec-overview__steps {
  border-top: var(--border-width-thin) solid rgba(255, 255, 255, 0.25);
  padding-top: 1rem;
  gap: 1rem;
}

.section-lighthouse .exec-overview__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.section-lighthouse .exec-overview__step-index {
  background: transparent;
  color: var(--color-brand-accent);
  border: var(--border-width-medium) solid var(--color-brand-accent);
  box-shadow: none;
}

.section-lighthouse .exec-overview__step h4 {
  margin: 0 0 0.25rem 0;
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: #ffffff;
}

.section-lighthouse .exec-overview__step p {
  margin: 0;
  color: rgba(233, 242, 250, 0.9);
  line-height: 1.55;
}

.landing-cta {
  background: #f8fafc;
  padding: var(--section-padding-y-sm) 0;
}

.landing-cta__card {
  display: grid;
  gap: 1rem;
  background: var(--gradient-brand);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #ffffff;
  padding: clamp(2rem, 4vw, 2.75rem);
  border-radius: 1.25rem;
  border: var(--border-width-thin) solid rgba(255, 255, 255, 0.1);
}

.landing-cta__card p {
  margin: 0 auto;
  max-width: 38rem;
  color: #ffffff;
}

.landing-cta__card .hero-actions {
    display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.landing-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100vh;
  min-height: 100vh;
  height: 100svh;
  min-height: 100svh;
  padding: clamp(4.5rem, 12vh, 6.5rem) 0 0;
  color: #ffffff;
  overflow: hidden;
  margin-bottom: 0;
}

.landing-hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}

.landing-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}

.landing-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--gradient-hero-overlay);
  mix-blend-mode: multiply;
  margin: 0;
  padding: 0;
}

/* Landing template-specific overrides */
@media (max-width: 1023px) {
  .landing-hero__background {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .landing-hero__background img,
  .landing-hero__image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .landing-hero__overlay {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .landing-hero {
    background: none !important;
  }
}

/* Mobile-only horizontal job scrolling on homepage */
@media (max-width: 767px) {
  #featured-section .featured-scroll,
  #openings-section .openings-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    height: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  #featured-section .featured-scroll__inner,
  #openings-section .openings-scroll__inner {
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    padding: 0.5rem 0.75rem 0.25rem;
    width: max-content;
  }

  #featured-section .card--featured-job,
  #openings-section .card--job-v2 {
    flex: 0 0 85vw;
    max-width: 85vw;
  }
}

/* Floating text overlay */
.floating-text {
  position: absolute;
  opacity: 0;
  transform: skewX(-20deg);
  color: var(--color-brand-accent);
  background-color: var(--color-brand-primary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-xl);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
  pointer-events: none;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-text.from-right {
  transform: skewX(-20deg) translateX(100px);
}

.floating-text.from-left {
  transform: skewX(-20deg) translateX(-100px);
}

.floating-text.show {
  opacity: 1.0;
  transform: skewX(-20deg) translateX(0);
  font-size: 25px;
}

@media (max-width: 1024px) {
  .floating-text {
    max-width: 60%;
    white-space: normal;
  }
}

.landing-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2rem);
  justify-items: center;
  text-align: center;
  padding-bottom: clamp(0.5rem, 3vh, 1.5rem);
  align-content: end;
  --hero-column-width: 32rem;
}

.landing-hero__copy {
  display: grid;
  gap: 0.9rem;
  width: min(100%, var(--hero-column-width));
  max-width: var(--hero-column-width);
  margin-inline: auto;
}

.landing-hero__copy h1 {
  font-size: var(--font-size-display);
  line-height: var(--line-height-none);
  margin: 0;
  font-family: 'Outfit'
}
.landing-hero__copy .accent-glow-text {
  display: inline-block;
  white-space: nowrap;
}

.landing-hero__copy p {
  margin: 0 auto;
  font-size: var(--font-size-lead);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--line-height-relaxed);
}

.landing-hero__search {
  width: min(100%, var(--hero-column-width));
  max-width: var(--hero-column-width);
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border-radius: 1rem;
  background: var(--color-brand-secondary);
  box-shadow: 0 24px 56px rgba(0, 30, 60, 0.25);
  background: rgba(255, 255, 255, 0.5);
  margin-inline: auto;
}

.landing-hero__search input {
  width: 100%;
  border: none;
  border-radius: 0.75rem;
  padding: 0.95rem 1.2rem;
  font-size: var(--font-size-base);
  color: #0f1f33;
  background: #ffffff;
  transition: box-shadow 0.2s ease;
}

.landing-hero__search input::placeholder {
  color: rgba(15, 31, 51, 0.55);
}

.landing-hero__search input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 30, 60, 0.2);
}

.landing-hero__search button {
  border: none;
  border-radius: 0.75rem;
  padding: 0.95rem 1.4rem;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  color: #ffffff;
  background: var(--color-brand-primary);
  border: var(--border-width-medium) solid var(--color-brand-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.landing-hero__search button:hover,
.landing-hero__search button:focus-visible {
  background: var(--color-brand-accent);
  color: var(--color-brand-primary);
  border-color: var(--color-brand-accent);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
  outline: none;
}

.landing-hero__search button .icon svg {
  stroke: currentColor;
}

.landing-hero__cta-link {
  display: inline-block;
  margin-top: clamp(0.5rem, 2vw, 1rem);
  /* padding-left: clamp(calc(0.5rem - 2px), 3vw, calc(1rem - 2px)); */
  font-size: var(--font-size-lead);
  font-weight: var(--font-weight-medium);
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 0.25em;
  text-align: center;
  text-transform: uppercase;
  transition: color 0.2s ease, transform 0.2s ease, text-decoration-color 0.2s ease;
}

.landing-hero__cta-link:hover,
.landing-hero__cta-link:focus-visible {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
  outline: none;
}

.landing-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 4vh, 3.5rem);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background: rgba(0, 212, 255, 0.85);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  transform: translateX(-50%);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.landing-hero__scroll:hover,
.landing-hero__scroll:focus-visible {
  background: rgba(0, 212, 255, 0.95);
  transform: translateX(-50%) translateY(-2px);
  outline: none;
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.4);
}

.landing-hero__scroll span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-hero__scroll svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 640px) {
  .landing-hero__search button {
    width: 100%;
  }
  .landing-hero__scroll {
    width: 64px;
    height: 64px;
  }
}

/* Center hero content (heading, search, CTA) in the middle of the hero image
   for mobile and tablet viewports */
@media (max-width: 1024px) {
  .landing-hero {
    align-items: center;
    justify-content: center;
  }
  .landing-hero__content {
    justify-items: center;
    text-align: center;
    align-content: center;
    padding-bottom: 0;
  }
  .landing-hero__copy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .landing-hero__search {
    margin-inline: auto;
    width: min(100%, var(--hero-column-width));
  }
  .landing-hero__cta-link {
    display: inline-block;
    text-align: center;
    margin-top: 1rem;
  }
}

/* Mobile hero layout: headline near the top, search anchored toward the bottom */
@media (max-width: 767px) {
  .landing-hero {
    align-items: stretch;
    padding-top: 0;
    padding-bottom: clamp(1.25rem, 7vh, 2.25rem);
  }
  .landing-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    min-height: 100%;
    gap: clamp(1rem, 3vh, 1.5rem);
    padding-top: calc(100vh / 6);
  }
  .landing-hero__copy {
    margin-top: 0;
  }
  .landing-hero__search {
    order: 2;
    margin-top: auto;
    width: 100%;
  }
  .landing-hero__cta-link {
    order: 3;
    margin-top: 0.9rem;
  }
}

@media (min-width: 768px) {
  .landing-hero {
    height: 100vh;
    min-height: 100vh;
    height: 100svh;
    min-height: 100svh;
  }
  .landing-hero__content {
    justify-items: flex-start;
    text-align: left;
    max-width: 1080px;
  }
  .landing-hero__copy {
    text-align: left;
    margin-inline: 0;
    max-width: var(--hero-column-width);
  }
  .landing-hero__copy p {
    margin: 0;
  }
  .landing-hero__search {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 1rem;
    margin-inline: 0;
  }
  .landing-hero__search button {
    min-width: 0;
  }
  .landing-hero__cta-link {
    text-align: left;
  }
}

@supports (height: 100dvh) {
  .landing-hero {
    height: 100dvh;
    min-height: 100dvh;
  }
}

@media (min-width: 1024px) {
  .landing-hero {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: clamp(1.5rem, 6vh, 3rem);
    padding-bottom: 0;
  }
  .landing-hero__content {
    margin-left: clamp(2rem, 0vw, 22rem);
    margin-top: clamp(2rem, 20vh, 12rem);
    margin-right: clamp(2rem, 6vw, 5rem);
    justify-items: flex-start;
    text-align: left;
    align-content: start;
    transform: none;
    padding: 0px;
    width: clamp(22rem, 28vw, 32rem);
  }
  .landing-hero__copy {
    text-align: left;
    /* max-width: clamp(22rem, 26vw, 30rem); */
  }
  .landing-hero__search {
    margin-left: 0;
    max-width: var(--hero-column-width);
  }
}

@media (min-width: 768px) {
  .landing-section__header {
    max-width: 640px;
  }
  .landing-section__header--split {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: clamp(1.25rem, 4vw, 2.5rem);
    max-width: 100%;
    width: 100%;
  }
  .landing-section__intro {
    max-width: 520px;
    flex: 0 1 auto;
  }
  .landing-section__header--split .btn {
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: auto;
  }
  .landing-cta__card {
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .landing-cta__card {
    grid-template-columns: 1fr;
  }
}
