/* Version 9.2 — consistent editorial proportions across every card page. */

/* Generous without becoming lost on ultra-wide displays. */
@media (min-width: 861px) {
  .page-card-deck .shell {
    width: min(1480px, calc(100vw - clamp(90px, 10vw, 190px)));
  }

  .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 {
    gap: clamp(72px, 8vw, 138px);
  }
}

/* Shared reading rhythm and predictable measures. */
.page-card-deck .page-hero__content > p:not(.eyebrow),
.page-card-deck .experience-hero__content > p:last-child,
.page-card-deck .experience-story__grid > div:last-child,
.page-card-deck .experience-service__grid > .lead,
.page-card-deck .experience-materials__copy,
.page-card-deck .experience-craft__copy,
.page-card-deck .menu-manifesto .lead,
.page-card-deck .menu-portal__grid > div:first-child,
.page-card-deck .contact-hotel__grid > div,
.page-card-deck .atico-story__grid > div:last-child,
.page-card-deck .atico-hotel__grid > div:last-child {
  max-width: 610px;
}

.page-card-deck .page-hero h1,
.page-card-deck .experience-hero h1,
.page-card-deck .experience-story h2,
.page-card-deck .experience-service h2,
.page-card-deck .experience-cta h2,
.page-card-deck .menu-manifesto h2,
.page-card-deck .menu-portal h2,
.page-card-deck .contact-hotel h2,
.page-card-deck .atico-story h2,
.page-card-deck .atico-hotel h2 {
  letter-spacing: -.035em;
}

.page-card-deck p:not(.eyebrow) {
  hanging-punctuation: first last;
}

.page-card-deck a {
  text-decoration-thickness: 1px;
}

.page-card-deck a:focus-visible,
.page-card-deck button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

/* Contact directory: number / label / content / action. */
.page-card-deck .contact-directory__grid {
  grid-template-columns: minmax(340px, .66fr) minmax(0, 1.34fr);
  align-items: center;
  padding-top: var(--header);
}

.page-card-deck .contact-directory__intro {
  max-width: 520px;
}

.page-card-deck .contact-directory__intro h2 {
  max-width: 500px;
  margin-bottom: 25px;
  font-size: clamp(4.25rem, 5.7vw, 7rem);
  line-height: .88;
}

.page-card-deck .contact-directory__intro > p:last-child {
  max-width: 440px;
  color: rgba(13, 12, 10, .7);
  line-height: 1.65;
}

.page-card-deck .contact-list {
  width: 100%;
}

.page-card-deck .contact-list article {
  position: relative;
  grid-template-columns: 34px minmax(125px, .46fr) minmax(230px, 1fr) auto;
  gap: clamp(15px, 1.7vw, 30px);
  align-items: center;
  padding: clamp(19px, 2.25vh, 28px) 0;
  transition: padding .25s var(--ease), background .25s;
}

.page-card-deck .contact-list article > span {
  grid-column: 1;
}

.page-card-deck .contact-list article > h3 {
  grid-column: 2;
}

.page-card-deck .contact-list article > p {
  grid-column: 3;
  min-width: 0;
  line-height: 1.52;
}

.page-card-deck .contact-list article > a {
  grid-column: 4;
  justify-self: end;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--gold-deep);
  font-size: .53rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.35;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.page-card-deck .contact-list article::before {
  position: absolute;
  z-index: 0;
  inset: 0 -18px;
  background: rgba(255, 255, 255, .22);
  opacity: 0;
  content: "";
  transition: opacity .25s;
}

.page-card-deck .contact-list article > * {
  position: relative;
  z-index: 1;
}

.page-card-deck .contact-list article:hover::before,
.page-card-deck .contact-list article:focus-within::before {
  opacity: 1;
}

/* Menu pages: text remains composed beside the photography. */
.page-card-deck .menu-manifesto__grid {
  grid-template-columns: minmax(180px, .34fr) minmax(420px, 1fr) minmax(260px, .48fr);
  gap: clamp(42px, 5vw, 86px);
}

.page-card-deck .menu-manifesto h2 {
  max-width: 850px;
  line-height: .92;
}

.menu-card-feature .menu-feature__copy {
  max-width: 700px;
}

.menu-card-feature .menu-feature__copy > p:last-of-type {
  max-width: 480px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
}

.page-card-deck .menu-portal__grid {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(55px, 8vw, 130px);
}

.page-card-deck .menu-portal__actions {
  min-width: 280px;
}

/* Experience page: visual hierarchy that repeats without feeling templated. */
.page-card-deck .experience-story__grid,
.page-card-deck .experience-service__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
}

.page-card-deck .experience-story h2,
.page-card-deck .experience-service h2 {
  max-width: 820px;
  line-height: .91;
}

.page-card-deck .experience-materials__copy p:last-child,
.page-card-deck .experience-craft__copy .lead {
  max-width: 540px;
  line-height: 1.62;
}

/* ATICO page: clearer separation between identity and copy. */
.page-card-deck .atico-story__grid {
  grid-template-columns: minmax(0, 1fr) minmax(380px, .74fr);
}

.page-card-deck .atico-hotel__grid {
  grid-template-columns: minmax(280px, .5fr) minmax(0, 1fr);
}

.page-card-deck .atico-services__links strong {
  line-height: .94;
}

.page-card-deck .atico-services__links i {
  white-space: nowrap;
}

/* Gallery chapters keep captions out of the imagery's focal areas. */
.gallery-editorial__heading h2,
.gallery-materials-copy h2,
.gallery-sushi-copy h2 {
  line-height: .9;
}

.gallery-editorial__heading small,
.gallery-materials-copy > p:last-child,
.gallery-sushi-copy > p:not(.eyebrow) {
  line-height: 1.62;
}

@media (max-width: 1180px) and (min-width: 861px) {
  .page-card-deck .contact-directory__grid {
    grid-template-columns: minmax(280px, .58fr) minmax(0, 1.42fr);
    gap: 54px;
  }

  .page-card-deck .contact-list article {
    grid-template-columns: 28px 105px minmax(190px, 1fr) auto;
    gap: 13px;
  }

  .page-card-deck .menu-manifesto__grid {
    grid-template-columns: .3fr 1fr .46fr;
    gap: 35px;
  }
}

@media (max-width: 860px) {
  .page-card-deck .shell {
    width: var(--shell);
  }

  .page-card-deck .contact-directory__grid {
    grid-template-columns: 1fr;
    align-content: center;
    gap: clamp(12px, 2.2dvh, 20px);
    padding-top: var(--phone-top);
  }

  .page-card-deck .contact-directory__intro h2 {
    margin-bottom: 6px;
    font-size: clamp(2.5rem, 10.7vw, 3.65rem);
    line-height: .92;
  }

  .page-card-deck .contact-list article {
    grid-template-columns: 20px minmax(76px, 26vw) minmax(0, 1fr);
    gap: 5px 9px;
    padding: clamp(6px, 1.15dvh, 10px) 0;
  }

  .page-card-deck .contact-list article > span { grid-column: 1; grid-row: 1 / 3; align-self: start; padding-top: 2px; }
  .page-card-deck .contact-list article > h3 { grid-column: 2; grid-row: 1 / 3; align-self: start; }
  .page-card-deck .contact-list article > p { grid-column: 3; grid-row: 1; }
  .page-card-deck .contact-list article > a {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    padding-bottom: 2px;
    font-size: .47rem;
    white-space: normal;
  }

  .page-card-deck .contact-list article::before {
    display: none;
  }

  .page-card-deck .menu-manifesto__grid,
  .page-card-deck .menu-portal__grid,
  .page-card-deck .experience-story__grid,
  .page-card-deck .experience-service__grid,
  .page-card-deck .atico-story__grid,
  .page-card-deck .atico-hotel__grid {
    grid-template-columns: 1fr;
  }

  .page-card-deck .menu-portal__actions {
    min-width: 0;
  }

  .page-card-deck .atico-services__links i {
    white-space: normal;
  }
}

@media (max-width: 390px) {
  .page-card-deck .contact-list article {
    grid-template-columns: 17px 68px minmax(0, 1fr);
    gap: 4px 7px;
  }

  .page-card-deck .contact-list article > p {
    font-size: .58rem;
  }
}

@media (max-width: 860px) and (max-height: 680px) {
  .page-card-deck .contact-directory__intro > p:last-child {
    display: none;
  }

  .page-card-deck .contact-list article {
    padding-block: 5px;
  }

  .page-card-deck .contact-directory__intro h2 {
    font-size: clamp(2.2rem, 9.7vw, 3rem);
  }
}
