/* Quisha Matthews — agent site */
:root {
  --bg: #141210;
  --bg-elevated: #1c1916;
  --bg-card: #221e1a;
  --bg-soft: #2a251f;
  --cream: #f3ebe0;
  --cream-muted: #d4c7b4;
  --gold: #c9a46a;
  --gold-bright: #e0bf84;
  --gold-dim: #8a7348;
  --line: rgba(243, 235, 224, 0.12);
  --line-strong: rgba(201, 164, 106, 0.35);
  --text: var(--cream);
  --text-muted: var(--cream-muted);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, Segoe UI, sans-serif;
  --header-h: 4.25rem;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201, 164, 106, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(201, 164, 106, 0.06), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

a:hover {
  color: var(--cream);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--gold);
  color: var(--bg);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2rem, 42rem);
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(20, 18, 16, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--cream);
  min-width: 0;
}

.nav-brand:hover {
  color: var(--gold-bright);
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 14rem;
}

.nav-brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin-inline: auto;
  background: var(--cream);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  flex-direction: column;
  gap: 0.25rem;
  background: rgba(20, 18, 16, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem 1.25rem;
}

.nav-menu.is-open {
  display: flex;
}

.nav-menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  color: var(--cream);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-menu a:hover {
  background: var(--bg-soft);
  color: var(--gold-bright);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), #a8864a);
  color: var(--bg) !important;
  text-align: center;
  font-weight: 600 !important;
}

.nav-cta:hover {
  filter: brightness(1.08);
  color: var(--bg) !important;
}

.nav-broker {
  display: none;
}

@media (min-width: 880px) {
  .nav-brand-name {
    max-width: none;
    font-size: 1.25rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .nav-menu a {
    padding: 0.45rem 0.75rem;
  }

  .nav-cta {
    margin-left: 0.35rem;
    padding-inline: 1rem !important;
  }

  .nav-broker {
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
    padding-left: 0.85rem;
    border-left: 1px solid var(--line);
    opacity: 0.85;
    text-decoration: none;
  }

  .nav-broker:hover {
    opacity: 1;
  }

  .nav-broker img {
    height: 28px;
    width: auto;
    border-radius: 4px;
  }
}

/* Hero */
.hero {
  display: grid;
  gap: 0;
  min-height: calc(100svh - var(--header-h));
  background: var(--bg-elevated);
}

.hero-media {
  position: relative;
  min-height: 58vh;
  overflow: hidden;
  background: #1a1714;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 58vh;
  object-fit: cover;
  object-position: center 12%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 18, 16, 0.72) 0%, transparent 45%);
  pointer-events: none;
}

.hero-content {
  padding: 2rem 1.25rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
  margin: 0.25rem 0 1rem;
}

.hero-lead {
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
  }

  .hero-media {
    min-height: calc(100svh - var(--header-h));
    order: 2;
  }

  .hero-media img {
    min-height: calc(100svh - var(--header-h));
    object-position: center 18%;
  }

  .hero-media::after {
    background: linear-gradient(to right, rgba(20, 18, 16, 0.55) 0%, transparent 35%);
  }

  .hero-content {
    order: 1;
    padding: 3.5rem 2rem 3.5rem clamp(1.5rem, 5vw, 4rem);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #1a140c;
  box-shadow: 0 10px 28px rgba(201, 164, 106, 0.25);
}

.btn-primary:hover {
  color: #120e08;
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--cream);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(201, 164, 106, 0.08);
}

.btn-ghost {
  background: rgba(243, 235, 224, 0.06);
  color: var(--cream);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: rgba(243, 235, 224, 0.12);
  color: var(--gold-bright);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-intro {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.about {
  border-top: 1px solid var(--line);
}

.about p:last-child {
  margin-bottom: 0;
}

.services {
  background: linear-gradient(180deg, transparent, rgba(201, 164, 106, 0.04), transparent);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.card p:last-child {
  margin-bottom: 0;
}

.how {
  border-top: 1px solid var(--line);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: none;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.step {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.step p:last-child {
  margin-bottom: 0;
}

/* Contact */
.contact {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
  }
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.contact-list a {
  font-weight: 500;
  text-decoration: none;
  color: var(--cream);
}

.contact-list a:hover {
  color: var(--gold-bright);
}

.contact-actions {
  margin-left: 0.65rem;
  font-size: 0.9rem;
}

.contact-actions a {
  color: var(--gold);
  text-decoration: underline;
}

address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--cream);
  font: inherit;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(212, 199, 180, 0.45);
}

.field input:hover,
.field textarea:hover {
  border-color: rgba(201, 164, 106, 0.35);
}

.form-note {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.75rem 0 2.25rem;
  background: #0f0d0b;
}

.footer-inner {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
  }
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer-affil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  color: var(--text-muted);
}

.broker-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.35rem 0.55rem 0.35rem 0.35rem;
}

.broker-lockup:hover {
  border-color: var(--line-strong);
  color: var(--gold-bright);
}

.broker-logo {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.broker-text {
  font-size: 0.85rem;
  font-weight: 500;
  padding-right: 0.25rem;
}

.footer-quiet {
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.footer-meta p {
  font-size: 0.92rem;
}

.disclaimer {
  font-size: 0.78rem !important;
  line-height: 1.55;
  color: rgba(212, 199, 180, 0.65) !important;
  margin-top: 0.85rem;
}

.copyright {
  font-size: 0.82rem !important;
  margin-top: 0.85rem;
  margin-bottom: 0;
  color: rgba(212, 199, 180, 0.55) !important;
}

.nav-broker-item {
  list-style: none;
}

@media (max-width: 879px) {
  .nav-broker-item {
    display: none;
  }
}
