/* Home only: v3's welcome, packages, host, facilities and "One day, by the clock", rebuilt in v5's colours and type
   (his rulings 2026-11-15). Cream ground with dark ink; the host and the day sit on dark surfaces (tokens.css list).
   Every size is in em of the body font-size, like the rest of v5. */

/* ---------- welcome: three drifting photos + text (v3 fx 2) ---------- */
.m-welcome { display: grid; grid-template-columns: 1.05fr 1fr; gap: 11em; align-items: center; padding-inline: var(--gut); max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; }
.wl-collage { position: relative; height: 76em; }
.wl-ph { position: absolute; overflow: hidden; margin: 0; will-change: transform; }
.wl-ph img { width: 100%; height: 100%; object-fit: cover; }
.wl-0 { left: 0; top: 0; width: 64%; height: 70%; }
.wl-1 { right: 0; top: 40%; width: 44%; height: 46%; z-index: 2; box-shadow: 0 0 0 1.2em var(--ground); }
.wl-2 { left: 14%; bottom: -4%; width: 34%; height: 28%; }
.wl-ov, .pk-ov, .fc-ov { color: var(--ink-2); }
.wl-txt .t-d2 { margin-bottom: .5em; max-width: 12em; }
.wl-txt .t-body + .t-body { margin-top: 1em; }
.wl-txt .t-body { max-width: 30em; }

/* ---------- packages: four cards in a row, dealt from one stack (v3 fx 6) ---------- */
.m-pk { padding-inline: var(--gut); max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; }
.pk-head { display: flex; justify-content: space-between; align-items: end; gap: 3em; margin-bottom: 6em; }
.pk-head .t-d2 { max-width: 13em; }
.pk-head .tlink { flex: none; }
.pk-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.8em; }
.pk { position: relative; display: flex; flex-direction: column; background: #F3EDE3; box-shadow: 0 18px 40px -26px rgba(36, 33, 29, .45); will-change: transform; }
.pk figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.pk img { width: 100%; height: 100%; object-fit: cover; }
.pk-txt { flex: 1; display: flex; flex-direction: column; padding: 2.4em 2.4em 2.8em; }
.pk-nights { font-family: var(--sans); font-weight: 500; font-size: 1.4em; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .6em; }
.pk-name { font-family: var(--serif); font-weight: 500; font-size: 3.4em; line-height: 1.1; margin-bottom: .35em; }
.pk-name a { color: inherit; text-decoration: none; }
.pk-name a:hover { text-decoration: underline; text-underline-offset: .12em; }
.pk-line { font-size: 1.7em; line-height: 1.5; color: var(--ink-2); }
.pk-price { margin: auto 0 0; padding-top: 1em; border-top: 1px solid var(--rule); font-size: 1.6em; color: var(--ink-2); }
.pk-line:has(+ .pk-price) { margin-bottom: 1.1em; }
.pk-price b { font-family: var(--serif); font-weight: 500; font-size: 1.9em; color: var(--ink); }
.pk-price span { display: block; font-size: .9em; }
.pk-act { display: flex; flex-wrap: wrap; gap: 1em; margin-top: 1.8em; }
.pk-act .btn { flex: 1 1 auto; min-height: 44px; min-width: 0; padding-inline: 1em; }
.pk-note { margin-top: 2.6em; font-size: 1.6em; font-style: italic; color: var(--ink-2); }

/* ---------- host: a tall photo, the quote inks in word by word (v3 fx 7) ---------- */
.m-host { position: relative; overflow: clip; background: #101511; padding: 16em 0; }
.m-host.is-pin { height: 230vh; padding: 0; }
.m-host.is-pin > .pin { display: grid; place-items: center; }
.host-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.m-host.is-pin .host-img { scale: 1.25; }
.host-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 12, .82), rgba(10, 14, 12, .64) 50%, rgba(10, 14, 12, .86)); }
.host-q { position: relative; z-index: 1; max-width: calc(100em + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); text-align: center; color: #fff; }
.host-ov { color: rgba(255, 255, 255, .82); margin-bottom: 1.4em; }
.host-words { font-family: var(--serif); font-weight: 400; font-size: 5.2em; line-height: 1.28; }
.m-host.is-ink .host-words > span > span { opacity: .22; transition: opacity .35s; }
.m-host.is-ink .host-words > span > span.lit { opacity: 1; }
.host-q footer { margin-top: 3.4em; display: flex; flex-direction: column; gap: .4em; }
.host-q footer b { font-family: var(--sans); font-weight: 500; font-size: 1.5em; letter-spacing: .22em; text-transform: uppercase; }
.host-q footer span { font-size: 1.6em; color: rgba(255, 255, 255, .82); }

/* ---------- facilities: three tall tiles rising behind a curtain + a sideways facts ribbon (v3 fx 8a, 8b) ---------- */
.fc-head { padding: 0 var(--gut); margin-bottom: 6em; text-align: center; }
.fc-head .t-d2 { margin-inline: auto; max-width: 16em; }
.fc-grid { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6em 3.6em; padding: 0 var(--gut); max-width: calc(var(--wrap) + 2 * var(--gut)); }
.fc:nth-child(3n + 2) { transform: translateY(7em); }
.fc figure { margin: 0 0 1.8em; aspect-ratio: 4 / 5; overflow: hidden; }
.fc img { width: 100%; height: 100%; object-fit: cover; }
.fc-title { font-family: var(--serif); font-weight: 500; font-size: 3.4em; line-height: 1.05; }
.fc-line { font-size: 1.7em; color: var(--ink-2); margin-top: .3em; }
.fc-strip { margin-top: 15em; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 2.2em 0; overflow: hidden; }
.fc-strip-row { display: flex; gap: .7em; white-space: nowrap; width: max-content; font-family: var(--serif); font-style: italic; font-size: 3.8em; will-change: transform; }
.fc-strip-row i { font-style: normal; color: var(--ink-2); }

/* ---------- tablet ---------- */
@media (max-width: 1279px) {
  .pk-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .m-welcome { gap: 5em; }
  .wl-collage { height: 60em; }
}

/* ---------- phone ---------- */
@media (max-width: 767px) {
  .m-welcome { grid-template-columns: 1fr; gap: 5em; }
  .wl-collage { order: 2; height: 118vw; }
  .wl-0 { width: 74%; height: 62%; }
  .wl-1 { width: 52%; height: 44%; top: 46%; box-shadow: 0 0 0 .8em var(--ground); }
  .wl-2 { left: 6%; width: 40%; height: 26%; bottom: -2%; }
  .pk-head { flex-direction: column; align-items: start; margin-bottom: 4em; }
  .pk-row { grid-template-columns: 1fr; gap: 2.4em; }
  .m-host { padding: 10em 0; }
  .host-words { font-size: 2.6em; line-height: 1.25; }
  .fc-head { margin-bottom: 4em; }
  .fc-grid { grid-template-columns: 1fr 1fr; gap: 4em 1.6em; }
  .fc:nth-child(3n + 2) { transform: none; }
  .fc:nth-child(2n) { transform: translateY(4em); }
  .fc-title { font-size: 2.4em; }
  .fc-line { font-size: 1.5em; }
  .fc-strip { margin-top: 9em; }
  .fc-strip-row { font-size: 2.8em; }
}

/* ---------- short landscape screen ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .m-host { padding: 6em 0; }
  .host-words { font-size: 2.6em; }
}

/* ---------- A day here: the day's thread (his rulings 2026-11-17/18: the clock dropped, "ei clock system tai rakhte
   chai na"; of three looks he picked B, "B - approve"). Six moments, photo and text alternating sides; a line down the
   middle (the left edge on phones) fills with green as you read and each moment lights up as the line reaches it
   (fx.js dayStory). Square corners, no shadows. ---------- */
.m-dayx { position: relative; padding: var(--gap) var(--gut); }
.dx-head { text-align: center; margin-bottom: 8em; }
.dx-list { list-style: none; margin: 0 auto; padding: 0; position: relative; max-width: var(--wrap); display: grid; gap: 10em; }
.dx-it { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 10em; align-items: center; }
.dx-it:nth-child(even) .dx-ph { order: 2; }
.dx-ph { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.dx-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dx-time { font-family: var(--serif); font-weight: 400; font-size: 9em; line-height: .9; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; color: var(--raised); }
.dx-t { font-family: var(--serif); font-weight: 500; font-size: 3.6em; line-height: 1.1; margin-top: .4em; }
.dx-tx { transition: opacity .6s; }
.dx-tx .t-body { margin-top: .6em; max-width: 34em; }
.dx-it:not(.is-on) .dx-tx { opacity: .45; }
.dx-list::before, .dx-list::after { content: ''; position: absolute; left: 50%; top: 0; width: 1px; margin-left: -.5px; }
.dx-list::before { bottom: 0; background: var(--rule); }
.dx-list::after { height: calc(var(--p, 0) * 100%); background: var(--raised); width: 3px; margin-left: -1.5px; }
.dx-it::before { content: ''; position: absolute; left: 50%; top: 50%; width: 1.6em; height: 1.6em; margin: -.8em 0 0 -.8em; z-index: 1; background: var(--ground); border: 2px solid var(--rule); border-radius: 50%; transition: background-color .5s, border-color .5s, transform .5s var(--ease); }
.dx-it.is-on::before { background: var(--raised); border-color: var(--raised); transform: scale(1.25); }
/* reduced motion: every moment shown in full, the line drawn */
html.reduced .dx-it .dx-tx { opacity: 1; }
html.reduced .dx-list::after { height: 100%; }

@media (max-width: 767px) {
  .dx-head { text-align: left; margin-bottom: 5em; }
  .dx-list { gap: 6em; padding-left: 4em; }
  .dx-it { grid-template-columns: 1fr; gap: 2.4em; }
  .dx-it:nth-child(even) .dx-ph { order: 0; }
  .dx-time { font-size: 6em; }
  .dx-t { font-size: 2.8em; }
  .dx-list::before, .dx-list::after { left: 0; }
  .dx-it::before { left: -4em; top: 0; margin-top: 0; }
}
