/* FlowStay visual experience: property imagery, room collection, and lightbox. */

:root {
  --forest: #28382f;
  --moss: #68715c;
  --sand: #d9c8ae;
  --charcoal: #171512;
}

body.is-lightbox-open {
  overflow: hidden;
}

.image-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 253, 249, 0.76);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.image-note::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

/* Homepage hero */
.visual-hero {
  position: relative;
  min-height: clamp(680px, 88svh, 960px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: #171512;
}

.visual-hero-media,
.visual-hero-media::after {
  position: absolute;
  inset: 0;
}

.visual-hero-media {
  z-index: -2;
}

.visual-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transform: scale(1.015);
  animation: hero-settle 1.7s cubic-bezier(.2,.7,.2,1) both;
}

.visual-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 13, 10, 0.78) 0%, rgba(15, 13, 10, 0.42) 48%, rgba(15, 13, 10, 0.13) 76%),
    linear-gradient(0deg, rgba(15, 13, 10, 0.78) 0%, transparent 52%),
    linear-gradient(180deg, rgba(15, 13, 10, 0.24) 0%, transparent 30%);
}

.visual-hero-content {
  width: 100%;
  padding: clamp(86px, 11vw, 154px) 0 0;
}

.visual-hero-copy {
  max-width: 780px;
  padding-bottom: clamp(52px, 7vw, 92px);
}

.hero-mark {
  width: 76px;
  height: 76px;
  margin-bottom: clamp(28px, 4vw, 48px);
  border-radius: 50%;
  box-shadow: 0 16px 42px rgba(0,0,0,.24);
}

.visual-hero .eyebrow {
  color: #ead8b9;
}

.visual-hero h1 {
  max-width: 760px;
  margin: 14px 0 24px;
  color: var(--white);
  font-size: clamp(3.25rem, 7.2vw, 7.2rem);
  line-height: 1.08;
  letter-spacing: .035em;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0,0,0,.22);
}

.visual-hero-lead {
  max-width: 610px;
  margin-bottom: 32px;
  color: rgba(255, 253, 249, 0.84);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.9;
}

.visual-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.visual-hero .btn-primary {
  color: var(--brown-dark);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}

.visual-hero .btn-primary:hover {
  color: var(--white);
  background: var(--brown);
}

.visual-hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,.44);
  background: rgba(20,16,12,.18);
  backdrop-filter: blur(10px);
}

.visual-hero .btn-secondary:hover {
  color: var(--brown-dark);
  background: var(--white);
}

.visual-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.2);
  background: rgba(18,15,11,.22);
  backdrop-filter: blur(12px);
}

.visual-hero-facts > div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 22px clamp(18px, 3vw, 38px);
  border-right: 1px solid rgba(255,255,255,.16);
}

.visual-hero-facts > div:last-child {
  border-right: 0;
}

.visual-hero-facts span {
  color: rgba(255,255,255,.58);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.visual-hero-facts strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  font-weight: 500;
}

@keyframes hero-settle {
  from { opacity: .62; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.015); }
}

/* Introduction */
.home-intro {
  overflow: hidden;
}

.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.home-intro-copy h2 {
  max-width: 620px;
  margin: 12px 0 28px;
  color: var(--brown-dark);
  font-size: clamp(2.45rem, 5vw, 5.1rem);
}

.home-intro-copy > p:not(.eyebrow) {
  max-width: 610px;
  font-size: 1.05rem;
}

.home-intro-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.home-intro-meta div {
  padding: 18px 0;
  border-top: 1px solid var(--line-strong);
}

.home-intro-meta span {
  display: block;
  color: var(--brown);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.home-intro-meta strong {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 500;
}

.home-intro-visual {
  position: relative;
  min-height: 640px;
}

.home-intro-visual::before {
  content: "";
  position: absolute;
  top: -32px;
  right: -8%;
  width: 62%;
  height: 86%;
  border-radius: 48% 48% 8% 8%;
  background: var(--cream-2);
}

.home-intro-visual picture:first-child img {
  position: absolute;
  z-index: 1;
  inset: 0 8% 70px 0;
  width: 82%;
  height: calc(100% - 70px);
  object-fit: cover;
  border-radius: 240px 240px 24px 24px;
  box-shadow: var(--shadow-lg);
}

.home-intro-visual picture:nth-child(2) img {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 45%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 9px solid var(--paper);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.render-label {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  background: rgba(20,16,12,.62);
  font-size: .67rem;
  letter-spacing: .08em;
  backdrop-filter: blur(8px);
}

/* Room collection */
.room-collection {
  overflow: hidden;
}

.room-collection-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 44px;
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 74px);
}

.room-collection-heading h2 {
  margin: 10px 0 0;
  color: var(--brown-dark);
}

.room-collection-heading > p {
  margin: 0;
}

.room-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.room-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 20px;
  background: #302b25;
  box-shadow: 0 20px 54px rgba(54,42,28,.12);
}

.room-card picture,
.room-card picture img {
  width: 100%;
  height: 100%;
}

.room-card img {
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}

.room-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15,12,9,.86) 0%, rgba(15,12,9,.14) 62%, transparent 100%);
  pointer-events: none;
}

.room-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.room-card-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 30px 30px;
  color: var(--white);
}

.room-card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.67);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.room-card h3 {
  margin: 0 0 9px;
  color: var(--white);
  font-size: clamp(1.65rem, 2.6vw, 2.4rem);
}

.room-card p {
  min-height: 52px;
  margin: 0 0 22px;
  color: rgba(255,255,255,.76);
  font-size: .9rem;
  line-height: 1.7;
}

.room-card-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.room-card-actions a {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255,255,255,.52);
}

.room-card-actions a:hover {
  border-color: var(--white);
}

.room-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.room-disclaimer::before {
  content: "i";
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brown);
  font-family: Georgia, serif;
  font-size: .72rem;
}

/* Shared spaces collage */
.shared-spaces {
  color: var(--white);
  background: #2d2823;
}

.shared-spaces .eyebrow {
  color: #d8bf98;
}

.shared-spaces h2,
.shared-spaces h3 {
  color: var(--white);
}

.shared-spaces p {
  color: rgba(255,255,255,.68);
}

.shared-heading {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.shared-heading h2 {
  margin: 10px 0 0;
}

.shared-mosaic {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: repeat(2, minmax(240px, 360px));
  gap: 14px;
}

.shared-shot {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #191714;
  cursor: zoom-in;
}

.shared-shot:first-child {
  grid-row: 1 / 3;
}

.shared-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.shared-shot:hover img {
  transform: scale(1.035);
}

.shared-shot span {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(12,10,8,.52);
  font-size: .66rem;
  letter-spacing: .08em;
  backdrop-filter: blur(7px);
}

.shared-spaces-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
}

.shared-spaces-actions p {
  max-width: 700px;
  margin: 0;
  font-size: .84rem;
}

.shared-spaces .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.04);
}

.shared-spaces .btn-secondary:hover {
  color: var(--brown-dark);
  background: var(--white);
}

/* Exterior horizontal gallery */
.exterior-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 12px;
  background: var(--cream);
}

.exterior-strip button {
  position: relative;
  min-height: 320px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: #ddd;
  cursor: zoom-in;
}

.exterior-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}

.exterior-strip button:hover img {
  transform: scale(1.04);
}

/* Rooms page */
.rooms-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: #201c18;
}

.rooms-hero picture,
.rooms-hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rooms-hero picture {
  z-index: -2;
}

.rooms-hero img {
  object-fit: cover;
  object-position: center 55%;
}

.rooms-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,14,11,.8), rgba(17,14,11,.18) 72%), linear-gradient(0deg, rgba(17,14,11,.72), transparent 64%);
}

.rooms-hero-copy {
  max-width: 780px;
  padding: 130px 0 70px;
}

.rooms-hero .eyebrow {
  color: #e3cda9;
}

.rooms-hero h1 {
  margin: 12px 0 22px;
  color: var(--white);
  font-size: clamp(3.5rem, 7vw, 7rem);
}

.rooms-hero p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
}

.room-jump-nav {
  position: sticky;
  z-index: 45;
  top: 84px;
  border-bottom: 1px solid var(--line);
  background: rgba(251,248,243,.94);
  backdrop-filter: blur(18px);
}

.room-jump-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.room-jump-inner::-webkit-scrollbar {
  display: none;
}

.room-jump-inner a {
  min-width: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brown-dark);
  font-size: .76rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.room-jump-inner a:hover,
.room-jump-inner a:focus-visible {
  color: var(--white);
  border-color: var(--brown);
  background: var(--brown);
}

.room-page-intro {
  padding-bottom: 0;
}

.room-page-intro-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(40px, 8vw, 120px);
}

.room-page-intro h2 {
  margin: 10px 0 0;
  color: var(--brown-dark);
}

.room-page-intro-copy p:first-child {
  color: var(--brown-dark);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
  line-height: 1.55;
}

.room-section {
  scroll-margin-top: 160px;
  padding-block: clamp(84px, 10vw, 148px);
  border-bottom: 1px solid var(--line);
}

.room-section:nth-of-type(even) {
  background: var(--cream);
}

.room-section-header {
  display: grid;
  grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: end;
  margin-bottom: 42px;
}

.room-section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--brown);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .22em;
}

.room-section-label::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.room-section h2 {
  margin: 10px 0 0;
  color: var(--brown-dark);
}

.room-section-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}

.room-section-summary p {
  max-width: 710px;
  margin: 0;
  font-size: 1rem;
}

.room-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 170px;
  gap: 12px;
}

.room-gallery-item {
  position: relative;
  grid-column: span 4;
  grid-row: span 2;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #ded8d0;
  cursor: zoom-in;
}

.room-gallery-item:first-child {
  grid-column: span 8;
  grid-row: span 3;
}

.room-gallery-item:nth-child(2) {
  grid-column: span 4;
  grid-row: span 3;
}

.room-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .3s ease;
}

.room-gallery-item:hover img {
  transform: scale(1.035);
  filter: saturate(1.03);
}

.room-gallery-item::after {
  content: "＋";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(24,20,16,.54);
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(8px);
}

.room-gallery-item:hover::after,
.room-gallery-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.room-gallery[data-count="2"] .room-gallery-item {
  grid-column: span 6;
  grid-row: span 3;
}

.room-gallery[data-count="3"] .room-gallery-item:first-child {
  grid-column: span 7;
}

.room-gallery[data-count="3"] .room-gallery-item:nth-child(2),
.room-gallery[data-count="3"] .room-gallery-item:nth-child(3) {
  grid-column: span 5;
  grid-row: span 1.5;
}

.room-gallery[data-count="4"] .room-gallery-item:first-child {
  grid-column: span 7;
}

.room-gallery[data-count="4"] .room-gallery-item:not(:first-child) {
  grid-column: span 5;
  grid-row: span 1;
}

.property-gallery-section {
  background: #29241f;
  color: var(--white);
}

.property-gallery-section h2,
.property-gallery-section h3 {
  color: var(--white);
}

.property-gallery-section p {
  color: rgba(255,255,255,.68);
}

.property-gallery-section .room-section-label,
.property-gallery-section .eyebrow {
  color: #d9c09b;
}

.property-gallery-section .room-gallery-item {
  background: #171512;
}

/* Accessible image lightbox */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--white);
  background: rgba(14,12,10,.97);
}

.lightbox::backdrop {
  background: rgba(14,12,10,.96);
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.lightbox-toolbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.lightbox-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.75);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
}

.lightbox-brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.lightbox-close,
.lightbox-nav {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.lightbox-close {
  width: 44px;
  height: 44px;
  font-size: 1.35rem;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.1);
}

.lightbox-stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 28px 88px;
}

.lightbox-image {
  max-width: min(1500px, 100%);
  max-height: calc(100dvh - 180px);
  object-fit: contain;
  box-shadow: 0 30px 100px rgba(0,0,0,.42);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

.lightbox-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 26px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.lightbox-caption {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: .86rem;
}

.lightbox-counter {
  flex: 0 0 auto;
  color: rgba(255,255,255,.52);
  font-size: .72rem;
  letter-spacing: .12em;
}

/* Header polish over image-led pages */
.home-page .site-header:not(.is-scrolled) {
  background: rgba(251,248,243,.88);
}

.site-nav a[aria-current="page"]::after {
  transform: scaleX(1) !important;
}

/* Responsive */
@media (max-width: 1080px) {
  .room-card-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .home-intro-grid,
  .shared-heading,
  .room-page-intro-grid,
  .room-section-header {
    grid-template-columns: 1fr;
  }

  .home-intro-visual {
    min-height: 610px;
  }

  .room-section-summary {
    grid-template-columns: 1fr;
  }

  .room-section-summary .btn {
    width: fit-content;
  }

  .exterior-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .visual-hero {
    min-height: 760px;
  }

  .visual-hero::before {
    background:
      linear-gradient(90deg, rgba(15,13,10,.66), rgba(15,13,10,.16)),
      linear-gradient(0deg, rgba(15,13,10,.88) 0%, rgba(15,13,10,.24) 72%);
  }

  .visual-hero-media img {
    object-position: 58% center;
  }

  .visual-hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .visual-hero-facts > div:nth-child(2) {
    border-right: 0;
  }

  .visual-hero-facts > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.16);
  }

  .room-collection-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .shared-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 420px 260px;
  }

  .shared-shot:first-child {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .room-gallery {
    grid-auto-rows: 150px;
  }

  .room-gallery-item:first-child,
  .room-gallery-item:nth-child(2),
  .room-gallery[data-count="2"] .room-gallery-item,
  .room-gallery[data-count="3"] .room-gallery-item:first-child,
  .room-gallery[data-count="3"] .room-gallery-item:nth-child(2),
  .room-gallery[data-count="3"] .room-gallery-item:nth-child(3),
  .room-gallery[data-count="4"] .room-gallery-item:first-child,
  .room-gallery[data-count="4"] .room-gallery-item:not(:first-child) {
    grid-column: span 6;
    grid-row: span 2;
  }

  .room-jump-nav {
    top: 76px;
  }
}

@media (max-width: 620px) {
  .visual-hero {
    min-height: 790px;
  }

  .visual-hero-content {
    padding-top: 78px;
  }

  .visual-hero-copy {
    padding-bottom: 38px;
  }

  .hero-mark {
    width: 62px;
    height: 62px;
    margin-bottom: 26px;
  }

  .visual-hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .visual-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .visual-hero-actions .btn {
    width: 100%;
  }

  .visual-hero-facts > div {
    min-height: 92px;
    padding: 16px 14px;
  }

  .home-intro-visual {
    min-height: 455px;
  }

  .home-intro-visual picture:first-child img {
    inset: 0 4% 52px 0;
    width: 90%;
    height: calc(100% - 52px);
    border-radius: 120px 120px 18px 18px;
  }

  .home-intro-visual picture:nth-child(2) img {
    width: 52%;
    border-width: 6px;
  }

  .home-intro-meta,
  .room-card-grid {
    grid-template-columns: 1fr;
  }

  .room-card {
    min-height: 480px;
  }

  .shared-mosaic {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 300px);
  }

  .shared-shot:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .exterior-strip {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .exterior-strip button {
    min-height: 270px;
  }

  .rooms-hero {
    min-height: 520px;
  }

  .rooms-hero-copy {
    padding: 90px 0 46px;
  }

  .rooms-hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .room-jump-nav {
    top: 72px;
  }

  .room-jump-inner {
    min-height: 56px;
  }

  .room-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .room-gallery-item,
  .room-gallery-item:first-child,
  .room-gallery-item:nth-child(2),
  .room-gallery[data-count="2"] .room-gallery-item,
  .room-gallery[data-count="3"] .room-gallery-item:first-child,
  .room-gallery[data-count="3"] .room-gallery-item:nth-child(2),
  .room-gallery[data-count="3"] .room-gallery-item:nth-child(3),
  .room-gallery[data-count="4"] .room-gallery-item:first-child,
  .room-gallery[data-count="4"] .room-gallery-item:not(:first-child) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .lightbox-stage {
    padding: 20px 10px 72px;
  }

  .lightbox-image {
    max-height: calc(100dvh - 196px);
  }

  .lightbox-nav {
    top: auto;
    bottom: 12px;
    transform: none;
  }

  .lightbox-prev { left: calc(50% - 62px); }
  .lightbox-next { right: calc(50% - 62px); }

  .lightbox-footer {
    min-height: 74px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Final component refinements */
.room-gallery-item picture {
  width: 100%;
  height: 100%;
}

.room-gallery[data-count="3"] {
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  grid-auto-rows: 220px;
}

.room-gallery[data-count="3"] .room-gallery-item:first-child {
  grid-column: span 7;
  grid-row: 1 / 3;
}

.room-gallery[data-count="3"] .room-gallery-item:nth-child(2),
.room-gallery[data-count="3"] .room-gallery-item:nth-child(3) {
  grid-column: span 5;
  grid-row: span 1;
}

.home-page .care-visual::before {
  inset: 9% -7% -8% 10%;
  border-radius: 46% 46% 18px 18px;
}

.home-page .care-visual picture,
.home-page .care-visual img {
  width: 100%;
}

.home-page .care-visual img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 180px 180px 20px 20px;
}

@media (max-width: 620px) {
  .room-gallery[data-count="3"] {
    display: grid;
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .room-gallery[data-count="3"] .room-gallery-item:first-child,
  .room-gallery[data-count="3"] .room-gallery-item:nth-child(2),
  .room-gallery[data-count="3"] .room-gallery-item:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .visual-hero h1 {
    font-size: clamp(2.85rem, 13vw, 4.2rem);
    line-height: 1.1;
  }

  .floating-line {
    width: 56px;
    height: 56px;
    min-width: 56px;
    padding: 0;
    border-radius: 50%;
  }

  .floating-line strong {
    font-size: 0;
  }

  .floating-line strong::after {
    content: "LINE";
    font-size: .68rem;
    letter-spacing: .05em;
  }

  .room-page-intro h2 {
    font-size: clamp(2.3rem, 12vw, 3.5rem);
  }
}

.visual-hero h1 span {
  display: block;
  white-space: nowrap;
}

.home-page .floating-line {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}

.home-page.has-page-scroll .floating-line {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 620px) {
  .visual-hero h1 {
    font-size: clamp(2.45rem, 11.2vw, 4rem);
    letter-spacing: .015em;
  }
}

/* =========================================================
   LINE-first booking experience · v3
   ========================================================= */

:root {
  --line-green: #06c755;
  --line-green-dark: #05a948;
  --line-green-soft: rgba(6, 199, 85, 0.14);
}

.anchor-alias {
  position: absolute;
  top: -120px;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.announcement-booking .announcement-inner {
  justify-content: space-between;
  min-height: 44px;
  text-align: left;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.announcement-line-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 13px;
  border-radius: 999px;
  color: #fff !important;
  background: var(--line-green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  box-shadow: 0 7px 18px rgba(6, 199, 85, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.announcement-line-cta:hover {
  transform: translateY(-1px);
  background: var(--line-green-dark);
}

.nav-cta.nav-cta-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-color: var(--line-green);
  background: var(--line-green);
  box-shadow: 0 12px 28px rgba(6, 199, 85, 0.22);
}

.nav-cta.nav-cta-line:hover {
  background: var(--line-green-dark);
}

.nav-cta-line > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 22px;
  padding-inline: 7px;
  border-radius: 999px;
  color: var(--line-green-dark);
  background: #fff;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.btn-line {
  color: #fff;
  border-color: var(--line-green);
  background: var(--line-green);
  box-shadow: 0 15px 34px rgba(6, 199, 85, 0.24);
}

.btn-line:hover {
  color: #fff;
  background: var(--line-green-dark);
  box-shadow: 0 19px 42px rgba(6, 199, 85, 0.3);
}

.btn-line-large {
  min-height: 58px;
  padding: 15px 28px;
  font-size: 0.96rem;
}

.btn-line-hero {
  min-height: 56px;
  padding-inline: 26px;
  box-shadow: 0 18px 44px rgba(6, 199, 85, 0.28);
}

.line-mini-mark {
  min-width: 38px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 7px;
  border-radius: 999px;
  color: var(--line-green-dark);
  background: #fff;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.btn-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.btn-ghost-light:hover {
  color: var(--brown-dark);
  background: #fff;
}

/* Main LINE booking block */
.line-booking {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #352513;
}

.line-booking::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(29, 19, 8, 0.96) 0%, rgba(29, 19, 8, 0.86) 48%, rgba(29, 19, 8, 0.58) 100%),
    url("/assets/images/property/lobby/lobby-14-1800.webp") center / cover no-repeat;
  opacity: 0.96;
}

.line-booking::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 199, 85, 0.25), rgba(6, 199, 85, 0) 70%);
  pointer-events: none;
}

.line-booking > .container {
  position: relative;
  z-index: 1;
}

.line-booking-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  align-items: center;
  gap: clamp(54px, 8vw, 112px);
}

.line-booking-copy .eyebrow {
  color: #9df0bd;
}

.line-booking-copy h2 {
  margin: 14px 0 24px;
  color: #fff;
  font-size: clamp(2.8rem, 5.4vw, 5.5rem);
}

.line-booking-lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.95;
}

.line-booking-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.line-official-emphasis {
  width: fit-content;
  margin-top: 28px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.07);
}

.line-official-emphasis .line-official-button {
  padding: 3px;
  border-radius: 8px;
  background: #fff;
}

.line-booking-copy .contact-card {
  max-width: 380px;
}

.line-booking-guide {
  padding: clamp(30px, 4vw, 50px);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 30px;
  color: var(--ink);
  background: rgba(251, 248, 243, 0.97);
  box-shadow: 0 36px 100px rgba(10, 7, 3, 0.34);
  backdrop-filter: blur(18px);
}

.line-booking-guide-head {
  margin-bottom: 26px;
}

.line-booking-guide-head > span,
.booking-template-heading span {
  display: block;
  color: var(--line-green-dark);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.19em;
}

.line-booking-guide-head h3 {
  margin: 8px 0 0;
  color: var(--brown-dark);
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
}

.line-booking-steps {
  display: grid;
  gap: 0;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.line-booking-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.line-booking-steps li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--line-green-dark);
  background: var(--line-green-soft);
  font-size: 0.68rem;
  font-weight: 900;
}

.line-booking-steps strong {
  display: block;
  margin-bottom: 3px;
  color: var(--brown-dark);
  font-family: var(--serif);
  font-size: 1.02rem;
}

.line-booking-steps p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.65;
}

.booking-template-card {
  padding: 20px;
  border: 1px solid rgba(6, 199, 85, 0.24);
  border-radius: 18px;
  background: #fff;
}

.booking-template-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.booking-template-heading strong {
  display: block;
  margin-top: 3px;
  color: var(--brown-dark);
  font-family: var(--serif);
}

.copy-booking-button,
.booking-entry-template button {
  min-width: 84px;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid rgba(6, 199, 85, 0.34);
  border-radius: 999px;
  color: var(--line-green-dark);
  background: var(--line-green-soft);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.copy-booking-button:hover,
.booking-entry-template button:hover {
  transform: translateY(-1px);
  background: rgba(6, 199, 85, 0.22);
}

.booking-template-card pre,
.booking-entry-template pre {
  margin: 18px 0 0;
  padding: 17px;
  overflow: auto;
  border-radius: 12px;
  color: #4d463f;
  background: #f7f4ee;
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.75;
  white-space: pre-wrap;
}

.copy-status,
.booking-entry-template [data-copy-status] {
  min-height: 20px;
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.copy-status.is-success,
.booking-entry-template [data-copy-status].is-success {
  color: var(--line-green-dark);
}

.line-booking-final-link {
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 16px;
  color: #fff;
  background: var(--line-green);
  box-shadow: 0 14px 32px rgba(6, 199, 85, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}

.line-booking-final-link:hover {
  transform: translateY(-2px);
  background: var(--line-green-dark);
}

.line-booking-final-link > span:nth-child(2) {
  display: grid;
}

.line-booking-final-link strong {
  font-size: 0.9rem;
}

.line-booking-final-link small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
}

.line-booking-final-link > span:last-child {
  font-size: 1.2rem;
}

/* Rooms page final CTA */
.line-cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(6, 199, 85, 0.2), transparent 32%),
    var(--brown-dark);
}

.line-cta-band .eyebrow {
  color: #9df0bd;
}

.line-cta-band h2 {
  color: #fff;
}

.line-cta-band p {
  color: rgba(255, 255, 255, 0.72);
}

/* Prominent persistent LINE button */
.floating-line.floating-line-booking,
.home-page .floating-line.floating-line-booking,
.home-page.has-page-scroll .floating-line.floating-line-booking {
  width: auto;
  min-width: 228px;
  height: auto;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 9px 13px 9px 9px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  background: var(--line-green);
  box-shadow: 0 18px 48px rgba(6, 199, 85, 0.36), 0 6px 18px rgba(15, 13, 10, 0.16);
}

.floating-line.floating-line-booking:hover {
  transform: translateY(-3px);
  background: var(--line-green-dark);
}

.floating-line-mark {
  width: 42px;
  height: 42px;
  display: grid !important;
  place-items: center;
  border-radius: 13px;
  color: var(--line-green-dark);
  background: #fff;
  font-size: 0.6rem !important;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em !important;
}

.floating-line-copy {
  display: grid !important;
  gap: 1px;
  min-width: 0;
}

.floating-line-copy strong {
  font-size: 0.88rem;
  line-height: 1.25;
}

.floating-line-copy strong::after {
  content: none !important;
}

.floating-line-copy small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.64rem;
  line-height: 1.3;
}

.floating-line-arrow {
  display: block !important;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem !important;
}

/* Dedicated /booking entry */
.booking-entry-page {
  min-height: 100vh;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(24, 16, 8, 0.9), rgba(24, 16, 8, 0.58)),
    url("/assets/images/property/exterior/property-main-1800.webp") center / cover fixed no-repeat;
}

.booking-entry {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 20px;
}

.booking-entry-card {
  width: min(100%, 700px);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 32px;
  color: var(--ink);
  background: rgba(251, 248, 243, 0.97);
  box-shadow: 0 40px 110px rgba(8, 5, 2, 0.42);
  backdrop-filter: blur(20px);
}

.booking-entry-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 34px;
}

.booking-entry-brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.booking-entry-brand > span {
  display: grid;
  line-height: 1.25;
}

.booking-entry-brand strong {
  font-family: var(--serif);
  letter-spacing: 0.12em;
}

.booking-entry-brand small {
  color: var(--brown);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.booking-entry-copy h1 {
  margin: 10px 0 18px;
  color: var(--brown-dark);
  font-size: clamp(3.2rem, 9vw, 6rem);
}

.booking-entry-copy p {
  margin-bottom: 10px;
}

.booking-entry-copy [data-booking-status] {
  color: var(--line-green-dark);
  font-weight: 800;
}

.booking-entry-line {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  margin: 28px 0 20px;
  padding: 12px 18px;
  border-radius: 18px;
  color: #fff;
  background: var(--line-green);
  box-shadow: 0 18px 42px rgba(6, 199, 85, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.booking-entry-line:hover {
  transform: translateY(-2px);
  background: var(--line-green-dark);
}

.booking-entry-line > span:nth-child(2) {
  display: grid;
}

.booking-entry-line strong {
  font-size: 1rem;
}

.booking-entry-line small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
}

.booking-entry-template {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.booking-entry-template > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.booking-entry-template > div:first-child > strong {
  color: var(--brown-dark);
  font-family: var(--serif);
}

.booking-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 26px;
  color: var(--brown);
  font-size: 0.8rem;
  font-weight: 700;
}

.booking-entry-actions a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 960px) {
  .announcement-booking .announcement-inner {
    justify-content: center;
    text-align: center;
  }

  .line-booking-shell {
    grid-template-columns: 1fr;
  }

  .line-booking-copy {
    max-width: 760px;
  }

  .line-booking-guide {
    width: min(100%, 720px);
  }
}

@media (max-width: 620px) {
  body:has(.floating-line-booking) {
    padding-bottom: 78px;
  }

  .announcement-booking .announcement-inner {
    min-height: 50px;
    gap: 8px;
  }

  .announcement-booking .announcement-inner > span {
    display: none;
  }

  .announcement-actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .announcement-line-cta {
    min-height: 32px;
    padding-inline: 15px;
  }

  .nav-cta.nav-cta-line {
    justify-content: center;
  }

  .visual-hero-actions .btn-line-hero {
    order: -1;
  }

  .btn-line-large,
  .btn-line-hero {
    width: 100%;
  }

  .line-booking-shell {
    gap: 42px;
  }

  .line-booking-copy h2 {
    font-size: clamp(2.6rem, 13vw, 4.1rem);
  }

  .line-booking-primary-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .line-official-emphasis {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .line-booking-guide {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .line-booking-steps li {
    grid-template-columns: 42px 1fr;
    gap: 13px;
  }

  .booking-template-card {
    padding: 16px;
  }

  .booking-template-heading {
    align-items: flex-start;
  }

  .booking-template-card pre,
  .booking-entry-template pre {
    padding: 14px;
    font-size: 0.73rem;
  }

  .floating-line.floating-line-booking,
  .home-page .floating-line.floating-line-booking,
  .home-page.has-page-scroll .floating-line.floating-line-booking {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    min-width: 0;
    height: 62px;
    grid-template-columns: 42px 1fr auto;
    padding: 9px 13px 9px 9px;
    border-radius: 18px;
  }

  .floating-line.floating-line-booking span {
    display: grid;
  }

  .floating-line-copy strong {
    font-size: 0.9rem;
  }

  .floating-line-copy small {
    font-size: 0.65rem;
  }

  .booking-entry {
    align-items: start;
    padding: 22px 14px;
  }

  .booking-entry-card {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .booking-entry-copy h1 {
    font-size: clamp(3.1rem, 17vw, 4.8rem);
  }

  .booking-entry-line {
    grid-template-columns: auto 1fr auto;
    padding: 11px 13px;
  }

  .booking-entry-actions {
    display: grid;
  }
}

.room-card-actions a[data-line-link] {
  color: #9df0bd;
  border-color: rgba(157, 240, 189, 0.7);
}

.room-card-actions a[data-line-link]::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--line-green);
  box-shadow: 0 0 0 4px rgba(6, 199, 85, 0.14);
}

/* =========================================================
   Mobile experience refinements · v4
   A calmer persistent booking affordance and more compact,
   touch-friendly layouts for the image-led pages.
   ========================================================= */

.mobile-swipe-hint,
.mobile-gallery-tip {
  display: none;
}

body.floating-cta-suppressed .floating-line-booking,
body.nav-is-open .floating-line-booking {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(8px) scale(0.98) !important;
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 118px;
  }

  body {
    overflow-x: hidden;
    font-size: 15px;
    line-height: 1.7;
  }

  body:has(.floating-line-booking) {
    padding-bottom: 0;
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .section-pad {
    padding-block: 66px;
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.05rem);
    line-height: 1.2;
  }

  h3 {
    line-height: 1.28;
  }

  .eyebrow,
  .section-label,
  .card-kicker {
    font-size: 0.64rem;
    letter-spacing: 0.2em;
  }

  /* Compact top message: informative rather than promotional. */
  .announcement {
    font-size: 0.64rem;
    letter-spacing: 0.025em;
  }

  .announcement-booking .announcement-inner,
  .announcement-inner {
    min-height: 34px;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
  }

  .announcement-booking .announcement-inner > span,
  .announcement-inner > span {
    display: block;
    max-width: calc(100% - 72px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .announcement-actions {
    width: auto;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 0;
  }

  .announcement-line-cta,
  .announcement-booking .announcement-inner > .announcement-line-cta {
    display: none;
  }

  .announcement-actions > a:not(.announcement-line-cta) {
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.42);
  }

  /* Header and navigation */
  .nav-shell {
    min-height: 64px;
    gap: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
  }

  .brand-copy small {
    margin-top: 2px;
    font-size: 0.51rem;
    letter-spacing: 0.18em;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .site-nav {
    max-height: calc(100svh - 98px);
    overflow-y: auto;
    padding: 8px 18px 18px;
  }

  .site-nav a {
    padding: 11px 3px !important;
  }

  .nav-cta.nav-cta-line {
    min-height: 46px;
    justify-content: center;
    border-color: var(--brown-dark);
    color: #fff;
    background: var(--brown-dark);
    box-shadow: none;
  }

  .nav-cta-line > span {
    color: #fff;
    background: var(--line-green);
  }

  /* Home hero */
  .visual-hero {
    min-height: max(660px, calc(100svh - 98px));
  }

  .visual-hero-content {
    padding-top: 46px;
  }

  .visual-hero-copy {
    padding-bottom: 26px;
  }

  .visual-hero-media img {
    object-position: 61% center;
  }

  .hero-mark {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
  }

  .visual-hero h1 {
    max-width: 100%;
    margin: 10px 0 17px;
    font-size: clamp(2.4rem, 10.8vw, 3.45rem);
    line-height: 1.12;
    letter-spacing: 0.012em;
  }

  .visual-hero h1 span {
    white-space: normal;
  }

  .visual-hero-lead {
    max-width: 34ch;
    margin-bottom: 23px;
    font-size: 0.93rem;
    line-height: 1.74;
  }

  .visual-hero-actions {
    gap: 9px;
    margin-bottom: 17px;
  }

  .visual-hero-actions .btn {
    min-height: 50px;
    padding: 11px 18px;
    font-size: 0.84rem;
  }

  .btn-line-hero {
    box-shadow: 0 12px 30px rgba(6,199,85,.22);
  }

  .image-note {
    max-width: 36ch;
    align-items: flex-start;
    font-size: 0.61rem;
    line-height: 1.55;
    letter-spacing: 0.045em;
  }

  .image-note::before {
    width: 18px;
    margin-top: 0.48em;
  }

  .visual-hero-facts > div {
    min-height: 76px;
    padding: 12px 11px;
  }

  .visual-hero-facts span {
    font-size: 0.53rem;
    letter-spacing: 0.13em;
  }

  .visual-hero-facts strong {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  /* Intro and room collection */
  .home-intro-copy h2 {
    margin-bottom: 20px;
    font-size: clamp(2.25rem, 10.7vw, 3.25rem);
  }

  .home-intro-copy > p:not(.eyebrow) {
    font-size: 0.95rem;
  }

  .home-intro-meta {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0 16px;
    margin-top: 25px;
  }

  .home-intro-meta div {
    padding: 14px 0;
  }

  .home-intro-meta span {
    font-size: 0.56rem;
    letter-spacing: 0.11em;
  }

  .home-intro-meta strong {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .home-intro-visual {
    min-height: 370px;
  }

  .home-intro-visual picture:first-child img {
    inset: 0 5% 44px 0;
    width: 90%;
    height: calc(100% - 44px);
    border-radius: 96px 96px 16px 16px;
  }

  .home-intro-visual picture:nth-child(2) img {
    width: 49%;
    border-width: 5px;
  }

  .room-collection-heading {
    margin-bottom: 24px;
  }

  .room-collection-heading > p {
    font-size: 0.92rem;
  }

  .mobile-swipe-hint,
  .mobile-gallery-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brown-soft);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .mobile-swipe-hint {
    justify-content: flex-end;
    margin: 0 0 14px;
  }

  .mobile-swipe-hint span {
    color: var(--taupe);
  }

  .room-card-grid,
  .shared-mosaic,
  .exterior-strip,
  .room-gallery,
  .room-gallery[data-count="3"] {
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .room-card-grid::-webkit-scrollbar,
  .shared-mosaic::-webkit-scrollbar,
  .exterior-strip::-webkit-scrollbar,
  .room-gallery::-webkit-scrollbar {
    display: none;
  }

  .room-card-grid {
    display: flex;
    gap: 14px;
    margin-inline: -18px;
    padding: 0 18px 12px;
    overflow-x: auto;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
  }

  .room-card {
    min-height: 430px;
    flex: 0 0 min(82vw, 340px);
    border-radius: 18px;
    scroll-snap-align: start;
  }

  .room-card-copy {
    padding: 23px 22px 24px;
  }

  .room-card h3 {
    font-size: 1.85rem;
  }

  .room-card p {
    min-height: 0;
    margin-bottom: 17px;
    font-size: 0.82rem;
    line-height: 1.62;
  }

  .room-card-actions {
    gap: 15px;
    font-size: 0.72rem;
  }

  .room-disclaimer {
    margin-top: 18px;
    font-size: 0.74rem;
    line-height: 1.6;
  }

  /* Image collections become horizontal, snap-based galleries on phones. */
  .shared-heading {
    gap: 16px;
    margin-bottom: 28px;
  }

  .shared-heading h2 {
    font-size: clamp(2.25rem, 10.5vw, 3.2rem);
  }

  .shared-mosaic {
    display: flex;
    grid-template: none;
    gap: 12px;
    margin-inline: -18px;
    padding: 0 18px 12px;
    overflow-x: auto;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
  }

  .shared-shot,
  .shared-shot:first-child {
    height: 260px;
    flex: 0 0 min(84vw, 360px);
    grid-column: auto;
    grid-row: auto;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  .shared-spaces-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
  }

  .shared-spaces-actions .btn {
    width: 100%;
  }

  .exterior-strip {
    display: flex;
    grid-template: none;
    gap: 10px;
    padding: 10px 18px 14px;
    overflow-x: auto;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
  }

  .exterior-strip button {
    min-height: 238px;
    flex: 0 0 min(82vw, 350px);
    border-radius: 12px;
    scroll-snap-align: start;
  }

  /* Amenities and supporting content */
  .amenities-layout,
  .care-grid {
    gap: 38px;
  }

  .amenities-intro h2,
  .care-copy h2 {
    margin-bottom: 17px;
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .amenity-list > div {
    min-height: 82px;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 10px 12px;
    padding-block: 14px;
  }

  .amenity-list strong {
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .amenity-list small {
    grid-column: 2;
    font-size: 0.62rem;
  }

  .policy-grid {
    gap: 11px;
  }

  .policy-card {
    min-height: 0;
    padding: 23px 20px;
  }

  .policy-card h3 {
    margin: 22px 0 10px;
  }

  .care-visual {
    width: 100%;
  }

  /* LINE booking section remains clear, but no longer competes with a huge fixed bar. */
  .line-booking-shell {
    gap: 32px;
  }

  .line-booking-copy h2 {
    margin: 10px 0 18px;
    font-size: clamp(2.45rem, 11.7vw, 3.65rem);
  }

  .line-booking-lead {
    margin-bottom: 23px;
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .line-official-emphasis {
    margin-top: 20px;
  }

  .line-booking-guide {
    padding: 23px 18px;
  }

  .line-booking-guide-head {
    margin-bottom: 18px;
  }

  .line-booking-steps {
    margin-bottom: 22px;
  }

  .line-booking-steps li {
    padding: 15px 0;
  }

  .line-booking-final-link {
    min-height: 58px;
    padding: 8px 12px;
  }

  /* Rooms page */
  .rooms-hero {
    min-height: 450px;
  }

  .rooms-hero-copy {
    padding: 72px 0 36px;
  }

  .rooms-hero h1 {
    font-size: clamp(2.9rem, 14vw, 4.25rem);
  }

  .rooms-hero p:not(.eyebrow) {
    max-width: 31ch;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .room-jump-nav {
    top: 64px;
  }

  .room-jump-inner {
    min-height: 52px;
    gap: 8px;
  }

  .room-jump-inner a {
    padding: 7px 12px;
    font-size: 0.69rem;
  }

  .room-page-intro {
    padding-top: 60px;
  }

  .room-page-intro-grid {
    gap: 24px;
  }

  .room-page-intro-copy p:first-child {
    font-size: 1.35rem;
    line-height: 1.52;
  }

  .mobile-gallery-tip {
    margin: 18px 0 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.52);
    width: fit-content;
  }

  .room-section {
    scroll-margin-top: 128px;
    padding-block: 64px;
  }

  .room-section-header {
    gap: 22px;
    margin-bottom: 25px;
  }

  .room-section h2 {
    font-size: clamp(2.45rem, 12vw, 3.45rem);
  }

  .room-section-summary {
    gap: 16px;
  }

  .room-section-summary p {
    font-size: 0.9rem;
    line-height: 1.72;
  }

  .room-section-summary .btn {
    width: 100%;
  }

  .room-gallery,
  .room-gallery[data-count="2"],
  .room-gallery[data-count="3"],
  .room-gallery[data-count="4"] {
    display: flex;
    grid-template: none;
    grid-auto-rows: auto;
    gap: 12px;
    margin-inline: -18px;
    padding: 0 18px 12px;
    overflow-x: auto;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
  }

  .room-gallery-item,
  .room-gallery-item:first-child,
  .room-gallery-item:nth-child(2),
  .room-gallery[data-count="2"] .room-gallery-item,
  .room-gallery[data-count="3"] .room-gallery-item:first-child,
  .room-gallery[data-count="3"] .room-gallery-item:nth-child(2),
  .room-gallery[data-count="3"] .room-gallery-item:nth-child(3),
  .room-gallery[data-count="4"] .room-gallery-item:first-child,
  .room-gallery[data-count="4"] .room-gallery-item:not(:first-child) {
    width: min(86vw, 420px);
    height: auto;
    flex: 0 0 min(86vw, 420px);
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
    border-radius: 13px;
    scroll-snap-align: start;
  }

  .room-gallery-item::after {
    right: 10px;
    bottom: 10px;
    width: 30px;
    height: 30px;
    opacity: 1;
    transform: none;
    font-size: 1rem;
  }

  /* Policy page */
  .policy-hero {
    padding: 50px 0 58px;
  }

  .policy-hero-grid {
    gap: 0;
  }

  .policy-hero h1 {
    margin: 8px 0 17px;
    font-size: clamp(2.85rem, 14vw, 4.2rem);
  }

  .policy-hero p:not(.eyebrow) {
    font-size: 0.92rem;
  }

  .policy-seal {
    display: none;
  }

  .policy-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 23px;
  }

  .policy-content.section-pad {
    padding-top: 0;
  }

  .policy-layout {
    gap: 0;
  }

  .policy-toc {
    position: sticky;
    z-index: 35;
    top: 64px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin: 0 -18px 44px;
    padding: 10px 18px;
    overflow-x: auto;
    border-top: 0;
    background: rgba(251,248,243,.96);
    box-shadow: 0 8px 24px rgba(60,44,25,.05);
    scrollbar-width: none;
    backdrop-filter: blur(16px);
  }

  .policy-toc::-webkit-scrollbar {
    display: none;
  }

  .policy-toc span {
    display: none;
  }

  .policy-toc a {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.62);
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .policy-group {
    margin-bottom: 58px;
    scroll-margin-top: 128px;
  }

  .policy-group-heading {
    gap: 13px;
    margin-bottom: 22px;
    padding-bottom: 16px;
  }

  .policy-group-heading h2 {
    font-size: 1.82rem;
  }

  .policy-item {
    margin-bottom: 12px;
    padding: 21px 18px;
    border-radius: 13px;
  }

  .policy-item h3 {
    margin-bottom: 17px;
    font-size: 1.2rem;
  }

  .bilingual-grid {
    gap: 17px;
  }

  .bilingual-grid > div + div {
    padding-top: 17px;
  }

  .bilingual-grid p,
  .bilingual-grid li {
    font-size: 0.86rem;
    line-height: 1.7;
  }

  .bilingual-grid [lang="en"] p,
  .bilingual-grid [lang="en"] li {
    font-size: 0.79rem;
  }

  .policy-final-cta {
    gap: 20px;
    padding: 26px 20px;
    border-radius: 18px;
  }

  .policy-final-cta h2 {
    font-size: 1.75rem;
  }

  .policy-footer-bottom > div {
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  /* Dedicated booking page */
  .booking-entry-page {
    background-attachment: scroll;
  }

  .booking-entry {
    min-height: 100svh;
    padding: 18px 12px;
  }

  .booking-entry-card {
    padding: 24px 18px;
    border-radius: 21px;
  }

  .booking-entry-brand {
    margin-bottom: 24px;
  }

  .booking-entry-brand img {
    width: 48px;
    height: 48px;
  }

  .booking-entry-copy h1 {
    margin-bottom: 13px;
    font-size: clamp(2.8rem, 15vw, 4.1rem);
  }

  .booking-entry-line {
    min-height: 68px;
    margin: 22px 0 16px;
  }

  .booking-entry-template {
    padding: 16px;
  }

  /* A discreet floating booking chip, shown only after meaningful scroll. */
  body .floating-line.floating-line-booking,
  body.home-page .floating-line.floating-line-booking,
  body.home-page.has-page-scroll .floating-line.floating-line-booking {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: auto;
    width: auto;
    min-width: 0;
    height: 46px;
    grid-template-columns: 32px auto;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    border: 1px solid rgba(79,56,24,.16);
    border-radius: 999px;
    color: var(--brown-dark);
    background: rgba(251,248,243,.94);
    box-shadow: 0 10px 28px rgba(31,24,17,.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(.97);
    backdrop-filter: blur(14px);
    transition: opacity .22s ease, transform .22s ease, background .2s ease;
  }

  body.has-page-scroll:not(.floating-cta-suppressed):not(.nav-is-open) .floating-line.floating-line-booking {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .floating-line.floating-line-booking:hover {
    color: var(--brown-dark);
    background: #fff;
    transform: translateY(-2px);
  }

  .floating-line-mark {
    width: 32px;
    height: 32px;
    display: grid !important;
    border-radius: 50%;
    color: #fff;
    background: var(--line-green);
    font-size: 0.48rem !important;
  }

  .floating-line-copy {
    display: block !important;
  }

  .floating-line-copy strong {
    display: block;
    color: var(--brown-dark);
    font-size: 0.77rem;
    line-height: 1;
    letter-spacing: 0.035em;
  }

  .floating-line-copy small,
  .floating-line-arrow {
    display: none !important;
  }

  /* Footer breathing room without reserving a permanent CTA bar. */
  .site-footer {
    padding-bottom: max(26px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .visual-hero h1 {
    font-size: 2.34rem;
  }

  .visual-hero-lead {
    font-size: 0.88rem;
  }

  .home-intro-meta {
    grid-template-columns: 1fr;
  }

  .room-card-grid,
  .shared-mosaic,
  .room-gallery,
  .room-gallery[data-count="3"] {
    margin-inline: -14px;
    padding-inline: 14px;
    scroll-padding-inline: 14px;
  }

  .room-card {
    flex-basis: 86vw;
  }
}

@media (hover: none) and (pointer: coarse) {
  .room-card:hover img,
  .shared-shot:hover img,
  .room-gallery-item:hover img {
    transform: none;
    filter: none;
  }
}

@media (max-width: 620px) {
  html {
    overflow-x: clip;
  }
}
