/* ==========================================================================
   The Advocates - Site 9 - monochrome-pro
   Pure white. Deep charcoal type. Single cobalt accent on links + nav-active.
   Sleek editorial layout. Strong type hierarchy. Space Grotesk headings.
   ========================================================================== */

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

:root {
  --bg: #ffffff;
  --text: #111111;
  --accent: #1c4cff;
  --muted: #6b6b6b;
  --surface: #f2f2f2;
  --rule: #e6e6e6;
  --heading-font: 'Space Grotesk', system-ui, sans-serif;
  --body-font: 'Inter', system-ui, sans-serif;
  --max-width: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity .15s ease;
}
a:hover { opacity: .72; }

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

.site-header {
  background: #111111;
  border-bottom: 1px solid #2a2a2a;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark img { height: 52px; width: auto; }
.brand-mark .brand-text {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  color: #ffffff;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}
.site-nav a {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: .96rem;
  color: #e5e5e5;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a.active,
.site-nav a[aria-current="page"] {
  color: #ffffff;
  border-bottom-color: var(--accent);
}
.site-nav a:hover { color: #ffffff; opacity: 1; }

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

.hero {
  border-bottom: 1px solid var(--rule);
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter) clamp(3rem, 7vw, 5.5rem);
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem 0;
}
.hero h1 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 1.5rem 0;
  color: var(--text);
}
.hero-sub {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0;
  line-height: 1.55;
}
.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------------- Main / Article ---------------- */

main { display: block; }

.article {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.article > * {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.article h2 {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -.015em;
  color: var(--text);
  margin: 3.25rem 0 1rem 0;
}
.article h2:first-of-type { margin-top: 1rem; }

.article h3 {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 2rem 0 .6rem 0;
  color: var(--text);
}

.article p {
  margin: 0 0 1.25rem 0;
  color: var(--text);
}
.article p.lede {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.article ul, .article ol {
  margin: 0 0 1.5rem 0;
  padding-left: 1.4rem;
}
.article li { margin-bottom: .5rem; }

.article figure {
  margin: 2.5rem auto;
  max-width: 880px;
}
.article figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: box-shadow .25s ease;
}
.article figure img:hover {
  box-shadow: 0 14px 36px -18px rgba(0,0,0,.35);
}
.article figcaption {
  font-family: var(--heading-font);
  font-size: .82rem;
  color: var(--muted);
  margin-top: .65rem;
  letter-spacing: .02em;
}

.pull-rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 3rem auto;
  max-width: 680px;
}

.callout {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 1.4rem 1.5rem;
  margin: 2rem auto;
  max-width: 680px;
  font-size: 1rem;
  color: var(--text);
}
.callout strong {
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: .01em;
}

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

.site-footer {
  background: var(--surface);
  color: var(--text);
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.footer-brand-name {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -.01em;
  margin: 0 0 .55rem 0;
  color: var(--text);
}
.footer-tagline {
  color: var(--muted);
  margin: 0 0 1.25rem 0;
  max-width: 420px;
}
.footer-copy {
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}
.footer-heading {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem 0;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: .98rem;
}
.footer-links a:hover { color: var(--accent); }

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

@media (max-width: 768px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-nav { width: 100%; overflow-x: auto; }
  .site-nav ul { gap: 18px; }
  .site-nav a { font-size: .9rem; white-space: nowrap; }
  .hero { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.4rem); }
  .hero-sub { font-size: 1.05rem; }
  .hero-figure img { aspect-ratio: 16 / 10; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .article figure { margin: 1.75rem auto; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .article h2 { margin-top: 2.25rem; }
}

/* ---------------- Visit Us ---------------- */

.visit-us {
  background: var(--surface);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 3.5rem var(--gutter);
}
.visit-us-inner {
  max-width: 680px;
  margin: 0 auto;
}
.visit-us h2 {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--text);
  margin: 0 0 1.5rem 0;
  letter-spacing: -.01em;
  display: inline-block;
  padding-bottom: .35rem;
  border-bottom: 2px solid var(--accent);
}
.visit-us-address {
  font-family: var(--body-font);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 1rem 0;
  font-style: normal;
}
.visit-us-address .visit-us-name {
  font-family: var(--heading-font);
  font-weight: 500;
  display: block;
  margin-bottom: .15rem;
}
.visit-us-phone {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--text);
  margin: 0 0 1.75rem 0;
  letter-spacing: .01em;
}
.visit-us-map {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg);
}
.visit-us-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .visit-us { padding: 2.75rem var(--gutter); }
}
