/* ══════════════════════════════════════════════════════════════
   site.css — shared by every page, loaded after each page's own styles.
   1. Phones: galleries become a vertical feed (scroll like a social app)
   2. Phones: an always-visible contact bar
   3. Newsletter sign-up (bottom sheet on phones, small card on desktop)
   Desktop layout is untouched except for the sign-up card.
   ══════════════════════════════════════════════════════════════ */

:root { --hdr: 66px; --bar: 64px; --ink: #111; --paper: #e9e5de; }

/* ── 1 · VERTICAL FEED ON PHONES ───────────────────────────────── */
@media (max-width: 768px) {
  html, body { height: auto !important; overflow-x: hidden !important; overflow-y: visible !important; }

  /* the sideways strip becomes a normal page that scrolls up and down */
  .h-scroll {
    position: static !important; overflow: visible !important;
    top: auto !important; bottom: auto !important; height: auto !important;
    cursor: auto !important;
  }
  .track {
    flex-direction: column !important; align-items: stretch !important;
    height: auto !important; gap: 14px !important;
    padding: calc(var(--hdr) + 18px) 16px 28px !important;
  }
  .track > div[style*="flex-shrink:0"] { display: none !important; }   /* desktop end spacer */

  .wrap { width: 100% !important; transform: none !important; background: #dcd6cb; }   /* soft tone while a photo loads */
  .wrap img,
  .h-lg img, .h-md img, .h-sm img, .h-land img {
    width: 100% !important; height: auto !important; max-width: 100% !important;
  }

  /* title block and "more properties" card sit naturally in the feed */
  .info-block, .more-block, .intro-block { align-self: stretch !important; }
  .info-block { width: auto !important; margin: 6px 0 12px !important; }
  .info-block .name { font-size: 0.86rem !important; }
  .back-link { margin-top: 14px !important; font-size: 0.62rem !important; padding: 6px 0 3px; }
  .more-block { width: auto !important; margin: 22px 0 4px !important; }
  .more-block a.more-item { font-size: 0.86rem !important; line-height: 2.4 !important; }
  .more-block a.more-inquire { width: 100% !important; text-align: center; padding: 15px 16px !important; font-size: 0.62rem !important; }

  /* footer stops floating and sits at the end of the page */
  .site-footer { position: static !important; flex-wrap: wrap; gap: 12px; }
  .site-footer .footer-nav a { padding: 8px 0; }

  /* homepage: logos right under the header, then the opening line, then the feed */
  body.page-home { display: flex; flex-direction: column; }
  body.page-home .ticker-strip { position: static !important; order: 1; margin-top: var(--hdr); }
  body.page-home .h-scroll { order: 2; }
  body.page-home .site-footer { order: 3; }
  body.page-home .track { padding-top: 22px !important; }
  body.page-home .intro-block { width: auto !important; margin: 4px 0 14px !important; }
  body.page-home .intro-line { font-size: 1.32rem !important; }
  body.page-home .photo-count { display: none !important; }
  body.page-home .num { display: none !important; }
  /* hotel name always shown on each photo, since phones have no hover */
  body.page-home .label { opacity: 1 !important; padding: 44px 14px 12px !important; }
  body.page-home .label .hotel { font-size: 0.62rem !important; }
  body.page-home .label .arrow { opacity: 0.85 !important; }

  /* Projects page: one large card per row, like a feed */
  .grid { grid-template-columns: 1fr !important; gap: 30px !important; }
  .card-wide { grid-column: auto !important; }
  .card-wide .card-img { aspect-ratio: 4 / 3 !important; }
  .card-name { font-size: 0.66rem !important; }
  .card-location, .card-brand { font-size: 0.52rem !important; }
}

/* ── 2 · CONTACT BAR (phones only) ─────────────────────────────── */
.mbar { display: none; }
@media (max-width: 768px) {
  body.has-mbar { padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom)) !important; }
  .mbar {
    display: flex; gap: 10px; position: fixed; z-index: 500; left: 0; right: 0; bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(233, 229, 222, 0.96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(17, 17, 17, 0.10);
  }
  .mbar a {
    flex: 1; display: flex; align-items: center; justify-content: center; height: 44px;
    font: 500 0.62rem/1 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
    border: 1px solid var(--ink); color: var(--ink); -webkit-tap-highlight-color: transparent;
  }
  .mbar a.primary { flex: 1.6; background: var(--ink); color: var(--paper); }
}

/* ── 3 · NEWSLETTER SIGN-UP ────────────────────────────────────── */
.signup {
  position: fixed; z-index: 600; right: 24px; bottom: 24px; width: 360px; max-width: calc(100vw - 32px);
  background: var(--paper); color: var(--ink);
  border: 1px solid rgba(17, 17, 17, 0.14); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  padding: 30px 28px 24px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transform: translateY(16px); opacity: 0; visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0s linear 0.35s;
}
.signup.open { transform: none; opacity: 1; visibility: visible; transition: transform 0.35s ease, opacity 0.35s ease; }
.signup .su-close {
  position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; background: none;
  font-size: 22px; line-height: 44px; color: var(--ink); cursor: pointer; opacity: 0.6;
}
.signup .su-close:hover { opacity: 1; }
.signup .su-kicker { display: block; font-size: 0.56rem; letter-spacing: 0.2em; text-transform: uppercase; color: #8f877b; margin-bottom: 12px; }
.signup h2 { font-weight: 300; font-size: 1.18rem; line-height: 1.35; letter-spacing: 0.005em; margin: 0 0 10px; }
.signup p.su-body { font-size: 0.74rem; line-height: 1.65; color: #555; margin: 0 0 18px; }
.signup form { display: flex; gap: 8px; }
.signup input[type="email"] {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid rgba(17, 17, 17, 0.28);
  background: #f4f1eb; color: var(--ink); font-size: 16px; border-radius: 0; -webkit-appearance: none;
}
.signup input[type="email"]:focus { outline: none; border-color: var(--ink); }
.signup button[type="submit"] {
  height: 46px; padding: 0 20px; border: 0; background: var(--ink); color: var(--paper); cursor: pointer;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.signup button[type="submit"][disabled] { opacity: 0.6; cursor: default; }
.signup .su-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup .su-fine { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 0.6rem; color: #8f877b; }
.signup .su-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer .ft-privacy { margin-left: 22px; }
.signup .su-later { background: none; border: 0; padding: 10px 0; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); opacity: 0.6; cursor: pointer; }
.signup .su-later:hover { opacity: 1; }
.signup .su-msg { font-size: 0.72rem; line-height: 1.6; margin-top: 12px; min-height: 1em; color: #555; }
.signup.done form, .signup.done .su-fine { display: none; }

@media (max-width: 768px) {
  /* bottom sheet, covers the contact bar while open */
  .signup {
    left: 0; right: 0; bottom: 0; width: auto; max-width: none; border-width: 1px 0 0;
    padding: 28px 20px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(100%); opacity: 1; box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.14);
  }
  .signup h2 { font-size: 1.2rem; padding-right: 30px; }
}
@media (prefers-reduced-motion: reduce) { .signup, .signup.open { transition: none; } }

/* ── 4 · DESIGN AUDIT FIXES (2026-11-15) ─────────────────────────
   Bigger, darker header links; a solid Inquire button on every page;
   darker small text; larger opening line; loading tone for photos;
   chapter breaks on the homepage; scroll guide on desktop galleries. */

/* header: larger, darker links with a bigger click/tap area */
.site-header [role="navigation"] { display: flex; align-items: center; gap: 30px !important; }
.site-header [role="navigation"] a {
  font-size: 0.68rem !important; letter-spacing: 0.18em !important; text-transform: uppercase;
  color: #111 !important; opacity: 0.78 !important; padding: 6px 0; transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.site-header [role="navigation"] a:hover { opacity: 1 !important; }
.site-header [role="navigation"] a[aria-current="page"]:not(.nav-cta) { opacity: 1 !important; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
/* the one primary action: a solid button, same style everywhere */
.site-header [role="navigation"] a.nav-cta {
  opacity: 1 !important; background: #111; color: #e9e5de !important; border: 1px solid #111;
  padding: 10px 20px !important; margin: -6px 0 !important;
}
.site-header [role="navigation"] a.nav-cta:hover { background: transparent; color: #111 !important; }
@media (max-width: 768px) {
  .site-header [role="navigation"] { gap: 16px !important; }
  .site-header [role="navigation"] a { font-size: 0.6rem !important; letter-spacing: 0.12em !important; padding: 10px 0; }
  .site-header [role="navigation"] a.nav-cta { padding: 9px 12px !important; margin: -6px 0 !important; }
}

/* small print: darker so it passes contrast checks on the beige */
.site-footer p, .photo-count, .intro-meta, .sp-meta, .sp-kicker, .sp-n,
.info-block .counter, .more-block .more-label, .page-head .meta { color: #645d54 !important; }
.site-footer p { font-size: 0.62rem !important; }
.footer-nav a { opacity: 0.75 !important; }
.footer-nav a:hover { opacity: 1 !important; }
.back-link { opacity: 0.8 !important; }
.info-block .name, .more-block a.more-item { color: #333 !important; }
.info-block .name { font-size: 0.78rem !important; }
.site-footer .ft-mail { margin-left: 32px; font-size: 0.62rem; letter-spacing: 0.12em; color: #111; opacity: 0.8; text-decoration: none; padding: 8px 0; }
.site-footer .ft-mail:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* photos: soft tone while loading, then a gentle fade in */
.wrap { background: #dcd6cb; }
html.fade-ready .wrap img { opacity: 0; transition: opacity 0.5s ease; }
html.fade-ready .wrap img.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) { html.fade-ready .wrap img { transition: none; } }

/* homepage: larger opening line, stronger name labels, bigger client logos */
body.page-home .intro-block { width: 360px; }
body.page-home .intro-line { font-size: 1.5rem; line-height: 1.4; }
body.page-home .intro-cta { font-size: 0.66rem; }
body.page-home .label { background: linear-gradient(transparent, rgba(0,0,0,0.6)); }
body.page-home .label .hotel { font-size: 0.64rem; }
body.page-home .ticker-inner img { height: 30px; opacity: 0.85; }
body.page-home .studio-panel { width: 320px; }
body.page-home .sp-title { font-size: 1.3rem; }
body.page-home .sp-big { font-size: 1.65rem; }
body.page-home .sp-list dd, body.page-home .sp-steps li, body.page-home .sp-body { font-size: 0.9rem; }
body.page-home .sp-steps strong { font-size: 0.92rem; }
body.page-home .sp-list dt, body.page-home .sp-kicker { font-size: 0.64rem; }

/* homepage chapter breaks */
.chapter-mark { flex-shrink: 0; align-self: center; width: 150px; margin: 0 22px; padding-left: 20px; border-left: 1px solid rgba(17,17,17,0.18); }
.chapter-mark .cm-num { display: block; font-size: 0.66rem; letter-spacing: 0.2em; color: #645d54; margin-bottom: 10px; }
.chapter-mark .cm-title { font-size: 1.4rem; font-weight: 300; line-height: 1.2; color: #111; }
.chapter-mark .cm-place { display: block; margin-top: 10px; font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: #645d54; }

@media (max-width: 768px) {
  body.page-home .intro-block { width: auto !important; }
  body.page-home .intro-line { font-size: 1.5rem !important; }
  body.page-home .ticker-inner img { height: 24px; }
  body.page-home .studio-panel { width: auto !important; }
  body.page-home .sp-list dd, body.page-home .sp-steps li, body.page-home .sp-body { font-size: 0.95rem; }
  .chapter-mark { width: auto; align-self: stretch !important; margin: 26px 0 6px; padding: 18px 0 0; border-left: 0; border-top: 1px solid rgba(17,17,17,0.18); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .chapter-mark .cm-num { margin: 0; }
  .chapter-mark .cm-title { font-size: 1.3rem; }
  .chapter-mark .cm-place { margin: 0 0 0 auto; }
}

/* desktop galleries: progress line + "Scroll" guide that turns into "Back to start" */
.sprog, .scue { display: none; }
@media (min-width: 769px) {
  .sprog { display: block; position: fixed; z-index: 150; left: 0; top: 0; height: 2px; width: 100%; background: #111; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
  .scue {
    display: inline-flex; align-items: center; height: 30px; padding: 0 14px; margin-left: auto; margin-right: 28px;
    border: 1px solid rgba(17,17,17,0.4); background: transparent;
    font: 500 0.6rem/1 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: #111;
    cursor: pointer; transition: opacity 0.3s, background 0.2s, color 0.2s;
  }
  .scue:hover { background: #111; color: #e9e5de; opacity: 1; }
  .scue.is-faint { opacity: 0.55; }
}
@media (max-width: 768px) {
  .site-footer { justify-content: flex-start !important; column-gap: 20px !important; }
  .site-footer > p { flex-basis: 100%; }
  .site-footer .ft-mail { margin-left: 0; }
  .site-footer .footer-nav, .site-footer .photo-count { flex-basis: 100%; }
}

/* ── 5 · EMAIL CHOOSER + NEWSLETTER LINKS ─────────────────────── */
.mailbox { position: fixed; inset: 0; z-index: 700; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(17,17,17,0.35); }
.mailbox.open { display: flex; }
.mailbox .mb-card { position: relative; width: 380px; max-width: 100%; background: #e9e5de; color: #111; padding: 30px 26px 22px; box-shadow: 0 18px 50px rgba(0,0,0,0.2); font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.mailbox .mb-close { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; background: none; font-size: 22px; color: #111; opacity: 0.6; cursor: pointer; }
.mailbox .mb-close:hover { opacity: 1; }
.mailbox .mb-kicker { display: block; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: #645d54; margin-bottom: 10px; }
.mailbox .mb-addr { font-size: 1.15rem; font-weight: 300; margin: 0 0 20px; word-break: break-all; }
.mailbox .mb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mailbox .mb-btn { display: flex; align-items: center; justify-content: center; height: 46px; border: 1px solid #111; background: transparent; color: #111; text-decoration: none; font: 500 0.62rem/1 'Helvetica Neue', Helvetica, Arial, sans-serif; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; transition: background 0.2s, color 0.2s; }
.mailbox .mb-btn:hover, .mailbox .mb-primary { background: #111; color: #e9e5de; }
.mailbox .mb-primary:hover { background: transparent; color: #111; }
.mailbox .mb-msg { min-height: 1.2em; margin: 12px 0 0; font-size: 0.78rem; color: #333; }
@media (max-width: 768px) { .mailbox { align-items: flex-end; padding: 0; } .mailbox .mb-card { width: 100%; padding-bottom: calc(22px + env(safe-area-inset-bottom)); } .mailbox .mb-btn { height: 50px; } }

.sp-news { display: inline-block; margin-top: 18px; font-size: 0.78rem; color: #111; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; opacity: 0.85; }
.sp-news:hover { opacity: 1; }
.site-footer .ft-news { margin-left: 22px; }
.signup.done .su-later { display: none; }
/* keep the desktop bottom bar on one line on smaller laptop screens */
@media (min-width: 769px) {
  .site-footer > * { white-space: nowrap; }
}
@media (min-width: 769px) and (max-width: 1180px) { .site-footer .ft-privacy { display: none; } }
@media (min-width: 769px) and (max-width: 980px) { .site-footer .ft-mail:not(.ft-news):not(.ft-privacy) { display: none; } }

/* ── 6 · "BEHIND THIS IMAGE" NOTE (2026-11-19) ────────────────────────
   A closed-by-default note beside one photograph on a property page.
   Markup: <details class="image-note"><summary>Behind this image</summary><dl>…</dl></details> */
.image-note { flex-shrink: 0; width: 250px; align-self: center; margin: 0 22px 0 10px; cursor: auto; }
.image-note:not([open]) { width: 150px; }
.image-note summary {
  list-style: none; display: inline-block; cursor: pointer;
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: #111;
  opacity: 0.8; border-bottom: 1px solid rgba(17,17,17,0.3); padding: 6px 0 3px; transition: opacity 0.2s;
}
.image-note summary::-webkit-details-marker { display: none; }
.image-note summary::after { content: '\00a0+'; }
.image-note[open] summary::after { content: '\00a0\2212'; }
.image-note summary:hover { opacity: 1; }
.image-note dl { margin-top: 20px; }
.image-note dt { font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: #645d54; margin-top: 18px; }
.image-note dt:first-child { margin-top: 0; }
.image-note dd { margin-top: 6px; font-size: 0.8rem; font-weight: 300; line-height: 1.65; color: #333; }
@media (max-width: 768px) {
  .image-note, .image-note:not([open]) { width: auto; align-self: stretch !important; margin: 0 0 8px; scroll-margin-top: calc(var(--hdr) + 16px); }
  .image-note summary { font-size: 0.64rem; padding: 10px 0 4px; }
  .image-note dd { font-size: 0.9rem; }
}
