.home-page {
  overflow: clip;
}

.home-page .home-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  color: var(--color-charcoal);
  font-weight: 700;
  text-decoration-color: var(--color-copper);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.home-page .home-text-link:hover {
  color: var(--color-copper);
}

.home-hero {
  padding-block: var(--space-8);
}

.home-hero__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 56px;
  align-items: center;
  min-width: 0;
  padding: 72px;
  border-radius: var(--radius-lg);
  background: var(--color-charcoal);
  color: var(--color-alabaster);
}

.home-hero__copy,
.home-hero__media {
  min-width: 0;
  width: 100%;
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-hero__panel h1 {
  max-width: 14ch;
  color: var(--color-white);
}

.home-hero__eyebrow {
  color: #a8c77b;
}

.home-hero__intro {
  max-width: 48ch;
}

.home-hero__intro p {
  color: var(--color-alabaster);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  min-width: 0;
}

.home-hero__actions > * {
  min-width: 0;
}

.home-hero__explore {
  color: var(--color-white) !important;
}

.home-hero__explore:hover {
  color: #f7b186 !important;
}

.home-hero__microcopy {
  flex-basis: 100%;
  max-width: 36ch;
  color: rgba(253, 251, 247, 0.78);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.home-hero__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
}

.home-hero__media img {
  object-position: center;
}

.home-options__header {
  max-width: 62ch;
}

.home-options__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  min-width: 0;
}

.home-option-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  color: var(--color-charcoal);
  text-decoration: none;
}

.home-option-card__rule {
  width: 48px;
  height: 2px;
  margin-bottom: var(--space-4);
  background: var(--color-copper);
}

.home-option-card--olive .home-option-card__rule {
  background: var(--color-olive);
}

.home-option-card p {
  max-width: 38ch;
}

.home-card-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  color: var(--color-charcoal);
  font-size: var(--text-label);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--color-copper);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.home-option-card:hover .home-card-link,
.home-option-card:focus-visible .home-card-link {
  color: var(--color-copper);
}

.home-option-card:focus-visible {
  outline: 2px solid var(--color-copper);
  outline-offset: 3px;
}

.home-lounge__layout {
  display: grid;
  grid-template-columns: minmax(440px, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
  min-width: 0;
}

.home-lounge__media,
.home-lounge__copy {
  min-width: 0;
  width: 100%;
}

.home-lounge__media {
  aspect-ratio: 4 / 3;
}

.home-lounge__media img {
  object-position: center;
}

.home-lounge__copy {
  max-width: 52ch;
}

.home-lounge__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
  margin-top: var(--space-5);
}

.home-lounge__detail {
  min-width: 0;
  padding-top: var(--space-5);
  border-top: var(--border-default);
}

.home-lounge__detail p {
  max-width: 52ch;
}

.home-lounge__link {
  margin-top: var(--space-4);
}

.home-process__header {
  max-width: 60ch;
  margin-inline: auto;
  text-align: center;
}

.home-process__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  min-width: 0;
  margin-top: var(--space-7);
  border-top: var(--border-default);
}

.home-process__step {
  display: flex;
  gap: var(--space-4);
  min-width: 0;
  padding-top: var(--space-5);
}

.home-process__number {
  flex: 0 0 auto;
  color: var(--color-copper);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}

.home-process__number--olive {
  color: var(--color-olive);
}

.home-process__step-copy {
  min-width: 0;
  max-width: 31ch;
}

.home-process__step-copy .status {
  margin-bottom: var(--space-3);
}

.home-process__link {
  margin-top: var(--space-6);
}

.home-process__steps--ready .home-process__step {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.home-process__steps--visible .home-process__step {
  opacity: 1;
  transform: translateY(0);
}

.home-process__steps--visible .home-process__step:nth-child(2) {
  transition-delay: 90ms;
}

.home-process__steps--visible .home-process__step:nth-child(3) {
  transition-delay: 180ms;
}

.home-corporate__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(380px, 5fr);
  gap: var(--space-7);
  align-items: start;
  min-width: 0;
}

.home-corporate__copy,
.home-corporate__media {
  min-width: 0;
  width: 100%;
}

.home-corporate__copy {
  max-width: 54ch;
}

.home-corporate__intro {
  max-width: 54ch;
}

.home-corporate__values {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
  margin-top: var(--space-5);
  border-top: var(--border-default);
}

.home-corporate__value {
  min-width: 0;
  max-width: 34ch;
  padding-top: var(--space-4);
}

.home-corporate__value p {
  margin-bottom: 0;
}

.home-corporate__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  min-width: 0;
  margin-top: var(--space-6);
}

.home-corporate__action > * {
  min-width: 0;
}

.home-corporate__action span {
  max-width: 38ch;
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.home-corporate__media {
  aspect-ratio: 3 / 2;
  margin: 0;
}

.home-corporate__media img {
  object-position: center;
}

.home-moments__header {
  max-width: 58ch;
  margin-inline: auto;
  text-align: center;
}

.home-moments__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  margin-top: var(--space-7);
}

.home-moments__item {
  min-width: 0;
  padding-inline: var(--space-5);
}

.home-moments__item + .home-moments__item {
  border-inline-start: var(--border-default);
}

.home-moments__item p {
  max-width: 28ch;
  margin-bottom: 0;
}

.home-moments__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  margin-top: var(--space-7);
  text-align: center;
}

.home-moments__action > * {
  min-width: 0;
}

.home-moments__action span {
  max-width: 48ch;
}

.home-assurance__header {
  max-width: 60ch;
}

.home-assurance__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  min-width: 0;
}

.home-assurance__card {
  min-width: 0;
  box-shadow: var(--shadow-card);
}

.home-assurance__card:hover {
  transform: none;
  box-shadow: var(--shadow-card);
}

.home-assurance__card p {
  max-width: 38ch;
}

.home-intents__header {
  max-width: 58ch;
  margin-inline: auto;
  text-align: center;
}

.home-intents__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  margin-top: var(--space-7);
}

.home-intents__item {
  min-width: 0;
  padding-inline: var(--space-5);
}

.home-intents__item + .home-intents__item {
  border-inline-start: var(--border-default);
}

.home-intents__number {
  display: inline-block;
  margin-bottom: var(--space-4);
  color: var(--color-copper);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-intents__number--olive {
  color: var(--color-olive);
}

.home-intents__item p {
  max-width: 29ch;
  margin-bottom: 0;
}

.home-intents__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  margin-top: var(--space-7);
  text-align: center;
}

.home-intents__action > * {
  min-width: 0;
}

.home-intents__action span {
  max-width: 44ch;
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.home-invitation {
  padding-top: 0;
}

.home-invitation__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 72px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-charcoal);
  color: var(--color-alabaster);
  text-align: center;
}

.home-invitation__panel h2 {
  max-width: 17ch;
  color: var(--color-white);
}

.home-invitation__panel p {
  max-width: 58ch;
  color: var(--color-alabaster);
}

.home-invitation__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  margin-top: var(--space-2);
}

.home-invitation__action > * {
  min-width: 0;
}

.home-invitation__action span {
  color: rgba(253, 251, 247, 0.76);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

@media (max-width: 1040px) {
  .home-hero__panel {
    gap: var(--space-7);
    padding: var(--space-7);
  }

  .home-lounge__layout {
    gap: var(--space-7);
  }
}

@media (max-width: 920px) {
  .home-hero__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero__copy {
    grid-row: 1;
  }

  .home-hero__media {
    grid-row: 2;
  }

  .home-options__grid,
  .home-assurance__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-options__grid {
    gap: var(--space-5);
  }

  .home-option-card p {
    max-width: 52ch;
  }

  .home-lounge__layout,
  .home-corporate__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-lounge__media {
    grid-row: 1;
  }

  .home-lounge__copy {
    grid-row: 2;
    max-width: 38ch;
  }

  .home-corporate__copy {
    grid-row: 1;
    max-width: 38ch;
  }

  .home-corporate__media {
    grid-row: 2;
  }

  .home-process__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
  }

  .home-process__step-copy {
    max-width: 38ch;
  }
}

@media (max-width: 850px) {
  .home-moments__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5) 0;
  }

  .home-moments__item:nth-child(3) {
    border-inline-start: 0;
  }

  .home-intents__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .home-intents__item {
    padding: 0;
  }

  .home-intents__item + .home-intents__item {
    padding-top: var(--space-5);
    border-inline-start: 0;
    border-top: var(--border-default);
  }

  .home-intents__item p {
    max-width: 38ch;
  }
}

@media (max-width: 760px) {
  .home-assurance__grid {
    gap: var(--space-5);
  }

  .home-assurance__card {
    padding: var(--space-5);
  }
}

@media (max-width: 720px) {
  .home-hero {
    padding-block: var(--space-6);
  }

  .home-hero__panel {
    gap: var(--space-5);
    padding: var(--space-5);
  }

  .home-hero__panel h1 {
    max-width: 14ch;
    font-size: clamp(2.75rem, 12vw, 3.4rem);
  }

  .home-hero__intro {
    max-width: 34ch;
  }

  .home-hero__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-hero__actions .button,
  .home-hero__actions .home-text-link {
    width: fit-content;
  }

  .home-options__header .intro {
    max-width: 38ch;
  }

  .home-option-card {
    padding: var(--space-5);
  }

  .home-lounge__copy,
  .home-corporate__copy {
    max-width: 38ch;
  }

  .home-lounge__details {
    gap: var(--space-4);
  }

  .home-process__header .intro,
  .home-moments__header .intro,
  .home-intents__header .intro {
    max-width: 36ch;
    margin-inline: auto;
  }

  .home-process__step {
    gap: var(--space-3);
  }

  .home-process__number {
    flex-basis: 40px;
  }

  .home-corporate__values {
    gap: var(--space-4);
  }

  .home-moments__item {
    padding-inline: var(--space-4);
  }

  .home-invitation {
    padding-top: 0;
  }

  .home-invitation__panel {
    padding: var(--space-7) var(--space-5);
  }

  .home-invitation__panel h2 {
    font-size: clamp(2.2rem, 10vw, 2.7rem);
  }

  .home-invitation__panel p {
    max-width: 34ch;
  }
}

@media (max-width: 600px) {
  .home-moments__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .home-moments__item {
    padding: var(--space-5) 0 0;
  }

  .home-moments__item + .home-moments__item {
    margin-top: var(--space-5);
    border-inline-start: 0;
    border-top: var(--border-default);
  }

  .home-moments__item:first-child {
    padding-top: 0;
  }

  .home-moments__item p {
    max-width: 38ch;
  }
}

@media (max-width: 560px) {
  .home-process__step {
    flex-direction: column;
    gap: var(--space-3);
  }

  .home-process__number {
    flex-basis: auto;
  }

  .home-process__step-copy {
    max-width: 38ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-process__steps--ready .home-process__step,
  .home-process__steps--visible .home-process__step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
