/* ABCE Legal, LLC — site stylesheet */

:root {
  --navy: #2e3b2f;
  --navy-dark: #1f2a20;
  --gold: #b8863b;
  --gold-light: #d3a664;
  --gold-dark: #a17a3f;
  --cream: #f8f5ee;
  --ink: #2c2a22;
  --ink-soft: #66604f;
  --line: #e6e0d0;
  --white: #ffffff;
  --max-width: 1120px;
  --shadow: 0 12px 32px rgba(31, 42, 32, 0.12);
}

* {
  box-sizing: border-box;
}

/* Wave-texture accent — used sparingly on a few dark panels, not site-wide */

.texture-waves {
  position: relative;
  overflow: hidden;
}

.texture-waves::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/seigaiha.svg");
  background-repeat: repeat;
  background-size: 60px 60px;
  pointer-events: none;
}

/* Text-dense panels get a dialed-back version so the pattern doesn't fight the copy */
.pull-panel.texture-waves::before {
  opacity: 0.45;
}

.texture-waves > * {
  position: relative;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a {
  color: var(--navy);
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Header / Nav */

header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand .name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.brand .sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-cta .btn { padding: 10px 20px; font-size: 0.9rem; }

/* Hero */

.hero {
  background-color: var(--navy);
  background-image: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%), url("images/grain.svg");
  background-repeat: no-repeat, repeat;
  background-size: auto, 180px 180px;
  color: var(--white);
  padding: 100px 0 90px;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--white);
  max-width: 760px;
}

.hero p.lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 620px;
  margin-bottom: 34px;
}

.hero .hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-with-photo {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.hero-photo {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid rgba(255,255,255,0.15);
  box-shadow: 0 20px 44px rgba(0,0,0,0.35);
  justify-self: center;
}

@media (max-width: 860px) {
  .hero-with-photo { grid-template-columns: 1fr; text-align: center; }
  .hero-with-photo .hero-actions { justify-content: center; }
  .hero-photo { order: -1; max-width: 220px; margin-bottom: 8px; }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 620px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.hero-stats .stat-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  color: var(--gold-light);
  font-weight: 700;
}

.hero-stats .stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  margin-top: 4px;
}

/* Sections */

section {
  padding: 80px 0;
}

section.alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.section-head.left {
  text-align: left;
  margin: 0 0 40px;
}

/* Grids / cards */

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.card .icon-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(184, 134, 59, 0.14);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }
.card p + ul.check-list { margin-top: 14px; }

/* About / split layout */

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

.pull-panel {
  background-color: var(--navy);
  background-image: url("images/grain.svg");
  background-repeat: repeat;
  background-size: 180px 180px;
  color: var(--white);
  border-radius: 16px;
  padding: 36px;
}

.pull-panel h3 { color: var(--gold-light); }
.pull-panel p { color: rgba(255,255,255,0.82); }
.pull-panel ul.check-list li { color: var(--gold-dark); }

ul.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}

ul.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.tag {
  background: rgba(184, 134, 59, 0.12);
  color: var(--navy);
  border: 1px solid rgba(184, 134, 59, 0.35);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

/* Timeline */

.timeline {
  border-left: 2px solid var(--line);
  margin-left: 6px;
  padding-left: 32px;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-item .role {
  font-weight: 700;
  color: var(--navy);
}

.timeline-item .org {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

/* CTA band */

.cta-band {
  background-color: var(--navy);
  background-image: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%), url("images/grain.svg");
  background-repeat: no-repeat, repeat;
  background-size: auto, 180px 180px;
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}

.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 30px; }
.cta-band .hero-actions { justify-content: center; }

/* Contact page */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-method:last-child { border-bottom: none; }

.contact-method .mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(184, 134, 59, 0.14);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-method .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-method .value {
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
}

.schedule-panel {
  background-color: var(--navy);
  background-image: url("images/grain.svg");
  background-repeat: repeat;
  background-size: 180px 180px;
  color: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  text-align: center;
}

.schedule-panel h3 { color: var(--white); }
.schedule-panel p { color: rgba(255,255,255,0.8); }

.note-banner {
  background: rgba(184, 134, 59, 0.12);
  border: 1px solid rgba(184, 134, 59, 0.35);
  color: var(--navy);
  font-size: 0.85rem;
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 18px;
}

/* Footer */

footer.site-footer {
  background-color: var(--navy-dark);
  background-image: url("images/grain.svg");
  background-repeat: repeat;
  background-size: 180px 180px;
  color: rgba(255,255,255,0.65);
  padding: 48px 0 28px;
}

footer.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 20px;
}

footer.site-footer .brand .name { color: var(--white); }

footer.site-footer nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
}

footer.site-footer nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

footer.site-footer nav a:hover { color: var(--gold-light); }

footer.site-footer .fine-print {
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Responsive */

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .nav-wrap { flex-direction: column; align-items: flex-start; gap: 14px; padding: 16px 20px; }
  nav.main-nav ul { flex-wrap: wrap; gap: 16px 22px; }
  .nav-cta { width: 100%; }
  .container { padding: 0 20px; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
}
