/* Full-screen card system shared by all primary pages. */
.page-card-deck {
  height: 100svh;
  background: #050504;
}

.page-card {
  min-height: 0;
  overflow: hidden;
}

.page-card .shell {
  position: relative;
  z-index: 2;
}

.page-card-deck .experience-hero,
.page-card-deck .page-hero,
.page-card-deck .gallery-hero,
.page-card-deck .contact-hero,
.page-card-deck .map-section {
  min-height: 100%;
  padding: 0;
}

.page-card-deck .experience-hero__content,
.page-card-deck .page-hero__content {
  min-height: 100%;
  padding: calc(var(--header) + 50px) 0 64px;
}

.page-card-deck .experience-story,
.page-card-deck .experience-materials,
.page-card-deck .experience-craft,
.page-card-deck .experience-service,
.page-card-deck .experience-cta,
.page-card-deck .menu-manifesto,
.page-card-deck .menu-portal,
.page-card-deck .contact-directory,
.page-card-deck .contact-hotel,
.page-card-deck .atico-story,
.page-card-deck .atico-hotel,
.page-card-deck .atico-services {
  padding: 0;
}

.page-card-deck .experience-story__grid,
.page-card-deck .experience-service__grid,
.page-card-deck .experience-craft__grid,
.page-card-deck .contact-directory__grid,
.page-card-deck .contact-hotel__grid,
.page-card-deck .atico-story__grid,
.page-card-deck .atico-hotel__grid {
  align-items: center;
  min-height: 100%;
}

.page-card-deck .experience-materials__grid {
  height: 100%;
  padding-block: calc(var(--header) + 28px) 42px;
}

.page-card-deck .experience-materials__main img {
  height: min(72svh,760px);
}

.page-card-deck .experience-craft .craft-video video {
  height: min(76svh,760px);
  aspect-ratio: 9/14;
}

.page-card-deck .experience-cta > .shell {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
}

.page-card-deck .experience-cta h2 {
  font-size: clamp(4rem,6.5vw,7.6rem);
}

.page-card-deck .menu-manifesto__grid,
.page-card-deck .menu-portal__grid {
  align-items: center;
  min-height: 100%;
}

.menu-card-feature {
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  color: var(--white);
}

.menu-card-feature--reverse {
  grid-template-columns: .86fr 1.14fr;
}

.menu-card-feature--reverse figure {
  order: 2;
}

.menu-card-feature figure {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.menu-card-feature figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) brightness(.84);
}

.menu-card-feature .menu-feature__copy {
  justify-content: center;
  height: 100%;
}

.menu-card-feature .menu-feature__copy > p:last-of-type {
  margin-bottom: 28px;
}

.page-card-deck .gallery-hero {
  padding: 0;
}

.page-card-deck .gallery-hero__grid,
.page-card-deck .contact-hero__grid {
  min-height: 100%;
  padding-top: var(--header);
}

.gallery-image-card > button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: var(--white);
  background: var(--black);
  cursor: zoom-in;
  text-align: left;
}

.gallery-image-card > button > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.76) brightness(.82);
}

.gallery-image-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(8,7,5,.78),transparent 55%),linear-gradient(90deg,rgba(8,7,5,.34),transparent 46%);
}

.gallery-image-card__copy {
  position: absolute;
  z-index: 2;
  right: 7vw;
  bottom: 8vh;
  left: 7vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gallery-image-card__copy small {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gallery-image-card__copy strong {
  font-family: var(--display);
  font-size: clamp(4.2rem,7vw,8rem);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: .9;
}

.gallery-image-card__copy em {
  margin-top: 16px;
  color: rgba(255,255,255,.7);
  font-size: .76rem;
  font-style: normal;
  letter-spacing: .08em;
}

.page-card-deck .contact-directory__grid {
  grid-template-columns: .65fr 1fr;
  padding-top: var(--header);
}

.page-card-deck .contact-directory__intro {
  position: static;
}

.page-card-deck .contact-list article {
  padding-block: clamp(12px,1.8vh,22px);
}

.page-card-deck .map-section iframe {
  height: 100%;
}

.page-card-deck .contact-hotel__grid {
  padding-top: var(--header);
}

.page-card-deck .contact-hotel__grid > img {
  max-height: 52svh;
  object-fit: contain;
}

.page-card-deck .atico-hero {
  padding: 0;
}

.page-card-deck .atico-hero__inner {
  min-height: 100%;
  padding-top: var(--header);
}

.page-card-deck .atico-story__grid,
.page-card-deck .atico-hotel__grid {
  padding-top: var(--header);
}

.page-card-deck .atico-services > .shell {
  display: grid;
  grid-template-columns: .72fr 1fr;
  align-items: center;
  gap: clamp(55px,8vw,130px);
  min-height: 100%;
  padding-top: var(--header);
}

.page-card-deck .atico-services__head {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .site-header__actions {
    display: none !important;
  }

  .scroll-panel {
    inset: 4px 4px auto;
    height: calc(100svh - 62px);
  }

  .panel-hero__center {
    top: 46%;
    width: min(68vw,290px);
  }

  .panel-hero__center p {
    max-width: 270px;
    margin-bottom: 20px;
    font-size: .52rem;
    line-height: 1.6;
  }

  .panel-hero__center img {
    width: 100%;
    max-width: 100%;
  }

  .panel-hero__bottom {
    bottom: 70px;
  }

  .panel-hero__bottom div,
  .panel-hero__bottom > span:first-child {
    display: none;
  }

  .panel-hero__bottom > span:last-child {
    padding-right: 0;
    text-align: center;
  }

  .page-card-deck .experience-hero__content,
  .page-card-deck .page-hero__content {
    padding: calc(var(--header) + 35px) 19px 62px;
  }

  .page-card-deck .experience-hero h1,
  .page-card-deck .page-hero h1 {
    font-size: clamp(3.35rem,14vw,5rem);
  }

  .page-card-deck .experience-story__grid,
  .page-card-deck .experience-service__grid,
  .page-card-deck .contact-directory__grid,
  .page-card-deck .contact-hotel__grid,
  .page-card-deck .atico-story__grid,
  .page-card-deck .atico-hotel__grid {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 25px;
    padding: 78px 0 32px;
  }

  .page-card-deck .experience-story h2,
  .page-card-deck .experience-service h2,
  .page-card-deck .contact-hotel h2,
  .page-card-deck .atico-story h2,
  .page-card-deck .atico-hotel h2 {
    font-size: clamp(3rem,12vw,4.4rem);
  }

  .page-card-deck .experience-materials__grid {
    grid-template-columns: .85fr 1fr;
    grid-template-rows: 1fr;
    gap: 22px;
    padding: 78px 19px 28px;
  }

  .page-card-deck .experience-materials__main {
    grid-row: auto;
  }

  .page-card-deck .experience-materials__main img {
    height: 68svh;
    object-fit: cover;
  }

  .page-card-deck .experience-materials__detail {
    display: none;
  }

  .page-card-deck .experience-materials__copy h2 {
    font-size: clamp(2.7rem,10vw,4rem);
  }

  .page-card-deck .experience-craft__grid {
    grid-template-columns: .8fr 1fr;
    gap: 24px;
    min-height: 100%;
    padding: 78px 19px 28px;
  }

  .page-card-deck .experience-craft .craft-video video {
    width: 100%;
    height: 68svh;
    object-fit: cover;
  }

  .page-card-deck .experience-craft__copy h2 {
    font-size: clamp(2.8rem,10vw,4rem);
  }

  .page-card-deck .experience-cta > .shell,
  .page-card-deck .menu-manifesto__grid,
  .page-card-deck .menu-portal__grid {
    padding: 78px 19px 34px;
  }

  .page-card-deck .experience-cta h2,
  .page-card-deck .menu-manifesto h2,
  .page-card-deck .menu-portal h2 {
    font-size: clamp(3rem,12vw,4.5rem);
  }

  .menu-card-feature,
  .menu-card-feature--reverse {
    display: block;
  }

  .menu-card-feature figure {
    position: absolute;
    inset: 0;
  }

  .menu-card-feature figure img {
    filter: saturate(.7) brightness(.48);
  }

  .menu-card-feature .menu-feature__copy {
    position: relative;
    z-index: 2;
    justify-content: flex-end;
    max-width: none;
    padding: 90px 24px 72px;
    background: linear-gradient(0deg,rgba(8,7,5,.9),transparent 70%);
  }

  .menu-card-feature .menu-feature__copy h2 {
    font-size: clamp(3.4rem,14vw,5rem);
  }

  .page-card-deck .gallery-hero__grid,
  .page-card-deck .contact-hero__grid {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 26px;
    padding: 76px 19px 30px;
  }

  .page-card-deck .gallery-hero__image,
  .page-card-deck .contact-hero__image {
    width: 48%;
    max-height: 40svh;
  }

  .page-card-deck .gallery-hero__image img,
  .page-card-deck .contact-hero__image img {
    max-height: 40svh;
    object-fit: cover;
  }

  .gallery-image-card__copy {
    right: 24px;
    bottom: 75px;
    left: 24px;
  }

  .gallery-image-card__copy strong {
    font-size: clamp(3.5rem,15vw,5.6rem);
  }

  .page-card-deck .contact-list article {
    grid-template-columns: 25px 110px 1fr;
    gap: 10px;
    padding-block: 9px;
  }

  .page-card-deck .map-card {
    bottom: 28px;
  }

  .page-card-deck .contact-hotel__grid > img {
    width: 27vw;
    max-height: 27svh;
    justify-self: start;
  }

  .page-card-deck .atico-hero__inner {
    justify-content: center;
    min-height: 100%;
    padding: 78px 19px 35px;
  }

  .page-card-deck .atico-services > .shell {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 26px;
    padding: 78px 19px 30px;
  }

  .page-card-deck .atico-services__head h2 {
    font-size: clamp(3rem,12vw,4.5rem);
  }

  .page-card-deck .atico-services__links > a {
    padding-block: 13px;
  }
}

@media (max-width: 560px) {
  .page-card-deck .experience-materials__grid,
  .page-card-deck .experience-craft__grid {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .page-card-deck .experience-materials__main img,
  .page-card-deck .experience-craft .craft-video video {
    height: 31svh;
    aspect-ratio: 16/9;
  }

  .page-card-deck .experience-materials__copy p:last-child,
  .page-card-deck .experience-craft__copy .lead {
    font-size: .78rem;
    line-height: 1.55;
  }

  .page-card-deck .contact-directory__grid {
    gap: 12px;
  }

  .page-card-deck .contact-directory__intro > p:last-child {
    display: none;
  }

  .page-card-deck .contact-directory__intro h2 {
    margin-bottom: 4px;
    font-size: 2.8rem;
  }

  .page-card-deck .contact-list article {
    grid-template-columns: 22px 90px 1fr;
    font-size: .68rem;
  }

  .page-card-deck .contact-list article > a,
  .page-card-deck .contact-list article > p {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-card-deck {
    height: auto;
  }

  .page-card {
    height: auto;
    min-height: 100svh;
  }
}
