.home-page {
  overflow: clip;
}

.home-page .button {
  white-space: normal;
}

.home-hero {
  position: relative;
  min-height: 43.125rem;
  padding-block: var(--space-10) var(--space-7);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}

.home-hero__media,
.home-hero__overlay {
  position: absolute;
  inset: 0;
}

.home-hero__media {
  z-index: 0;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-hero__overlay {
  background: var(--color-overlay-soft);
}

.home-hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  justify-content: center;
}

.home-hero__panel {
  position: relative;
  width: min(100%, 38.75rem);
  min-width: 0;
  padding: var(--space-6);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.home-hero__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

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

.home-hero__kicker {
  color: var(--color-text-muted);
}

.home-hero h1 {
  max-width: 20ch;
  font-size: clamp(3rem, 5.4vw, 4.75rem);
}

.home-hero__lead {
  max-width: 58ch;
}

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

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

.home-hero__flower {
  position: absolute;
  top: var(--space-4);
  left: calc(var(--space-4) * -0.75);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
}

.home-hero__note {
  align-self: flex-end;
  color: var(--color-accent-deep);
  font-family: cursive;
  font-size: var(--text-small);
}

.home-inperson__grid {
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  align-items: start;
  gap: var(--space-8);
}

.home-inperson__copy,
.home-inperson__figure {
  min-width: 0;
}

.home-inperson__copy {
  width: 100%;
  max-width: 37.5rem;
}

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

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

.home-inperson__articles > article {
  min-width: 0;
  width: 100%;
}

.home-inperson__articles h3 {
  margin-block-end: var(--space-2);
}

.home-inperson__figure {
  width: min(100%, 26.875rem);
  justify-self: end;
  margin-block-start: var(--space-7);
}

.home-inperson__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: center center;
  box-shadow: var(--shadow-soft);
}

.home-evening {
  background: var(--color-panel);
}

.home-evening__intro {
  width: 100%;
  max-width: 38.75rem;
}

.home-evening__intro .lead {
  max-width: 59ch;
}

.home-evening__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-block-start: var(--space-6);
}

.home-evening__cards > * {
  min-width: 0;
  width: 100%;
}

.home-step {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.home-step:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-soft);
}

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

.home-step__number {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 0.9;
}

.home-step h3 {
  font-size: var(--text-h4);
}

.home-services__wrap {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-6);
}

.home-services__intro {
  width: 100%;
  max-width: 40.625rem;
}

.home-services__intro .lead {
  max-width: 60ch;
}

.home-services__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-5);
}

.home-services__grid::before {
  position: absolute;
  z-index: 0;
  top: calc(var(--space-5) * -1);
  right: var(--space-7);
  width: 6rem;
  height: 6rem;
  border-radius: 48% 52% 40% 60%;
  background: color-mix(in srgb, var(--color-accent) 20%, transparent);
  content: "";
}

.home-services__grid > * {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
}

.home-service {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5);
  border-top: var(--border-subtle);
}

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

.home-service h3 {
  font-size: var(--text-h4);
}

.home-service p {
  max-width: 44ch;
}

.home-service--restaurant {
  margin-block-start: var(--space-5);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}

.home-service--restaurant p {
  max-width: 46ch;
}

.home-service__links {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-3);
}

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

.home-atmosphere__layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
}

.home-atmosphere__panel,
.home-atmosphere__figure {
  min-width: 0;
}

.home-atmosphere__panel {
  position: relative;
  z-index: 1;
  width: calc(100% + var(--space-7));
  padding: var(--space-6);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

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

.home-atmosphere__lead {
  max-width: 32ch;
}

.home-atmosphere__motifs {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
}

.home-atmosphere__motifs > article {
  min-width: 0;
  width: 100%;
  padding-block-start: var(--space-4);
  border-top: var(--border-subtle);
}

.home-atmosphere__motifs h3 {
  margin-block-end: var(--space-2);
  font-size: var(--text-h4);
}

.home-atmosphere__motifs p {
  max-width: 25ch;
  margin-block-end: 0;
}

.home-atmosphere__figure {
  width: 100%;
  margin: 0;
}

.home-atmosphere__figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: right center;
}

.home-audience__intro {
  width: 100%;
  max-width: 40rem;
}

.home-audience__intro .lead {
  max-width: 60ch;
}

.home-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-block-start: var(--space-6);
}

.home-audience__grid > * {
  min-width: 0;
  width: 100%;
}

.home-profile {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5);
  border-top: var(--border-subtle);
}

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

.home-profile h3 {
  font-size: var(--text-h4);
}

.home-profile p {
  max-width: 43ch;
}

.home-profile--panel {
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}

.home-location {
  padding-block-start: var(--space-7);
}

.home-location__panel {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-7);
  width: min(100%, 51.25rem);
  margin-inline: auto;
  padding: var(--space-6);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.home-location__panel > * {
  min-width: 0;
  width: 100%;
}

.home-location__address address {
  max-width: 28ch;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

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

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

.home-location__details h3 {
  font-size: var(--text-h4);
}

.home-location__details p {
  max-width: 32ch;
}

.home-location__links {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-3);
}

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

.home-inquiry {
  background: color-mix(in srgb, var(--color-surface) 50%, var(--color-background));
}

.home-inquiry__layout {
  display: grid;
  grid-template-columns: minmax(0, 36fr) minmax(0, 64fr);
  align-items: start;
  gap: var(--space-8);
}

.home-inquiry__layout > * {
  min-width: 0;
  width: 100%;
}

.home-inquiry__copy {
  max-width: 25.625rem;
}

.home-inquiry__copy .lead {
  max-width: 36ch;
}

.home-inquiry__notice {
  max-width: 42ch;
  color: var(--color-text-muted);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.home-inquiry__form-panel {
  width: min(100%, 42.5rem);
  justify-self: end;
  padding: var(--space-6);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.home-inquiry__form {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-5);
}

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

.home-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) var(--space-5);
}

.home-form-grid > * {
  min-width: 0;
  width: 100%;
  margin: 0;
}

.home-form-field--wide {
  grid-column: 1 / -1;
}

.home-form-field label {
  margin-block-end: var(--space-2);
}

.home-form-field input,
.home-form-field textarea {
  min-width: 0;
}

.home-form-field [aria-invalid="true"] {
  border-color: var(--color-accent-deep);
}

.home-form-optional {
  color: var(--color-text-muted);
  font-weight: 400;
}

.home-form-summary {
  padding: var(--space-4);
  border: 1px solid var(--color-accent-deep);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--color-accent) 12%, var(--color-surface));
}

.home-form-summary p,
.home-form-summary ul {
  margin: 0;
}

.home-form-summary ul {
  margin-block-start: var(--space-2);
}

.home-form-success {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
}

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

.home-inquiry__submit {
  width: fit-content;
  max-width: 100%;
}

.home-closing__content {
  display: flex;
  width: min(100%, 38.75rem);
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-inline: auto;
  text-align: center;
}

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

.home-closing__content h2 {
  position: relative;
}

.home-closing__content h2::before {
  position: absolute;
  z-index: -1;
  bottom: 0.08em;
  left: 8%;
  width: 84%;
  height: 0.32em;
  border-radius: 50%;
  background: color-mix(in srgb, var(--color-accent) 35%, transparent);
  content: "";
}

.home-closing__content p {
  max-width: 59ch;
}

.home-closing__actions {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

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

@media (max-width: 56.25rem) {
  .home-inperson__grid,
  .home-inquiry__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-inperson__copy,
  .home-inquiry__copy {
    max-width: none;
  }

  .home-inperson__figure {
    width: min(100%, 37.5rem);
    justify-self: start;
    order: -1;
    margin-block-start: 0;
  }

  .home-inperson__grid {
    gap: var(--space-6);
  }

  .home-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-service--info {
    grid-column: 1 / -1;
  }

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

  .home-atmosphere__panel {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

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

  .home-atmosphere__motifs > article {
    min-width: 0;
    width: 100%;
  }

  .home-atmosphere__motifs p {
    max-width: none;
  }

  .home-inquiry__form-panel {
    justify-self: start;
  }
}

@media (max-width: 53.75rem) {
  .home-evening__cards,
  .home-audience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-evening__cards > :last-child,
  .home-audience__grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 51.1875rem) {
  .home-hero {
    min-height: 0;
    padding: 0 0 var(--space-7);
    display: block;
  }

  .home-hero__media {
    position: relative;
    height: clamp(17.5rem, 58vw, 22.5rem);
  }

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

  .home-hero__container {
    display: block;
    margin-block-start: calc(var(--space-5) * -1);
  }

  .home-hero__panel {
    width: 100%;
    padding: var(--space-5);
  }

  .home-hero h1 {
    font-size: clamp(2.375rem, 10vw, 3.25rem);
  }

  .home-hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero__actions .button {
    width: 100%;
  }

  .home-hero__actions .button--link {
    justify-content: center;
  }

  .home-hero__note {
    align-self: flex-start;
  }
}

@media (max-width: 47.5rem) {
  .home-location__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

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

@media (max-width: 40rem) {
  .home-services__grid,
  .home-evening__cards,
  .home-audience__grid,
  .home-atmosphere__motifs,
  .home-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-services__grid > *,
  .home-evening__cards > :last-child,
  .home-audience__grid > :last-child,
  .home-service--info,
  .home-form-field--wide {
    grid-column: auto;
  }

  .home-service--restaurant {
    margin-block-start: 0;
  }

  .home-atmosphere__figure {
    order: -1;
  }

  .home-atmosphere__figure img {
    aspect-ratio: 4 / 3;
    object-position: center center;
  }

  .home-inquiry__form-panel,
  .home-location__panel {
    padding: var(--space-5);
  }
}

@media (max-width: 35rem) {
  .home-closing__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .home-closing__actions .button {
    width: 100%;
  }

  .home-closing__actions .button--link {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-step:hover {
    box-shadow: none;
  }
}
