/* Zakros — hotel pages and About (hero with inset photo, welcome, stacked rooms,
   horizontal gallery, map + contact, chapters, offerings, promise). */

/* ---------- Hotel / About hero ---------- */
.zk-hhero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--zk-white);
  background: var(--zk-navy);
}
.zk-hhero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.zk-hhero__bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.zk-hhero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 31, 42, 0.72) 0%, rgba(11, 31, 42, 0.35) 55%, rgba(11, 31, 42, 0.15) 100%),
    linear-gradient(180deg, rgba(11, 31, 42, 0.35) 0%, rgba(11, 31, 42, 0) 30%, rgba(11, 31, 42, 0.5) 100%);
}
.zk-hhero--about { background: radial-gradient(ellipse 80% 70% at 75% 40%, #183b4d 0%, var(--zk-navy) 70%); }
.zk-hhero--about .zk-hhero__veil { background: none; }
.zk-hhero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: calc(var(--zk-header-h) + 2rem) 0 6rem;
}
@media (min-width: 900px) {
  .zk-hhero__inner { grid-template-columns: 1.15fr 0.85fr; gap: clamp(3rem, 6vw, 6rem); }
}
.zk-hhero__copy { position: relative; z-index: 2; }
.zk-hhero .zk-hhero__title {
  font-size: clamp(3.2rem, 9vw, 8.5rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--zk-white);
  margin: 0 0 2.5rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.zk-hhero--about .zk-hhero__title { margin-bottom: 1.75rem; }
.zk-hhero__lead {
  max-width: 32rem;
  font-family: var(--zk-font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}
.zk-hhero__inset {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(100%, 30rem);
  aspect-ratio: 4 / 5;
}
.zk-hhero__inset::before {
  content: '';
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid rgba(196, 163, 90, 0.55);
  z-index: 0;
}
.zk-hhero__inset-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.zk-hhero__inset-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .zk-hhero__inset { justify-self: start; width: min(78%, 22rem); }
  .zk-hhero__inner { padding-bottom: 5rem; }
}

/* ---------- Welcome ---------- */
.zk-welcome__inner { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .zk-welcome__inner { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; align-items: start; }
}
/* "Welcome!" sits on an outlined echo of itself; motion.js runs a gold wave through the letters. */
.zk-welcome__title,
.zk-welcome__echo {
  font-family: var(--zk-font-display);
  font-size: clamp(2.8rem, 5.6vw, 5.4rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1;
  margin: 0;
}
.zk-welcome__title { position: relative; z-index: 1; color: var(--tone-fg); }
.zk-welcome__head { position: relative; display: inline-block; justify-self: start; max-width: 100%; }
.zk-welcome__echo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.zk-welcome__echo {
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 163, 90, 0.3);
  transform: translate(0.04em, 0.04em);
}
.zk-welcome__title .zk-char { display: inline-block; transform-origin: 0 100%; }
.zk-welcome__flourish {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 1.25rem;
  background: linear-gradient(90deg, var(--zk-gold), rgba(196, 163, 90, 0));
  transform-origin: left center;
}
.zk-welcome__text {
  font-family: var(--zk-font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.35;
  color: var(--tone-fg);
  margin: 0 0 1.5rem;
}
.zk-welcome__text .zk-word { display: inline-block; }
.zk-welcome .zk-btn--line { margin-top: 1.5rem; }

/* ---------- Rooms: cards stack while scrolling ---------- */
.zk-rooms {
  position: relative;
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(5rem, 12vh, 9rem);
  background: var(--zk-navy);
  color: var(--zk-white);
}
.zk-rooms__kicker {
  color: var(--zk-gold);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  letter-spacing: 0.26em;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.zk-rooms__kicker .zk-headline__rule { width: 4.5rem; }
.zk-rooms__stack { display: grid; gap: 2rem; }
.zk-room {
  --dim: 0;
  position: relative;
  display: grid;
  overflow: hidden;
  background: var(--zk-cream);
  color: var(--zk-navy);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.25);
  transform-origin: 50% 0;
}
.zk-room::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--zk-navy);
  opacity: var(--dim);
  pointer-events: none;
}
@media (min-width: 900px) {
  .zk-rooms__stack { gap: 12vh; }
  .zk-room {
    position: sticky;
    top: calc(1.5rem + var(--i) * 1.4rem);
    grid-template-columns: 1.05fr 0.95fr;
    min-height: min(78vh, 46rem);
  }
}
.zk-room__media { position: relative; overflow: hidden; min-height: 18rem; background: var(--zk-sand-deep); }
.zk-room__img { position: absolute; inset: 0; }
.zk-room__img img { width: 100%; height: 100%; object-fit: cover; }
.zk-room__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(2rem, 5vw, 4.5rem);
}
.zk-room__index {
  position: absolute;
  top: clamp(1rem, 3vw, 2.5rem);
  right: clamp(1.25rem, 3vw, 2.5rem);
  font-family: var(--zk-font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 1;
  font-variant-numeric: lining-nums;
  color: transparent;
  -webkit-text-stroke: 1px var(--zk-gold);
}
.zk-room__title {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}
.zk-room__text {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--zk-muted);
  max-width: 30rem;
  margin: 0 0 2rem;
}

/* ---------- Gallery: horizontal strip ---------- */
.zk-gallery2 {
  position: relative;
  background: var(--zk-sand);
  color: var(--zk-navy);
  padding: clamp(4rem, 10vh, 7rem) 0;
  overflow: hidden;
}
.zk-gallery2__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}
/* Gallery title: same quiet treatment as "Welcome!" – italic, faint gold outline behind,
   gold stroke underneath that motion.js stretches while the section scrolls in. */
.zk-gallery2__titlewrap { position: relative; display: inline-block; max-width: 100%; }
.zk-gallery2__title,
.zk-gallery2__echo {
  font-family: var(--zk-font-display);
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0;
}
.zk-gallery2__title { position: relative; z-index: 1; }
.zk-gallery2__echo {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(196, 163, 90, 0.3);
  transform: translate(0.04em, 0.04em);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.zk-gallery2__flourish {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--zk-gold), rgba(196, 163, 90, 0));
  transform-origin: left center;
}
.zk-gallery2__viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--zk-gutter);
  scrollbar-width: none;
  padding-inline: var(--zk-gutter);
}
.zk-gallery2__viewport::-webkit-scrollbar { display: none; }
.zk-gallery2__track {
  display: flex;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  width: max-content;
  padding-right: var(--zk-gutter);
}
.zk-gallery2__item {
  position: relative;
  display: block;
  height: clamp(16rem, 58vh, 38rem);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--zk-sand-deep);
}
.zk-gallery2__img { display: block; height: 100%; }
.zk-gallery2__img img {
  height: 100%;
  width: auto;
  max-width: none;
  transition: transform 0.9s var(--zk-ease);
}
.zk-gallery2__item:hover img { transform: scale(1.05); }
.zk-gallery2__item:nth-child(even) { margin-top: clamp(1.5rem, 6vh, 4rem); }
/* Slider controls under the strip */
.zk-gallery2__controls {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(2rem, 5vh, 3.5rem);
}
.zk-gallery2__arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  border: 1px solid rgba(11, 31, 42, 0.3);
  background: transparent;
  color: var(--zk-navy);
  cursor: pointer;
  transition: background 0.4s var(--zk-ease), color 0.4s var(--zk-ease), border-color 0.4s var(--zk-ease), opacity 0.4s;
}
.zk-gallery2__arrow:hover:not(:disabled) { background: var(--zk-navy); border-color: var(--zk-navy); color: var(--zk-gold-soft); }
.zk-gallery2__arrow:hover:not(:disabled) svg { transform: translateX(var(--nudge, 3px)); }
.zk-gallery2__arrow[data-gallery-prev] { --nudge: -3px; }
.zk-gallery2__arrow svg { transition: transform 0.4s var(--zk-ease); }
.zk-gallery2__arrow:disabled { opacity: 0.3; cursor: default; }
.zk-gallery2__progress {
  flex: 1;
  height: 1px;
  background: rgba(11, 31, 42, 0.18);
  overflow: hidden;
}
.zk-gallery2__progress span {
  display: block;
  height: 100%;
  background: var(--zk-gold);
  transform: scaleX(0);
  transform-origin: left center;
}
.zk-gallery2__pos {
  margin: 0;
  min-width: 4.5rem;
  text-align: center;
  font-family: var(--zk-font-display);
  font-size: 1.15rem;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--zk-muted);
}
.zk-gallery2__pos span { color: var(--zk-navy); font-size: 1.6rem; }
@media (max-width: 767px) {
  .zk-gallery2__arrow { width: 3rem; height: 3rem; }
  .zk-gallery2__item { height: 68vw; }
  .zk-gallery2__item:nth-child(even) { margin-top: 0; }
}

/* ---------- Map + contact ---------- */
.zk-hcontact {
  position: relative;
  min-height: 85vh;
  display: grid;
  align-items: center;
  background: var(--zk-navy);
  color: var(--zk-white);
  overflow: hidden;
}
.zk-hcontact__map.zk-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 0;
  border: 0;
  min-height: 0;
  background:
    radial-gradient(circle at 70% 50%, rgba(196, 163, 90, 0.18) 0, rgba(196, 163, 90, 0) 35%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 64px),
    var(--zk-navy);
}
.zk-hcontact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(1.05); }
.zk-hcontact__mapcover {
  position: absolute;
  right: var(--zk-gutter);
  bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  max-width: 34rem;
  text-align: right;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}
.zk-hcontact__mapcover p { margin: 0; }
.zk-hcontact__wrap { position: relative; z-index: 1; pointer-events: none; padding: 6rem 0; }
.zk-hcontact__card {
  pointer-events: auto;
  max-width: 34rem;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: rgba(11, 31, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.zk-hcontact__title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
  margin: 0 0 1.75rem;
  color: var(--zk-white);
}
.zk-hcontact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; font-size: 1.2rem; color: rgba(255, 255, 255, 0.9); }
.zk-hcontact__address {
  margin-bottom: 0.4rem;
  font-family: var(--zk-font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.25;
  font-variant-numeric: lining-nums;
  color: var(--zk-white);
}
.zk-hcontact__list a { color: var(--zk-gold-soft); text-decoration: none; }
.zk-hcontact__list a:hover { color: var(--zk-white); }
@media (max-width: 767px) {
  .zk-hcontact { display: block; min-height: 0; }
  .zk-hcontact__map.zk-map { position: relative; height: 22rem; }
  .zk-hcontact__mapcover { left: var(--zk-gutter); justify-content: flex-start; text-align: left; }
  .zk-hcontact__wrap { padding: 2.5rem 0 3rem; }
}

/* ---------- About: chapters, offerings, promise ---------- */
.zk-about__intro {
  max-width: 28ch;
  font-family: var(--zk-font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  line-height: 1.2;
}
.zk-chapter__inner { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .zk-chapter__inner { grid-template-columns: 0.75fr 1.25fr; gap: 5rem; align-items: start; }
  .zk-chapter__aside { position: sticky; top: 7rem; }
}
.zk-chapter__index {
  display: block;
  font-family: var(--zk-font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
  font-variant-numeric: lining-nums;
  color: transparent;
  -webkit-text-stroke: 1px var(--zk-gold);
  margin-bottom: 1rem;
}
.zk-chapter__title { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 500; line-height: 1; margin: 0; color: var(--tone-fg); }
.zk-chapter__text {
  font-family: var(--zk-font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.95rem);
  line-height: 1.45;
  margin: 0;
  color: var(--tone-fg);
}
.zk-offerings__list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.zk-offering {
  position: relative;
  display: grid;
  gap: 0.5rem 2rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--tone-line);
}
.zk-offering:last-child { border-bottom: 1px solid var(--tone-line); }
@media (min-width: 900px) {
  .zk-offering { grid-template-columns: 6rem 1fr 1.2fr; align-items: baseline; }
}
.zk-offering__num {
  font-family: var(--zk-font-display);
  font-size: 1.5rem;
  font-variant-numeric: lining-nums;
  color: var(--zk-gold);
}
.zk-offering__title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  color: var(--tone-fg);
  transition: color 0.4s var(--zk-ease), transform 0.6s var(--zk-ease);
}
.zk-offering__text { margin: 0; font-size: 1.05rem; line-height: 1.7; color: var(--tone-muted); }
.zk-offering:hover .zk-offering__title { color: var(--zk-gold); transform: translateX(0.5rem); }
.zk-promise__inner { max-width: 52rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.zk-promise .zk-headline__kicker { justify-content: center; }
.zk-promise__text {
  font-family: var(--zk-font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 1.3;
  margin: 0 0 1.5rem;
  color: var(--tone-fg);
}
.zk-promise__closing {
  font-family: var(--zk-font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.15;
  color: var(--zk-gold);
  margin: 2rem 0;
}
.zk-promise__signoff { font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tone-muted); margin: 0 0 2.5rem; }
.zk-promise__logo { width: 5.5rem; height: 5.5rem; border-radius: 50%; box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.45); }
