/* Dallas Financial Solutions — lead site (light editorial)
   Cream / terracotta / deep; Fraunces + DM Sans
   Visual patterns adapted from Ember & Oak (hero, specialty strip, feature cards) */
:root {
  --bg: #faf7f2;
  --cream: #faf7f2;
  --cream-deep: #f0e8dc;
  --surface: #ffffff;
  --ink: #241c16;
  --deep: #2c2118;
  --muted: #6b5e52;
  --line: #e4d8c8;
  --accent: #9a4e2c;
  --accent-hover: #7e3f24;
  --accent-soft: #f0e4d8;
  --tag-bg: #f3ebe2;
  --gold: #c4a574;
  --shadow: 0 10px 30px rgba(44, 33, 24, 0.08);
  --shadow-strong: 0 16px 40px rgba(44, 33, 24, 0.14);
  --radius: 14px;
  --content: 1040px;
  --header-h: 72px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }

.wrap {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.wrap.narrow, .wrap-narrow {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top NAP bar */
.nap-bar {
  background: var(--deep);
  color: var(--cream);
  font-size: 0.85rem;
  padding: 0.45rem 0;
}
.nap-bar__inner {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  justify-content: space-between; align-items: center;
}
.nap-bar a { color: var(--cream); text-decoration: none; }
.nap-bar a:hover { color: var(--gold); text-decoration: underline; }
.nap-bar .tag { color: rgba(250, 247, 242, 0.72); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--ink);
}
.brand-mark-img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  box-shadow: var(--shadow);
  background: #f7f3eb;
}
@media (min-width: 801px) {
  .brand-mark-img { width: 52px; height: 52px; }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
}
.brand-sub {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); font-weight: 500;
}
/* Legacy wordmark (privacy / sms-terms headers) */
.wordmark { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.wordmark small {
  display: block; font-family: var(--font-body); font-size: 0.7rem; color: var(--muted);
  letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.2rem;
}

.nav {
  display: flex; flex-wrap: wrap; gap: 0.15rem 1.1rem;
  align-items: center; font-size: 0.92rem;
}
.nav a {
  text-decoration: none; color: var(--muted); font-weight: 500;
  padding: 0.25rem 0;
}
.nav a:hover { color: var(--ink); }
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 0.55rem 1rem !important; border-radius: 999px;
  text-decoration: none !important; font-weight: 600 !important;
  box-shadow: var(--shadow);
}
.nav-cta:hover { background: var(--accent-hover) !important; color: #fff !important; }

/* Full-bleed photo hero */
.hero {
  position: relative; color: var(--cream);
  min-height: clamp(400px, 58vw, 560px);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(44,33,24,0.86) 0%, rgba(44,33,24,0.55) 50%, rgba(44,33,24,0.28) 100%);
}
.hero__content {
  position: relative; z-index: 2; padding: 3.5rem 0 3rem; max-width: 640px;
}
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 0.75rem;
}
.hero h1 { color: var(--cream); margin-bottom: 0.85rem; }
.hero p.lead, .hero .lead {
  font-size: 1.12rem; color: rgba(250,247,242,0.92);
  margin-bottom: 1.5rem; max-width: 38rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.8rem 1.35rem; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  background: var(--deep); color: var(--cream);
}
.btn:active { transform: translateY(1px); }
.btn:hover { background: var(--accent); color: #fff; }
.btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--cream); border-color: rgba(250,247,242,0.55);
}
.btn-ghost:hover { background: rgba(250,247,242,0.12); color: var(--cream); }
.btn-outline {
  background: transparent; color: var(--deep); border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent-soft); color: var(--ink); }
.btn-dark {
  background: var(--deep); color: var(--cream); border-color: var(--deep);
}
.btn-dark:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.block, .btn-dark.block { width: 100%; text-align: center; border-radius: 12px; }
.btn.primary { background: var(--deep); color: var(--cream); }

/* Specialty strip */
.specialty-strip {
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
.specialty-strip__inner {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  justify-content: center; align-items: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 600;
  color: var(--deep);
}
.specialty-strip a { text-decoration: none; color: inherit; }
.specialty-strip a:hover { color: var(--accent); }
.specialty-strip .dot { color: var(--accent); opacity: 0.75; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--cream-deep); }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head p, .section .lead { color: var(--muted); font-size: 1.05rem; }

/* Grids & cards */
.grid-2 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.menu-grid { gap: 1.35rem; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card img {
  width: 100%; height: 200px; object-fit: cover;
}
.card-feature img { height: 220px; }
.card-body {
  padding: 1.35rem 1.4rem 1.5rem;
  flex: 1; display: flex; flex-direction: column; gap: 0.65rem;
}
.card-body h3 { margin: 0; }
.engage-card .tag {
  align-self: flex-start; font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); background: var(--tag-bg);
  padding: 0.25rem 0.55rem; border-radius: 6px;
}
.engage-card dl { margin: 0; display: grid; gap: 0.7rem; }
.engage-card dt {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin: 0;
}
.engage-card dd { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.95rem; }
.engage-card .cta { margin-top: auto; padding-top: 0.5rem; }

.chip-row {
  display: flex; flex-wrap: wrap; gap: 0.55rem;
}
.chip {
  display: inline-block; padding: 0.45rem 0.9rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; font-size: 0.9rem; color: var(--deep);
  box-shadow: 0 1px 0 rgba(44,33,24,0.04);
}

.split { align-items: center; }
.split .muted { color: var(--muted); }
.img-frame {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-strong); border: 1px solid var(--line);
}
.img-frame img {
  width: 100%; height: 320px; object-fit: cover;
}
.area-facts {
  display: grid; gap: 0.85rem; margin: 1.25rem 0 1.5rem;
}
.area-facts strong { display: block; color: var(--ink); font-size: 0.9rem; }
.area-facts span { color: var(--muted); font-size: 0.92rem; }

.bench-note {
  margin-top: 2rem; padding: 1.15rem 1.3rem;
  border-left: 3px solid var(--accent); background: var(--surface);
  border-radius: 0 10px 10px 0; color: var(--muted);
  box-shadow: var(--shadow);
}

/* Consultation form */
.consultation {
  background: var(--accent-soft);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 4rem;
}
.consultation h2 { margin-top: 0; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.92rem; margin-bottom: 0.35rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 0.75rem 0.85rem; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.consent-field .checkbox-label {
  display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start;
  font-size: 0.84rem; color: var(--muted); line-height: 1.45; font-weight: 400;
}
.consent-field input[type="checkbox"] {
  width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; flex-shrink: 0;
}
.form-status { min-height: 1.4em; margin-top: 0.85rem; font-size: 0.95rem; }
.form-status.error { color: #9b1c1c; }
.form-status.success { color: #146c43; }

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.95rem; background: var(--bg);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.footer-brand {
  display: block;
  height: 72px;
  width: auto;
  margin: 0 0 0.85rem;
}
.site-footer .company { color: var(--ink); font-weight: 700; margin-bottom: 0.35rem; }
.hours { margin: 0.35rem 0; }
.disclaimer { font-size: 0.82rem; margin-top: 1.25rem; max-width: 62ch; opacity: 0.9; }
.footer-links { margin-top: 1rem; }

/* Legal pages */
.legal { padding: 2.5rem 0 3.5rem; }
.legal h1 { margin-top: 0; }
.legal h2 { font-size: 1.2rem; margin-top: 1.75rem; }
.legal .effective, .legal .meta { color: var(--muted); }

/* Responsive */
@media (max-width: 800px) {
  .grid-2, .menu-grid { grid-template-columns: 1fr; }
  .split.reverse { display: flex; flex-direction: column-reverse; gap: 1.5rem; }
  .img-frame img { height: 240px; }
  .nav-cta { display: none; }
  .hero__content { padding: 2.75rem 0 2.25rem; }
}
@media (max-width: 560px) {
  .brand-sub { display: none; }
  .specialty-strip__inner { font-size: 1.05rem; }
}

.card-more { margin: 0; }
.card-link {
  font-weight: 600; text-decoration: none; color: var(--accent); font-size: 0.95rem;
}
.card-link:hover { text-decoration: underline; color: var(--accent-hover); }

/* About / bio — compact portrait beside copy */
.bio-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: start;
}
.bio-photo { margin: 0; max-width: 160px; width: 160px; }
.bio-photo__frame {
  border-radius: 12px;
  overflow: hidden;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  width: 160px;
  height: 200px;
  max-height: 200px;
  aspect-ratio: auto;
}
.bio-photo__frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
}
.bio-photo__caption {
  margin-top: 0.5rem; font-size: 0.78rem; color: var(--muted);
  letter-spacing: 0.03em; line-height: 1.3;
}
.bio-hero { padding-top: 2.25rem; }
.bio-copy h1 { margin-top: 0.25rem; margin-bottom: 0.65rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
@media (min-width: 801px) {
  .bio-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 1.5rem 2rem; }
  .bio-photo, .bio-photo__frame { width: 180px; max-width: 180px; }
  .bio-photo__frame { height: 225px; max-height: 225px; }
}
@media (max-width: 800px) {
  .bio-layout {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 1rem 1.25rem;
    align-items: start;
  }
  .bio-photo, .bio-photo__frame { width: 140px; max-width: 140px; }
  .bio-photo__frame { height: 175px; max-height: 175px; border-radius: 12px; }
  .bio-photo__caption { font-size: 0.75rem; }
  .bio-copy .lead { font-size: 0.98rem; }
  .bio-copy .hero-actions { flex-wrap: wrap; gap: 0.5rem; }
  .bio-copy .hero-actions .btn { font-size: 0.88rem; padding: 0.65rem 1rem; }
}
@media (max-width: 420px) {
  .bio-layout { grid-template-columns: 112px minmax(0, 1fr); gap: 0.85rem; }
  .bio-photo, .bio-photo__frame { width: 112px; max-width: 112px; }
  .bio-photo__frame { height: 140px; max-height: 140px; }
}

.tag {
  align-self: flex-start; font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); background: var(--tag-bg);
  padding: 0.25rem 0.55rem; border-radius: 6px; display: inline-block;
}
