/* ==========================================================================
   Preset "residence" — יוקרה שקטה (Quiet Residence).
   Quiet luxury: a full-screen cinematic hero, refined serif headings, lots of
   whitespace, thin hairline rules, muted warm neutrals and ONE accent.
   Palette binding: the warm neutrals are fixed light/dark values lightly
   tinted by the user's --color-bg / --color-primary / --color-secondary, so
   the palette shows while text contrast stays guaranteed (dark ink on the
   light paper, white on the dark "night" surfaces we control).
   Every selector is scoped under body.zg-preset-residence.
   ========================================================================== */

body.zg-preset-residence {
  --p-paper: color-mix(in srgb, var(--color-bg, #f7f3ec) 18%, #f7f3ec);
  --p-paper-2: color-mix(in srgb, var(--color-bg, #fdfbf8) 10%, #fdfbf8);
  --p-stone: color-mix(in srgb, var(--color-primary, #8c6a4f) 7%, #ece6dc);
  --p-night: color-mix(in srgb, var(--color-secondary, #2b2723) 28%, #13110f);
  --p-night-2: color-mix(in srgb, var(--color-secondary, #2b2723) 22%, #1c1916);
  --p-ink: #1d1a17;
  --p-ink-soft: #4a443d;          /* ~8.9:1 on paper */
  --p-on-dark: #f5f1ea;
  --p-on-dark-soft: #cfc7bb;      /* ~10:1 on night */
  --p-accent: color-mix(in srgb, var(--color-primary, #8c6a4f) 58%, #000);   /* accent text on light */
  --p-accent-light: color-mix(in srgb, var(--color-primary, #8c6a4f) 50%, #fff); /* accent on dark */
  --p-accent-line: var(--color-primary, #8c6a4f);
  --p-btn: color-mix(in srgb, var(--color-primary, #8c6a4f) 78%, #000);
  --p-btn-hover: color-mix(in srgb, var(--color-primary, #8c6a4f) 60%, #000);
  --p-hair: 1px solid color-mix(in srgb, #1d1a17 15%, transparent);
  --p-hair-strong: 1px solid color-mix(in srgb, #1d1a17 32%, transparent);
  --p-hair-dark: 1px solid rgba(245, 241, 234, .2);
  --p-ease: cubic-bezier(.22, .61, .21, 1);
  --p-pad: clamp(88px, 11vw, 168px);
  background: var(--p-paper);
  color: var(--p-ink);
}
body.zg-preset-residence ::selection { background: var(--p-btn); color: #fff; }
body.zg-preset-residence a { color: var(--p-accent); }
body.zg-preset-residence a:hover { color: var(--p-ink); }
body.zg-preset-residence :focus-visible { outline: 1px solid var(--p-accent); outline-offset: 4px; }

/* ---------- Shared type ---------- */
body.zg-preset-residence .rs-kicker {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: .78rem; font-weight: 500; letter-spacing: .28em;
  color: var(--p-accent) !important;
}
body.zg-preset-residence .rs-kicker--center { justify-content: center; }
body.zg-preset-residence .rs-rule-mark { display: inline-block; width: 40px; height: 1px; background: currentColor; flex: none; }
body.zg-preset-residence .rs-h2 {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.12; letter-spacing: -.005em;
  margin: 0; color: var(--p-ink) !important;
}
body.zg-preset-residence .rs-h2 em { font-style: normal; color: var(--p-accent) !important; }
body.zg-preset-residence .rs-lead { margin: 0; font-size: 1.08rem; line-height: 1.85; color: var(--p-ink-soft) !important; }
body.zg-preset-residence .rs-hairline { display: block; width: 64px; height: 1px; background: var(--p-accent-line); margin: 30px 0; }
body.zg-preset-residence .rs-textlink {
  display: inline-flex; align-items: center; gap: 10px; width: max-content;
  font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-decoration: none;
  color: var(--p-accent) !important;
}
body.zg-preset-residence .rs-textlink span { transition: transform .5s var(--p-ease); }
body.zg-preset-residence .rs-textlink:hover { color: var(--p-ink) !important; }
body.zg-preset-residence .rs-textlink:hover span { transform: translateX(-6px); }

/* ---------- Buttons ---------- */
body.zg-preset-residence .rs-btn,
body.zg-preset-residence .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 32px; border-radius: 0;
  font-family: var(--font-body); font-size: .9rem; font-weight: 500; letter-spacing: .1em;
  text-decoration: none; box-shadow: none; cursor: pointer;
  transition: background .45s var(--p-ease), color .45s var(--p-ease), border-color .45s var(--p-ease);
}
body.zg-preset-residence .rs-btn--solid,
body.zg-preset-residence .btn-primary,
body.zg-preset-residence .btn.btn-primary {
  background: var(--p-btn) !important; color: #fff !important; border: 1px solid var(--p-btn) !important;
}
body.zg-preset-residence .rs-btn--solid:hover,
body.zg-preset-residence .btn-primary:hover,
body.zg-preset-residence .btn.btn-primary:hover {
  background: var(--p-btn-hover) !important; border-color: var(--p-btn-hover) !important; color: #fff !important;
}
body.zg-preset-residence .rs-btn--ghost,
body.zg-preset-residence .btn-outline,
body.zg-preset-residence .btn.btn-outline,
body.zg-preset-residence .btn-secondary {
  background: transparent !important; color: var(--p-ink) !important; border: var(--p-hair-strong) !important;
}
body.zg-preset-residence .rs-btn--ghost:hover,
body.zg-preset-residence .btn-outline:hover,
body.zg-preset-residence .btn-secondary:hover { background: var(--p-ink) !important; color: #fff !important; border-color: var(--p-ink) !important; }
body.zg-preset-residence .rs-btn span { transition: transform .5s var(--p-ease); }
body.zg-preset-residence .rs-btn:hover span { transform: translateX(-5px); }

/* ---------- Header ---------- */
body.zg-preset-residence #site-header {
  background: color-mix(in srgb, var(--p-paper) 96%, transparent) !important;
  border-bottom: var(--p-hair); box-shadow: none;
  transition: background .5s var(--p-ease), border-color .5s var(--p-ease), padding .4s var(--p-ease);
}
body.zg-preset-residence #site-header.transparent:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(12, 10, 8, .55), rgba(12, 10, 8, 0)) !important;
  border-bottom-color: rgba(255, 255, 255, .16);
}
body.zg-preset-residence #site-header.scrolled { background: color-mix(in srgb, var(--p-paper) 97%, transparent) !important; border-bottom: var(--p-hair); backdrop-filter: blur(10px); }
body.zg-preset-residence #site-header .site-logo-name { font-family: var(--font-heading); font-weight: 400; letter-spacing: .06em; color: var(--p-ink) !important; }
body.zg-preset-residence #site-header .main-nav a,
body.zg-preset-residence #site-header .main-nav .sub-menu-toggle,
body.zg-preset-residence #site-header .nav-phone,
body.zg-preset-residence #site-header .nav-phone-btn { color: var(--p-ink) !important; font-size: .9rem; font-weight: 500; letter-spacing: .06em; }
body.zg-preset-residence #site-header .main-nav a:hover,
body.zg-preset-residence #site-header .main-nav .current-menu-item > a { color: var(--p-accent) !important; }
body.zg-preset-residence #site-header .menu-toggle span { background: var(--p-ink) !important; }
body.zg-preset-residence #site-header.transparent:not(.scrolled) .site-logo-name,
body.zg-preset-residence #site-header.transparent:not(.scrolled) .main-nav > ul > li > a,
body.zg-preset-residence #site-header.transparent:not(.scrolled) .main-nav > ul > li > .sub-menu-toggle,
body.zg-preset-residence #site-header.transparent:not(.scrolled) .nav-phone,
body.zg-preset-residence #site-header.transparent:not(.scrolled) .nav-phone-btn { color: #fff !important; }
body.zg-preset-residence #site-header.transparent:not(.scrolled) .main-nav > ul > li > a:hover { color: var(--p-accent-light) !important; }
body.zg-preset-residence #site-header.transparent:not(.scrolled) .menu-toggle span { background: #fff !important; }
body.zg-preset-residence #site-header .main-nav .sub-menu { background: var(--p-paper-2); border: var(--p-hair); border-radius: 0; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .25); }
body.zg-preset-residence #site-header .main-nav .sub-menu a { color: var(--p-ink) !important; }
body.zg-preset-residence #site-header .nav-cta {
  background: transparent !important; color: var(--p-ink) !important;
  border: var(--p-hair-strong) !important; border-radius: 0 !important; letter-spacing: .1em;
}
body.zg-preset-residence #site-header .nav-cta:hover { background: var(--p-btn) !important; border-color: var(--p-btn) !important; color: #fff !important; }
body.zg-preset-residence #site-header.transparent:not(.scrolled) .nav-cta { color: #fff !important; border-color: rgba(255, 255, 255, .6) !important; }
body.zg-preset-residence .mobile-nav { background: var(--p-night); }
body.zg-preset-residence .mobile-nav a { color: var(--p-on-dark) !important; border-bottom: var(--p-hair-dark); font-family: var(--font-heading); }

/* ==========================================================================
   HERO — full-screen cinematic, copy anchored to the lower corner
   ========================================================================== */
body.zg-preset-residence #hero.rs-hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100vh; min-height: 100svh; padding: 0;
  background: #14110e;
}
body.zg-preset-residence .rs-hero-stage { position: absolute; inset: 0; z-index: 0; }
body.zg-preset-residence .rs-hero-slide {
  position: absolute; inset: 0; overflow: hidden;
  opacity: 0; transition: opacity 1.8s var(--p-ease);
}
body.zg-preset-residence .rs-hero-slide.is-active { opacity: 1; }
body.zg-preset-residence .rs-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); }
body.zg-preset-residence .rs-hero-slide.is-active .rs-hero-img { animation: rs-drift 16s var(--p-ease) forwards; }
@keyframes rs-drift { from { transform: scale(1.08); } to { transform: scale(1); } }
body.zg-preset-residence .rs-hero-stage .zg-hero-video { position: absolute; inset: 0; }
body.zg-preset-residence .rs-hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(12, 10, 8, .86) 0%, rgba(12, 10, 8, .7) 32%, rgba(12, 10, 8, .38) 62%, rgba(12, 10, 8, .18) 80%, rgba(12, 10, 8, .45) 100%);
}
body.zg-preset-residence .rs-hero-inner { position: relative; z-index: 2; padding-top: 150px; padding-bottom: clamp(36px, 5vw, 64px); }
body.zg-preset-residence .rs-hero-copy { max-width: 980px; }
body.zg-preset-residence #hero .rs-hero-kicker {
  display: flex; align-items: center; gap: 16px; margin: 0 0 26px;
  font-size: .8rem; font-weight: 500; letter-spacing: .3em;
  color: #fff !important;
}
body.zg-preset-residence #hero .rs-hero-kicker span { color: #fff !important; }
body.zg-preset-residence #hero .rs-hero-kicker .rs-rule-mark { background: var(--p-accent-light); }
body.zg-preset-residence #hero h1.rs-hero-heading,
body.zg-preset-residence #hero .rs-hero-heading {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.8rem); line-height: 1.04; letter-spacing: -.01em;
  margin: 0; max-width: 16ch; color: #fff !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
body.zg-preset-residence #hero .rs-hero-heading em { font-style: normal; color: var(--p-accent-light) !important; }
body.zg-preset-residence .rs-hero-line {
  display: block; width: 96px; height: 1px; margin: 34px 0 30px;
  background: rgba(255, 255, 255, .55); transform-origin: right center;
}
body.zg-preset-residence .rs-hero-foot {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px); align-items: end;
}
body.zg-preset-residence #hero .rs-hero-lead {
  margin: 0; max-width: 470px; font-size: 1.1rem; line-height: 1.85;
  color: #ece6dc !important;
}
body.zg-preset-residence .rs-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
body.zg-preset-residence #hero .rs-btn--solid { color: #fff !important; }
body.zg-preset-residence #hero .rs-btn--ghost {
  color: #fff !important; border: 1px solid rgba(255, 255, 255, .6) !important; background: rgba(12, 10, 8, .2) !important;
}
body.zg-preset-residence #hero .rs-btn--ghost:hover { background: #fff !important; color: #14110e !important; border-color: #fff !important; }
body.zg-preset-residence #hero .rs-hero-phone { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 28px 0 0; }
body.zg-preset-residence #hero .rs-hero-phone-link {
  font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: .04em; direction: ltr;
  color: #fff !important; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4);
}
body.zg-preset-residence #hero .rs-hero-phone-link:hover { border-bottom-color: #fff; }
body.zg-preset-residence #hero .rs-hero-phone-label { font-size: .85rem; color: #e2dbcf !important; }

body.zg-preset-residence .rs-hero-bar { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, .2); background: rgba(12, 10, 8, .55); }
body.zg-preset-residence .rs-hero-bar-inner { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; min-height: 84px; }
body.zg-preset-residence .rs-hero-figures { display: flex; margin: 0; }
body.zg-preset-residence .rs-hero-figure {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 16px clamp(18px, 3vw, 44px); border-inline-start: 1px solid rgba(255, 255, 255, .18);
}
body.zg-preset-residence .rs-hero-figure:first-child { border-inline-start: 0; padding-inline-start: 0; }
body.zg-preset-residence #hero .rs-fig-num {
  font-family: var(--font-heading); font-weight: 400; font-size: 1.9rem; line-height: 1;
  color: #fff !important; margin: 0;
}
body.zg-preset-residence #hero .rs-fig-label { margin: 0; font-size: .76rem; letter-spacing: .14em; color: #e2dbcf !important; }
body.zg-preset-residence .rs-hero-nav { display: flex; align-items: center; gap: 28px; }
body.zg-preset-residence #hero .rs-hero-nav .hero-dots {
  position: static; transform: none; inset: auto; display: flex; gap: 10px;
}
body.zg-preset-residence #hero .hero-dot {
  width: 30px; height: 12px; padding: 0; border: 0; border-radius: 0; cursor: pointer;
  background: linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .45)) center / 100% 1px no-repeat;
  transition: background-size .4s var(--p-ease);
}
body.zg-preset-residence #hero .hero-dot.is-active { background: linear-gradient(#fff, #fff) center / 100% 2px no-repeat; }
body.zg-preset-residence .rs-hero-scroll { position: relative; display: block; width: 24px; height: 56px; }
body.zg-preset-residence .rs-hero-scroll-line { position: absolute; inset-inline-start: 50%; top: 8px; bottom: 8px; width: 1px; background: rgba(255, 255, 255, .3); overflow: hidden; }
body.zg-preset-residence .rs-hero-scroll-line::after {
  content: ""; position: absolute; inset-inline: 0; top: -40%; height: 40%; background: #fff;
  animation: rs-scroll 2.4s var(--p-ease) infinite;
}
@keyframes rs-scroll { 0% { top: -40%; } 100% { top: 100%; } }
body.zg-preset-residence #hero .zg-hero-video__controls { inset-block-end: 104px; }

/* ==========================================================================
   SERVICES — editorial "suites": tall portraits in a staggered 3-col rhythm
   ========================================================================== */
body.zg-preset-residence #services.rs-services { background: var(--p-paper); padding: var(--p-pad) 0; }
body.zg-preset-residence .rs-split-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 80px); align-items: end;
  padding-bottom: 40px; margin-bottom: clamp(48px, 6vw, 80px); border-bottom: var(--p-hair);
}
body.zg-preset-residence .rs-split-head-side .zg-expandable,
body.zg-preset-residence .rs-split-head-side p { color: var(--p-ink-soft) !important; line-height: 1.85; }
body.zg-preset-residence .rs-suites {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 48px);
}
body.zg-preset-residence .rs-suite:nth-child(3n+2) { margin-top: 72px; }
body.zg-preset-residence .rs-suite-media { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--p-stone); }
body.zg-preset-residence .rs-suite-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.85); transition: transform 1.6s var(--p-ease), filter .8s var(--p-ease);
}
body.zg-preset-residence .rs-suite:hover .rs-suite-media img { transform: scale(1.05); filter: saturate(1); }
body.zg-preset-residence .rs-suite--noimg { border-top: var(--p-hair-strong); }
body.zg-preset-residence .rs-suite-body { padding-top: 26px; }
body.zg-preset-residence .rs-suite-num {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font-size: .76rem; letter-spacing: .28em; color: var(--p-accent);
}
body.zg-preset-residence .rs-suite-num::after { content: ""; flex: 0 0 36px; height: 1px; background: currentColor; }
body.zg-preset-residence #services .rs-suite-name {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.25;
  margin: 0 0 12px; color: var(--p-ink) !important;
}
body.zg-preset-residence #services .rs-suite-name a { color: var(--p-ink) !important; text-decoration: none; }
body.zg-preset-residence #services .rs-suite-name a:hover { color: var(--p-accent) !important; }
body.zg-preset-residence #services .rs-suite-name .zg-card-icon { color: var(--p-accent); display: inline-flex; }
body.zg-preset-residence #services .rs-suite-desc { margin: 0; line-height: 1.8; }
body.zg-preset-residence #services .rs-suite-desc a { color: var(--p-ink-soft) !important; text-decoration: none; }
body.zg-preset-residence .rs-suite-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 22px; padding-top: 16px; border-top: var(--p-hair);
}
body.zg-preset-residence #services .rs-suite-price { color: var(--p-ink) !important; font-weight: 600; letter-spacing: .04em; }
body.zg-preset-residence .rs-suite-foot .rs-textlink { margin-inline-start: auto; }

/* ==========================================================================
   ABOUT — portrait with offset hairline frame + ruled facts band
   ========================================================================== */
body.zg-preset-residence #about.rs-about { background: var(--p-paper-2); padding: var(--p-pad) 0; }
body.zg-preset-residence .rs-about-spread {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 120px); align-items: center;
}
body.zg-preset-residence .rs-about-frame { position: relative; }
body.zg-preset-residence .rs-about-frame::before {
  content: ""; position: absolute; inset-block: 22px -22px; inset-inline: -22px 22px;
  border: 1px solid var(--p-accent-line); opacity: .55; pointer-events: none;
}
body.zg-preset-residence .rs-about-frame img {
  position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
}
body.zg-preset-residence .rs-about-media > :not(.rs-about-frame) { margin-top: 40px; }
body.zg-preset-residence .rs-about-media img { border-radius: 0; max-width: 100%; }
body.zg-preset-residence #about .rs-about-heading { font-size: clamp(2rem, 4vw, 3.3rem); }
body.zg-preset-residence #about .rs-about-body,
body.zg-preset-residence #about .rs-about-body p,
body.zg-preset-residence #about .rs-about-body li { color: var(--p-ink-soft) !important; font-size: 1.08rem; line-height: 1.9; }
body.zg-preset-residence #about .rs-about-body a { color: var(--p-accent) !important; }
body.zg-preset-residence #about .rs-about-cta { margin-top: 30px; }
body.zg-preset-residence .rs-facts {
  list-style: none; margin: clamp(64px, 8vw, 104px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: var(--p-hair-strong);
}
body.zg-preset-residence .rs-fact {
  display: flex; flex-direction: column; gap: 10px;
  padding: 32px clamp(20px, 3vw, 40px) 0; border-inline-start: var(--p-hair);
}
body.zg-preset-residence .rs-fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
body.zg-preset-residence .rs-fact-num { font-family: var(--font-heading); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--p-accent); }
body.zg-preset-residence .rs-fact .zg-item-icon { color: var(--p-accent); }
body.zg-preset-residence #about .rs-fact-title { color: var(--p-ink) !important; font-size: 1.1rem; font-weight: 600; }
body.zg-preset-residence #about .rs-fact-body { color: var(--p-ink-soft) !important; line-height: 1.75; }

/* ==========================================================================
   REVIEWS — one quiet serif quotation at a time
   ========================================================================== */
body.zg-preset-residence #reviews.rs-reviews { background: var(--p-stone); padding: var(--p-pad) 0; }
body.zg-preset-residence .rs-center-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
body.zg-preset-residence .rs-voices { max-width: 900px; margin: 0 auto; text-align: center; }
body.zg-preset-residence .rs-voice-stage { display: grid; border-block: var(--p-hair-strong); padding: clamp(40px, 5vw, 64px) 0; }
body.zg-preset-residence .rs-voice {
  grid-area: 1 / 1; margin: 0; padding: 0; border: 0; background: none;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 1s var(--p-ease), transform 1s var(--p-ease), visibility 0s 1s;
}
body.zg-preset-residence .rs-voice.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
body.zg-preset-residence #reviews .rs-voice-text {
  font-family: var(--font-heading); font-weight: 400;
  font-size: clamp(1.35rem, 2.7vw, 2.1rem); line-height: 1.6; margin: 0 0 34px;
  color: var(--p-ink) !important;
}
body.zg-preset-residence #reviews .rs-voice-text::before { content: "\201D"; display: block; font-size: 3.2em; line-height: .6; height: .45em; color: var(--p-accent); }
body.zg-preset-residence .rs-voice-by { display: flex; flex-direction: column; align-items: center; gap: 6px; }
body.zg-preset-residence #reviews .rs-voice-by cite { font-style: normal; font-weight: 600; letter-spacing: .16em; color: var(--p-ink) !important; }
body.zg-preset-residence #reviews .rs-voice-role { font-size: .88rem; color: var(--p-ink-soft) !important; }
body.zg-preset-residence #reviews .rs-voice-stat { font-size: .78rem; letter-spacing: .2em; color: var(--p-accent) !important; }
body.zg-preset-residence .rs-voice-ctrl { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 32px; }
body.zg-preset-residence .rs-voice-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  background: transparent; border: var(--p-hair-strong); border-radius: 50%;
  color: var(--p-ink); cursor: pointer; transition: background .4s var(--p-ease), color .4s var(--p-ease);
}
body.zg-preset-residence .rs-voice-btn:hover { background: var(--p-ink); color: #fff; }
body.zg-preset-residence .rs-voice-count { font-size: .82rem; letter-spacing: .2em; font-variant-numeric: tabular-nums; color: var(--p-ink-soft); direction: ltr; }

/* ==========================================================================
   FAQ — editorial two-column + hairline accordion
   ========================================================================== */
body.zg-preset-residence .rs-faq { background: var(--p-paper); padding: var(--p-pad) 0; }
body.zg-preset-residence .rs-faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
body.zg-preset-residence .rs-faq-head { position: sticky; top: 120px; }
body.zg-preset-residence .faq-accordion-list { border-top: var(--p-hair-strong); }
body.zg-preset-residence .faq-accordion-item { border-bottom: var(--p-hair); background: transparent; border-radius: 0; box-shadow: none; }
body.zg-preset-residence .faq-accordion-question {
  display: flex; align-items: center; gap: 20px; width: 100%; padding: 26px 0;
  background: none; border: 0; text-align: start; cursor: pointer; font: inherit;
  color: var(--p-ink) !important;
}
body.zg-preset-residence .rs-faq-num { flex: none; font-size: .76rem; letter-spacing: .24em; color: var(--p-accent); }
body.zg-preset-residence .rs-faq-q { flex: 1; font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.45; color: var(--p-ink) !important; }
body.zg-preset-residence .faq-accordion-toggle::before,
body.zg-preset-residence .faq-accordion-toggle::after { background: var(--p-ink) !important; height: 1px !important; }
body.zg-preset-residence .faq-accordion-answer p { color: var(--p-ink-soft) !important; line-height: 1.85; padding-inline-start: 46px; }

/* ==========================================================================
   CONTACT — dark "enquiries" spread + paper form panel
   ========================================================================== */
body.zg-preset-residence #contact.rs-contact { background: var(--p-night); padding: var(--p-pad) 0; }
body.zg-preset-residence .rs-contact-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 100px); align-items: start;
}
body.zg-preset-residence #contact .rs-kicker { color: var(--p-accent-light) !important; }
body.zg-preset-residence #contact .rs-contact-heading { color: #fff !important; margin-bottom: 22px; }
body.zg-preset-residence #contact .rs-lead { color: var(--p-on-dark-soft) !important; margin-bottom: 36px; }
body.zg-preset-residence .rs-contact-list { list-style: none; margin: 0; padding: 0; border-top: var(--p-hair-dark); }
body.zg-preset-residence .rs-contact-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: var(--p-hair-dark); }
body.zg-preset-residence #contact .rs-contact-label { font-size: .74rem; letter-spacing: .24em; color: var(--p-accent-light) !important; }
body.zg-preset-residence #contact .rs-contact-list a { color: var(--p-on-dark) !important; text-decoration: none; font-size: 1.08rem; word-break: break-word; }
body.zg-preset-residence #contact .rs-contact-list a:hover { color: #fff !important; text-decoration: underline; text-underline-offset: 5px; }
body.zg-preset-residence .rs-contact-formwrap { background: var(--p-paper); padding: clamp(28px, 4.5vw, 60px); outline: 1px solid rgba(245, 241, 234, .25); outline-offset: 12px; }
body.zg-preset-residence .rs-contact-map { margin-top: clamp(56px, 7vw, 96px); line-height: 0; border: var(--p-hair-dark); }
body.zg-preset-residence .rs-contact-map iframe { filter: grayscale(1) sepia(.18) contrast(1.02); }

/* Forms (home + inner + sidebar) — underline fields on paper */
body.zg-preset-residence .contact-form { background: transparent; box-shadow: none; border: 0; border-radius: 0; }
body.zg-preset-residence .rs-contact-form { padding: 0; }
body.zg-preset-residence .contact-form__title {
  font-family: var(--font-heading); font-weight: 400; font-size: 1.7rem; margin-bottom: 26px;
  color: var(--p-ink) !important;
}
body.zg-preset-residence .form-group label { font-size: .78rem; letter-spacing: .14em; font-weight: 500; color: var(--p-ink-soft) !important; }
body.zg-preset-residence .contact-form input,
body.zg-preset-residence .contact-form textarea,
body.zg-preset-residence .contact-form select,
body.zg-preset-residence .form-group input,
body.zg-preset-residence .form-group textarea,
body.zg-preset-residence .form-group select {
  background: transparent !important; color: var(--p-ink) !important;
  border: 0 !important; border-bottom: 1px solid color-mix(in srgb, #1d1a17 30%, transparent) !important;
  border-radius: 0 !important; padding: 12px 0 !important; box-shadow: none !important;
}
body.zg-preset-residence .form-group input::placeholder,
body.zg-preset-residence .form-group textarea::placeholder { color: #857d72; }
body.zg-preset-residence .form-group input:focus,
body.zg-preset-residence .form-group textarea:focus,
body.zg-preset-residence .form-group select:focus { outline: none; border-bottom-color: var(--p-btn) !important; box-shadow: 0 1px 0 var(--p-btn) !important; }
body.zg-preset-residence .contact-form .form-submit,
body.zg-preset-residence .sidebar-form__submit {
  background: var(--p-btn) !important; color: #fff !important; border: 1px solid var(--p-btn) !important;
  border-radius: 0 !important; min-height: 54px; letter-spacing: .12em; box-shadow: none !important;
}
body.zg-preset-residence .contact-form .form-submit:hover,
body.zg-preset-residence .sidebar-form__submit:hover { background: var(--p-btn-hover) !important; border-color: var(--p-btn-hover) !important; }
body.zg-preset-residence .contact-form .form-submit .btn-text { color: inherit !important; }

/* ==========================================================================
   Inner pages — page hero, section headers, cards, blog, sidebar, gallery
   ========================================================================== */
body.zg-preset-residence .page-hero { background: var(--p-night); border-bottom: 1px solid var(--p-accent-line); }
body.zg-preset-residence .page-hero__overlay { background: linear-gradient(180deg, rgba(12, 10, 8, .5), rgba(12, 10, 8, .82)); }
body.zg-preset-residence .page-hero__title { font-weight: 400 !important; letter-spacing: -.005em; color: #fff !important; text-shadow: none !important; }
body.zg-preset-residence .page-hero__subtitle { color: #ece6dc !important; text-shadow: none; }
body.zg-preset-residence .page-hero .breadcrumbs,
body.zg-preset-residence .page-hero .breadcrumbs a,
body.zg-preset-residence .page-hero .breadcrumbs span { color: #e2dbcf !important; font-size: .8rem; letter-spacing: .1em; }
body.zg-preset-residence .page-hero .breadcrumbs a:hover { color: #fff !important; }

body.zg-preset-residence .section-header h2 { font-weight: 400; color: var(--p-ink) !important; }
body.zg-preset-residence .section-header h2::after { width: 56px; height: 1px; border-radius: 0; background: var(--p-accent-line); margin: 20px auto 0; }
body.zg-preset-residence .section-header .eyebrow,
body.zg-preset-residence .eyebrow { color: var(--p-accent) !important; letter-spacing: .26em; font-size: .78rem; font-weight: 500; }
body.zg-preset-residence .section-header p { color: var(--p-ink-soft) !important; }
body.zg-preset-residence .section-alt { background: var(--p-paper-2); }

body.zg-preset-residence .services-grid,
body.zg-preset-residence .services-index-grid { gap: clamp(24px, 3vw, 40px); }
body.zg-preset-residence .service-card {
  background: var(--p-paper-2) !important; border: var(--p-hair) !important; border-radius: 0 !important;
  box-shadow: none !important; transition: border-color .5s var(--p-ease);
}
body.zg-preset-residence .service-card:hover { border-color: color-mix(in srgb, #1d1a17 40%, transparent) !important; transform: none; }
body.zg-preset-residence .service-card-image { border-radius: 0; overflow: hidden; }
body.zg-preset-residence .service-card-image img { transition: transform 1.6s var(--p-ease); }
body.zg-preset-residence .service-card:hover .service-card-image img { transform: scale(1.05); }
body.zg-preset-residence .service-card-body h3,
body.zg-preset-residence .service-card-body h3 a { font-family: var(--font-heading); font-weight: 400; color: var(--p-ink) !important; }
body.zg-preset-residence .service-card-body p { color: var(--p-ink-soft) !important; }
body.zg-preset-residence .service-card-cta,
body.zg-preset-residence .service-price { color: var(--p-accent) !important; letter-spacing: .1em; }

body.zg-preset-residence .blog-card {
  background: var(--p-paper-2); border: var(--p-hair); border-radius: 0; box-shadow: none; overflow: hidden;
  transition: border-color .5s var(--p-ease);
}
body.zg-preset-residence .blog-card:hover { border-color: color-mix(in srgb, #1d1a17 40%, transparent); transform: none; box-shadow: none; }
body.zg-preset-residence .blog-card__image-wrap { border-radius: 0; }
body.zg-preset-residence .blog-card__image { transition: transform 1.6s var(--p-ease); }
body.zg-preset-residence .blog-card:hover .blog-card__image { transform: scale(1.04); }
body.zg-preset-residence .blog-card__cat { background: var(--p-night) !important; color: #fff !important; border-radius: 0; letter-spacing: .14em; }
body.zg-preset-residence .blog-card__title,
body.zg-preset-residence .blog-card__title a { font-family: var(--font-heading); font-weight: 400; color: var(--p-ink) !important; }
body.zg-preset-residence .blog-card__excerpt,
body.zg-preset-residence .blog-card__date { color: var(--p-ink-soft) !important; }
body.zg-preset-residence .blog-card__footer { border-top: var(--p-hair); }
body.zg-preset-residence .blog-card__read-more { color: var(--p-accent) !important; letter-spacing: .14em; font-size: .8rem; }

body.zg-preset-residence .sidebar-card {
  background: var(--p-paper-2) !important; border: var(--p-hair) !important; border-top: 1px solid var(--p-accent-line) !important;
  border-radius: 0 !important; box-shadow: none !important;
}
body.zg-preset-residence .sidebar-card h3,
body.zg-preset-residence .sidebar-card h4 { font-family: var(--font-heading); font-weight: 400; color: var(--p-ink) !important; }
body.zg-preset-residence .sidebar-card p,
body.zg-preset-residence .sidebar-card li { color: var(--p-ink-soft) !important; }

body.zg-preset-residence .gallery-grid { gap: 12px; }
body.zg-preset-residence .gallery-item { border-radius: 0 !important; overflow: hidden; }
body.zg-preset-residence .gallery-item img { border-radius: 0; filter: saturate(.88); transition: transform 1.6s var(--p-ease), filter .8s var(--p-ease); }
body.zg-preset-residence .gallery-item:hover img { transform: scale(1.04); filter: saturate(1); }
body.zg-preset-residence .gallery-overlay { background: linear-gradient(to top, rgba(12, 10, 8, .7), transparent 60%); color: #fff; }

/* ---------- Footer ---------- */
body.zg-preset-residence #site-footer { background: var(--p-night) !important; color: var(--p-on-dark-soft) !important; border-top: 1px solid var(--p-accent-line); }
body.zg-preset-residence #site-footer .footer-col h4 {
  font-family: var(--font-heading); font-weight: 400; font-size: 1.1rem; letter-spacing: .04em;
  color: #fff !important; padding-bottom: 14px; border-bottom: var(--p-hair-dark);
}
body.zg-preset-residence #site-footer p,
body.zg-preset-residence #site-footer li,
body.zg-preset-residence #site-footer td { color: var(--p-on-dark-soft) !important; }
body.zg-preset-residence #site-footer a { color: var(--p-on-dark) !important; }
body.zg-preset-residence #site-footer a:hover { color: var(--p-accent-light) !important; }
body.zg-preset-residence #site-footer .site-logo-name { font-family: var(--font-heading); color: #fff !important; }
body.zg-preset-residence #site-footer .footer-bottom { border-top: var(--p-hair-dark); }
body.zg-preset-residence #site-footer .footer-bottom,
body.zg-preset-residence #site-footer .footer-bottom * { color: #b9b1a5 !important; }
body.zg-preset-residence #site-footer .footer-bottom a:hover { color: #fff !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  body.zg-preset-residence .rs-hero-foot { grid-template-columns: 1fr; gap: 26px; }
  body.zg-preset-residence .rs-hero-actions { justify-content: flex-start; }
  body.zg-preset-residence .rs-hero-scrim {
    background: linear-gradient(to top, rgba(12, 10, 8, .9) 0%, rgba(12, 10, 8, .74) 45%, rgba(12, 10, 8, .5) 75%, rgba(12, 10, 8, .55) 100%);
  }
  body.zg-preset-residence .rs-split-head { grid-template-columns: 1fr; align-items: start; }
  body.zg-preset-residence .rs-suites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.zg-preset-residence .rs-suite:nth-child(3n+2) { margin-top: 0; }
  body.zg-preset-residence .rs-suite:nth-child(even) { margin-top: 48px; }
  body.zg-preset-residence .rs-about-spread { grid-template-columns: 1fr; }
  body.zg-preset-residence .rs-about-media { max-width: 520px; margin-inline: 22px; }
  body.zg-preset-residence .rs-faq-grid { grid-template-columns: 1fr; }
  body.zg-preset-residence .rs-faq-head { position: static; }
  body.zg-preset-residence .rs-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body.zg-preset-residence #hero .rs-hero-heading { font-size: clamp(2.1rem, 9.5vw, 2.8rem); }
  body.zg-preset-residence .rs-hero-inner { padding-top: 120px; }
  body.zg-preset-residence .rs-hero-actions .rs-btn { flex: 1 1 100%; }
  body.zg-preset-residence .rs-hero-bar-inner { flex-wrap: wrap; min-height: 0; padding-block: 8px; }
  body.zg-preset-residence .rs-hero-figures { width: 100%; }
  body.zg-preset-residence .rs-hero-figure { flex: 1 1 0; padding: 12px 10px; }
  body.zg-preset-residence #hero .rs-fig-num { font-size: 1.45rem; }
  body.zg-preset-residence .rs-hero-scroll { display: none; }
  body.zg-preset-residence .rs-hero-nav { padding-bottom: 8px; }
  body.zg-preset-residence #hero .zg-hero-video__controls { inset-block-end: 150px; }
  body.zg-preset-residence .rs-suites { grid-template-columns: 1fr; }
  body.zg-preset-residence .rs-suite:nth-child(even) { margin-top: 0; }
  body.zg-preset-residence .rs-fact { border-inline-start: 0; padding-inline: 0; border-top: var(--p-hair); padding-bottom: 24px; }
  body.zg-preset-residence .rs-fact:first-child { border-top: 0; }
  body.zg-preset-residence .rs-contact-list li { grid-template-columns: 1fr; gap: 6px; }
  body.zg-preset-residence .rs-contact-formwrap { outline-offset: 6px; }
  body.zg-preset-residence .faq-accordion-answer p { padding-inline-start: 0; }
  body.zg-preset-residence .rs-btn,
  body.zg-preset-residence .btn { padding: 0 22px; }
}
@media (prefers-reduced-motion: reduce) {
  body.zg-preset-residence .rs-hero-slide.is-active .rs-hero-img { animation: none; transform: none; }
  body.zg-preset-residence .rs-hero-scroll-line::after { animation: none; }
  body.zg-preset-residence *,
  body.zg-preset-residence *::before,
  body.zg-preset-residence *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
