.home-page {
  background: var(--color-soft-white);
}

.home-page .container {
  width: min(100%, var(--container-max));
}

.home-page .eyebrow {
  color: var(--color-steel-grey);
}

.home-page .surface-dark .eyebrow {
  color: var(--color-white-smoke);
}

.home-hero {
  min-height: 92vh;
  padding-block: clamp(7rem, 12vw, 11rem) var(--space-8);
  overflow: hidden;
}

.home-hero__grid,
.home-presence__grid,
.home-services__grid,
.home-process__grid,
.home-fabrics__grid,
.home-appointment__grid,
.home-gallery__grid,
.home-studio__grid,
.home-closing__grid,
.home-note__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--space-5);
  min-width: 0;
}

.home-hero__copy {
  grid-column: 1 / span 5;
  align-self: center;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.home-hero__title {
  max-width: 11ch;
  margin-block-end: var(--space-6);
}

.home-hero__manifesto {
  max-width: 56ch;
  margin-block-end: var(--space-6);
}

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

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

.home-hero__figure {
  grid-column: 7 / span 6;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  min-height: clamp(32rem, 68vh, 48rem);
  margin: 0;
}

.home-hero__figure img {
  width: 100%;
  height: 100%;
  object-position: 72% center;
  transition: transform var(--transition-slow);
}

.home-hero__credit {
  grid-column: 7 / span 6;
  grid-row: 1;
  align-self: end;
  justify-self: start;
  margin: 0;
  padding: var(--space-3);
  background: rgb(7 26 43 / 86%);
  color: var(--color-white-smoke);
  font-size: var(--font-size-micro);
  letter-spacing: 0.04em;
}

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

.home-presence__heading {
  grid-column: 1 / span 5;
  min-width: 0;
}

.home-presence__heading h2 {
  max-width: 11ch;
}

.home-presence__intro {
  grid-column: 3 / span 5;
  min-width: 0;
}

.home-presence__intro .intro {
  max-width: 62ch;
  margin: 0;
}

.home-principles {
  grid-column: 2 / span 10;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
}

.home-principle {
  display: grid;
  grid-template-columns: minmax(3rem, 1fr) minmax(0, 5fr);
  gap: var(--space-5);
  min-width: 0;
  padding-top: var(--space-4);
  border-top: 1px solid rgb(136 147 155 / 75%);
}

.home-principle__number,
.home-service__number,
.home-step__number {
  margin: 0;
  color: var(--color-electric-blue);
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
}

.home-principle__content {
  min-width: 0;
  max-width: 50ch;
}

.home-principle__content h3 {
  margin-block-end: var(--space-3);
}

.home-principle__content p {
  margin: 0;
}

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

.home-services__heading {
  grid-column: 1 / span 5;
  grid-row: 1;
  min-width: 0;
  align-self: center;
}

.home-services__heading h2 {
  max-width: 10ch;
}

.home-services__heading p:not(.eyebrow) {
  max-width: 56ch;
  margin-bottom: 0;
}

.home-services__media {
  grid-column: 7 / span 6;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  height: clamp(22rem, 40vw, 31rem);
  margin: 0;
  align-self: center;
}

.home-services__media img {
  width: 100%;
  height: 100%;
  object-position: 56% center;
}

.home-service-list {
  grid-column: 3 / span 8;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}

.home-service {
  display: grid;
  grid-template-columns: minmax(3rem, 1fr) minmax(11rem, 3fr) minmax(14rem, 4fr);
  column-gap: var(--space-4);
  min-width: 0;
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-line-blue-grey);
}

.home-service__number {
  grid-column: 1;
}

.home-service__body {
  grid-column: 2 / span 2;
  min-width: 0;
  max-width: 52ch;
}

.home-service__body h3 {
  margin-block-end: var(--space-3);
}

.home-service__body h3 a {
  text-decoration: none;
}

.home-service__body p {
  margin-block-end: var(--space-3);
}

.home-service__body .text-link {
  font-size: var(--font-size-small);
}

.home-services__all {
  grid-column: 3 / span 5;
  grid-row: 3;
  min-width: 0;
}

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

.home-process__heading {
  grid-column: 1 / span 5;
  min-width: 0;
}

.home-process__heading h2 {
  max-width: 10ch;
}

.home-process__heading .intro {
  max-width: 60ch;
  margin-bottom: 0;
}

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

.home-step {
  min-width: 0;
  padding-top: var(--space-4);
  border-top: 1px solid rgb(136 147 155 / 75%);
}

.home-step h3 {
  margin-block: var(--space-3);
}

.home-step p:not(.home-step__number) {
  max-width: 46ch;
}

.home-step .text-link {
  font-size: var(--font-size-small);
}

.home-fabrics {
  background: #c8ced0;
}

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

.home-fabrics__heading {
  grid-column: 1 / span 5;
  grid-row: 1;
  min-width: 0;
  margin-bottom: var(--space-4);
}

.home-fabrics__heading h2 {
  max-width: 11ch;
}

.home-fabrics__heading .intro {
  max-width: 58ch;
  margin-bottom: 0;
}

.home-fabrics__texture,
.home-fabrics__drape {
  width: 100%;
  min-width: 0;
  margin: 0;
  cursor: zoom-in;
}

.home-fabrics__texture {
  grid-column: 1 / span 6;
  grid-row: 2;
}

.home-fabrics__drape {
  grid-column: 7 / span 6;
  grid-row: 2;
}

.home-fabrics__texture img,
.home-fabrics__drape img {
  width: 100%;
  height: 30rem;
}

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

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

.home-fabric-note {
  min-width: 0;
}

.home-fabric-note h3 {
  margin-block-end: var(--space-3);
}

.home-fabric-note p:not(.eyebrow) {
  margin-bottom: 0;
  max-width: 42ch;
}

.home-fabric-note--texture {
  grid-column: 1 / span 5;
  grid-row: 3;
}

.home-fabric-note--drape {
  grid-column: 7 / span 5;
  grid-row: 3;
}

.home-fabric-note--tone {
  grid-column: 8 / span 5;
  grid-row: 1;
  align-self: start;
  margin-top: 0;
  padding: var(--space-5);
  background: var(--color-soft-white);
}

.home-fabrics__link {
  grid-column: 1 / span 5;
  grid-row: 4;
  min-width: 0;
  color: var(--color-midnight-blue);
}

.home-appointment__grid {
  align-items: center;
  row-gap: var(--space-6);
}

.home-appointment__copy {
  grid-column: 1 / span 5;
  min-width: 0;
}

.home-appointment__copy h2 {
  max-width: 10ch;
}

.home-appointment__copy > .intro {
  max-width: 56ch;
}

.home-appointment__expectation {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 45ch;
  min-width: 0;
  margin-bottom: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-line-blue-grey);
}

.home-appointment__expectation h3,
.home-appointment__expectation p {
  margin: 0;
}

.home-appointment__media {
  grid-column: 7 / span 5;
  width: 100%;
  min-width: 0;  
  margin: 0;
}

.home-appointment__media img {
  width: 100%;
  height: 100%;
  object-position: center;
}

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

.home-gallery__heading {
  grid-column: 1 / span 6;
  grid-row: 1;
  min-width: 0;
  margin-bottom: var(--space-5);
}

.home-gallery__heading h2 {
  max-width: 11ch;
}

.home-gallery__heading .intro {
  max-width: 56ch;
  margin-bottom: 0;
}

.home-gallery__silhouette,
.home-gallery__gesture,
.home-gallery__atelier {
  width: 100%;
  min-width: 0;
  margin: 0;
  cursor: zoom-in;
}

.home-gallery__silhouette {
  grid-column: 1 / span 4;
  grid-row: 2;
}

.home-gallery__gesture {
  grid-column: 5 / span 4;
  grid-row: 2;
  margin-top: 0;
}

.home-gallery__atelier {
  grid-column: 9 / span 4;
  grid-row: 2;
  margin-top: 0;
}

.home-gallery__silhouette img,
.home-gallery__gesture img,
.home-gallery__atelier img {
  width: 100%;
  height: 38rem;
}

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

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

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

.home-gallery figcaption,
.home-fabrics figcaption {
  color: var(--color-muted);
}

.home-gallery__link {
  grid-column: 1 / span 4;
  grid-row: 3;
  min-width: 0;
  margin-top: var(--space-4);
}

.home-studio {
  background: #c8ced0;
}

.home-studio__grid {
  align-items: center;
  row-gap: var(--space-6);
}

.home-studio__copy {
  grid-column: 1 / span 4;
  min-width: 0;
}

.home-studio__copy h2 {
  max-width: 10ch;
}

.home-studio__copy > p:not(.eyebrow) {
  max-width: 56ch;
}

.home-studio__address {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 30ch;
  margin-block: var(--space-6);
  font-size: var(--font-size-body);
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
}

.home-studio__address span {
  font-size: var(--font-size-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.home-studio__media {
  grid-column: 6 / span 7;
  width: 100%;
  min-width: 0;
  min-height: 31rem;
  margin: 0;
}

.home-studio__media img {
  width: 100%;
  height: 100%;
  object-position: center;
}

.home-closing__content {
  grid-column: 3 / span 7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  min-width: 0;
}

.home-closing__content h2,
.home-closing__content p {
  margin: 0;
}

.home-closing__content h2 {
  max-width: 13ch;
  font-size: clamp(3rem, 4vw, 5.5rem);
  line-height: 0.92;
}

.home-closing__content > .intro {
  max-width: 56ch;
}

.home-closing__contact {
  max-width: 62ch;
  font-size: var(--font-size-small);
}

.home-closing__contact a,
.home-note a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.home-note {
  padding-block: var(--space-7);
  border-top: 1px solid rgb(136 147 155 / 80%);
  background: var(--color-soft-white);
}

.home-note__content {
  grid-column: 3 / span 6;
  min-width: 0;
}

.home-note__content .eyebrow {
  color: var(--color-muted);
}

.home-note__content p:not(.eyebrow) {
  max-width: 72ch;
  margin-bottom: 0;
  font-size: var(--font-size-small);
}

.home-lightbox-dialog {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: var(--space-5);
  background: rgb(5 7 9 / 94%);
}

.home-lightbox-dialog.is-open {
  display: flex;
}

.home-lightbox-dialog__close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: auto;
  min-height: 3rem;
  padding: var(--space-3) var(--space-4);
  border-color: var(--color-white-smoke);
  background: transparent;
  color: var(--color-white-smoke);
  font-size: var(--font-size-small);
  font-weight: 700;
}

.home-lightbox-dialog__figure {
  display: flex;
  width: min(100%, 74rem);
  max-height: calc(100vh - 7rem);
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
}

.home-lightbox-dialog__image {
  width: 100%;
  max-height: calc(100vh - 11rem);
  object-fit: contain;
}

.home-lightbox-dialog__caption {
  color: var(--color-white-smoke);
  font-size: var(--font-size-small);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .home-hero__figure:hover img {
    transform: scale(1.02);
  }

  .home-lightbox:hover img {
    transform: scale(1.02);
  }

  .home-lightbox img {
    transition: transform var(--transition-base);
  }
}

@media (max-width: 64rem) {
  .home-hero {
    min-height: auto;
    padding-block-start: var(--space-10);
  }

  .home-hero__grid,
  .home-presence__grid,
  .home-services__grid,
  .home-process__grid,
  .home-fabrics__grid,
  .home-appointment__grid,
  .home-gallery__grid,
  .home-studio__grid,
  .home-closing__grid,
  .home-note__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-hero__copy,
  .home-hero__figure,
  .home-hero__credit,
  .home-presence__heading,
  .home-presence__intro,
  .home-principles,
  .home-services__heading,
  .home-services__media,
  .home-service-list,
  .home-services__all,
  .home-process__heading,
  .home-process__steps,
  .home-fabrics__heading,
  .home-fabrics__texture,
  .home-fabrics__drape,
  .home-fabric-note--texture,
  .home-fabric-note--drape,
  .home-fabric-note--tone,
  .home-fabrics__link,
  .home-appointment__copy,
  .home-appointment__media,
  .home-gallery__heading,
  .home-gallery__silhouette,
  .home-gallery__gesture,
  .home-gallery__atelier,
  .home-gallery__link,
  .home-studio__copy,
  .home-studio__media,
  .home-closing__content,
  .home-note__content {
    grid-column: 1 / -1;
    grid-row: auto;
  }

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

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

  .home-hero__figure {
    grid-row: auto;
    min-height: 38rem;
  }

  .home-hero__credit {
    grid-row: auto;
    padding: 0;
    background: transparent;
    color: var(--color-steel-grey);
  }

  .home-presence__intro {
    max-width: 46rem;
  }

  .home-services__media {
    grid-row: auto;
    height: 30rem;
  }

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

  .home-service {
    grid-template-columns: minmax(3rem, 1fr) minmax(0, 3fr);
  }

  .home-service__body {
    grid-column: 2;
  }

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

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

  .home-fabrics__texture {
    grid-column: 1 / span 2;
    grid-row: 2;
  }

  .home-fabrics__drape {
    grid-column: 3 / span 2;
    grid-row: 2;
    margin-top: 0;
  }

  .home-fabric-note--texture {
    grid-column: 1 / span 2;
    grid-row: 3;
  }

  .home-fabric-note--drape {
    grid-column: 3 / span 2;
    grid-row: 3;
  }

  .home-fabric-note--tone {
    grid-column: 1 / -1;
    grid-row: 4;
    margin-top: 0;
  }

  .home-fabrics__link {
    grid-column: 1 / -1;
    grid-row: 5;
  }

  .home-appointment__media {
    order: -1;
    min-height: 34rem;
  }

  .home-gallery__silhouette img {
    height: 43rem;
  }

  .home-gallery__gesture {
    grid-column: 1 / span 2;
    margin-top: 0;
  }

  .home-gallery__gesture img {
    height: 30rem;
  }

  .home-gallery__atelier {
    margin-top: 0;
  }

  .home-gallery__atelier img {
    height: 26rem;
  }

  .home-studio__media {
    order: -1;
    min-height: 28rem;
  }

  .home-closing__content {
    max-width: 48rem;
  }
}

@media (max-width: 47.9375rem) {
  .home-hero {
    padding-block: var(--space-9) var(--space-8);
  }

  .home-hero__grid,
  .home-presence__grid,
  .home-services__grid,
  .home-process__grid,
  .home-fabrics__grid,
  .home-appointment__grid,
  .home-gallery__grid,
  .home-studio__grid,
  .home-closing__grid,
  .home-note__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--space-5);
  }

  .home-hero__title {
    max-width: 10ch;
  }

  .home-hero__manifesto {
    max-width: 40ch;
  }

  .home-hero__actions {
    flex-direction: column;
  }

  .home-hero__actions > * {
    width: 100%;
  }

  .home-hero__figure,
  .home-services__media,
  .home-fabrics__texture,
  .home-fabrics__drape,
  .home-appointment__media,
  .home-gallery__silhouette,
  .home-gallery__gesture,
  .home-gallery__atelier,
  .home-studio__media {
    width: calc(100% + (var(--container-padding) * 2));
    margin-inline: calc(var(--container-padding) * -1);
  }

  .home-hero__figure {
    min-height: 29rem;
  }

  .home-hero__figure img {
    object-position: 68% center;
  }

  .home-presence__grid,
  .home-process__grid,
  .home-fabrics__grid,
  .home-gallery__grid {
    row-gap: var(--space-6);
  }

  .home-presence__heading h2,
  .home-services__heading h2,
  .home-process__heading h2,
  .home-fabrics__heading h2,
  .home-appointment__copy h2,
  .home-gallery__heading h2,
  .home-studio__copy h2 {
    max-width: 13ch;
  }

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

  .home-principle__content {
    max-width: none;
  }

  .home-services__media {
    height: 27rem;
  }

  .home-service-list {
    gap: 0;
  }

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

  .home-service__body {
    grid-column: 1;
  }

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

  .home-step {
    padding-left: var(--space-4);
    border-top: 0;
    border-left: 1px solid rgb(136 147 155 / 75%);
  }

  .home-fabrics__texture,
  .home-fabrics__drape,
  .home-fabric-note--texture,
  .home-fabric-note--drape,
  .home-fabric-note--tone,
  .home-fabrics__link {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .home-fabrics__texture img,
  .home-fabrics__drape img {
    height: 28rem;
  }

  .home-fabrics__drape img {
    object-position: 56% center;
  }

  .home-fabric-note--tone {
    padding: var(--space-5);
  }

  .home-appointment__media {
    min-height: 29rem;
  }

  .home-gallery__silhouette img {
    height: 34rem;
  }

  .home-gallery__gesture {
    grid-column: 1 / -1;
  }

  .home-gallery__gesture img {
    height: 29rem;
  }

  .home-gallery__atelier img {
    height: 22rem;
  }

  .home-studio__media {
    min-height: 22rem;
  }

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

  .home-closing__content h2 {
    max-width: 10ch;
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .home-lightbox-dialog {
    padding: var(--space-4);
  }

  .home-lightbox-dialog__close {
    top: var(--space-3);
    right: var(--space-3);
  }
}

@media (max-width: 29.9375rem) {
  .home-hero__figure {
    min-height: 25rem;
  }

  .home-fabrics__texture img,
  .home-fabrics__drape img,
  .home-gallery__silhouette img,
  .home-gallery__gesture img {
    height: 24rem;
  }

  .home-appointment__media {
    min-height: 24rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__figure img,
  .home-lightbox img {
    transition: none;
  }
}
