/* Whitewill Dubai — off-plan microsite template */

:root {
  --noir: #0E0F11;
  --ink:  #16181B;
  --ink2: #1F2226;
  --line: #E4E1DB;
  --line2: #2A2D31;
  --paper: #FBFBFA;
  --stone: #EFEDE9;
  --bone: #F4F2EE;
  --muted: #6B6862;
  --muted2: #8B8881;
  --paper-mute: #A7A39C;
  --accent: #1F2A30;
  --focus: #C8A85B;
  --shadow: 0 1px 2px rgba(15,15,15,0.04), 0 12px 40px rgba(15,15,15,0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); }
body {
  font-family: 'Inter', system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[dir="rtl"] body {
  font-family: 'Noto Kufi Arabic', 'Inter', system-ui, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

/* ------- Type ------- */
.ww-h2 {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  color: var(--ink);
  text-wrap: balance;
}
[dir="rtl"] .ww-h2 { font-family: 'Cormorant Garamond', 'Noto Kufi Arabic', serif; }
.ww-h2-light { color: var(--paper); }
.ww-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  max-width: 56ch;
  text-wrap: pretty;
}
.ww-body-light { color: var(--paper); opacity: 0.85; }
.ww-section-eyebrow {
  font-family: ui-monospace, 'JetBrains Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ------- Layout ------- */
.ww-wrap { max-width: 1320px; margin: 0 auto; padding: 0 36px; }
.ww-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}
@media (max-width: 880px) {
  .ww-wrap { padding: 0 24px; }
  .ww-two-col { grid-template-columns: 1fr; gap: 36px; }
}

/* ------- Buttons ------- */
.ww-btn {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 0;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
  white-space: nowrap;
}
.ww-btn:hover { background: var(--accent); border-color: var(--accent); }
.ww-btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ww-btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.ww-btn-ghost:hover { background: var(--ink); color: var(--paper); }
.ww-btn-lg { padding: 16px 26px; font-size: 13px; letter-spacing: 0.08em; }
.ww-btn-block { width: 100%; }

/* ------- Pill / chip ------- */
.ww-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: ui-monospace, monospace;
  background: var(--bone);
}
.ww-pill-mute { background: transparent; }

/* ------- Top bar ------- */
.ww-topbar {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--line2);
  position: relative;
  z-index: 60;
}
.ww-topbar-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 9px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.ww-topbar .ww-pill {
  border-color: var(--line2);
  color: var(--paper-mute);
  background: transparent;
}
.ww-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--paper-mute);
}
.ww-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--paper);
  text-decoration: none;
  transition: color .15s;
}
.ww-topbar-link:hover { color: var(--focus); }
.ww-topbar-sep { color: var(--line2); }
.ww-lang { display: flex; gap: 2px; border: 1px solid var(--line2); padding: 2px; }
.ww-lang-btn {
  background: transparent;
  border: 0;
  padding: 3px 8px;
  color: var(--paper-mute);
  font-size: 11px;
  letter-spacing: 0.1em;
  font-family: ui-monospace, monospace;
  transition: background .15s, color .15s;
}
.ww-lang-btn.is-on { background: var(--paper); color: var(--ink); }
.ww-lang-btn:not(.is-on):hover { color: var(--paper); }
@media (max-width: 880px) {
  .ww-topbar-inner { padding: 8px 18px; }
  .ww-topbar-left { display: none; }
}

/* ------- Nav ------- */
.ww-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, color .25s, padding .2s;
}
.ww-nav.is-scrolled {
  background: var(--paper);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 30px rgba(0,0,0,0.05);
}
.ww-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding .2s;
}
.ww-nav.is-scrolled .ww-nav-inner { padding: 14px 36px; }
.ww-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.ww-logo img { width: 36px; height: auto; }
.ww-logo-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}
.ww-logo-word em {
  font-style: normal;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted2);
}
.ww-nav-links { display: flex; gap: 4px; align-items: center; position: relative; }
.ww-nav-link {
  background: transparent;
  border: 0;
  padding: 10px 14px;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.ww-nav.is-inverted:not(.is-scrolled) .ww-nav-link,
.ww-nav.is-inverted:not(.is-scrolled) .ww-nav-phone { color: var(--paper); }
.ww-nav-link:hover { color: var(--accent); }
.ww-nav.is-inverted:not(.is-scrolled) .ww-nav-link:hover { color: var(--focus); }
.ww-nav-dropdown { cursor: pointer; }
.ww-mega {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 18px;
  width: min(720px, 90vw);
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}
.ww-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ww-mega-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  border: 1px solid transparent;
  padding: 8px;
  text-align: start;
  transition: background .15s, border-color .15s;
}
.ww-mega-item:hover { background: var(--bone); border-color: var(--line); }
.ww-mega-item.is-on { background: var(--bone); border-color: var(--ink); }
.ww-mega-thumb {
  width: 76px;
  height: 56px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.ww-mega-meta { display: flex; flex-direction: column; gap: 2px; }
.ww-mega-name { font-family: 'Cormorant Garamond', serif; font-size: 18px; line-height: 1.15; }
.ww-mega-comm { font-size: 11.5px; color: var(--muted); font-family: ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.ww-nav-cta { display: flex; gap: 12px; align-items: center; }
.ww-nav-phone {
  font-size: 13.5px;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.ww-nav.is-scrolled .ww-nav-cta .ww-btn { padding: 11px 18px; font-size: 12px; }
@media (max-width: 980px) {
  .ww-nav-links { display: none; }
  .ww-nav-phone { display: none; }
}

/* ------- Hero ------- */
.ww-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--paper);
  margin-top: -82px; /* slide under transparent nav */
  padding-top: 82px;
}
.ww-hero.is-light { color: var(--ink); }
.ww-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ww-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ww-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,15,17,0.5) 0%, rgba(14,15,17,0) 30%, rgba(14,15,17,0) 50%, rgba(14,15,17,0.85) 100%);
}
.ww-hero.is-light .ww-hero-scrim {
  background:
    linear-gradient(180deg, rgba(251,251,250,0) 30%, rgba(251,251,250,0.4) 70%, rgba(251,251,250,0.95) 100%);
}
.ww-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 36px 86px;
}
.ww-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.92;
}
.ww-hero-dot { width: 7px; height: 7px; display: inline-block; }
.ww-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(46px, 8.2vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  max-width: 14ch;
  text-wrap: balance;
}
.ww-hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.25;
  margin: 0 0 18px;
  max-width: 30ch;
  opacity: 0.92;
}
.ww-hero-intro {
  font-size: 16px;
  line-height: 1.55;
  max-width: 52ch;
  opacity: 0.78;
  margin: 0 0 32px;
}
.ww-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ww-hero-ctas .ww-btn-ghost { color: var(--paper); border-color: var(--paper); }
.ww-hero-ctas .ww-btn-ghost:hover { background: var(--paper); color: var(--ink); }
.ww-hero.is-light .ww-hero-ctas .ww-btn-ghost { color: var(--ink); border-color: var(--ink); }
.ww-hero.is-light .ww-hero-ctas .ww-btn-ghost:hover { background: var(--ink); color: var(--paper); }
.ww-hero-side {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 13px 0;
  margin-inline-start: 8px;
  border-bottom: 1px solid currentColor;
  opacity: 0.88;
}
.ww-hero-side:hover { opacity: 1; }
.ww-hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 2px;
  height: 56px;
  background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.7));
  text-decoration: none;
}

/* ------- Facts ------- */
.ww-facts {
  background: var(--ink);
  color: var(--paper);
  padding: 26px 0;
  border-block: 1px solid var(--line2);
}
.ww-facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
@media (max-width: 880px) {
  .ww-facts-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
.ww-fact { display: flex; flex-direction: column; gap: 4px; }
.ww-fact-l {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.ww-fact-v {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
}

/* ------- Location ------- */
.ww-loc { padding: 120px 0; background: var(--paper); }
.ww-place {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 22px;
  margin: 4px 0 18px;
  color: var(--muted);
  font-style: italic;
}
.ww-loc-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.ww-loc-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.ww-loc-row:nth-child(odd) { border-inline-end: 1px solid var(--line); padding-inline-end: 24px; }
.ww-loc-row:nth-child(even) { padding-inline-start: 24px; }
.ww-loc-l {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.ww-loc-v { font-size: 14px; }
.ww-map {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(180deg, #F4F2EE 0%, #EAE7E0 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.ww-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31,42,48,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,42,48,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.ww-map-roads {
  position: absolute;
  inset: 0;
}
.ww-map-roads span {
  position: absolute;
  background: rgba(31,42,48,0.10);
}
.ww-map-roads span:nth-child(1) { left: 0; right: 0; top: 38%; height: 6px; }
.ww-map-roads span:nth-child(2) { top: 0; bottom: 0; left: 62%; width: 4px; }
.ww-map-roads span:nth-child(3) {
  left: 0; right: 0; top: 70%; height: 2px;
  transform: rotate(-7deg); transform-origin: left center;
}
.ww-map-pin {
  position: absolute;
  top: 38%;
  left: 62%;
  transform: translate(-50%,-50%);
}
.ww-map-pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.ww-map-pin-ring {
  position: absolute;
  inset: -14px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.5); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}
.ww-map-cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-family: ui-monospace, monospace;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ww-map-coords { font-size: 12px; letter-spacing: 0.06em; color: var(--ink); }
.ww-map-note { font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; }

/* ------- Architecture ------- */
.ww-arch {
  position: relative;
  background: var(--noir);
  color: var(--paper);
  overflow: hidden;
  padding: 0;
}
.ww-arch-media {
  position: relative;
  height: 70vh;
  min-height: 520px;
  width: 100%;
}
.ww-arch-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.ww-arch-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,15,17,0.0) 0%, rgba(14,15,17,0.0) 50%, rgba(14,15,17,0.9) 100%);
}
.ww-arch-text {
  padding: 80px 36px 120px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: end;
}
@media (max-width: 880px) {
  .ww-arch-text { grid-template-columns: 1fr; padding: 60px 24px 80px; gap: 36px; }
}
.ww-arch-credits {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: var(--paper-mute);
}
.ww-arch-credits span {
  display: inline-block;
  width: 110px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
  color: var(--muted2);
}

/* ------- Residences ------- */
.ww-res { padding: 120px 0; background: var(--paper); }
.ww-res-tabs {
  display: flex;
  gap: 0;
  margin: 12px 0 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.ww-res-tab {
  background: transparent;
  border: 0;
  padding: 18px 22px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
  position: relative;
  white-space: nowrap;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  transition: color .15s;
}
.ww-res-tab:hover { color: var(--ink); }
.ww-res-tab.is-on { color: var(--ink); }
.ww-res-tab.is-on::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--ink);
}
.ww-res-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) {
  .ww-res-grid { grid-template-columns: 1fr; gap: 32px; }
}
.ww-res-plan {
  background: var(--bone);
  border: 1px solid var(--line);
  padding: 32px;
  aspect-ratio: 1.1 / 1;
  display: flex;
  flex-direction: column;
}
.ww-floorplan { width: 100%; flex: 1; min-height: 0; }
.ww-res-plan-cap {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 14px;
  text-align: center;
}
.ww-res-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  line-height: 1.05;
}
.ww-res-range {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 8px 0 24px;
  text-transform: uppercase;
}
.ww-res-notes {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ww-res-notes li {
  position: relative;
  padding-inline-start: 22px;
  font-size: 15px;
}
.ww-res-notes li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 12px;
  width: 12px;
  height: 1px;
  background: var(--ink);
}
.ww-res-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------- Amenities ------- */
.ww-amen { background: var(--noir); color: var(--paper); position: relative; padding: 120px 0 100px; }
.ww-amen-bleed {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ww-amen-bleed img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.18;
}
.ww-amen-bleed::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,15,17,0.85) 0%, rgba(14,15,17,0.95) 100%);
}
.ww-amen .ww-wrap { position: relative; z-index: 1; }
.ww-amen-intro { max-width: 60ch; }
.ww-amen-grid {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line2);
}
@media (max-width: 880px) { .ww-amen-grid { grid-template-columns: 1fr; } }
.ww-amen-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line2);
  font-size: 16px;
}
.ww-amen-num {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted2);
}

/* ------- Gallery ------- */
.ww-gal { background: var(--paper); padding: 120px 0 60px; }
.ww-gal-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 8px;
}
.ww-gal-tile {
  border: 0;
  padding: 0;
  background: var(--bone);
  overflow: hidden;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.ww-gal-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.ww-gal-tile:hover img { transform: scale(1.04); }
.ww-gal-tile-0 { grid-column: span 7; grid-row: span 4; }
.ww-gal-tile-1 { grid-column: span 5; grid-row: span 2; }
.ww-gal-tile-2 { grid-column: span 5; grid-row: span 2; }
.ww-gal-tile-3 { grid-column: span 4; grid-row: span 3; }
.ww-gal-tile-4 { grid-column: span 4; grid-row: span 3; }
.ww-gal-tile-5 { grid-column: span 4; grid-row: span 3; }
@media (max-width: 880px) {
  .ww-gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .ww-gal-tile { grid-column: span 1; grid-row: span 1; }
  .ww-gal-tile-0 { grid-column: span 2; grid-row: span 2; }
}
.ww-gal-cap {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 20px;
}

/* lightbox */
.ww-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(14,15,17,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  cursor: zoom-out;
}
.ww-lb-stage {
  position: relative;
  max-width: 1400px;
  max-height: 85vh;
  cursor: default;
}
.ww-lb-stage img { max-width: 100%; max-height: 85vh; object-fit: contain; }
.ww-lb-close, .ww-lb-nav {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--paper);
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ww-lb-close { top: 24px; right: 24px; }
.ww-lb-prev { top: 50%; left: 24px; transform: translateY(-50%); }
.ww-lb-next { top: 50%; right: 24px; transform: translateY(-50%); }
.ww-lb-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--paper-mute);
  letter-spacing: 0.12em;
}

/* ------- Agent ------- */
.ww-agent { padding: 100px 0; background: var(--bone); }
.ww-agent-grid { gap: 80px; }
.ww-agent-photo {
  background: var(--stone);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.ww-agent-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); }
.ww-agent-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  line-height: 1.05;
  margin: 12px 0 0;
}
.ww-agent-role {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.ww-agent-meta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  display: flex;
  gap: 40px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  margin-bottom: 24px;
}
.ww-agent-meta span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ww-agent-ctas { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ------- Brochure ------- */
.ww-broch { padding: 120px 0; background: var(--ink); color: var(--paper); }
.ww-broch-grid { gap: 80px; align-items: center; }
.ww-broch-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--paper-mute);
}
.ww-broch-bullets li {
  padding-inline-start: 16px;
  position: relative;
}
.ww-broch-bullets li::before {
  content: "—";
  position: absolute;
  inset-inline-start: 0;
}

/* ------- Forms ------- */
.ww-form {
  background: var(--paper);
  color: var(--ink);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ww-form-row { display: flex; flex-direction: column; }
.ww-form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ww-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.ww-form input, .ww-form select, .ww-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  letter-spacing: normal;
  text-transform: none;
  border-radius: 0;
  transition: border-color .15s, background .15s;
}
.ww-form input:focus, .ww-form select:focus, .ww-form textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--bone);
}
.ww-form textarea { resize: vertical; min-height: 90px; }
.ww-honey { display: none !important; }
.ww-form-foot {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 4px;
}
.ww-form-sent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 4px;
}
.ww-form-sent-lg { padding: 36px 4px; }
.ww-form-tick {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--paper);
  border-radius: 50%;
  font-size: 22px;
}
.ww-form-sent-body { font-size: 16px; line-height: 1.45; max-width: 32ch; }

/* ------- Modal ------- */
.ww-modal {
  position: fixed;
  inset: 0;
  background: rgba(14,15,17,0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  backdrop-filter: blur(4px);
}
.ww-modal-card {
  background: var(--paper);
  max-width: 980px;
  width: 100%;
  max-height: 92vh;
  overflow: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.ww-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
[dir="rtl"] .ww-modal-close { right: auto; left: 18px; }
.ww-modal-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
}
@media (max-width: 760px) { .ww-modal-grid { grid-template-columns: 1fr; } }
.ww-modal-side {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  min-height: 220px;
}
.ww-modal-side img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55;
  position: absolute; inset: 0;
}
.ww-modal-side-meta {
  position: relative;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ww-modal-side-eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.ww-modal-side-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  line-height: 1.05;
  margin: 8px 0 4px;
}
.ww-modal-side-comm { font-size: 14px; opacity: 0.78; }
.ww-modal-side-ref {
  margin-top: 18px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--paper-mute);
}
.ww-modal-body { padding: 40px; }
.ww-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 8px;
}
.ww-modal-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 48ch;
}
.ww-modal-body .ww-form { padding: 0; background: transparent; }
.ww-modal-or {
  text-align: center;
  margin: 18px 0 12px;
  position: relative;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
}
.ww-modal-or::before, .ww-modal-or::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 130px);
  height: 1px;
  background: var(--line);
}
.ww-modal-or::before { left: 0; }
.ww-modal-or::after { right: 0; }
.ww-modal-deeplinks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ------- Other developments ------- */
.ww-other { padding: 100px 0 120px; background: var(--bone); }
.ww-other-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .ww-other-grid { grid-template-columns: 1fr; } }
.ww-other-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0;
  text-align: start;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.ww-other-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.ww-other-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.ww-other-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.ww-other-card:hover .ww-other-media img { transform: scale(1.04); }
.ww-other-meta { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 4px; }
.ww-other-eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.ww-other-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  line-height: 1.1;
  margin-top: 4px;
}
.ww-other-comm { font-size: 13px; color: var(--muted); }
.ww-other-view {
  margin-top: 12px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
[dir="rtl"] .ww-other-view svg { transform: rotate(180deg); }

/* ------- FAQ ------- */
.ww-faq { padding: 80px 0 120px; background: var(--paper); }
.ww-faq-list { margin-top: 24px; border-top: 1px solid var(--line); }
.ww-faq-item { border-bottom: 1px solid var(--line); }
.ww-faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 18px;
  text-align: start;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
  color: var(--ink);
}
.ww-faq-a {
  padding: 0 0 24px;
  max-width: 70ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.ww-faq-a p { margin: 0; }
[dir="rtl"] .ww-faq-q svg { transform: rotate(180deg); }
[dir="rtl"] .ww-faq-item.is-open .ww-faq-q svg { transform: rotate(90deg); }

/* ------- Partners ------- */
.ww-partners { padding: 80px 0 100px; background: var(--paper); border-top: 1px solid var(--line); }
.ww-partners-label {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
}
.ww-partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 32px 0 18px;
}
.ww-partner {
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: opacity .2s, filter .2s;
}
.ww-partner:hover { opacity: 1; filter: grayscale(0%); }
.ww-partner img { max-width: 110px; max-height: 50px; }
.ww-partners-disclaimer {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
  max-width: 80ch;
  margin: 0 auto;
  line-height: 1.55;
}

/* ------- Footer ------- */
.ww-foot { background: var(--noir); color: var(--paper-mute); padding: 80px 0 32px; }
.ww-foot-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 980px) { .ww-foot-top { grid-template-columns: 1fr 1fr; } }
.ww-foot-brand { color: var(--paper); }
.ww-foot-mission {
  font-size: 13px;
  color: var(--paper-mute);
  margin-top: 16px;
  max-width: 38ch;
  line-height: 1.55;
}
.ww-foot-col { display: flex; flex-direction: column; gap: 8px; }
.ww-foot-h {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--muted2);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ww-foot-col a {
  color: var(--paper);
  text-decoration: none;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ww-foot-col a:hover { color: var(--focus); }
.ww-foot-text { font-size: 13.5px; color: var(--paper); }
.ww-foot-bot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line2);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: var(--muted2);
  font-family: ui-monospace, monospace;
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}

/* ------- Fabs ------- */
.ww-fabs {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ww-fab {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: transform .2s, background .2s;
}
.ww-fab:hover { transform: translateY(-2px) scale(1.04); }
.ww-fab-wa { background: #25D366; color: #073B1C; }
.ww-fab-tg { background: #229ED9; color: #fff; }

/* ------- Sticky mobile bar ------- */
.ww-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 70;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ww-sticky-l {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.ww-sticky-r { display: flex; gap: 8px; align-items: center; }
.ww-sticky-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.ww-sticky-r .ww-btn { padding: 10px 14px; font-size: 11px; }
@media (max-width: 720px) {
  .ww-sticky-bar { display: flex; }
  .ww-fabs { display: none; }
  .ww-hero-side { display: none; }
}

/* ------- RTL fixups ------- */
[dir="rtl"] .ww-hero-title,
[dir="rtl"] .ww-hero-tagline,
[dir="rtl"] .ww-hero-intro,
[dir="rtl"] .ww-h2,
[dir="rtl"] .ww-body { letter-spacing: 0; }
[dir="rtl"] .ww-section-eyebrow { letter-spacing: 0; }
[dir="rtl"] .ww-hero-scroll {
  /* re-center after dir swap */
  left: 50%;
  right: auto;
}
[dir="rtl"] .ww-map-pin {
  left: auto;
  right: 62%;
  transform: translate(50%, -50%);
}
