/* ============================================================
   URBAN WEALTH ADVISORS — DESIGN SYSTEM
   Signature: "The Ledger Line" — financial-statement motifs
   (tabular eyebrows, hairline rules, deed-stamp price tags)
   applied to a private-wealth real estate brand.
   ============================================================ */

:root {
  /* ---- Color tokens ---- */
  --navy-950: #0a1a33;
  --navy-900: #0e2240;
  --navy-800: #14305a;
  --navy-700: #1c3f73;
  --navy-100: #e7ecf3;

  --orange-600: #c75a1c;
  --orange-500: #e8722a;
  --orange-400: #ef8b4d;
  --orange-100: #fbe5d3;

  --paper: #faf8f4;
  --paper-dim: #f3efe7;
  --white: #ffffff;
  --ink: #0a1a33;
  --slate: #5b6472;
  --slate-light: #8d94a0;
  --hairline: #e4e0d8;
  --hairline-dark: rgba(255, 255, 255, 0.14);

  --success: #1f7a4d;

  /* ---- Type ---- */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", monospace;

  /* ---- Layout ---- */
  --container: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(10, 26, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 26, 51, 0.10);
  --shadow-lg: 0 24px 64px rgba(10, 26, 51, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  color: var(--navy-950);
  letter-spacing: -0.01em;
}

:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- The Ledger Line: recurring section motif ---- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--orange-500);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--orange-400); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 28px;
  margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.section-head .lede { color: var(--slate); max-width: 420px; font-size: 15.5px; margin-top: 10px; }

section { padding: 88px 0; }
section.tight { padding: 64px 0; }
section.on-paper { background: var(--paper); }
section.on-navy { background: var(--navy-950); color: var(--white); }
section.on-navy h2, section.on-navy h3, section.on-navy h4 { color: var(--white); }
section.on-navy .section-head { border-bottom-color: var(--hairline-dark); }
section.on-navy .lede { color: rgba(255,255,255,0.62); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange-500); color: var(--white); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost-navy { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.32); }
.btn-ghost-navy:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.55); }
.btn-outline-navy { background: transparent; color: var(--navy-950); border-color: var(--navy-950); }
.btn-outline-navy:hover { background: var(--navy-950); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---- Trust badge strip ---- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--slate);
  font-weight: 500;
}
.trust-item svg { flex-shrink: 0; color: var(--orange-500); }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* ---- Forms ---- */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(232, 114, 42, 0.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange-500); color: white; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---- Utility ---- */
.mono { font-family: var(--font-mono); }
.text-orange { color: var(--orange-500); }
.text-slate { color: var(--slate); }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}
