/* ===================================================
   Walter Weiss, A Law Corporation — Site Stylesheet
   =================================================== */

:root {
  --navy: #0f1f38;
  --navy-deep: #0a1626;
  --charcoal: #1b2a41;
  --ivory: #faf7f2;
  --ivory-2: #f3ede2;
  --gold: #af8a3f;
  --gold-light: #c9a961;
  --gold-pale: #e8d190;
  --text-muted: #5a6a80;
  --line: #dcd3c2;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: 0.02em;
}

p { margin: 0 0 1em; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.rule {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-pale));
  margin: 18px 0 26px;
  border: none;
}

.rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1140px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img { height: 46px; width: auto; }

.brand-text {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 1.5px;
  color: var(--navy);
  line-height: 1.2;
}

.brand-text small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 700;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-toggle { display: none; }

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

.btn {
  display: inline-block;
  padding: 14px 34px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }

.btn-outline {
  background: transparent;
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

.btn-outline-light {
  background: transparent;
  color: var(--ivory);
  border-color: var(--gold-light);
}
.btn-outline-light:hover { background: var(--gold); color: var(--navy-deep); }

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

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ivory);
  padding: 130px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(201,169,97,0.10) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(201,169,97,0.08) 0%, transparent 45%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero h1 {
  color: var(--ivory);
  font-size: 46px;
  max-width: 720px;
  line-height: 1.25;
}

.hero p.lead {
  color: #c7d0de;
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero .cta-row { display: flex; gap: 18px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--ivory);
  padding: 90px 0 70px;
  text-align: center;
}
.page-hero h1 { color: var(--ivory); }
.page-hero p { color: #c7d0de; max-width: 640px; margin: 0 auto; }

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

section { padding: 100px 0; }

.section-alt { background: var(--ivory-2); }

.section-navy {
  background: var(--navy);
  color: var(--ivory);
}
.section-navy h2 { color: var(--ivory); }
.section-navy p { color: #c7d0de; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grids / Cards ---------- */

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 38px 34px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover { box-shadow: 0 18px 40px rgba(15,31,56,0.08); transform: translateY(-3px); }

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card .num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 14px;
  display: block;
}

.practice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.practice-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px dotted var(--line);
}
.practice-list li:last-child { border-bottom: none; }

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

.bio-figure {
  background: var(--navy);
  color: var(--ivory);
  padding: 50px 40px;
  text-align: center;
}
.bio-figure .mono {
  width: 96px;
  margin: 0 auto 22px;
}
.bio-figure h3 { color: var(--ivory); margin-bottom: 4px; }
.bio-figure .role {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}
.bio-figure ul {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #c7d0de;
}
.bio-figure ul li {
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 50px;
}
.stat-row .stat-num {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--gold);
}
.stat-row .stat-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

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

.contact-strip {
  padding: 10px 0;
}

.contact-strip .section-head {
  margin-bottom: 10px;
}

.contact-strip .section-head .eyebrow {
  margin-bottom: 2px;
}

.contact-strip .section-head .rule {
  margin: 6px auto 8px;
}

.contact-strip .contact-grid {
  gap: 36px;
  align-items: center;
}

.contact-strip .contact-detail {
  margin-bottom: 14px;
  font-size: 20px;
}

.contact-strip .contact-detail .label {
  font-size: 15px;
  min-width: 105px;
}

.contact-strip .contact-detail .value {
  font-size: 22px;
}

.contact-strip .map-wrap iframe {
  height: 220px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-detail {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}
.contact-detail .label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  min-width: 90px;
}
.contact-detail .value { color: var(--charcoal); }

.map-wrap {
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

form.contact-form {
  display: grid;
  gap: 18px;
}
form.contact-form label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--charcoal);
}
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
form.contact-form textarea { resize: vertical; min-height: 130px; }

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

footer.site-footer {
  background: var(--navy-deep);
  color: #9fb0c5;
  padding: 60px 0 30px;
  font-size: 14px;
}
footer.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
footer.site-footer h4 {
  color: var(--ivory);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
footer.site-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer li { margin-bottom: 10px; }
footer.site-footer a:hover { color: var(--gold-light); }
footer.site-footer .brand-text { color: var(--ivory); }
footer.site-footer .brand-text small { color: #7e8fa5; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #7e8fa5;
}

/* ---------- Error page ---------- */

.error-num {
  font-family: var(--serif);
  font-size: 130px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 6px;
  margin-bottom: 10px;
}

@media (max-width: 700px) {
  .error-num { font-size: 84px; }
}

/* ---------- Disclaimer ---------- */
.disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 10px;
}

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

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  footer.site-footer .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 700px) {
  nav.main-nav { display: none; }
  .hero { padding: 90px 0 70px; }
  .hero h1 { font-size: 32px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
}
