/* Stanley R. Watson, Attorney at Law — myattorneytexas.com */

:root {
  --ink: #1b2331;
  --ink-soft: #242e40;
  --paper: #f7f4ed;
  --card: #fffdf8;
  --text: #2b2f37;
  --muted: #6e6a5f;
  --brass: #9c7c3c;
  --brass-dark: #82662e;
  --hairline: #e2dccc;
  --hairline-dark: #d4cdb9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Lora", Georgia, serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Top bar ---------- */

.topbar {
  background: var(--ink);
  color: #cfd4dd;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-phone {
  color: #e8e3d5;
  text-decoration: none;
  font-weight: 500;
}

.topbar-phone:hover { color: #fff; }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(ellipse 120% 90% at 50% -20%, rgba(255,255,255,0.5), transparent 60%),
    var(--paper);
  text-align: center;
  padding: 84px 24px 92px;
  border-bottom: 1px solid var(--hairline);
}

.kicker {
  font-size: 14px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(46px, 7.5vw, 78px);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 26px auto 24px;
  color: #c2ad85;
}

.ornament-line {
  display: block;
  width: 110px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--hairline-dark));
}

.ornament-line:last-child {
  background: linear-gradient(to left, transparent, var(--hairline-dark));
}

.scales { width: 22px; height: 22px; opacity: 0.75; }

.credentials {
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.credentials .amp {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}

.credentials.sub {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 6px;
}

.hero-lede {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(21px, 2.6vw, 26px);
  color: #4d5361;
  max-width: 560px;
  margin: 34px auto 0;
  line-height: 1.45;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 15px 34px;
  font-family: "Lora", Georgia, serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn-solid {
  background: var(--ink);
  color: #f3efe4;
  border-color: var(--ink);
}

.btn-solid:hover { background: var(--ink-soft); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-dark);
}

.btn-ghost:hover { border-color: var(--ink); }

.btn-brass {
  background: var(--brass);
  color: #fffdf5;
  border-color: var(--brass);
}

.btn-brass:hover { background: var(--brass-dark); border-color: var(--brass-dark); }

.btn-full { width: 100%; }

/* ---------- Sections ---------- */

.section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section-kicker {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  text-align: center;
  margin-bottom: 14px;
}

.section-kicker.light { color: #c9a95e; }

.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(34px, 4.5vw, 46px);
  color: var(--ink);
  text-align: center;
  margin-bottom: 54px;
}

/* ---------- Topbar nav ---------- */

.topbar-nav {
  display: flex;
  gap: 26px;
}

.topbar-nav a {
  color: #cfd4dd;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease;
}

.topbar-nav a:hover,
.topbar-nav a[aria-current="page"] { color: #fff; }

/* ---------- About page hero ---------- */

.page-hero {
  background: var(--paper);
  text-align: center;
  padding: 64px 24px 60px;
  border-bottom: 1px solid var(--hairline);
}

.page-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(38px, 5.5vw, 56px);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 16px;
}

/* ---------- About brief (homepage) ---------- */

.about-brief {
  background: var(--card);
  border-bottom: 1px solid var(--hairline);
  padding: 80px 24px;
  text-align: center;
}

.about-brief-inner { max-width: 720px; margin: 0 auto; }

.about-brief-copy {
  font-size: 17px;
  line-height: 1.75;
  color: #3c4149;
  margin-bottom: 32px;
}

.about-brief .section-title { margin-bottom: 24px; }

/* ---------- About ---------- */

.about {
  background: var(--card);
  border-bottom: 1px solid var(--hairline);
  padding: 88px 24px;
}

.about-inner { max-width: 1060px; margin: 0 auto; }

.about-grid {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 48px;
  align-items: start;
}

.about-prose p {
  font-size: 16.5px;
  line-height: 1.75;
  color: #3c4149;
  margin-bottom: 20px;
}

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

.about-prose .drop-cap::first-letter {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 58px;
  line-height: 0.85;
  color: var(--brass);
  float: left;
  padding: 6px 10px 0 0;
}

.credentials-card {
  background: var(--ink);
  color: #dfe3ea;
  padding: 38px 34px;
  position: sticky;
  top: 24px;
}

.credentials-heading {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c9a95e;
  font-weight: 600;
  margin-bottom: 26px;
}

.credentials-card dl { margin: 0; }

.cred-item { margin-bottom: 22px; }

.cred-item:last-child { margin-bottom: 0; }

.cred-item dt {
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8b93a3;
  margin-bottom: 5px;
}

.cred-item dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #e6e2d6;
}

/* ---------- Practice areas ---------- */

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.practice-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--brass);
  padding: 30px 28px 32px;
  transition: box-shadow .25s ease, transform .25s ease;
}

.practice-card:hover {
  box-shadow: 0 14px 34px -18px rgba(27, 35, 49, 0.35);
  transform: translateY(-2px);
}

.practice-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 12px;
}

.practice-card p {
  font-size: 15.5px;
  color: #565b64;
  line-height: 1.6;
}

/* ---------- Mediation band ---------- */

.mediation {
  background:
    radial-gradient(ellipse 100% 140% at 50% 120%, rgba(156,124,60,0.16), transparent 60%),
    var(--ink);
  color: #eee9db;
  text-align: center;
  padding: 84px 24px;
}

.mediation-inner { max-width: 640px; margin: 0 auto; }

.mediation h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 42px);
  color: #f6f2e6;
  margin-bottom: 20px;
}

.mediation-copy {
  font-size: 17px;
  color: #b9bfcb;
  margin-bottom: 36px;
}

/* ---------- Contact ---------- */

.contact { padding-bottom: 100px; }

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 26px;
  align-items: stretch;
}

.office-card {
  background: var(--ink);
  color: #dfe3ea;
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
}

.office-card address {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.office-card .office-line { margin-bottom: 0; }

.office-heading {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c9a95e;
  font-weight: 600;
  margin-bottom: 28px;
}

address { font-style: normal; }

.office-line {
  margin-bottom: 22px;
  line-height: 1.55;
}

.office-label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8b93a3;
  margin-bottom: 4px;
}

.office-line a {
  color: #f0ecdf;
  text-decoration: none;
}

.office-line a:hover { color: #fff; }

.office-map-link {
  display: inline-block;
  margin-top: 2px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9a95e !important;
  text-decoration: none;
  font-weight: 600;
}

.office-map-link:hover { color: #e0c684 !important; }

.office-note {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 22px;
  margin-top: auto;
  font-size: 15px;
  font-style: italic;
  color: #a7aebc;
  line-height: 1.6;
}

/* ---------- Form ---------- */

.contact-form {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--brass);
  padding: 42px 38px;
}

.form-heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 30px;
}

.hp-field { display: none; }

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5d6270;
  margin-bottom: 8px;
}

.field .optional {
  color: #9a9788;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: "Lora", Georgia, serif;
  font-size: 16px;
  color: var(--text);
  background: #fbf9f3;
  border: 1px solid var(--hairline-dark);
  border-radius: 0;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea { resize: vertical; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e6a5f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(156, 124, 60, 0.15);
}

.form-disclaimer {
  margin-top: 18px;
  font-size: 12.5px;
  color: #9a9788;
  line-height: 1.55;
  text-align: center;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: #8b93a3;
  text-align: center;
  padding: 52px 24px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  color: #e8e3d5;
  margin-bottom: 8px;
}

.footer-disclaimer {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6d7585;
}

.footer-copy {
  margin-top: 6px;
  font-size: 12.5px;
  color: #6d7585;
}

/* ---------- Thank-you page ---------- */

.thanks-main {
  max-width: 620px;
  margin: 0 auto;
  padding: 110px 24px 130px;
  text-align: center;
}

.thanks-main h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(38px, 5vw, 52px);
  color: var(--ink);
  margin: 26px 0 18px;
}

.thanks-main p {
  color: #565b64;
  margin-bottom: 12px;
}

.thanks-main .btn { margin-top: 30px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .credentials-card { position: static; }
}

@media (max-width: 560px) {
  .practice-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 20px 68px; }
  .section { padding: 64px 20px; }
  .topbar-inner { justify-content: center; gap: 14px 18px; flex-wrap: wrap; }
  .topbar-nav { gap: 18px; }
  .office-card, .contact-form { padding: 32px 24px; }
  .hero-actions .btn { width: 100%; }
}
