/* =========================================================
   Sukesar Stays — stylesheet
   Palette: warm ivory base, terracotta accent, ink text
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:        #1c1917;
  --ink-soft:   #292524;
  --body:       #57504a;
  --muted:      #8a8079;
  --line:       #e5ded3;
  --line-soft:  #efe9e0;

  --paper:      #fdfbf7;
  --sand:       #f6f1e9;
  --cream:      #efe7db;

  --clay:       #b4552f;
  --clay-deep:  #97441f;
  --clay-tint:  #f9ece5;
  --gold:       #a4854f;
  --sage:       #7c8a72;

  --dark:       #1a1613;
  --dark-soft:  #262019;

  --shell:      1240px;
  --gutter:     clamp(1.15rem, 4vw, 3rem);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(28, 25, 23, .05), 0 4px 14px rgba(28, 25, 23, .05);
  --sh-md: 0 2px 6px rgba(28, 25, 23, .06), 0 18px 44px rgba(28, 25, 23, .09);
  --sh-lg: 0 30px 80px rgba(28, 25, 23, .18);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .55s;

  --header-h: 64px;
}

@media (min-width: 700px) {
  :root { --header-h: 76px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: .006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

/* <picture> generates no box, so the <img> inside it stays a direct
   layout child of its container and every height/object-fit rule
   below keeps working unchanged. */
picture { display: contents; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.012em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}
button { background: none; border: 0; cursor: pointer; }

address { font-style: normal; }

svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 3px;
}
.section--dark :focus-visible,
.band :focus-visible,
.lightbox :focus-visible,
.hero :focus-visible { outline-color: #f0c9b4; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.anchor { display: block; position: relative; top: calc(var(--header-h) * -1); }

/* ---------- Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.5rem, 9vw, 8.5rem);
  position: relative;
}
.section--tint { background: var(--sand); }
.section--dark { background: var(--dark); color: #cdc4ba; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #f7f2eb; }

.section__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--split {
  display: grid;
  gap: clamp(1.25rem, 3vw, 3rem);
  max-width: none;
  align-items: end;
}
.section__head-note {
  max-width: 46ch;
  font-size: .98rem;
  color: var(--muted);
}
.section--dark .section__head-note { color: #a49a90; }
.section__head-note--spaced { margin-top: 1.25rem; }

@media (min-width: 860px) {
  .section__head--split { grid-template-columns: 1.15fr .85fr; }
}

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 1.1rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clay);
}
.eyebrow--light { color: #e2a67f; }

.h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 300;
  line-height: 1.06;
}
.h2--light { color: #fbf7f1; }

.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 1.4em;
}

.fineprint {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .01em;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-top: .5rem;
  padding-bottom: 3px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--clay); border-color: var(--clay); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--clay);
  --btn-fg: #fff;
  --btn-bd: var(--clay);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .9rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background .28s var(--ease), color .28s var(--ease),
              border-color .28s var(--ease), transform .28s var(--ease),
              box-shadow .28s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn:active { transform: translateY(0); }

.btn--primary:hover { --btn-bg: var(--clay-deep); --btn-bd: var(--clay-deep); box-shadow: 0 10px 26px rgba(180, 85, 47, .3); }

.btn--dark { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: #000; --btn-bd: #000; }

.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: #fff; }

.btn--dark-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--dark-ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--cream); --btn-bd: var(--cream); }

/* Quieter outline for use on dark backgrounds. */
.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: rgba(255, 255, 255, .92);
  --btn-bd: rgba(255, 255, 255, .34);
  font-size: .74rem;
  min-height: 44px;
}
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .13); --btn-bd: rgba(255, 255, 255, .6); }

.btn--sm { padding: .72rem 1.2rem; font-size: .72rem; min-height: 42px; }
.btn--lg { padding: 1.1rem 2.1rem; }
/* Full-width buttons may wrap their label rather than overflow a narrow card. */
.btn--block { width: 100%; white-space: normal; }

.btn svg:only-child { margin: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: var(--header-h);
  transition: background .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 16, 13, .55), rgba(20, 16, 13, 0));
  opacity: 1;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.site-header.is-stuck {
  background: rgba(253, 251, 247, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 20px rgba(28, 25, 23, .06);
}
.site-header.is-stuck::before { opacity: 0; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  transition: color .35s var(--ease);
}
.site-header.is-stuck .brand { color: var(--ink); }

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: none;
}
.brand__mark svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }

.brand__text { display: grid; line-height: 1; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.brand__sub {
  margin-top: 3px;
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  opacity: .72;
}

/* Nav */
.nav__list {
  display: none;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.nav__list a {
  position: relative;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  transition: color .3s var(--ease);
}
.site-header.is-stuck .nav__list a { color: var(--body); }
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.nav__list a:hover { color: #fff; }
.site-header.is-stuck .nav__list a:hover { color: var(--clay); }
.nav__list a:hover::after { transform: scaleX(1); }

.nav__footer { display: none; }

.header__actions {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.header__tel {
  display: none;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .9);
  transition: color .3s var(--ease);
}
.header__tel svg { width: 15px; height: 15px; }
.site-header.is-stuck .header__tel { color: var(--body); }
.header__tel:hover { color: var(--clay); }

.header__cta { display: none; }

/* Burger */
.burger {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .35);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), background .3s var(--ease), opacity .2s;
}
.site-header.is-stuck .burger { border-color: var(--line); }
.site-header.is-stuck .burger span { background: var(--ink); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile drawer */
@media (max-width: 979px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 80;
    display: grid;
    align-content: start;
    gap: 2rem;
    padding: clamp(2rem, 7vw, 3.5rem) var(--gutter) 3rem;
    background: var(--paper);
    border-top: 1px solid var(--line-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

  .nav__list {
    display: grid;
    gap: 0;
  }
  .nav__list li + li { border-top: 1px solid var(--line-soft); }
  .nav__list a {
    display: block;
    padding: 1.05rem 0;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink);
  }
  .nav__list a::after { display: none; }

  .nav__footer {
    display: grid;
    gap: 1rem;
    justify-items: start;
    padding-top: 1rem;
  }
  .nav__tel {
    font-size: 1rem;
    letter-spacing: .06em;
    color: var(--clay);
  }
  .nav__footer .btn { width: 100%; }

  .nav__social {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    font-size: .9rem;
    letter-spacing: .02em;
    color: var(--body);
    transition: color .25s var(--ease);
  }
  .nav__social svg { width: 18px; height: 18px; flex: none; }
  .nav__social:hover { color: var(--clay); }
}

@media (min-width: 980px) {
  .nav__list { display: flex; }
  .header__tel { display: inline-flex; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 88svh;
  padding-block: calc(var(--header-h) + 2rem) clamp(2.5rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 700px) {
  .hero { min-height: 100svh; }
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Keeps the bed and balcony in frame on tall phone viewports. */
  object-position: 60% center;
  animation: heroIn 1.6s var(--ease) both;
}
@media (min-width: 700px) {
  .hero__media img { object-position: center center; }
}
@keyframes heroIn {
  from { transform: scale(1.07); opacity: .6; }
  to   { transform: scale(1);    opacity: 1; }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(18, 14, 11, .88) 0%, rgba(18, 14, 11, .5) 34%, rgba(18, 14, 11, .12) 62%, rgba(18, 14, 11, .34) 100%),
    linear-gradient(to right, rgba(18, 14, 11, .5) 0%, rgba(18, 14, 11, 0) 60%);
}

/* Inherits .shell's width and centring so the hero text lines up with
   every other section at every viewport. Individual children below are
   what limit line length, not this container. */
.hero__inner { position: relative; }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 11vw, 6.2rem);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  letter-spacing: -.02em;
  text-wrap: balance;
  animation: rise .9s var(--ease) .15s both;
}
.hero__title em {
  font-style: italic;
  color: #f3c9ac;
}

.hero__lede {
  max-width: 46ch;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, .86);
  animation: rise .9s var(--ease) .28s both;
}

/* Full width on phones so the buttons align flush with the text above
   and below them, instead of stopping short on the right. */
.hero__actions {
  display: grid;
  gap: .65rem;
  margin-top: 1.9rem;
  animation: rise .9s var(--ease) .4s both;
}
@media (min-width: 520px) {
  .hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2.1rem;
  }
}

.hero__nudge {
  margin-top: 1.1rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .68);
  animation: rise .9s var(--ease) .46s both;
}
.hero__nudge a {
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.hero__nudge a:hover { color: #fff; border-color: #fff; }

/* Two tidy columns on phones, one flowing row from tablet up. */
.hero__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1.1rem;
  max-width: 46rem;
  margin-top: 1.9rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
  animation: rise .9s var(--ease) .52s both;
}
@media (min-width: 700px) {
  .hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.6rem;
    margin-top: 2.2rem;
    padding-top: 1.5rem;
  }
}
.hero__facts li {
  position: relative;
  padding-left: 1.05rem;
  font-size: .72rem;
  line-height: 1.45;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
}
@media (min-width: 700px) {
  .hero__facts li { font-size: .8rem; letter-spacing: .07em; }
}
/* Top-aligned so it stays correct when a fact wraps to two lines. */
.hero__facts li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: 4px; height: 4px;
  background: var(--clay);
  border-radius: 50%;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(4rem, 9vw, 7rem);
  display: none;
  width: 30px; height: 54px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--r-pill);
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 10px;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  background: #fff;
  border-radius: 2px;
  animation: wheel 1.9s var(--ease) infinite;
}
@keyframes wheel {
  0%   { transform: translateY(0);    opacity: 0; }
  25%  { opacity: 1; }
  75%  { transform: translateY(24px); opacity: 0; }
  100% { opacity: 0; }
}
@media (min-width: 980px) { .hero__scroll { display: block; } }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  padding-block: 1.1rem;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  user-select: none;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  animation: slide 38s linear infinite;
}
.ticker__track span {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(247, 242, 235, .82);
  white-space: nowrap;
}
.ticker__track i {
  font-style: normal;
  font-size: .7rem;
  color: var(--clay);
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Story ---------- */
.story__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .story__grid { grid-template-columns: 1fr 1fr; }
}

/* Two figures, equal height, tops and bottoms flush. */
.story__media {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 560px) {
  .story__media {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 1rem;
  }
}
.story__figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  aspect-ratio: 4 / 5;
}
.story__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 560px) {
  /* Both fill one shared row, so heights always match exactly. */
  .story__figure { aspect-ratio: auto; height: 100%; min-height: 0; }
  .story__media { aspect-ratio: 8 / 5; }
}
@media (min-width: 900px) {
  .story__media { aspect-ratio: 7 / 5; }
}

/* ---------- Pillars ---------- */
.pillars__grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 620px) { .pillars__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .pillars__grid { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  padding: clamp(1.75rem, 3.4vw, 2.6rem);
  background: var(--paper);
  transition: background .35s var(--ease);
}
.pillar:hover { background: #fff; }

.pillar__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.35rem;
  color: var(--clay);
  background: var(--clay-tint);
  border-radius: var(--r-pill);
}
.pillar__icon svg { width: 21px; height: 21px; }

.pillar__title {
  margin-bottom: .55rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}
.pillar p { font-size: .95rem; color: var(--body); }

/* ---------- Apartment cards ---------- */
.cards {
  display: grid;
  gap: clamp(1.25rem, 2.6vw, 2rem);
}
@media (min-width: 620px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--sh-md);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Beds sit centre-frame in every source shot, including the
     portrait ones, so a centred crop is safe across the set. */
  object-position: center;
  transition: transform .8s var(--ease);
}
.card:hover .card__media img { transform: scale(1.055); }

.card__swatch {
  position: absolute;
  left: 14px; top: 14px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .78rem .38rem .5rem;
  background: rgba(253, 251, 247, .93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
}
.card__dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14);
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.4rem 1.5rem;
}
.card__type {
  margin-bottom: .45rem;
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.card__title {
  margin-bottom: .6rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}
.card__text {
  margin-bottom: 1.15rem;
  font-size: .92rem;
  line-height: 1.65;
}
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: auto;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line-soft);
}
.card__tags li {
  padding: .28rem .62rem;
  background: var(--sand);
  border-radius: var(--r-sm);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--body);
}

.apartments__cta {
  display: grid;
  gap: 1.35rem;
  justify-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  background: var(--sand);
  border-radius: var(--r-lg);
}
.apartments__cta p {
  max-width: 44ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-style: italic;
  color: var(--ink-soft);
}
.apartments__cta-actions {
  display: grid;
  gap: .65rem;
  width: 100%;
  max-width: 22rem;
}
@media (min-width: 620px) {
  .apartments__cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
  }
}

/* ---------- Amenities ---------- */
.amenities__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 600px) { .amenities__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .amenities__grid { grid-template-columns: repeat(4, 1fr); } }

.amen-group__title {
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}
.amen-list { display: grid; gap: .62rem; }
.amen-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: .92rem;
  color: #b8afa5;
}
.amen-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 1px;
  background: var(--clay);
}

.amenities__strip {
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
}
/* Source photos are 4:3, so the crop stays gentle and only widens
   on larger screens where there is room for it. */
.amenities__strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-lg);
}
@media (min-width: 640px)  { .amenities__strip img { aspect-ratio: 3 / 2; } }
@media (min-width: 1000px) { .amenities__strip img { aspect-ratio: 16 / 9; } }
.amenities__strip figcaption {
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  color: #a49a90;
}

/* ---------- Gallery ---------- */
/* Single swipeable row on phones, wrapping row from tablet up. */
.filters {
  display: flex;
  gap: .45rem;
  margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  /* Bleed to the screen edge so the row reads as scrollable. */
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.filters::-webkit-scrollbar { display: none; }
.filters .chip { scroll-snap-align: start; flex: none; }

@media (min-width: 720px) {
  .filters {
    flex-wrap: wrap;
    gap: .5rem;
    overflow-x: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem 1.05rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .11em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--body);
  transition: background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Uniform grid: every tile is the same aspect ratio so rows always
   line up. No spans, no auto-sized rows, no ragged gaps. */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: .5rem;
}
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, 1fr); gap: .7rem; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, 1fr); gap: .85rem; } }
@media (min-width: 1200px) { .grid { gap: 1rem; } }

.tile { position: relative; display: flex; }
.tile[hidden] { display: none; }

.tile__btn {
  position: relative;
  display: block;
  flex: 1;
  width: 100%;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--r-md);
  cursor: zoom-in;
}
.tile__btn img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .4s var(--ease);
}
.tile__btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18, 14, 11, .45), rgba(18, 14, 11, 0) 55%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.tile__btn:hover img { transform: scale(1.06); }
.tile__btn:hover::after { opacity: 1; }

.tile__zoom {
  position: absolute;
  right: 10px; bottom: 10px;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  color: var(--ink);
  background: rgba(253, 251, 247, .94);
  border-radius: var(--r-pill);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.tile__zoom svg { width: 14px; height: 14px; }
.tile__btn:hover .tile__zoom,
.tile__btn:focus-visible .tile__zoom { opacity: 1; transform: translateY(0); }

.gallery__status {
  margin: 1.5rem 0 0;
  font-size: .84rem;
  letter-spacing: .05em;
  color: var(--muted);
}
.gallery__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}
@media (min-width: 940px) {
  .faq__grid { grid-template-columns: .85fr 1.15fr; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.faq__intro p { margin-bottom: 1.6rem; }

.faq__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.qa { border-bottom: 1px solid var(--line); }

.qa summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.1vw, 1.32rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--clay); }

/* Plus that becomes a minus when open. */
.qa__mark {
  position: relative;
  flex: none;
  width: 22px; height: 22px;
  margin-top: .2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.qa__mark::before,
.qa__mark::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.qa__mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__mark { background: var(--clay); border-color: var(--clay); color: #fff; }
.qa[open] .qa__mark::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

/* No right inset on phones, so the answer text lines up with the
   question above it rather than stopping short. */
.qa__body { padding: 0 0 1.5rem; }
@media (min-width: 720px) {
  .qa__body { padding-right: 3rem; }
}
.qa__body p {
  margin: 0;
  font-size: .96rem;
  line-height: 1.75;
  color: var(--body);
}
.qa__body a {
  color: var(--clay);
  border-bottom: 1px solid currentColor;
}

/* ---------- Location ---------- */
.location__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 940px) {
  .location__grid { grid-template-columns: .95fr 1.05fr; }
}

.location__address {
  margin: 1.6rem 0;
  padding-left: 1.1rem;
  border-left: 2px solid var(--clay);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.5;
  color: var(--ink);
}

.location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 2.5rem;
}

.location__sub {
  margin-bottom: 1rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.near { display: grid; }
.near li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .78rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  color: var(--ink-soft);
}
.near li:first-child { border-top: 1px solid var(--line); }
.near__t {
  flex: none;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--clay);
}
.near + .fineprint { margin-top: 1rem; }

.location__map {
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  background: var(--cream);
}
.location__map iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  filter: saturate(.88) contrast(1.03);
}
@media (min-width: 940px) {
  .location__map iframe { aspect-ratio: 3 / 4; }
}

/* ---------- Band ---------- */
.band {
  position: relative;
  padding-block: clamp(5rem, 11vw, 9rem);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(18, 14, 11, .82), rgba(18, 14, 11, .9));
}
.band__inner { max-width: 60rem; margin-inline: auto; }
.band__head { max-width: 40rem; margin-inline: auto; }
.band__lede {
  max-width: 50ch;
  margin: 1.5rem auto 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, .82);
}

/* --- Booking: direct is the primary path, Airbnb the alternative --- */
.ways {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2.25rem, 5vw, 3.25rem);
  text-align: left;
}
/* Direct card gets roughly 5/8 of the row so it reads as the main choice. */
@media (min-width: 860px) {
  .ways {
    grid-template-columns: 1.62fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}

.way {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
}

/* ---- Primary: book direct ---- */
.way--direct {
  position: relative;
  padding: clamp(1.6rem, 3.6vw, 2.75rem);
  background: var(--paper);
  border: 1px solid transparent;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .4);
}
/* Warm rule along the top edge to anchor it as the lead option. */
.way--direct::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(to right, var(--clay), var(--gold));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.way__flag {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: .4rem .85rem;
  background: var(--clay-tint);
  border-radius: var(--r-pill);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.way__flag svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }

.way--direct .way__title {
  margin-bottom: .65rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.4vw, 2.6rem);
  font-weight: 400;
  color: var(--ink);
}
.way--direct .way__text {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--body);
}

.way--direct .way__list {
  display: grid;
  gap: .8rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.way--direct .way__list li {
  position: relative;
  padding-left: 1.9rem;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--body);
}
.way--direct .way__list strong {
  font-weight: 500;
  color: var(--ink);
}
/* Filled tick so the benefits scan fast. */
.way--direct .way__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .12em;
  width: 20px; height: 20px;
  background: var(--clay);
  border-radius: 50%;
}
.way--direct .way__list li::after {
  content: "";
  position: absolute;
  left: 6px; top: .5em;
  width: 8px; height: 4px;
  border-left: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg);
}

.way__actions {
  display: grid;
  gap: .65rem;
  margin-top: auto;
}
@media (min-width: 620px) {
  .way__actions { grid-template-columns: 1fr 1fr; }
}

.way__foot {
  margin: 1.15rem 0 0;
  font-size: .86rem;
  color: var(--muted);
}
.way__foot a {
  color: var(--clay);
  border-bottom: 1px solid currentColor;
  transition: opacity .25s var(--ease);
}
.way__foot a:hover { opacity: .7; }

/* ---- Secondary: Airbnb ---- */
.way--airbnb {
  padding: clamp(1.35rem, 3vw, 1.85rem);
  background: rgba(253, 251, 247, .07);
  border: 1px solid rgba(255, 255, 255, .17);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@media (min-width: 860px) {
  /* Sits slightly lower so the direct card leads the eye. */
  .way--airbnb { margin-top: 1.5rem; }
}

.way__label {
  margin-bottom: .5rem;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.way__title--sm {
  margin-bottom: .6rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: #fbf7f1;
}
.way--airbnb .way__text {
  margin-bottom: 1.1rem;
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .7);
}
.way__list--tight {
  display: grid;
  gap: .45rem;
  margin-bottom: 1.35rem;
}
.way__list--tight li {
  position: relative;
  padding-left: 1.15rem;
  font-size: .86rem;
  color: rgba(255, 255, 255, .74);
}
.way__list--tight li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 1px;
  background: rgba(255, 255, 255, .45);
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 940px) {
  .contact__grid { grid-template-columns: 1fr 1fr; }
}

.contact__cards {
  display: grid;
  gap: 1px;
  margin-top: 2.25rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.contact__cards li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem;
  background: var(--paper);
}
.contact__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  color: var(--clay);
  background: var(--clay-tint);
  border-radius: var(--r-pill);
}
.contact__icon svg { width: 18px; height: 18px; }
.contact__cards h3 {
  margin-bottom: .18rem;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__cards a {
  font-size: 1rem;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.contact__cards a:hover { color: var(--clay); border-bottom-color: var(--clay); }

/* ---------- Form ---------- */
.form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.5rem, 3.4vw, 2.5rem);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.form__intro {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
}

.field { display: grid; gap: .42rem; }
.field-row { display: grid; gap: 1.15rem; }
@media (min-width: 460px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--body);
}
.field__opt { text-transform: none; letter-spacing: .02em; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .8rem .95rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  /* 16px minimum stops iOS Safari zooming the page on focus. */
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
@media (min-width: 700px) {
  .field input, .field select, .field textarea { font-size: .95rem; }
}
.field textarea { min-height: 104px; resize: vertical; }
/* Date inputs render short on iOS without this. */
.field input[type="date"] { appearance: none; -webkit-appearance: none; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357504a' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 17px;
  padding-right: 2.4rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(180, 85, 47, .13);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #b4432f; }

.field__error {
  margin: 0;
  font-size: .8rem;
  color: #a53a26;
}

.form__note {
  margin: 0;
  min-height: 1.2em;
  font-size: .86rem;
  color: var(--sage);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--dark);
  color: #a49a90;
}
.footer__grid {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr 1fr; } }

.brand--footer { color: #f7f2eb; }
.footer__tag {
  margin-top: 1.35rem;
  font-size: .93rem;
  line-height: 1.7;
}
@media (min-width: 640px) {
  .footer__tag { max-width: 34ch; }
}

/* ---------- Socials ---------- */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding: .5rem 1rem .5rem .75rem;
  color: #cdc4ba;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: var(--r-pill);
  font-size: .84rem;
  letter-spacing: .03em;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.socials svg { width: 18px; height: 18px; flex: none; }
.socials a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .06);
}

.footer__col h3 {
  margin-bottom: 1.15rem;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: #6f665e;
}
.footer__col ul { display: grid; gap: .68rem; }
.footer__col a {
  font-size: .93rem;
  line-height: 1.6;
  color: #b8afa5;
  transition: color .25s var(--ease);
}
.footer__col a:hover { color: #f7f2eb; }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer__base p {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .06em;
  color: #6f665e;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(13, 10, 8, .96);
  animation: fade .28s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__stage {
  display: grid;
  gap: 1rem;
  justify-items: center;
  margin: 0;
  max-width: 100%;
  max-height: 100%;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 78svh;
  width: auto;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  animation: pop .35s var(--ease);
}
@keyframes pop {
  from { opacity: 0; transform: scale(.975); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox__stage figcaption {
  display: grid;
  gap: .3rem;
  max-width: 60ch;
  text-align: center;
  font-size: .88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .72);
}
.lightbox__count {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-pill);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.lightbox__close svg, .lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .45); }

.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__nav { top: 50%; margin-top: -23px; }
.lightbox__nav--prev { left: clamp(.5rem, 2.5vw, 2rem); }
.lightbox__nav--next { right: clamp(.5rem, 2.5vw, 2rem); }
.lightbox__nav--prev:hover { transform: translateX(-3px); }
.lightbox__nav--next:hover { transform: translateX(3px); }

/* ---------- Mobile book bar ---------- */
.mobile-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 70;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: stretch;
  gap: .5rem;
  padding: .6rem clamp(.85rem, 4vw, 1.25rem) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(253, 251, 247, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 -4px 24px rgba(28, 25, 23, .07);
  transform: translateY(110%);
  transition: transform .4s var(--ease);
}
.mobile-bar.is-visible { transform: translateY(0); }

/* Icon buttons: 48px min touch target on both axes. */
.mobile-bar__icon {
  display: grid;
  place-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 48px;
  padding: .4rem .6rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
}
.mobile-bar__icon svg { width: 18px; height: 18px; margin-inline: auto; }
.mobile-bar__icon span {
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mobile-bar__icon:active { background: var(--sand); }

.mobile-bar__book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1rem;
  background: var(--clay);
  color: #fff;
  border-radius: var(--r-md);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.mobile-bar__book:active { background: var(--clay-deep); }

@media (min-width: 980px) { .mobile-bar { display: none; } }
@media (max-width: 979px) { .site-footer { padding-bottom: 5.5rem; } }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Touch devices ----------
   Without a real cursor, :hover states latch on after a tap. Restrict
   the lift-and-zoom effects to devices that actually have a pointer. */
@media (hover: none) {
  .btn:hover,
  .card:hover { transform: none; }
  .btn:hover svg { transform: none; }
  .card:hover .card__media img,
  .tile__btn:hover img { transform: none; }
  .tile__btn:hover::after { opacity: 0; }
  .pillar:hover { background: var(--paper); }
  .link-arrow:hover svg { transform: none; }
  .lightbox__nav--prev:hover,
  .lightbox__nav--next:hover { transform: none; }
}

/* ---------- Small-screen refinements ---------- */
@media (max-width: 559px) {
  .lightbox { padding: .75rem; }
  .lightbox__nav { width: 40px; height: 40px; margin-top: -20px; }
  .lightbox__nav svg { width: 17px; height: 17px; }
  .lightbox__stage img { max-height: 68svh; }
  .lightbox__stage figcaption { font-size: .82rem; }

  .story__grid,
  .location__grid,
  .contact__grid { gap: 2rem; }

  .amenities__strip figcaption,
  .form__intro { font-size: .98rem; }

  .location__actions .btn,
  .way__actions .btn { width: 100%; }

  .footer__base { flex-direction: column; gap: .35rem; }
}

/* Very narrow phones (320-400px): trim the inner padding and the widest
   CTA labels so nothing is pushed past the edge of its card. */
@media (max-width: 400px) {
  .way--direct,
  .way--airbnb { padding-inline: 1.3rem; }
  .way__actions .btn,
  .faq__intro .btn {
    padding-inline: .9rem;
    font-size: .73rem;
    letter-spacing: .07em;
  }
  .way--direct .way__list li { padding-left: 1.75rem; }
  .apartments__cta { padding-inline: 1.3rem; }
  .form { padding-inline: 1.25rem; }
  .contact__cards li { padding: 1.15rem; }
}

/* Stop long unbroken strings forcing horizontal scroll. */
.contact__cards a,
.footer__col a,
.near li span { overflow-wrap: anywhere; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .hero__media img { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .mobile-bar, .hero__scroll, .ticker,
  .lightbox, .filters, .gallery__more, .location__map { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; page-break-inside: avoid; }
}
