/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', 'aktiv-grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #000;
  background: #fff;
  font-size: 16px;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 8vw;
}

/* ========================
   HEADER / NAVIGATION
   ======================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: rgb(143, 51, 82);
}

nav ul {
  display: flex;
  gap: 1.8rem;
}

nav ul li a {
  font-family: 'DM Sans', 'aktiv-grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.29rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgb(143, 51, 82);
  transition: color 0.2s ease;
}

nav ul li a:hover {
  color: rgb(100, 30, 55);
}

nav ul li a.active {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgb(143, 51, 82);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 4vw;
}

.hero-content h1 {
  font-family: 'DM Sans', 'aktiv-grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 4.5rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

/* ========================
   SECTIONS (General)
   ======================== */
.section-title {
  font-family: 'DM Sans', 'aktiv-grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
  color: #000;
  text-align: center;
}

.section-title-light {
  color: #fff;
}

/* ========================
   WHAT WE DO
   ======================== */
.what-we-do {
  background: #fff;
  padding: 50px 0 0;
}

.what-we-do p {
  font-family: 'DM Sans', 'aktiv-grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.8px;
  color: #000;
  margin-bottom: 0.8rem;
}

.what-we-do strong {
  font-weight: 700;
}

.practice-areas {
  padding: 10px 0 40px;
}

.practice-areas-title {
  font-family: 'DM Sans', 'aktiv-grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #000;
  margin-bottom: 0.5rem;
}

.practice-areas ul {
  list-style: disc;
  padding-left: 40px;
}

.practice-areas ul li {
  font-family: 'DM Sans', 'aktiv-grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.8px;
  color: #000;
  margin: 10px 0;
}

/* ========================
   WHO WE ARE
   ======================== */
.who-we-are {
  background: rgb(143, 51, 82);
  color: #fff;
  padding: 60px 0 80px;
}

.who-we-are .content-grid {
  overflow: hidden;
}

.headshot-wrapper {
  float: left;
  width: 280px;
  margin-right: 2.5rem;
  margin-bottom: 1rem;
}

.headshot-wrapper img {
  width: 100%;
}

.bio-content p {
  font-family: 'DM Sans', 'aktiv-grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.8px;
  color: #fff;
  margin-bottom: 1.2rem;
}

.bio-content strong {
  font-weight: 700;
  color: #fff;
}

.bio-content em {
  font-style: italic;
}

.bio-links {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.bio-links li {
  font-family: 'DM Sans', 'aktiv-grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.8px;
}

.bio-links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bio-links a:hover {
  opacity: 0.8;
}

.bio-education {
  font-size: 1.02rem;
  font-weight: 300;
  color: #fff;
}

/* ========================
   CONTACT FOOTER SECTION
   ======================== */
.contact-footer {
  background: #fff;
  color: #000;
  padding: 40px 0 60px;
}

.contact-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-footer-info {
  text-align: center;
}

.contact-footer-info h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: #000;
  margin-bottom: 1.8rem;
}

.contact-footer-info p {
  font-family: 'DM Sans', 'aktiv-grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0.05em;
  color: #000;
  margin: 20px 0;
}

.contact-footer-info p:first-of-type {
  margin-top: 0;
}

.contact-footer-info p:last-of-type {
  margin-bottom: 0;
}

.contact-footer-info a {
  color: rgb(143, 51, 82);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.contact-footer-info a:hover {
  opacity: 0.7;
}

.contact-footer-map {
  display: flex;
  justify-content: center;
}

.contact-footer-map img {
  max-width: 350px;
}

/* ========================
   FOOTER
   ======================== */
footer {
  background: #f5f5f5;
  color: #888;
  padding: 25px 0;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  border-top: 1px solid #e0e0e0;
}

footer a {
  color: #888;
  transition: color 0.2s;
}

footer a:hover {
  color: #333;
}

/* ========================
   CONTACT PAGE
   ======================== */
.contact-page-section {
  margin-top: 80px;
  padding: 50px 0 70px;
  background: #fff;
}

.contact-page-title {
  font-family: 'DM Sans', 'aktiv-grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 47.6px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.01em;
  color: rgb(143, 51, 82);
  margin-bottom: 1rem;
}

/* Contact Form (full-width style) */
.contact-form-full {
  max-width: 100%;
}

.contact-form-full .form-row {
  margin-bottom: 1rem;
}

.contact-form-full .form-row label {
  display: block;
  font-family: 'DM Sans', 'aktiv-grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #000;
  margin-bottom: 0.4rem;
}

.contact-form-full .form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group-full {
  display: flex;
  flex-direction: column;
}

.form-group-full input,
.contact-form-full .form-row > input,
.contact-form-full .form-row > textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
  color: #333;
  background: #f7f7f7;
  transition: border-color 0.2s ease;
  outline: none;
}

.form-group-full input:focus,
.contact-form-full .form-row > input:focus,
.contact-form-full .form-row > textarea:focus {
  border-color: #666;
  background: #fff;
}

.contact-form-full .form-row > textarea {
  min-height: 180px;
  resize: vertical;
}

.field-desc {
  font-size: 12px;
  font-weight: 300;
  color: #000;
  margin-bottom: 4px;
  margin-top: 0.3rem;
}

.req {
  font-weight: 400;
  color: #888;
  font-size: 0.85em;
}

.submit-btn-dark {
  display: inline-block;
  padding: 15.5px 26px;
  background: rgb(143, 51, 82);
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.submit-btn-dark:hover {
  background: rgb(120, 40, 68);
}

.form-success {
  display: none;
  font-size: 1.1rem;
  color: #333;
  padding: 2rem 0;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 900px) {
  .headshot-wrapper {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 1.5rem;
  }

  .contact-footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-form-full .form-row-split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 65px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 1.5rem 4vw;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hero {
    height: 400px;
    margin-top: 65px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-page-section {
    margin-top: 65px;
  }

  .contact-page-title {
    font-size: 2rem;
  }
}
