/* ============================================================
   14 Soundview — Main CSS
   Ported from project/index.html + WordPress-specific additions
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Instrument+Serif:ital@0;1&family=DM+Serif+Display:ital@0;1&family=Boldonse&family=Geist:wght@400;500;600&display=swap');

:root {
  /* DEFAULT PALETTE — Stone & sage (muted, white-forward) */
  --paper: #ffffff;
  --paper-soft: #f5f2ec;
  --paper-deep: #ece6d8;
  --page-bg: #f1ede4;
  --ink: #1f1d1a;
  --ink-soft: #4a4640;
  --ink-mute: rgba(31,29,26,0.55);
  --line: rgba(31,29,26,0.10);
  --line-soft: rgba(31,29,26,0.06);

  --accent: #a26849;     /* muted brick / saddle */
  --accent-deep: #7e4d33;
  --sage: #8a988a;
  --butter: #e0d2ad;
  --cream: #f7f3e9;

  --display: 'Bricolage Grotesque', sans-serif;
  --serif: 'Instrument Serif', serif;
  --body: 'Geist', 'Bricolage Grotesque', system-ui, sans-serif;
}

/* PALETTE: Warm taupe */
[data-palette="taupe"] {
  --paper: #ffffff;
  --paper-soft: #f5f1eb;
  --paper-deep: #e9e2d4;
  --page-bg: #ede7da;
  --ink: #2a2520;
  --accent: #9a7656;
  --accent-deep: #745438;
  --sage: #969a8a;
  --butter: #d9cdb0;
  --cream: #faf5ea;
}
/* PALETTE: Slate & moss */
[data-palette="slate"] {
  --paper: #ffffff;
  --paper-soft: #f3f4f1;
  --paper-deep: #e6e8e2;
  --page-bg: #ecedea;
  --ink: #1f2422;
  --accent: #6f7c6d;
  --accent-deep: #4f5a4e;
  --sage: #93a08e;
  --butter: #d8d9c8;
  --cream: #f6f7f2;
}
/* PALETTE: Soft clay (mid-tone option) */
[data-palette="clay"] {
  --paper: #fbfaf6;
  --paper-soft: #f3eee2;
  --paper-deep: #e6dec9;
  --page-bg: #ebe4cf;
  --ink: #2a2520;
  --accent: #a06a4a;
  --accent-deep: #7a4c2f;
  --sage: #8d9881;
  --butter: #e2cfa5;
  --cream: #f9f3e3;
}
/* PALETTE: Midnight — black, gray, white */
[data-palette="midnight"] {
  --paper: #ffffff;
  --paper-soft: #f3f3f3;
  --paper-deep: #e6e6e6;
  --page-bg: #eeeeee;
  --ink: #0d0d0d;
  --ink-soft: #3a3a3a;
  --ink-mute: rgba(13,13,13,0.50);
  --line: rgba(13,13,13,0.10);
  --line-soft: rgba(13,13,13,0.05);
  --accent: #333333;
  --accent-deep: #111111;
  --sage: #777777;
  --butter: #cccccc;
  --cream: #f8f8f8;
}
[data-palette="forest"] {
  --paper: #ffffff; --paper-soft: #f0f4f0; --paper-deep: #dce8db;
  --page-bg: #f8faf7;
  --ink: #1a2e1a; --ink-soft: #3a5238; --ink-mute: rgba(26,46,26,0.55);
  --line: rgba(26,46,26,0.12); --line-soft: rgba(26,46,26,0.06);
  --accent: #4a7c4e; --accent-deep: #2e5c32;
  --sage: #4a7c4e; --butter: #e8f5d0; --cream: #f0f8e8;
}
[data-palette="navy"] {
  --paper: #ffffff; --paper-soft: #f0f2f7; --paper-deep: #dde2ef;
  --page-bg: #f7f9ff;
  --ink: #0d1a3a; --ink-soft: #2a3d6a; --ink-mute: rgba(13,26,58,0.55);
  --line: rgba(13,26,58,0.12); --line-soft: rgba(13,26,58,0.06);
  --accent: #b8922a; --accent-deep: #8a6c1c;
  --sage: #6a7e9a; --butter: #f5e8c0; --cream: #fdf5e0;
}
[data-palette="rose"] {
  --paper: #ffffff; --paper-soft: #faf0f0; --paper-deep: #f0ddd9;
  --page-bg: #fdf8f7;
  --ink: #2e1a1a; --ink-soft: #5a3838; --ink-mute: rgba(46,26,26,0.55);
  --line: rgba(46,26,26,0.12); --line-soft: rgba(46,26,26,0.06);
  --accent: #b06070; --accent-deep: #8a4054;
  --sage: #b06070; --butter: #fde8e0; --cream: #fdf0ec;
}
[data-palette="charcoal"] {
  --paper: #fafafa; --paper-soft: #f0efee; --paper-deep: #e2e0dd;
  --page-bg: #f5f5f5;
  --ink: #1a1a1a; --ink-soft: #3d3d3d; --ink-mute: rgba(26,26,26,0.55);
  --line: rgba(26,26,26,0.12); --line-soft: rgba(26,26,26,0.06);
  --accent: #666666; --accent-deep: #444444;
  --sage: #888888; --butter: #e8e5e0; --cream: #f5f3ef;
}
[data-palette="sage-light"] {
  --paper: #ffffff; --paper-soft: #f2f5f0; --paper-deep: #e2ead8;
  --page-bg: #f8fdf4;
  --ink: #1e2a1c; --ink-soft: #445542; --ink-mute: rgba(30,42,28,0.55);
  --line: rgba(30,42,28,0.12); --line-soft: rgba(30,42,28,0.06);
  --accent: #7a9e6c; --accent-deep: #5a7c4e;
  --sage: #7a9e6c; --butter: #e8f5d0; --cream: #f0f8e8;
}
[data-palette="ivory"] {
  --paper: #fdfbf5; --paper-soft: #f5f0e5; --paper-deep: #ece4d0;
  --page-bg: #fdf8ef;
  --ink: #2a2418; --ink-soft: #5a5040; --ink-mute: rgba(42,36,24,0.55);
  --line: rgba(42,36,24,0.12); --line-soft: rgba(42,36,24,0.06);
  --accent: #9a8550; --accent-deep: #7a6a38;
  --sage: #9a8550; --butter: #f0e8c8; --cream: #f8f2e0;
}
[data-palette="aubergine"] {
  --paper: #ffffff; --paper-soft: #f4f0f7; --paper-deep: #e4d8ed;
  --page-bg: #faf7ff;
  --ink: #2a1a3a; --ink-soft: #52386a; --ink-mute: rgba(42,26,58,0.55);
  --line: rgba(42,26,58,0.12); --line-soft: rgba(42,26,58,0.06);
  --accent: #8a5aa0; --accent-deep: #6a3a80;
  --sage: #8a5aa0; --butter: #e8d8f5; --cream: #f4ecf9;
}
[data-palette="terracotta-bold"] {
  --paper: #fefcfa; --paper-soft: #f8ede4; --paper-deep: #edd8c8;
  --page-bg: #fdf6f0;
  --ink: #2e1a0e; --ink-soft: #5a3820; --ink-mute: rgba(46,26,14,0.55);
  --line: rgba(46,26,14,0.12); --line-soft: rgba(46,26,14,0.06);
  --accent: #c45a30; --accent-deep: #9e3e1a;
  --sage: #c45a30; --butter: #f8d8b8; --cream: #fce8d5;
}
[data-palette="cobalt"] {
  --paper: #ffffff; --paper-soft: #eef2fa; --paper-deep: #d8e2f5;
  --page-bg: #f5f8ff;
  --ink: #0a1e4a; --ink-soft: #1e3a7a; --ink-mute: rgba(10,30,74,0.55);
  --line: rgba(10,30,74,0.12); --line-soft: rgba(10,30,74,0.06);
  --accent: #2a5ec8; --accent-deep: #1a48a8;
  --sage: #2a5ec8; --butter: #d0dff8; --cream: #e8f0fd;
}
[data-palette="burgundy"] {
  --paper: #fdfafa; --paper-soft: #f5eaec; --paper-deep: #e8d0d4;
  --page-bg: #fdf5f5;
  --ink: #2a0e12; --ink-soft: #5a2830; --ink-mute: rgba(42,14,18,0.55);
  --line: rgba(42,14,18,0.12); --line-soft: rgba(42,14,18,0.06);
  --accent: #8a2230; --accent-deep: #6a0e1e;
  --sage: #8a2230; --butter: #f5d8dc; --cream: #faeaec;
}

/* ── Modern Palettes ─────────────────────────────────────── */
[data-palette="emerald"] {
  --paper: #f4faf6; --paper-soft: #e3f2e8; --paper-deep: #c8e5d0;
  --page-bg: #f0f8f2;
  --ink: #0d2b1a; --ink-soft: #2a5c3a; --ink-mute: rgba(13,43,26,0.55);
  --line: rgba(13,43,26,0.12); --line-soft: rgba(13,43,26,0.06);
  --accent: #1a7a42; --accent-deep: #0f5c30;
  --sage: #1a7a42; --butter: #b8dfc6; --cream: #d6f0e0;
}
[data-palette="saffron"] {
  --paper: #fffbf2; --paper-soft: #fef3d8; --paper-deep: #fce7b4;
  --page-bg: #fffdf6;
  --ink: #2c1a00; --ink-soft: #5c3a00; --ink-mute: rgba(44,26,0,0.55);
  --line: rgba(44,26,0,0.12); --line-soft: rgba(44,26,0,0.06);
  --accent: #d4820a; --accent-deep: #b06508;
  --sage: #d4820a; --butter: #fde8b4; --cream: #fff4d8;
}
[data-palette="slate-blue"] {
  --paper: #f5f7fb; --paper-soft: #e8edf6; --paper-deep: #cdd6ed;
  --page-bg: #f2f5fa;
  --ink: #0f1e3d; --ink-soft: #2a3d6e; --ink-mute: rgba(15,30,61,0.55);
  --line: rgba(15,30,61,0.12); --line-soft: rgba(15,30,61,0.06);
  --accent: #3a5bbf; --accent-deep: #2a449f;
  --sage: #3a5bbf; --butter: #c8d5f5; --cream: #dde7fc;
}
[data-palette="arctic"] {
  --paper: #f8fafc; --paper-soft: #edf2f7; --paper-deep: #d8e6f0;
  --page-bg: #f5f9fc;
  --ink: #0a1a2e; --ink-soft: #2a4a6e; --ink-mute: rgba(10,26,46,0.5);
  --line: rgba(10,26,46,0.1); --line-soft: rgba(10,26,46,0.05);
  --accent: #1a85b8; --accent-deep: #0e6a96;
  --sage: #1a85b8; --butter: #bcdff5; --cream: #d8eefa;
}
[data-palette="rust"] {
  --paper: #faf8f5; --paper-soft: #f2ece4; --paper-deep: #e4d6c8;
  --page-bg: #f7f4f0;
  --ink: #2a1510; --ink-soft: #5a3020; --ink-mute: rgba(42,21,16,0.55);
  --line: rgba(42,21,16,0.12); --line-soft: rgba(42,21,16,0.06);
  --accent: #b84820; --accent-deep: #963810;
  --sage: #b84820; --butter: #f0cdb8; --cream: #f8e4d8;
}

/* ── Black & White Tones ─────────────────────────────────── */
[data-palette="mono-pure"] {
  --paper: #ffffff; --paper-soft: #f0f0f0; --paper-deep: #e0e0e0;
  --page-bg: #fafafa;
  --ink: #000000; --ink-soft: #333333; --ink-mute: rgba(0,0,0,0.5);
  --line: rgba(0,0,0,0.12); --line-soft: rgba(0,0,0,0.06);
  --accent: #000000; --accent-deep: #333333;
  --sage: #444444; --butter: #e8e8e8; --cream: #f5f5f5;
}
[data-palette="mono-warm"] {
  --paper: #faf8f5; --paper-soft: #f0ece6; --paper-deep: #ddd6cb;
  --page-bg: #f7f4f0;
  --ink: #1a1614; --ink-soft: #3e3632; --ink-mute: rgba(26,22,20,0.55);
  --line: rgba(26,22,20,0.12); --line-soft: rgba(26,22,20,0.06);
  --accent: #1a1614; --accent-deep: #000000;
  --sage: #4a4440; --butter: #e8e0d4; --cream: #f5f0e8;
}
[data-palette="mono-cool"] {
  --paper: #f6f7f9; --paper-soft: #ebedf2; --paper-deep: #d8dce6;
  --page-bg: #f3f4f7;
  --ink: #141820; --ink-soft: #384050; --ink-mute: rgba(20,24,32,0.5);
  --line: rgba(20,24,32,0.1); --line-soft: rgba(20,24,32,0.05);
  --accent: #141820; --accent-deep: #000000;
  --sage: #445060; --butter: #d8dce6; --cream: #eef0f5;
}
[data-palette="sepia-rich"] {
  --paper: #fdf8f0; --paper-soft: #f5e8d4; --paper-deep: #e8d2b4;
  --page-bg: #faf5ec;
  --ink: #2c1a08; --ink-soft: #5a3e20; --ink-mute: rgba(44,26,8,0.55);
  --line: rgba(44,26,8,0.12); --line-soft: rgba(44,26,8,0.06);
  --accent: #6e4010; --accent-deep: #502c08;
  --sage: #6e4010; --butter: #efd8b4; --cream: #faecd8;
}
[data-palette="carbon"] {
  --paper: #1e1e1e; --paper-soft: #2a2a2a; --paper-deep: #363636;
  --page-bg: #181818;
  --ink: #f2f2f2; --ink-soft: #c8c8c8; --ink-mute: rgba(242,242,242,0.55);
  --line: rgba(242,242,242,0.1); --line-soft: rgba(242,242,242,0.06);
  --accent: #e8c87a; --accent-deep: #d4b060;
  --sage: #8ab890; --butter: #3a3a3a; --cream: #282828;
}

/* ── Figma-Inspired ──────────────────────────────────────── */
[data-palette="mint-fresh"] {
  --paper: #f4fdf8; --paper-soft: #e2f5ea; --paper-deep: #c4e8d2;
  --page-bg: #f0fcf4;
  --ink: #0d2e1e; --ink-soft: #265e3a; --ink-mute: rgba(13,46,30,0.55);
  --line: rgba(13,46,30,0.1); --line-soft: rgba(13,46,30,0.05);
  --accent: #1db87a; --accent-deep: #0e9460;
  --sage: #1db87a; --butter: #b8f0d4; --cream: #d8faea;
}
[data-palette="dusk"] {
  --paper: #faf5fd; --paper-soft: #f0e4f8; --paper-deep: #ddc8ee;
  --page-bg: #f8f2fc;
  --ink: #1e0a2e; --ink-soft: #4a2068; --ink-mute: rgba(30,10,46,0.55);
  --line: rgba(30,10,46,0.12); --line-soft: rgba(30,10,46,0.06);
  --accent: #7c3ab8; --accent-deep: #5e2490;
  --sage: #7c3ab8; --butter: #e0c4f8; --cream: #f0e0fc;
}
[data-palette="citron"] {
  --paper: #fdfef0; --paper-soft: #f6fac8; --paper-deep: #ecf5a8;
  --page-bg: #fbfce8;
  --ink: #1e2600; --ink-soft: #404e00; --ink-mute: rgba(30,38,0,0.55);
  --line: rgba(30,38,0,0.12); --line-soft: rgba(30,38,0,0.06);
  --accent: #6a8c00; --accent-deep: #4e6800;
  --sage: #6a8c00; --butter: #d8ec80; --cream: #ecf8b0;
}
[data-palette="blush-modern"] {
  --paper: #fdf5f7; --paper-soft: #f5e4e8; --paper-deep: #e8c8d0;
  --page-bg: #fcf0f3;
  --ink: #2a0e16; --ink-soft: #5a2030; --ink-mute: rgba(42,14,22,0.55);
  --line: rgba(42,14,22,0.1); --line-soft: rgba(42,14,22,0.05);
  --accent: #c84068; --accent-deep: #a0284e;
  --sage: #c84068; --butter: #f5c4d0; --cream: #fae0e6;
}
[data-palette="nordic"] {
  --paper: #f5f8fc; --paper-soft: #e4edf8; --paper-deep: #c8d8f0;
  --page-bg: #f0f5fa;
  --ink: #0a1830; --ink-soft: #1e3a5e; --ink-mute: rgba(10,24,48,0.55);
  --line: rgba(10,24,48,0.12); --line-soft: rgba(10,24,48,0.06);
  --accent: #1a4a8e; --accent-deep: #0e3270;
  --sage: #1a4a8e; --butter: #b8ccf0; --cream: #d4e4fa;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--page-bg); color: var(--ink); transition: background 0.3s; }
body {
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv02";
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.display { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 0.9; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.small-caps { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; }
.num { font-family: var(--display); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

/* ===== Page shell ===== */
.page {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--page-bg);
  min-height: 100vh;
  padding: 14px;
}
.stack > * + * { margin-top: 14px; }

/* ===== WordPress admin bar offset ===== */
html.admin-bar .page { padding-top: 46px; }
@media screen and (max-width: 782px) {
  html.admin-bar .page { padding-top: 60px; }
}

/* ===== Ticker / pre-nav ===== */
.ticker {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px;
  display: flex; align-items: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
  white-space: nowrap;
  overflow: hidden;
}
.ticker .dot { width: 5px; height: 5px; border-radius: 999px; background: var(--accent); display: inline-block; margin: 0 12px; vertical-align: middle; flex-shrink: 0; }

/* ===== Header / nav ===== */
.header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  background: var(--paper);
  border-radius: 22px;
  border: 1px solid var(--line);
  position: relative;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.brand .mark {
  width: 44px; height: 44px;
  background: var(--ink); color: var(--paper);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.04em;
}
.brand .word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand .word small { display: block; font-family: var(--body); font-weight: 500; font-size: 10px; letter-spacing: 0.22em; opacity: 0.55; margin-top: 4px; text-transform: uppercase; }

.header nav { min-width: 0; overflow: hidden; flex: 1 1 auto; max-width: 640px; margin: 0 16px; display: flex; justify-content: center; align-items: center; }
.nav-list {
  display: flex; gap: 4px; flex-wrap: nowrap;
  list-style: none; padding: 5px; margin: 0;
  background: var(--paper-soft);
  border-radius: 999px;
  overflow-x: auto;
  /* hide scrollbar across browsers */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}
.nav-list a:hover { background: rgba(34,29,24,0.06); }
.nav-list a.active, .nav-list li.current-menu-item a, .nav-list li.current-page-ancestor a { background: var(--ink); color: var(--paper); }
.nav-list a .caret { font-size: 10px; opacity: 0.6; }

.header-right { display: flex; align-items: center; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--ink);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.pill:hover { background: var(--ink); color: var(--paper); }
.pill.solid { background: var(--ink); color: var(--paper); }
.pill.solid:hover { background: var(--ink-soft); }
.pill.brick { background: var(--accent); color: var(--cream); border-color: var(--accent); }
.pill.brick:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.icon-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--paper-soft);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  min-height: 720px;
}
.hero-left { padding: 56px 48px 48px; display: flex; flex-direction: column; position: relative; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--ink-soft); opacity: 0.55; }
h1.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(64px, 8.5vw, 132px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  margin: 0;
}
h1.hero-title .serif-i {
  font-size: 0.95em;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-sub {
  margin-top: 36px;
  font-size: 16px; line-height: 1.55;
  max-width: 440px;
  color: var(--ink-soft);
}
.hero-cta {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.hero-meta {
  margin-top: auto;
  padding-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.hero-meta .item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .item .v {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 1;
}
.hero-meta .item .k { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding: 16px;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.04) brightness(0.96) sepia(0.10);
}

/* ===== Hero carousel ===== */
.hero-carousel {
  position: absolute;
  inset: 16px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
}
.hero-carousel .hero-img {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 7.5s ease-out;
  z-index: 1;
}
.hero-carousel .hero-img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.hero-caption {
  position: absolute; left: 24px; bottom: 24px;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(34,29,24,0.55);
  backdrop-filter: blur(10px);
  color: var(--cream);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.02em;
  z-index: 5;
  max-width: calc(100% - 200px);
}
.hero-caption-n { font-family: var(--display); font-feature-settings: "tnum"; opacity: 0.65; letter-spacing: 0.1em; }
.hero-caption-t { opacity: 0.95; }
.hero-nav {
  position: absolute; right: 24px; bottom: 24px;
  display: flex; gap: 8px; z-index: 5;
}
.hero-nav button {
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(247,241,227,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(247,241,227,0.32);
  color: var(--cream);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.hero-nav button:hover { background: rgba(247,241,227,0.28); transform: translateY(-1px); }
.hero-dots {
  position: absolute; left: 50%; bottom: 36px;
  transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.hero-dot {
  width: 22px; height: 3px; border-radius: 2px;
  background: rgba(247,241,227,0.32);
  border: 0; padding: 0;
  cursor: pointer;
  transition: background 0.25s, width 0.25s;
}
.hero-dot.is-active { background: var(--cream); width: 36px; }
.hero-dot:hover { background: rgba(247,241,227,0.55); }

/* ===== Hero title animation ===== */
.hero-title-anim .hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  animation: heroReveal 0.95s cubic-bezier(.2,.7,.1,1) both;
}
@keyframes heroReveal {
  0%   { opacity: 0; transform: translateY(0.45em); filter: blur(6px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-tag {
  position: absolute; top: 32px; left: 32px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,29,24,0.7);
  color: var(--cream);
  padding: 8px 14px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  backdrop-filter: blur(8px);
  z-index: 5;
}
.hero-tag .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--butter); }

.scroll-hint {
  position: absolute; right: 28px; bottom: 28px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--cream);
  z-index: 4;
}
.scroll-hint .label { writing-mode: vertical-rl; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.85; }
.scroll-hint .ring {
  width: 44px; height: 44px; border: 1px solid rgba(247,241,227,0.7); border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
}

/* Index strip — editorial table of contents */
.index-strip {
  background: var(--ink); color: var(--cream);
  border-radius: 22px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 28px;
}
.index-strip .label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.7; }
.index-strip .items {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 14px;
}
.index-strip .items a {
  display: inline-flex; align-items: center; gap: 8px;
  opacity: 0.85;
  transition: opacity 0.2s;
  cursor: pointer;
}
.index-strip .items a:hover { opacity: 1; }
.index-strip .items a .n { font-family: var(--display); font-feature-settings: "tnum"; opacity: 0.55; }

/* ===== Section block (generic) ===== */
.section { background: var(--paper); border-radius: 28px; padding: 72px 56px; border: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: flex-start; margin-bottom: 56px; }
.section-head .number { font-family: var(--display); font-feature-settings: "tnum"; font-weight: 600; font-size: 13px; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 14px; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
}
.section-head h2 .serif-i { color: var(--accent); }
.section-head .copy { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); max-width: 460px; }
.section-head .copy + .pill { margin-top: 22px; }

/* ===== Included (amenities) cards ===== */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.inc-card {
  background: var(--paper-soft);
  border-radius: 22px;
  padding: 28px 26px 26px;
  display: flex; flex-direction: column;
  min-height: 220px;
  position: relative;
  transition: transform 0.25s, background 0.25s;
  cursor: pointer;
}
.inc-card:hover { transform: translateY(-2px); background: var(--paper-deep); }
.inc-card.brick { background: var(--accent); color: var(--cream); }
.inc-card.brick:hover { background: var(--accent-deep); }
.inc-card.sage { background: var(--sage); color: var(--cream); }
.inc-card.sage:hover { filter: brightness(0.95); }
.inc-card.butter { background: var(--butter); color: var(--ink); }
.inc-card.cream { background: var(--cream); color: var(--ink); }
.inc-card.dark { background: var(--ink); color: var(--cream); }
.inc-card .ic-num { font-family: var(--display); font-feature-settings: "tnum"; font-size: 13px; letter-spacing: 0.06em; opacity: 0.6; }
.inc-card .ic-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-top: auto;
}
.inc-card .ic-sub { font-size: 13px; opacity: 0.78; margin-top: 8px; line-height: 1.5; }
.inc-card .ic-glyph { position: absolute; top: 24px; right: 24px; opacity: 0.9; }

/* ===== Amenity card hover animations ===== */
.inc-card { overflow: hidden; }
.inc-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; z-index: 0; }
.inc-card:hover::before { opacity: 1; }
.inc-card > * { position: relative; z-index: 1; }

@keyframes sv14-snow { 0% { transform: translateY(-20px) rotate(0deg); opacity: 0; } 20% { opacity: .35; } 100% { transform: translateY(160px) rotate(180deg); opacity: 0; } }
@keyframes sv14-drop { 0% { transform: translateY(-10px); opacity: 0; } 20% { opacity: .4; } 100% { transform: translateY(120px); opacity: 0; } }
@keyframes sv14-bubble { 0% { transform: translateY(0) scale(1); opacity: 0; } 20% { opacity: .3; } 100% { transform: translateY(-120px) scale(1.4); opacity: 0; } }
@keyframes sv14-car { 0% { transform: translateX(-60px); opacity: 0; } 15% { opacity: .2; } 85% { opacity: .2; } 100% { transform: translateX(220px); opacity: 0; } }
@keyframes sv14-paw { 0%,100% { transform: scale(1) rotate(-8deg); } 50% { transform: scale(1.15) rotate(8deg); } }

.inc-card[data-anim="snow"]:hover::after,
.inc-card[data-anim="drops"]:hover::after,
.inc-card[data-anim="bubbles"]:hover::after { content: ''; display: block; }

/* Snow — falling dots */
.inc-card[data-anim="snow"] { --flake: '❄'; }
.inc-card[data-anim="snow"]::before {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.5) 2px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,.4) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 30% 50px, 25% 40px, 20% 35px;
  animation: sv14-snow 2.5s linear infinite;
}

/* Water drops */
.inc-card[data-anim="drops"]::before {
  background-image:
    radial-gradient(ellipse 3px 5px, rgba(100,180,255,.45) 0%, transparent 70%),
    radial-gradient(ellipse 2px 4px, rgba(100,180,255,.35) 0%, transparent 70%),
    radial-gradient(ellipse 2px 3px, rgba(100,180,255,.3) 0%, transparent 70%);
  background-size: 22% 45px, 18% 38px, 15% 32px;
  background-position: 15% 0, 55% 20px, 80% 5px;
  animation: sv14-drop 2.2s linear infinite;
}

/* Soap bubbles */
.inc-card[data-anim="bubbles"]::before {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.25) 8px, rgba(255,255,255,.05) 9px, transparent 10px),
    radial-gradient(circle, rgba(255,255,255,.2) 5px, rgba(255,255,255,.04) 6px, transparent 7px),
    radial-gradient(circle, rgba(255,255,255,.15) 4px, rgba(255,255,255,.03) 5px, transparent 6px);
  background-size: 35% 60px, 28% 45px, 22% 35px;
  background-position: 20% 100%, 60% 90%, 80% 95%;
  animation: sv14-bubble 2.8s ease-in infinite;
}

/* Rolling car */
.inc-card[data-anim="car"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Crect x='4' y='10' width='40' height='10' rx='3' fill='rgba(0,0,0,.12)'/%3E%3Crect x='10' y='5' width='22' height='9' rx='2' fill='rgba(0,0,0,.12)'/%3E%3Ccircle cx='13' cy='21' r='3' fill='rgba(0,0,0,.15)'/%3E%3Ccircle cx='35' cy='21' r='3' fill='rgba(0,0,0,.15)'/%3E%3C/svg%3E");
  background-size: 48px 24px;
  background-repeat: no-repeat;
  background-position: -60px center;
  animation: sv14-car 2.4s ease-in-out infinite;
}

/* Paw wag */
.inc-card[data-anim="paws"] .ic-glyph { transform-origin: center; }
.inc-card[data-anim="paws"]:hover .ic-glyph { animation: sv14-paw .7s ease-in-out infinite; }

/* ===== Calendar add-to buttons ===== */
.cal-add-to { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.cal-add-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--ink-soft); background: var(--paper-soft); transition: background .15s, border-color .15s, color .15s; }
.cal-add-btn:hover { background: var(--paper-deep); border-color: var(--ink-soft); color: var(--ink); text-decoration: none; }
.cal-add-to { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cal-add-btn--gcal:hover { border-color: #4285f4; color: #4285f4; }
.cal-add-btn--ics:hover { border-color: #0078d4; color: #0078d4; }

/* ===== Pretty index list (3-column grid) ===== */
.idx-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.idx-row {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: baseline;
  padding: 20px 16px 20px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding-left 0.2s;
  text-decoration: none;
  color: inherit;
}
.idx-row:nth-child(3n) { border-right: none; }
.idx-row:nth-last-child(-n+3):nth-child(3n+1),
.idx-row:nth-last-child(-n+3):nth-child(3n+2),
.idx-row:nth-last-child(-n+3) { border-bottom: none; }
.idx-row:hover { padding-left: 6px; }
.idx-row .n { font-family: var(--display); font-feature-settings: "tnum"; font-size: 12px; color: var(--ink-mute); letter-spacing: 0.06em; }
.idx-row .t { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.idx-row .t .serif-i { color: var(--accent); }
.idx-row .arr { color: var(--ink-mute); transition: transform 0.2s, color 0.2s; }
.idx-row:hover .arr { transform: translate(2px,-2px); color: var(--ink); }
@media (max-width: 680px) {
  .idx-list { grid-template-columns: 1fr; border-bottom: none; }
  .idx-row { border-right: none; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .idx-row:last-child { border-bottom: none; }
  .idx-row .t { font-size: 22px; }
}

/* ===== Footer ===== */
.footer { background: var(--ink); color: var(--cream); border-radius: 28px; padding: 64px 56px 36px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; align-items: flex-start; }
.footer h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.footer h2 .serif-i { color: var(--butter); }
.footer-col h4 { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.55; margin: 0 0 16px; font-weight: 500; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col li a { opacity: 0.85; cursor: pointer; }
.footer-col li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: 56px; padding-top: 22px;
  border-top: 1px solid rgba(247,241,227,0.16);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; letter-spacing: 0.06em; opacity: 0.7;
}
.search-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(247,241,227,0.08);
  border: 1px solid rgba(247,241,227,0.18);
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  max-width: 360px;
}
.search-pill input { flex: 1; background: transparent; border: 0; outline: none; color: var(--cream); font: inherit; font-size: 14px; padding: 6px 0; }
.search-pill input::placeholder { color: rgba(247,241,227,0.5); }
.search-pill button { background: var(--butter); color: var(--ink); border: 0; border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 600; cursor: pointer; letter-spacing: 0.04em; }

/* ===== Chatbot floating button ===== */
.chatbot-fab {
  position: fixed; bottom: 22px; right: 22px;
  background: var(--ink); color: var(--cream);
  border-radius: 999px;
  padding: 10px 22px 10px 10px;
  display: flex; align-items: center; gap: 12px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(34,29,24,0.25);
  font-size: 13.5px;
  z-index: 80;
  font-family: var(--body);
  text-decoration: none;
}
.chatbot-fab .av {
  width: 34px; height: 34px; border-radius: 999px;
  background: var(--butter); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 14px;
}
.chatbot-fab .status {
  width: 8px; height: 8px; border-radius: 999px; background: #6fb87a;
  box-shadow: 0 0 0 2px var(--ink);
  position: absolute; top: 10px; left: 36px;
  animation: dot-blink 2.2s ease-in-out infinite;
}

/* ===== Blinking status dot ===== */
@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}
.dot-blink { animation: dot-blink 2.2s ease-in-out infinite; }
.status-dot {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 999px; background: #6fb87a;
  margin-right: 5px; vertical-align: middle;
  flex-shrink: 0;
}

/* ===== Drawer ===== */
.drawer-scrim { position: fixed; inset: 0; background: rgba(34,29,24,0.45); opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 100; }
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(440px, 92vw);
  background: var(--paper); transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.6,.05,.1,1);
  z-index: 110; display: flex; flex-direction: column; padding: 28px;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer-nav { margin-top: 16px; display: flex; flex-direction: column; }
.drawer-nav a {
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.02em;
  padding: 14px 0;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink);
  transition: padding 0.2s, color 0.2s;
  text-decoration: none;
}
.drawer-nav a:hover { padding-left: 6px; color: var(--accent); }
.drawer-nav a .sub { font-family: var(--body); font-weight: 500; font-size: 10px; letter-spacing: 0.22em; opacity: 0.4; }
.drawer-nav button {
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.02em;
  padding: 14px 0;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink);
  transition: padding 0.2s, color 0.2s;
}
.drawer-nav button:hover { padding-left: 6px; color: var(--accent); }
.drawer-nav button .sub { font-family: var(--body); font-weight: 500; font-size: 10px; letter-spacing: 0.22em; opacity: 0.4; }

/* ===== Subpages — Map ===== */
.map-hero {
  background: var(--paper-soft);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.map-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0;
}
.map-hero h1 .serif-i { color: var(--accent); }
.map-wrap { background: #d4ccba; border-radius: 24px; min-height: 520px; overflow: hidden; position: relative; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 520px; }
.map-wrap .overlay-card {
  position: absolute; top: 22px; left: 22px;
  background: var(--paper);
  border-radius: 18px;
  padding: 18px 22px;
  max-width: 280px;
  box-shadow: 0 14px 32px rgba(34,29,24,0.12);
}
.map-wrap .overlay-card .label { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 6px; }
.map-wrap .overlay-card .addr { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; line-height: 1.1; }
.map-wrap .overlay-card .city { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.map-wrap .overlay-card .actions { display: flex; gap: 8px; margin-top: 14px; }
.map-wrap .overlay-card .actions a { font-size: 12px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; }
.map-wrap .overlay-card .actions a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.parking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.parking-card {
  background: var(--paper-soft);
  border-radius: 24px;
  padding: 36px;
  min-height: 320px;
  display: flex; flex-direction: column;
}
.parking-card.dark { background: var(--ink); color: var(--cream); }
.parking-card .tag { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.6; }
.parking-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 14px 0 18px;
}
.parking-card p { font-size: 14.5px; line-height: 1.6; opacity: 0.82; margin: 0 0 18px; }
.parking-card .rows { display: flex; flex-direction: column; margin-top: auto; }
.parking-card .row {
  display: flex; justify-content: space-between; padding: 12px 0;
  border-top: 1px solid rgba(34,29,24,0.14);
  font-size: 14px;
}
.parking-card.dark .row { border-color: rgba(247,241,227,0.16); }
.parking-card .row:last-child { border-bottom: 1px solid rgba(34,29,24,0.14); }
.parking-card.dark .row:last-child { border-bottom: 1px solid rgba(247,241,227,0.16); }
.parking-card .row .v { opacity: 0.7; font-feature-settings: "tnum"; }

/* ===== Subpages — FAQs ===== */
.faq-hero {
  background: var(--paper-soft);
  border-radius: 28px;
  padding: 72px 56px 56px;
}
.faq-hero .row1 { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.faq-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(60px, 8vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
  max-width: 12ch;
}
.faq-hero h1 .serif-i { color: var(--accent); }
.faq-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 48px; }
.faq-tab {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.faq-tab:hover { border-color: var(--ink); }
.faq-tab.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.faq-list { display: flex; flex-direction: column; padding: 0; }
.faq-item { border-top: 1px solid var(--line); padding: 26px 0; cursor: pointer; transition: padding 0.2s; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item:hover { padding-left: 8px; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.faq-q .qtext {
  font-family: var(--display); font-weight: 600; font-size: 24px;
  letter-spacing: -0.02em; line-height: 1.15;
}
.faq-q .qnum { font-family: var(--display); font-feature-settings: "tnum"; color: var(--ink-mute); font-size: 13px; margin-right: 18px; }
.faq-q .plus {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all 0.3s;
}
.faq-item.open .faq-q .plus { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, margin-top 0.4s ease; margin-top: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); max-width: 65ch; }
.faq-item.open .faq-a { max-height: 320px; margin-top: 16px; }
.faq-pagination { display: flex; align-items: center; gap: 14px; padding: 28px 0 8px; }
.faq-count { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.06em; }

/* ===== Subpages — PLI ===== */
.pli-hero {
  background: var(--ink); color: var(--cream);
  border-radius: 28px;
  padding: 72px 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: flex-end;
}
.pli-hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.9; letter-spacing: -0.035em;
  margin: 0;
}
.pli-hero h1 .serif-i { color: var(--butter); }
.pli-hero .copy { font-size: 15.5px; line-height: 1.6; opacity: 0.78; max-width: 380px; }
.pli-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pli-card {
  background: var(--paper-soft);
  border-radius: 28px;
  padding: 44px;
  min-height: 360px;
  display: flex; flex-direction: column;
  transition: background 0.2s;
  cursor: pointer;
}
.pli-card.alt { background: var(--accent); color: var(--cream); }
.pli-card .small-caps { color: var(--accent); margin-bottom: 14px; }
.pli-card.alt .small-caps { color: var(--butter); }
.pli-card h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 44px; line-height: 0.95; letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.pli-card p { font-size: 14.5px; line-height: 1.6; opacity: 0.82; margin: 0 0 24px; }
.pli-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.pli-card .foot .pill { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pli-card.alt .foot .pill { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.pli-card ul { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.pli-card ul li { font-size: 13.5px; display: flex; gap: 10px; }
.pli-card ul li .bullet { width: 5px; height: 5px; border-radius: 999px; background: var(--accent); margin-top: 8px; flex-shrink: 0; }
.pli-card.alt ul li .bullet { background: var(--butter); }

/* ===== Subpages — Files ===== */
.files-list { display: flex; flex-direction: column; }
.file-row {
  display: grid; grid-template-columns: 60px 1.6fr 1fr 100px 40px;
  gap: 18px; align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  cursor: pointer;
  transition: padding 0.2s;
}
.file-row:last-child { border-bottom: 1px solid var(--line); }
.file-row:hover { padding-left: 8px; }
.file-row .ftype {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--paper-deep);
  font-family: var(--display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.04em;
}
.file-row.locked .ftype { background: var(--ink); color: var(--paper); }
.file-row .fname { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.015em; }
.file-row .fmeta { color: var(--ink-mute); font-size: 12.5px; }
.file-row .fdate { color: var(--ink-mute); font-size: 12.5px; font-feature-settings: "tnum"; }
.file-row .fdl { display: flex; justify-content: flex-end; }
.file-row .fdl button, .file-row .fdl a { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.file-row:hover .fdl button, .file-row:hover .fdl a { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.files-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.files-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--paper-soft); border-radius: 999px;
  padding: 9px 18px; min-width: 280px;
}
.files-search input { background: transparent; border: 0; outline: none; font: inherit; font-size: 14px; padding: 0; flex: 1; }
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chips button {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); font-size: 12.5px; cursor: pointer; font-weight: 500;
  font-family: inherit;
}
.filter-chips button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ===== Subpages — Login ===== */
.auth-shell {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; min-height: 720px;
}
.auth-side {
  background: var(--paper-soft);
  border-radius: 28px;
  padding: 56px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.auth-side.img {
  background-image: linear-gradient(180deg, rgba(34,29,24,0.0) 0%, rgba(34,29,24,0.55) 100%), var(--building-image, linear-gradient(135deg, #2a2520 0%, #4a4640 100%));
  background-size: cover;
  background-position: center;
  color: var(--cream);
}
.auth-side h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.auth-side h2 .serif-i { color: var(--accent); }
.auth-side.img h2 .serif-i { color: var(--butter); }
.auth-toggle { display: inline-flex; padding: 5px; background: var(--paper-deep); border-radius: 999px; gap: 4px; margin-bottom: 32px; align-self: flex-start; }
.auth-toggle button {
  padding: 9px 18px; border-radius: 999px; border: 0; background: transparent;
  font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
}
.auth-toggle button.active { background: var(--ink); color: var(--paper); }
.auth-form { display: flex; flex-direction: column; gap: 14px; max-width: 380px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.field input {
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--paper); font: inherit; font-size: 14.5px; outline: none;
}
.field input:focus { border-color: var(--ink); }
.auth-form .submit {
  margin-top: 8px;
  padding: 16px 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper); border: 0;
  font-family: inherit; font-size: 14.5px; font-weight: 500;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
}
.auth-meta { font-size: 12.5px; color: var(--ink-mute); margin-top: 14px; }
.auth-meta a { text-decoration: underline; cursor: pointer; color: var(--ink-soft); }
.auth-side.img .quote { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.25; margin-top: auto; max-width: 24ch; }
.auth-side.img .quote-attr { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 18px; opacity: 0.85; }
.wp-login-error { background: #fee; border: 1px solid #fcc; border-radius: 12px; padding: 12px 16px; font-size: 13px; color: #c00; margin-bottom: 14px; }
.wp-login-success { background: #efe; border: 1px solid #cfc; border-radius: 12px; padding: 12px 16px; font-size: 13px; color: #060; margin-bottom: 14px; }

/* ── Files page banner ── */
.files-banner { background: var(--paper-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; margin: 13px 0; position: relative; overflow: hidden; }
.files-banner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); border-radius: 12px 0 0 12px; }
.files-banner-inner { display: flex; align-items: center; gap: 10px; }
.files-banner-icon { font-size: 16px; flex-shrink: 0; }
.files-banner-text { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.files-banner-text strong { color: var(--ink); }
.files-banner-text a { color: var(--accent); font-weight: 600; }

/* ===== Info callout — shared notice style (FAQ hint, etc.) ===== */
.info-callout { background: var(--paper-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; margin: 13px 0; position: relative; overflow: hidden; }
.info-callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); border-radius: 12px 0 0 12px; }
.info-callout-inner { display: flex; align-items: center; gap: 10px; }
.info-callout-icon { font-size: 16px; flex-shrink: 0; }
.info-callout-text { font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.info-callout-text a { color: var(--accent); font-weight: 600; text-decoration: underline; }

/* ── Ultimate Member form — normalize to match auth-shell theme ── */
.um-login-wrap { max-width: 380px; }
.um-login-wrap .um { font-family: var(--body) !important; }
.um-login-wrap .um-field-label label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; margin-bottom: 5px; display: block; }
.um-login-wrap .um-field-area input[type="text"],
.um-login-wrap .um-field-area input[type="email"],
.um-login-wrap .um-field-area input[type="password"] {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 14.5px; font-family: var(--body); background: var(--paper); color: var(--ink);
  transition: border-color 0.18s; box-sizing: border-box;
}
.um-login-wrap .um-field-area input:focus { border-color: var(--accent); outline: none; }
.um-login-wrap .um-col-01 { margin-bottom: 14px; }
.um-login-wrap .um-button, .um-login-wrap input[type="submit"].um-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; background: var(--ink); color: var(--paper); border: none;
  border-radius: 999px; font-size: 14.5px; font-weight: 600; cursor: pointer;
  font-family: var(--body); transition: opacity 0.18s; width: 100%; margin-top: 6px;
}
.um-login-wrap .um-button:hover { opacity: 0.85; }
.um-login-wrap .um-misc-link a, .um-login-wrap .um-form-message a { color: var(--accent); }
.um-login-wrap .um-notice, .um-login-wrap .um-error { border-radius: 10px; font-size: 13px; }
/* Hide UM social login buttons unless you've set them up */
.um-login-wrap .um-social-login { display: none; }

/* ===== Chatbot full page ===== */
.chat-shell { display: grid; grid-template-columns: 320px 1fr; gap: 14px; min-height: 720px; }

/* Panels stay visible during chat — nav controls handle contextual actions */
#chat-side-requests,
.chat-starters {
  overflow: hidden;
  max-height: 600px;
  opacity: 1;
  transition: max-height 0.45s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.chat-side { background: var(--paper-soft); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; }
.chat-side h2 {
  font-family: var(--display); font-weight: 700; font-size: 36px;
  line-height: 0.95; letter-spacing: -0.025em; margin: 18px 0 14px;
}
.chat-side .agent {
  display: flex; gap: 12px; align-items: center; margin-bottom: 22px;
  padding: 14px; border-radius: 18px; background: var(--paper);
}
.chat-side .agent .av {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--accent); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 16px;
}
.chat-side .agent .meta { display: flex; flex-direction: column; gap: 2px; }
.chat-side .agent .name { font-weight: 600; font-size: 14px; }
.chat-side .agent .status { font-size: 12px; color: var(--ink-mute); display: flex; align-items: center; gap: 6px; }
.status-dot.dot-offline { background: #e53e3e; animation: none; }
.chat-shareholder-notice { font-size: 12px; color: var(--ink-mute); background: var(--paper); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; line-height: 1.5; }
.chat-shareholder-notice a { color: var(--accent); font-weight: 600; text-decoration: underline; }
.chat-suggestions { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.chat-suggestions button {
  text-align: left;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--paper); font-family: inherit; font-size: 13px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.chat-suggestions button:hover { border-color: var(--ink); }
.starter-rotator { transition: opacity 0.3s ease; }
.starter-rotator.starter-fade { opacity: 0; }

.chat-main { background: var(--paper); border-radius: 28px; padding: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); min-height: 560px; }
.chat-thread { flex: 1; padding: 32px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; max-height: 520px; }

/* ===== Chatbot — navigation bar ===== */
.chat-nav-bar {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 8px; padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
  flex-shrink: 0;
}
.chat-nav-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper); font-family: inherit; font-size: 12px; font-weight: 500;
  cursor: pointer; text-decoration: none; color: var(--ink);
  transition: border-color 0.18s, background 0.18s;
}
.chat-nav-btn:hover { border-color: var(--ink); background: var(--paper-soft); }
#chat-new-request-btn { display: none; }
.chat-shell.chat-started #chat-new-request-btn { display: inline-flex; }
.msg { max-width: 75%; padding: 14px 18px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; }
.msg.user { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--paper-soft); color: var(--ink); border-bottom-left-radius: 6px; }
.msg.bot a { color: var(--accent); text-decoration: underline; word-break: break-all; }
.msg.bot a:hover { opacity: 0.8; }
.msg.info-notice {
  align-self: stretch; max-width: 100%;
  background: #f0f6ff; border: 1px solid #c8ddf5;
  border-left: 3px solid #5b8fc9; border-radius: 0 12px 12px 0;
  padding: 12px 16px; color: #1e3a5f;
  font-size: 13px; line-height: 1.65; display: flex; align-items: flex-start; gap: 10px;
}
.msg.info-notice .info-icon {
  font-style: normal; font-size: 15px; opacity: 0.7; flex-shrink: 0; margin-top: 1px;
}
.msg.info-notice .text { flex: 1; }
.msg.info-notice .ts { font-size: 11px; opacity: 0.4; display: block; margin-top: 6px; letter-spacing: 0.06em; }
.msg .ts { font-size: 11px; opacity: 0.78; display: block; margin-top: 6px; letter-spacing: 0.06em; }
.chat-input { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-top: 1px solid var(--line); background: var(--paper-soft); }
.chat-input input { width: 100%; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); outline: none; font: inherit; font-size: 14px; box-sizing: border-box; }
.chat-input input:focus { border-color: var(--ink); }
.chat-input button { width: 100%; padding: 16px 24px; border-radius: 12px; background: var(--ink); color: var(--paper); border: 0; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; letter-spacing: 0.01em; transition: opacity .15s, transform .1s; }
.chat-input button:hover:not(:disabled) { opacity: .88; transform: translateY(-1px); }
.chat-input button:active:not(:disabled) { transform: translateY(0); }
.typing-dots { display: inline-flex; gap: 6px; align-items: center; }
.typing-dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--ink);
  opacity: 0.5; animation: pulse 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.15s; }
.typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

/* ===== Chatbot super-name verify ===== */
.chat-verify {
  flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 56px 48px; text-align: center; gap: 14px;
}
.chat-verify .glyph {
  width: 64px; height: 64px; border-radius: 999px;
  background: var(--paper-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.chat-verify h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 32px; letter-spacing: -0.02em; line-height: 1.05;
  margin: 0;
}
.chat-verify p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; max-width: 44ch; margin: 0 0 14px; }
.chat-verify form { display: flex; gap: 8px; align-items: center; width: 100%; max-width: 380px; }
.chat-verify input {
  flex: 1; padding: 14px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper);
  font: inherit; font-size: 14.5px; outline: none;
  text-align: center;
}
.chat-verify input:focus { border-color: var(--ink); }
.chat-verify button {
  padding: 14px 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper); border: 0;
  font: inherit; font-size: 14px; cursor: pointer;
}
.chat-verify .hint { font-size: 12px; color: var(--ink-mute); margin-top: 12px; }
.chat-verify .error { font-size: 13px; color: var(--accent-deep); margin-top: 6px; }

/* ===== Shareholder Resources page ===== */
.res-hero {
  background-image: linear-gradient(180deg, rgba(34,29,24,0.25) 0%, rgba(34,29,24,0.75) 100%), var(--building-image, linear-gradient(135deg, #2a2520 0%, #4a4640 100%));
  background-size: cover; background-position: center;
  color: var(--cream);
  border-radius: 28px;
  padding: 96px 56px 56px;
  min-height: 460px;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative;
}
.res-hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(56px, 7.5vw, 112px);
  line-height: 0.88; letter-spacing: -0.035em;
  margin: 0; max-width: 14ch;
}
.res-hero h1 .serif-i { color: var(--butter); }
.res-hero .lead { font-size: 16px; line-height: 1.55; opacity: 0.88; max-width: 540px; margin-top: 22px; }

.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.res-card { background: var(--paper-soft); border-radius: 22px; padding: 28px; min-height: 240px; display: flex; flex-direction: column; cursor: pointer; transition: background 0.2s; text-decoration: none; color: inherit; }
.res-card:hover { background: var(--paper-deep); }
.res-card .res-num { font-family: var(--display); font-feature-settings: "tnum"; color: var(--accent); font-size: 12px; margin-bottom: 10px; letter-spacing: 0.06em; }
.res-card .res-title { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1; letter-spacing: -0.02em; margin-top: auto; }
.res-card .res-sub { font-size: 12.5px; color: var(--ink-mute); margin-top: 8px; line-height: 1.5; }

/* ===== Available Units ===== */
.units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.unit-card {
  background: var(--paper);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.unit-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(31,29,26,0.08); }
.unit-media {
  aspect-ratio: 4 / 3;
  background: var(--paper-deep);
  position: relative;
  overflow: hidden;
}
.unit-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.unit-status {
  position: absolute; top: 14px; left: 14px;
  background: var(--paper);
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.unit-status .dot { width: 6px; height: 6px; border-radius: 999px; background: #6fb87a; }
.unit-status.pending    { background: #fff3e0; color: #b45309; }
.unit-status.pending .dot { background: #f59e0b; }
.unit-status.sold       { background: #fef2f2; color: #991b1b; }
.unit-status.sold .dot  { background: #ef4444; }
.unit-status.off_market { background: #f3f4f6; color: #6b7280; }
.unit-status.off_market .dot { background: #9ca3af; }
.unit-info { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.unit-info .unit-id { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
.unit-info h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 26px; line-height: 1; letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.unit-info .spec { display: flex; gap: 16px; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; margin-top: 2px; }
.unit-info .spec span { display: inline-flex; align-items: center; gap: 6px; }
.unit-info .spec b { font-weight: 600; color: var(--ink); }
.unit-foot { padding: 0 22px 22px; display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.unit-foot .price { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.unit-foot .price small { font-size: 11px; letter-spacing: 0.1em; color: var(--ink-mute); text-transform: uppercase; font-weight: 500; display: block; }

.units-empty {
  grid-column: 1 / -1;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 22px;
  padding: 56px 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.units-empty .em-art {
  width: 64px; height: 64px; border-radius: 999px;
  background: var(--paper-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute);
}
.units-empty h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 30px; letter-spacing: -0.02em; line-height: 1.05;
  margin: 4px 0 0;
}
.units-empty p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); max-width: 42ch; margin: 0; }

/* ===== Auth gate (shareholder pages) ===== */
.auth-gate {
  background: var(--paper);
  border-radius: 28px;
  padding: 96px 56px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: 460px;
  justify-content: center;
  gap: 16px;
}
.auth-gate .lock {
  width: 64px; height: 64px; border-radius: 999px;
  background: var(--paper-soft); color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.auth-gate h2 {
  font-family: var(--display); font-weight: 700;
  font-size: 44px; line-height: 1; letter-spacing: -0.025em;
  margin: 0;
}
.auth-gate p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); max-width: 46ch; margin: 4px 0 14px; }

/* ===== Chatbot — mode badge ===== */
.chat-mode-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 16px; align-self: flex-start;
}
.chat-mode-badge.mode-verify { background: var(--paper-deep); color: var(--ink-mute); }
.chat-mode-badge.mode-menu   { background: var(--butter); color: var(--ink); }
.chat-mode-badge.mode-form   { background: var(--accent); color: var(--cream); }
.chat-mode-badge.mode-ai     { background: var(--ink); color: var(--paper); }

/* ===== Chatbot — sidebar request menu ===== */
.chat-request-menu { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.chat-side-req-btn {
  text-align: left; padding: 11px 14px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--paper);
  font-family: inherit; font-size: 13px; cursor: pointer;
  display: flex; align-items: center; gap: 10px; width: 100%;
  transition: border-color 0.2s, background 0.2s;
}
.chat-side-req-btn:hover { border-color: var(--ink); background: var(--paper-soft); }
.chat-side-req-btn .req-icon { font-size: 15px; line-height: 1; }
.chat-side-req-btn .req-label { font-weight: 500; flex: 1; }

/* ===== Chatbot — choice buttons in thread ===== */
.msg-choices { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 8px; }
.msg-choice-btn {
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper);
  font-family: inherit; font-size: 13px; cursor: pointer;
  transition: all 0.15s; color: var(--ink);
}
.msg-choice-btn:hover:not(:disabled) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.msg-choice-btn.selected { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.msg-choice-btn.stale { opacity: 0.45; cursor: default; }
.msg-choice-btn.primary {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
  font-size: 15px; font-weight: 700; padding: 13px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  letter-spacing: 0.01em;
  min-width: 140px;
}
.msg-choice-btn.primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0,0,0,0.24);
}
.msg-choice-btn.primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.16);
}

/* ===== Chatbot — ref card ===== */
.ref-card {
  background: var(--paper-soft); border-radius: 12px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 3px; margin-top: 10px;
}
.ref-card .ref-num { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.ref-card .ref-sub { font-size: 11px; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; }

/* ===== Chatbot — form mode sidebar ===== */
.side-form-type { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 4px; }
.side-form-progress { font-size: 12px; color: var(--ink-mute); margin-bottom: 18px; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero, .map-hero, .pli-hero { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-right { height: 460px; }
  .included-grid, .pli-grid, .parking-grid, .units-grid { grid-template-columns: 1fr 1fr; }
  .res-grid, .footer-top { grid-template-columns: 1fr 1fr; }
  .auth-shell, .chat-shell { grid-template-columns: 1fr; }
  .section { padding: 48px 28px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .index-strip { grid-template-columns: 1fr; }
  .faq-hero .row1 { flex-direction: column; gap: 24px; }
  .parking-card h3 { font-size: 28px; }
}
@media (max-width: 640px) {
  .included-grid, .pli-grid, .parking-grid, .res-grid, .footer-top, .files-list, .units-grid { grid-template-columns: 1fr; }
  .footer-top { gap: 32px; }
  .footer-col { display: none; }
  .file-row { grid-template-columns: 50px 1fr 40px; }
  .file-row .fmeta, .file-row .fdate { display: none; }
  .header { padding: 14px 16px; }
  .nav-list { display: none; }
  .auth-pill { display: none; }
  .ticker-hide-mobile { display: none; }
  .ticker { padding: 9px 18px; font-size: 10px; }
  .parking-card { padding: 24px; }
  .parking-card h3 { font-size: 24px; margin: 10px 0 14px; }
  .parking-card p { font-size: 14px; }
  .parking-card .row { font-size: 13px; padding: 10px 0; }
  .map-hero { padding: 32px 24px; }
  .map-hero h1 { font-size: 48px; }
  .faq-hero { padding: 36px 24px; }
  .faq-hero h1 { font-size: 52px; }
  .faq-hero .row1 { flex-direction: column; gap: 20px; }
  .section { padding: 36px 20px; }
  /* Prevent horizontal overflow on mobile */
  html, body { overflow-x: hidden; }
  .ticker { overflow: hidden; }
  .hero-left { padding: 32px 24px 36px; }
  h1.hero-title { font-size: clamp(44px, 13vw, 64px); }
  .hero-sub { font-size: 15px; max-width: 100%; margin-top: 20px; }
  /* Chatbot */
  .chat-shell { min-height: auto; }
  .chat-side { padding: 24px 20px; border-radius: 20px; }
  .chat-side h2 { font-size: 28px; margin: 12px 0 10px; }
  .chat-main { min-height: 380px; }
  .chat-thread { padding: 20px 16px; max-height: 55vh; }
  .msg { max-width: 90%; font-size: 14px; padding: 12px 15px; }
  .msg.info-notice { max-width: 100%; font-size: 12.5px; }
  .chat-input { padding: 12px 14px; gap: 8px; }
  .chat-input input { padding: 12px 15px; font-size: 16px; } /* 16px prevents iOS auto-zoom */
  .chat-input button { padding: 15px 24px; font-size: 15px; }
  .msg-choice-btn { padding: 8px 13px; font-size: 12.5px; }
  .footer-bottom { flex-direction: column; gap: 6px; font-size: 11px; }
  .hero-right { height: 280px; }
  .hide-mobile { display: none !important; }
  .chat-starters { display: none !important; }
}


/* Accessibility: text for screen readers only, visible keyboard focus, readable timestamps */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.msg-choice-btn:focus-visible, .chat-input button:focus-visible, .chat-nav-btn:focus-visible, .tk-btn:focus-visible { outline: 3px solid var(--accent, #1e56a0); outline-offset: 2px; }
.chat-input input:focus-visible, .chat-verify input:focus-visible, .tk-pin-input:focus-visible { outline: 3px solid var(--accent, #1e56a0); outline-offset: 1px; }
.chat-thread:focus-visible { outline: 2px solid var(--accent, #1e56a0); outline-offset: -2px; }
.msg-choice-btn.stale { opacity: 0.6; }
@media (prefers-reduced-motion: reduce) { .typing-dot { animation: none; } .chat-input button, .msg-choice-btn { transition: none; } }


/* Header: the inline menu only fits from about 1050px up (six items, the last one is "Shareholder Resources").
   Below 1100px the menu button is the way in, so nothing is cut off at any width. */
@media (max-width: 1100px) {
  .header nav { display: none; }
  .nav-list { display: none; }
}

/* A message typed while the assistant was still replying: shown, dimmed, with a note, until it is sent. */
.msg.user.queued { opacity: .7; }
.msg.user.queued .ts { font-style: italic; }

/* Accessibility, site-wide: skip link, visible keyboard focus on everything you can tab to, FAQ questions as buttons. */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 10000; background: var(--ink, #221d18); color: var(--paper, #fff); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 8px; outline: 3px solid var(--accent, #1e56a0); outline-offset: 2px; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent, #1e56a0); outline-offset: 2px; }
.faq-q { cursor: pointer; }
.faq-q:focus-visible { outline-offset: -3px; border-radius: 8px; }
#sv14-main:focus { outline: none; }
.field input[aria-invalid="true"] { border-color: #b3261e; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }


/* ---- Registration form (Ultimate Member) styled like the sign-in pages (W-10) ---- */
.um-register { max-width: 440px; font-family: var(--body) !important; }
.um-register .um-field-label label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; margin-bottom: 5px; display: block; }
.um-register .um-field-area input[type="text"],
.um-register .um-field-area input[type="email"],
.um-register .um-field-area input[type="password"],
.um-register .um-field-area input[type="number"],
.um-register .um-field-area input[type="tel"],
.um-register .um-field-area select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 14.5px; font-family: var(--body); background: var(--paper); color: var(--ink); box-sizing: border-box;
}
.um-register .um-field-area input:focus, .um-register .um-field-area select:focus { border-color: var(--accent); outline: none; }
.um-register .um-field { margin-bottom: 14px; padding-top: 0; }
.um-register .um-req, .um-register .sv14-req { color: var(--accent); margin-left: 2px; }
.um-register .um-button, .um-register input[type="submit"].um-button {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px;
  background: var(--ink) !important; color: var(--paper) !important; border: none; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: var(--body); width: 100%; margin-top: 6px;
}
.um-register .um-button:hover { opacity: 0.85; }
.um-register .um-field-error { border-radius: 8px; font-size: 13px; }
.um-register .um-col-alt, .um-register .um-left, .um-register .um-right { width: 100%; float: none; }
.msg.bot.withdrawn { opacity: .55; }
