/* Morrisroe & Associates – Modern Rebuild */
:root {
  --forest: #1e3a2f;
  --forest-light: #2d5a47;
  --sage: #4a7c68;
  --cream: #f7f4ed;
  --cream-dark: #ebe6d9;
  --gold: #c4a35a;
  --gold-dark: #a88b3d;
  --text: #2c2c2c;
  --text-muted: #5a5a5a;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(30, 58, 47, 0.08);
  --radius: 8px;
  --max: 1140px;
  --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --serif: "Cormorant Garamond", "Georgia", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-dark); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
}

.logo img {
  height: 58px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  margin: 5px 0;
  transition: 0.25s;
}

.main-nav ul {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.main-nav a {
  color: var(--forest);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  letter-spacing: 0.01em;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--cream);
  color: var(--forest-light);
}

.main-nav .cta {
  background: var(--forest);
  color: var(--white) !important;
  margin-left: 0.5rem;
}

.main-nav .cta:hover {
  background: var(--forest-light);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%);
  color: var(--white);
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 16ch;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.92;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--forest);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

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

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-dark {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.btn-dark:hover {
  background: var(--forest-light);
  border-color: var(--forest-light);
  color: var(--white);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  color: var(--forest);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

/* Practice cards */
.practices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.practice-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.25s, transform 0.25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-alt .practice-card {
  background: var(--cream);
  border-color: transparent;
}

.practice-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.practice-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--forest);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.practice-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  flex-grow: 1;
}

.practice-card .link {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--forest-light);
}

/* About / two-col */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-col .content h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: var(--forest);
  margin-bottom: 1rem;
  font-weight: 600;
}

.two-col .content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.highlight-box {
  background: var(--forest);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
}

.highlight-box h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.highlight-box ul {
  margin-top: 1.25rem;
}

.highlight-box li {
  padding: 0.4rem 0;
  padding-left: 1.4rem;
  position: relative;
}

.highlight-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Attorneys */
.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.attorney-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
}

.attorney-card .body {
  padding: 1.75rem;
}

.attorney-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.attorney-card .role {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.attorney-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.attorney-card .meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--cream-dark);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.contact-info h2 {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--forest);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.info-block {
  margin-bottom: 1.5rem;
}

.info-block strong {
  display: block;
  color: var(--forest);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.info-block a {
  color: var(--text);
  font-size: 1.1rem;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--forest);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--forest);
  color: var(--white);
  padding: 3rem 0;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
}

.page-hero p {
  opacity: 0.9;
  margin-top: 0.5rem;
  max-width: 36rem;
}

/* Content page */
.content-page {
  padding: 3.5rem 0 5rem;
}

.content-page .prose {
  max-width: 48rem;
}

.content-page .prose h2 {
  font-family: var(--serif);
  color: var(--forest);
  font-size: 1.6rem;
  margin: 2rem 0 0.75rem;
}

.content-page .prose h3 {
  font-family: var(--serif);
  color: var(--forest-light);
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
}

.content-page .prose p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.content-page .prose ul {
  margin: 1rem 0 1.5rem 1.25rem;
  list-style: disc;
  color: var(--text-muted);
}

.content-page .prose li {
  margin-bottom: 0.4rem;
}

/* Practice list sidebar layout */
.practice-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.practice-nav {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--cream-dark);
  position: sticky;
  top: 5.5rem;
}

.practice-nav h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.practice-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  color: var(--forest);
  font-weight: 500;
  font-size: 0.95rem;
}

.practice-nav a:hover,
.practice-nav a.active {
  background: var(--cream);
  color: var(--forest-light);
}

/* Footer */
.site-footer {
  background: var(--forest);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 28ch;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.8);
  padding: 0.3rem 0;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* Responsive */
@media (max-width: 900px) {
  .two-col,
  .contact-grid,
  .practice-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .practice-nav {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--cream-dark);
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .main-nav .cta {
    margin-left: 0;
    text-align: center;
  }

  .hero { padding: 3rem 0 3.5rem; }
  .section { padding: 3rem 0; }
}
