@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=EB+Garamond:ital,wght@0,400;1,400&family=Cormorant+Garamond:ital,wght@0,400;1,400&display=swap');

/* =========================================================
   COLOR TOKENS
   ========================================================= */
:root {
  --bg:           #0d0d0d;
  --surface:      #141414;
  --text:         #e8e2d6;
  --text-mid:     #c8c0b4;
  --text-muted:   #5a5248;
  --text-dim:     #3d3830;
  --text-ghost:   #2e2b27;
  --accent:       #b8972a;
  --rule-dark:    #1a1714;
  --rule-mid:     #2a2520;
  --rule-ghost:   #1e1b17;
}

/* =========================================================
   RESET + BASE
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto; /* JS handles smooth scroll for #contact only */
}

body {
  background-color: var(--bg);
  color: var(--text-mid);
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   CONTAINER
   ========================================================= */
.container {
  max-width: 660px;
  margin: 0 auto;
  padding: 0 2.2rem;
}

/* =========================================================
   DIVIDER
   ========================================================= */
.divider {
  display: flex;
  align-items: center;
  margin: 3.5rem auto;
  max-width: 660px;
  padding: 0 2.2rem;
}

.div-line {
  flex: 1;
  height: 1px;
  background: var(--rule-ghost);
}

.div-diamond {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin: 0 0.9rem;
}

/* =========================================================
   SECTION LABEL
   ========================================================= */
.section-label {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

/* Centered top ornament: two gold lines flanking a diamond */
.hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  margin: 0 auto 1.8rem;
}

.hero-line {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-diamond {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin: 0 0.6rem;
}

/* Firm name */
.firm-name {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.5;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Short gold rule beneath firm name */
.hero-rule {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 1.4rem auto;
}

/* Subheading */
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

/* Location */
.hero-location {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 0.3rem 0 0;
}

/* Jurisdiction */
.hero-jurisdiction {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.76rem;
  color: var(--text-ghost);
  margin: 0.6rem 0 1.8rem;
}

/* Tagline */
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: #8a7e72;
  margin: 0 0 2rem;
}

/* CTA link */
.cta-link {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-mid);
  display: inline-block;
  padding-bottom: 0.15rem;
  transition: border-bottom-color 0.2s;
}

.cta-link:hover {
  border-bottom-color: var(--accent);
}

/* =========================================================
   SECTIONS (shared)
   ========================================================= */
.section {
  padding: 0;
}

/* =========================================================
   BIO SECTION
   ========================================================= */
.attorney-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2rem;
  color: var(--text);
  margin: 0 0 0.1rem;
  line-height: 1.2;
}

.attorney-esq {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  margin: 0 0 1.8rem;
}

.bio-p1 {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 1.1rem;
}

.bio-p2 {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.85;
  margin: 0 0 1.1rem;
}

.bio-p2:last-child {
  margin-bottom: 0;
}

/* =========================================================
   AREAS OF PRACTICE
   ========================================================= */
.practice-list {
  list-style: none;
  margin: 0 0 0;
  padding: 0;
}

.practice-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--rule-dark);
  padding: 0.7rem 0;
  cursor: default;
}

.practice-item:first-child {
  border-top: 1px solid var(--rule-dark);
}

.practice-dot {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.practice-name {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9088;
  transition: color 0.2s;
}

.practice-item:hover .practice-name {
  color: var(--accent);
}

.practice-disclaimer {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.72rem;
  color: var(--text-ghost);
  line-height: 1.6;
  margin: 1.2rem 0 0;
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-email {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--accent);
  display: block;
  margin: 0 0 0.3rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-email:hover {
  opacity: 0.8;
}

.contact-address {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-ghost);
  margin: 0 0 2rem;
  font-style: italic;
}

/* Form fields */
.form-field {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-mid);
  color: var(--text);
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  padding: 0.6rem 0;
  margin-bottom: 1.4rem;
  box-sizing: border-box;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.form-field::placeholder {
  color: var(--text-ghost);
}

.form-field:focus {
  border-bottom-color: var(--accent);
}

.form-textarea {
  resize: none;
  line-height: 1.65;
}

/* Checkbox row */
.checkbox-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}

.checkbox-row input[type="checkbox"] {
  accent-color: var(--accent);
  margin-top: 0.35rem;
  flex-shrink: 0;
  cursor: pointer;
  width: 14px;
  height: 14px;
}

.checkbox-label {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.78rem;
  color: var(--text-ghost);
  line-height: 1.6;
  cursor: pointer;
}

/* Submit button */
.submit-btn {
  display: block;
  width: 100%;
  border: 1px solid var(--rule-mid);
  background: transparent;
  color: var(--text-muted);
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem;
  cursor: not-allowed;
  transition: border-color 0.2s, color 0.2s;
}

.submit-btn.on {
  border-color: var(--accent);
  color: var(--accent);
  cursor: pointer;
}

.submit-btn.on:hover {
  background: rgba(184, 151, 42, 0.06);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  padding-bottom: 3.5rem;
}

/* The divider inside footer has no extra top margin (footer handles spacing) */
.site-footer .divider {
  margin-top: 0;
}

.footer-inner {
  text-align: center;
}

.footer-attorney {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}

.footer-firm {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin: 0 0 0.2rem;
}

.footer-address {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.75rem;
  color: var(--text-ghost);
  margin: 0 0 1.2rem;
}

.footer-ad {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.7rem;
  color: var(--text-ghost);
  max-width: 460px;
  margin: 0 auto 0.6rem;
  line-height: 1.7;
}

.footer-copy {
  font-family: 'EB Garamond', serif;
  font-size: 0.7rem;
  color: var(--text-ghost);
}

/* =========================================================
   RESPONSIVE: mobile-first, single breakpoint at 768px
   ========================================================= */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 0 3rem;
  }

  .container {
    padding: 0 1.4rem;
  }

  .divider {
    padding: 0 1.4rem;
  }

  .firm-name {
    font-size: 1.05rem;
  }

  .attorney-name {
    font-size: 1.65rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .contact-email {
    font-size: 1rem;
    word-break: break-all;
  }

  .form-field {
    font-size: 1rem; /* legibility on mobile */
  }

  .footer-attorney {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }
}
