/* minimal-airy — website3 — The Advocates */
/* Pure white, generous whitespace, thin sans-serif, single sage accent rule, lowercase H1. */

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

:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --accent: #7a8c5e;
  --muted: #8a8a8a;
  --surface: #f7f7f5;
  --heading-font: 'Plus Jakarta Sans', sans-serif;
  --body-font: 'Plus Jakarta Sans', sans-serif;
  --content-max: 680px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.65;
}

/* ---------- HEADER ---------- */
.site-header {
  background: #1a1a1a;
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: none;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-link img {
  height: 52px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  font-family: var(--heading-font);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #e8e8e8;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover {
  opacity: 0.75;
  color: #ffffff;
}

.main-nav a.active {
  border-bottom-color: var(--accent);
  color: #ffffff;
}

/* ---------- HERO ---------- */
.hero {
  padding: 120px 48px 80px;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-inner {
  max-width: var(--content-max);
}

.hero h1 {
  font-family: var(--heading-font);
  font-weight: 300;
  font-size: 4rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 28px;
}

.hero .subtitle {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--muted);
  margin: 0 0 56px;
  max-width: 560px;
}

.hero-image {
  margin-top: 24px;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(0.95);
}

/* ---------- MAIN CONTENT ---------- */
main {
  padding: 0 48px;
}

.section {
  padding: 120px 0;
  max-width: var(--content-max);
  margin: 0 auto;
}

.section + .section {
  padding-top: 0;
}

.section h2 {
  font-family: var(--heading-font);
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 28px;
  position: relative;
}

.section h2::before {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 32px;
}

.section h3 {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: -0.005em;
  margin: 40px 0 16px;
  color: var(--text);
}

.section p {
  margin: 0 0 24px;
  color: var(--text);
}

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

.section ul {
  margin: 0 0 24px;
  padding-left: 22px;
  list-style: none;
}

.section ul li {
  position: relative;
  padding: 6px 0 6px 4px;
  color: var(--text);
}

.section ul li::before {
  content: "—";
  position: absolute;
  left: -22px;
  color: var(--accent);
}

.inline-image {
  margin: 64px 0;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  filter: saturate(0.95);
}

.inline-image-caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid var(--accent);
  padding: 80px 48px 60px;
  margin-top: 120px;
}

.footer-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.footer-brand .brand-name {
  font-family: var(--heading-font);
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--text);
}

.footer-brand .tagline {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-brand .copyright {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.footer-pages h4 {
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
}

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

.footer-pages li {
  margin-bottom: 12px;
}

.footer-pages a {
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  font-weight: 300;
}

.footer-pages a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

/* ---------- VISIT US ---------- */
.visit-us {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 120px 48px 40px;
}

.visit-us h2 {
  font-family: var(--heading-font);
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 28px;
  position: relative;
}

.visit-us h2::before {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 32px;
}

.visit-us .visit-address {
  margin: 0 0 16px;
  font-style: normal;
  font-weight: 300;
  color: var(--text);
  line-height: 1.75;
}

.visit-us .visit-phone {
  margin: 0 0 36px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.01em;
}

.visit-us .map-frame {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
}

.visit-us .map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .visit-us {
    padding: 60px 24px 24px;
  }
  .visit-us h2 {
    font-size: 1.5rem;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .site-header {
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .main-nav {
    gap: 20px;
    justify-content: flex-start;
  }

  .hero {
    padding: 60px 24px 40px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1rem;
    margin-bottom: 36px;
  }

  main {
    padding: 0 24px;
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .inline-image {
    margin: 40px 0;
  }

  .site-footer {
    padding: 60px 24px 40px;
    margin-top: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  .main-nav a {
    font-size: 13px;
  }
}
