/* Adriatic Escape — Durrës, Albania
   Direction: Photographs at uneven sizes
   Type: Work Sans (300 display, 400 body, 500 emphasis)
   Palette: Brand-inspired warm Adriatic sand, sunset gold, and twilight navy */

:root {
  --bg: #f7f3eb;
  --surface: #eee6d7;
  --ink: #131e2e;
  --muted: #4b5059;
  --accent: #c99a4e;
  --accent-strong: #b4853a;
  --accent-ink: #131e2e;
  --field-1: #111a28;
  --field-1-ink: #f7f3eb;
  --field-1-muted: #c8bda9;
  --field-2: #e2d7c3;
  --field-2-ink: #131e2e;

  --font-display: 'Work Sans', system-ui, -apple-system, sans-serif;
  --font-text: 'Work Sans', system-ui, -apple-system, sans-serif;

  /* Strictly five type steps across every viewport */
  --step-small: 0.875rem;
  --step-body: 1.0625rem;
  --step-lead: clamp(1.25rem, 1.12rem + 0.55vw, 1.625rem);
  --step-head: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  --step-display: clamp(3.25rem, 1.5rem + 6.5vw, 7.5rem);

  --margin: clamp(1.25rem, 5.5vw, 5.5rem);
  --gutter: clamp(1rem, 1.8vw, 1.75rem);
  --section: clamp(6rem, 11vw, 11.5rem);
  --radius: 12px;
  --radius-sm: 8px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
  --stagger-line: 110ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 5rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--bg);
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- type & helpers ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  text-wrap: balance;
  hyphens: none;
}
.display {
  font-size: var(--step-display);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.head {
  font-size: var(--step-head);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
.nums { font-variant-numeric: tabular-nums; }
p { max-width: 60ch; text-wrap: pretty; }

.wrap { padding-inline: var(--margin); }
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.section { padding-block: calc(var(--section) * 0.72); }

.page-sheet {
  position: relative;
  z-index: 2;
  background: var(--bg);
}

/* ---------- controls ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.6rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
  font-size: var(--step-body);
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); }
}

.link {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.07em;
  transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
.link-plain {
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.07em;
  transition: opacity var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { text-decoration-color: currentColor; }
  .link-plain:hover { opacity: 0.7; }
}

.field {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.85rem;
  background: var(--surface);
  border: 0;
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--ink);
}

/* ---------- HERO: Stepped title, two photographs ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: var(--step-body);
  background: var(--accent);
  color: var(--accent-ink);
  padding-block: 0.95rem;
}
.topbar__links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.topbar__brand {
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.topbar__action {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.topbar__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}
.wa-icon {
  flex-shrink: 0;
  color: currentColor;
}
.topbar__book {
  font-weight: 500;
}

.hero {
  min-height: calc(100svh - 3.5rem);
  display: flex;
  flex-direction: column;
  padding-top: clamp(1.5rem, 3vh, 2.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  overflow-x: clip;
}

.hero__stage {
  flex: 1;
  align-content: start;
  row-gap: 0;
  padding-top: clamp(0.5rem, 2vh, 1.75rem);
}

.hero__photo-top {
  grid-column: 9 / 13;
  grid-row: 1;
  aspect-ratio: 16 / 10;
  overflow: clip;
  border-radius: var(--radius);
  margin-bottom: clamp(1rem, 2.2vh, 1.75rem);
}
.hero__photo-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__title {
  grid-column: 1 / 13;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  margin-top: -0.12em;
  position: relative;
  z-index: 2;
}
.hero__line-1 {
  grid-column: 2 / 10;
}
.hero__line-2 {
  grid-column: 6 / 13;
}

.hero__photo-left {
  grid-column: 2 / 6;
  grid-row: 3;
  aspect-ratio: 4 / 5;
  overflow: clip;
  border-radius: var(--radius);
  margin-top: clamp(-3.2rem, -5.5vw, -1.2rem);
}
.hero__photo-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__copy {
  grid-column: 6 / 12;
  grid-row: 3;
  align-self: start;
  padding-top: clamp(1.5rem, 3vw, 2.75rem);
}
.hero__lead {
  font-size: var(--step-lead);
  line-height: 1.35;
  color: var(--ink);
  max-width: 34ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-top: 1.75rem;
}
.hero__secondary {
  font-size: var(--step-body);
  font-weight: 500;
}

/* ---------- SECTION 1: intro — Right-half paragraph, lone photo ---------- */
.intro {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}
.intro__grid {
  align-items: start;
}
.intro__heading {
  grid-column: 7 / 13;
  grid-row: 1;
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1rem;
}
.intro__statement {
  grid-column: 7 / 13;
  grid-row: 2;
  font-size: var(--step-lead);
  line-height: 1.32;
  text-indent: 2.2em;
  max-width: 36ch;
}
.intro__body {
  grid-column: 7 / 13;
  grid-row: 3;
  font-size: var(--step-body);
  line-height: 1.55;
  margin-top: 1.5rem;
  max-width: 46ch;
}
.intro__photo {
  grid-column: 1 / 6;
  grid-row: 1 / 4;
  aspect-ratio: 4 / 3;
  overflow: clip;
  border-radius: var(--radius);
  margin-top: 0;
}
.intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 78%;
}
.intro__note {
  grid-column: 1 / 5;
  grid-row: 4;
  margin-top: 1.75rem;
  font-size: var(--step-body);
  max-width: 34ch;
}

/* ---------- SECTION 2: gallery — Rising triptych ---------- */
.triptych {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--surface);
  overflow: clip;
}
.triptych__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.triptych__header {
  text-align: center;
  max-width: 44ch;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.triptych__heading {
  margin-bottom: 0.9rem;
}
.triptych__lead {
  font-size: var(--step-body);
  max-width: 42ch;
  margin-inline: auto;
}
.triptych__frames {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.65fr 1fr;
  gap: clamp(0.65rem, 1.2vw, 1.25rem);
  align-items: end;
}
.triptych__frame {
  overflow: clip;
  border-radius: var(--radius);
}
.triptych__frame--center {
  aspect-ratio: 4 / 3;
}
.triptych__frame--left,
.triptych__frame--right {
  aspect-ratio: 3 / 4;
  margin-bottom: clamp(0rem, 2vw, 2.5rem);
}
.triptych__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.triptych__extra {
  width: 100%;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
  row-gap: var(--gutter);
}
.triptych__tile {
  overflow: clip;
  border-radius: var(--radius);
}
.triptych__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.triptych__tile--balcony {
  grid-column: 1 / 4;
  aspect-ratio: 3 / 4;
}
.triptych__tile--bath {
  grid-column: 4 / 7;
  aspect-ratio: 3 / 4;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.triptych__tile--coast {
  grid-column: 7 / 11;
  aspect-ratio: 16 / 10;
  margin-top: clamp(0.75rem, 1.5vw, 1.5rem);
}
.triptych__tile--coffee {
  grid-column: 11 / 13;
  aspect-ratio: 3 / 4;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

/* ---------- SECTION 3: features — One-size name columns ---------- */
.amenities {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}
.amenities__heading {
  grid-column: 1 / 6;
  font-size: var(--step-lead);
  font-weight: 400;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}
.amenities__grid {
  align-items: start;
}
.amenities__col--1 { grid-column: 1 / 4; }
.amenities__col--2 { grid-column: 4 / 7; }
.amenities__col--3 { grid-column: 7 / 10; }
.amenities__detail {
  grid-column: 10 / 13;
  padding-top: 2.35rem;
}

.amenities__group {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.amenities__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.amenities__item {
  font-size: var(--step-body);
  line-height: 1.35;
  color: var(--muted);
  text-align: left;
  transition: color var(--t-hover) ease;
}
.amenities__item.is-active,
.amenities__item:focus-visible {
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .amenities__item:hover { color: var(--ink); }
}

.amenities__detail-label {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.amenities__detail-text {
  font-size: var(--step-body);
  line-height: 1.45;
  max-width: 28ch;
}
.amenities__mobile-summary {
  display: none;
}

/* ---------- SECTION 4: list — Statement, table pushed right + Live Planner ---------- */
.stay {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4.5rem, 7.5vw, 6.5rem);
  background: var(--surface);
}
.stay__heading {
  grid-column: 1 / 13;
  font-size: var(--step-head);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-indent: 3vw;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.stay__body {
  align-items: start;
}
.stay__left {
  grid-column: 1 / 6;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.planner {
  background: var(--bg);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.planner__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.planner__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.planner__guests {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.25rem;
}
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  padding: 0.25rem;
  border-radius: var(--radius);
}
.stepper__btn {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.stepper__btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .stepper__btn:hover { background: var(--field-2); }
}
.stepper__val {
  min-width: 2rem;
  text-align: center;
  font-weight: 500;
}
.planner__fit {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.planner__setup {
  font-size: var(--step-body);
  color: var(--ink);
}
.planner__cta {
  width: 100%;
}
.planner__direct {
  font-size: var(--step-body);
  color: var(--ink);
  margin-top: 0.25rem;
}

.stay__photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: clip;
  border-radius: var(--radius);
}
.stay__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stay__tag {
  grid-column: 7 / 8;
  padding-top: 0.15rem;
}
.stay__table {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.stay__row {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 1.25fr;
  column-gap: 1rem;
  align-items: baseline;
  font-size: var(--step-body);
  line-height: 1.4;
}
.stay__row--group {
  margin-top: 1.75rem;
}
.stay__val {
  text-align: right;
}

/* ---------- REVIEWS (Real Google Business Profile quotes) ---------- */
.reviews {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: var(--bg);
}
.reviews__grid {
  align-items: start;
  row-gap: 2.5rem;
}
.reviews__intro {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reviews__score {
  font-size: var(--step-body);
  color: var(--ink);
  max-width: 30ch;
}
.reviews__link {
  font-size: var(--step-body);
  font-weight: 500;
}
.reviews__quotes {
  grid-column: 6 / 13;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 3.5vw, 3rem);
}
.review {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review__text {
  font-size: var(--step-body);
  line-height: 1.55;
  color: var(--ink);
}
.review__author {
  font-size: var(--step-small);
}

/* ---------- FAQ (Search-friendly accordion) ---------- */
.faq {
  padding-block: clamp(4rem, 7.5vw, 6.5rem);
  background: var(--surface);
}
.faq__grid {
  align-items: start;
  row-gap: 2rem;
}
.faq__intro {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.faq__lead {
  font-size: var(--step-body);
  color: var(--ink);
  max-width: 30ch;
}
.faq__prompts {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.faq__prompts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.faq__prompt {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 0.9rem;
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius);
  font-size: var(--step-small);
  font-weight: 500;
  text-decoration: none;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.faq__prompt:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .faq__prompt:hover {
    background: var(--accent);
    color: var(--accent-ink);
  }
}
.faq__list {
  grid-column: 6 / 13;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq__item {
  background: var(--bg);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
}
.faq__q {
  font-size: var(--step-body);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 2rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  font-weight: 300;
  font-size: var(--step-lead);
  flex-shrink: 0;
  transition: transform var(--t-ui) var(--ease-out);
}
.faq__item[open] .faq__q::after {
  content: '−';
}
.faq__a {
  margin-top: 0.75rem;
  font-size: var(--step-body);
  line-height: 1.55;
  color: var(--ink);
}

/* ---------- SECTION 5: cta — Last photograph, text beside (full-bleed) ---------- */
.closing {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: end;
  background: var(--field-1);
  color: var(--field-1-ink);
  overflow: clip;
}
.closing__media {
  position: absolute;
  inset: 0;
  margin: 0;
}
.closing__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: brightness(0.72);
}
.closing__scrim {
  position: absolute;
  inset: 0;
  background: rgba(13, 21, 38, 0.32);
  pointer-events: none;
}
.closing__content {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
}
.closing__box {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
.closing__heading {
  font-size: var(--step-head);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--field-1-ink);
}
.closing__text {
  font-size: var(--step-body);
  line-height: 1.5;
  color: var(--field-1-ink);
  max-width: 38ch;
}
.closing__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}
.closing__button {
  background: var(--accent);
  color: var(--accent-ink);
}
.closing__secondary {
  color: var(--field-1-ink);
  font-size: var(--step-body);
  font-weight: 500;
}
@media (hover: hover) and (pointer: fine) {
  .closing__button:hover {
    background: var(--bg);
    color: var(--ink);
  }
}

/* ---------- SECTION 6: footer — Columns above, wordmark below ---------- */
.site-footer {
  background: var(--field-1);
  color: var(--field-1-ink);
  display: grid;
  grid-template-rows: auto auto;
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: 2.25rem;
}
.footer__top {
  row-gap: 2rem;
}
.footer__col {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: var(--step-body);
}
.footer__title {
  color: var(--field-1-ink);
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.footer__item {
  color: var(--field-1-muted);
}

.footer__bottom {
  grid-row: 2;
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.footer__wordmark {
  width: 100%;
  height: auto;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.footer__wordmark--narrow { display: none; }
.footer__legal {
  color: var(--field-1-muted);
  max-width: 60ch;
}

/* ---------- MOTION LAYER ---------- */
.lines .line {
  display: block;
  overflow: clip;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.lines [data-line] { display: block; }
.shutter { overflow: clip; }

@media (prefers-reduced-motion: no-preference) {
  /* Signature move: Masked line reveal on load */
  .js .hero [data-line] {
    transform: translateY(105%);
    animation: line-up 900ms var(--ease-expo) forwards;
    animation-delay: calc(120ms + var(--i) * var(--stagger-line));
  }
  .js .hero [data-load] {
    opacity: 0;
    transform: translateY(14px);
    animation: load-rise 600ms var(--ease-out) forwards;
    animation-delay: var(--d, 400ms);
  }
  .js .hero [data-open] {
    clip-path: inset(0 0 100% 0);
    animation: load-open 1000ms var(--ease-in-out) 160ms forwards;
  }
  .js .hero [data-open] img {
    transform: scale(1.07);
    animation: load-settle 1150ms var(--ease-expo) 120ms forwards;
  }

  /* Scroll reveals */
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms var(--ease-out), transform 850ms var(--ease-expo);
  }
  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
  .js .shutter[data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1050ms var(--ease-in-out);
  }
  .js .shutter[data-reveal] img {
    transform: scale(1.1);
    transition: transform 1400ms var(--ease-soft);
  }
  .js .shutter[data-reveal].is-in {
    clip-path: inset(0);
  }
  .js .shutter[data-reveal].is-in img {
    transform: none;
  }

  /* Moving pictures on scroll (subtle vertical drift within triptych frames) */
  @supports (animation-timeline: view()) {
    .triptych__frame--center img {
      transform: scale(1.08);
      animation: triptych-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    .triptych__frame--left img,
    .triptych__frame--right img {
      transform: scale(1.08);
      animation: triptych-drift-alt linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}

@keyframes line-up { to { transform: none; } }
@keyframes load-rise { to { opacity: 1; transform: none; } }
@keyframes load-open { to { clip-path: inset(0); } }
@keyframes load-settle { to { transform: none; } }
@keyframes triptych-drift {
  from { transform: translateY(-4%) scale(1.08); }
  to { transform: translateY(4%) scale(1.08); }
}
@keyframes triptych-drift-alt {
  from { transform: translateY(4%) scale(1.08); }
  to { transform: translateY(-4%) scale(1.08); }
}

/* ---------- TABLET (<= 960px) ---------- */
@media (max-width: 960px) {
  .hero__photo-top { grid-column: 8 / 13; }
  .hero__line-1 { grid-column: 1 / 11; }
  .hero__line-2 { grid-column: 4 / 13; }
  .hero__photo-left { grid-column: 1 / 6; margin-top: 1rem; }
  .hero__copy { grid-column: 6 / 13; }

  .intro__heading,
  .intro__statement,
  .intro__body { grid-column: 6 / 13; }
  .intro__photo { grid-column: 1 / 5; }
  .intro__note { grid-column: 1 / 5; }

  .amenities__col--1 { grid-column: 1 / 5; }
  .amenities__col--2 { grid-column: 5 / 9; }
  .amenities__col--3 { grid-column: 9 / 13; }
  .amenities__detail {
    grid-column: 1 / 10;
    padding-top: 2rem;
  }

  .stay__left { grid-column: 1 / 6; }
  .stay__tag { display: none; }
  .stay__table { grid-column: 7 / 13; }

  .reviews__intro { grid-column: 1 / 13; }
  .reviews__quotes { grid-column: 1 / 13; }
  .faq__intro { grid-column: 1 / 13; }
  .faq__list { grid-column: 1 / 13; }

  .closing__box { grid-column: 5 / 13; }
  .footer__col { grid-column: span 6; }
}

/* ---------- PHONE (<= 640px) — Mobile-native hospitality experience ---------- */
@media (max-width: 640px) {
  :root {
    --margin: 1.25rem;
    --gutter: 0.75rem;
    --step-display: 13.5vw;
  }

  /* Native-feeling sticky gold header with safe-area support & 44px tap targets */
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
    padding-top: max(0.65rem, env(safe-area-inset-top));
    padding-bottom: 0.65rem;
    padding-inline: max(1.25rem, env(safe-area-inset-left)) max(1.25rem, env(safe-area-inset-right));
  }
  .topbar__links { display: none; }
  .topbar__brand {
    justify-self: start;
    font-size: var(--step-body);
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
  }
  .topbar__action { gap: 0.5rem; }
  .topbar__wa {
    min-width: 2.75rem;
    min-height: 2.75rem;
    justify-content: center;
  }
  .topbar__wa-label { display: none; }
  .topbar__book {
    min-height: 2.75rem;
    padding-inline: 0.85rem;
    background: var(--ink);
    color: var(--bg);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: var(--step-small);
  }

  /* Confident full-width mobile hero */
  .hero {
    min-height: auto;
    padding-top: 1.5rem;
    padding-bottom: 2.75rem;
  }
  .hero__stage {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0;
  }
  .hero__photo-top {
    order: 2;
    width: 100%;
    aspect-ratio: 16 / 10;
    margin-top: 1.25rem;
    margin-bottom: 0;
  }
  .hero__title {
    order: 1;
    display: block;
    margin-top: 0;
  }
  .hero__line-2 { padding-left: 14vw; }
  .hero__photo-left { display: none; }
  .hero__copy {
    order: 3;
    padding-top: 1.35rem;
  }
  .hero__lead {
    font-size: var(--step-lead);
    line-height: 1.38;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-top: 1.35rem;
  }
  .hero__actions .button {
    width: 100%;
    min-height: 3.35rem;
  }
  .hero__secondary {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Intro on phone: crisp editorial flow + full-width dining photo */
  .intro {
    padding-top: 3rem;
    padding-bottom: 3.25rem;
  }
  .intro__grid { display: flex; flex-direction: column; }
  .intro__heading { margin-bottom: 0.75rem; }
  .intro__statement {
    text-indent: 0;
    font-size: var(--step-lead);
    line-height: 1.35;
  }
  .intro__body {
    margin-top: 1rem;
    margin-bottom: 1.75rem;
  }
  .intro__photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-top: 0;
  }
  .intro__note {
    margin-top: 1rem;
    max-width: 100%;
    color: var(--muted);
  }

  /* Rooms gallery on phone: native horizontal swipeable carousel + balanced highlight grid */
  .triptych {
    padding-block: 3.25rem;
  }
  .triptych__header {
    text-align: left;
    align-self: stretch;
    margin-bottom: 1.75rem;
  }
  .triptych__lead { margin-inline: 0; }
  .triptych__frames {
    display: flex;
    gap: 0.75rem;
    width: calc(100% + var(--margin) * 2);
    margin-inline: calc(var(--margin) * -1);
    padding-inline: var(--margin);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--margin);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .triptych__frames::-webkit-scrollbar { display: none; }
  .triptych__frame {
    flex: 0 0 82vw;
    scroll-snap-align: start;
    margin-bottom: 0;
  }
  .triptych__frame--left,
  .triptych__frame--center,
  .triptych__frame--right {
    aspect-ratio: 4 / 3;
  }

  .triptych__extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 1rem;
  }
  .triptych__tile--balcony,
  .triptych__tile--bath,
  .triptych__tile--coast,
  .triptych__tile--coffee {
    grid-column: auto;
    margin-top: 0;
    width: 100%;
    justify-self: stretch;
  }
  .triptych__tile--balcony,
  .triptych__tile--bath {
    aspect-ratio: 3 / 4;
  }
  .triptych__tile--coast {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
  .triptych__tile--coffee {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }

  /* Amenities on phone: scannable surface blocks with 2-column grid */
  .amenities {
    padding-block: 3.25rem;
  }
  .amenities__heading {
    margin-bottom: 1.5rem;
  }
  .amenities__grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .amenities__col {
    background: var(--surface);
    padding: 1.25rem;
    border-radius: var(--radius);
  }
  .amenities__group {
    margin-bottom: 0.85rem;
  }
  .amenities__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 0.85rem;
  }
  .amenities__item {
    font-size: var(--step-small);
    line-height: 1.35;
    color: var(--ink);
  }
  .amenities__detail { display: none; }
  .amenities__mobile-summary {
    display: block;
    margin-top: 1rem;
    font-size: var(--step-small);
  }

  /* Stay planner & scannable specification rows on phone */
  .stay {
    padding-top: 3.25rem;
    padding-bottom: 3.5rem;
  }
  .stay__heading {
    text-indent: 0;
    font-size: var(--step-head);
    margin-bottom: 1.75rem;
  }
  .stay__body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .planner {
    padding: 1.35rem;
    gap: 1.15rem;
  }
  .planner__row {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
  .planner__field { min-width: 0; }
  .field {
    min-height: 3rem;
    padding: 0.6rem 0.65rem;
    font-size: var(--step-small);
  }
  .stepper__btn {
    width: 2.75rem;
    height: 2.75rem;
  }
  .planner__cta { min-height: 3.35rem; }
  .planner__direct {
    font-size: var(--step-small);
    line-height: 1.5;
  }
  .stay__photo {
    width: 100%;
    aspect-ratio: 16 / 10;
    align-self: stretch;
  }

  /* Clean mobile key-value list cards (fixes crowded iPhone layout) */
  .stay__table {
    width: 100%;
    gap: 0.55rem;
  }
  .stay__row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.2rem 1rem;
    background: var(--bg);
    padding: 0.9rem 1rem;
    border-radius: var(--radius);
  }
  .stay__row--group {
    margin-top: 0.85rem;
  }
  .stay__kind {
    width: 100%;
    font-size: var(--step-small);
    line-height: 1.25;
  }
  .stay__place {
    font-weight: 500;
    font-size: var(--step-body);
    line-height: 1.35;
  }
  .stay__val {
    text-align: right;
    font-size: var(--step-body);
    line-height: 1.35;
    margin-left: auto;
  }
  .stay__val a {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    font-weight: 500;
  }

  /* Reviews on phone */
  .reviews {
    padding-block: 3.25rem;
  }
  .reviews__grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }
  .reviews__quotes {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .review {
    background: var(--surface);
    padding: 1.25rem;
    gap: 0.75rem;
    border-radius: var(--radius);
  }

  /* FAQ on phone */
  .faq { padding-block: 3.25rem; }
  .faq__grid { display: flex; flex-direction: column; gap: 1.5rem; }
  .faq__item { padding: 1rem 1.1rem; }
  .faq__q { min-height: 2.75rem; }

  /* Closing sunset banner on phone */
  .closing {
    display: block;
    min-height: auto;
  }
  .closing__media {
    position: relative;
    height: 46svh;
  }
  .closing__media img { filter: none; }
  .closing__scrim { display: none; }
  .closing__content {
    display: block;
    padding-top: 2rem;
    padding-bottom: 2.75rem;
    background: var(--field-1);
  }
  .closing__heading { font-size: var(--step-head); }
  .closing__actions { flex-direction: column; align-items: stretch; gap: 0.9rem; width: 100%; }
  .closing__button {
    width: 100%;
    min-height: 3.35rem;
  }
  .closing__secondary {
    text-align: center;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Footer on phone with safe-area bottom clearance */
  .site-footer {
    padding-top: 2.75rem;
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1rem;
  }
  .footer__col {
    grid-column: span 1;
    gap: 0.55rem;
  }
  .footer__bottom { padding-top: 3rem; }
  .footer__wordmark--wide { display: none; }
  .footer__wordmark--narrow { display: block; }
}
