/* Base — shared across all sites. Per-site theming via --accent CSS variable. */

:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5a5a5a;
  --border: #e5e5e0;
  --max-width: 1100px;
  --max-prose: 64ch;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  background: var(--surface);
}

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

.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  height: 28px;
  width: auto;
  display: block;
}

.brand-name {
  display: inline-block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 6rem 0 4rem;
}

.hero-mark {
  height: 72px;
  width: auto;
  display: block;
  margin: 0 0 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  margin: 0 0 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 22ch;
}

.hero-subhead,
.hero .tagline {
  font-size: 1.1875rem;
  color: var(--text-muted);
  max-width: var(--max-prose);
  margin: 0;
  line-height: 1.55;
}

/* Sections */
.section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.section-wash {
  background: color-mix(in srgb, var(--accent) 4%, transparent);
  border-top-color: color-mix(in srgb, var(--accent) 15%, var(--border));
}

.section-number {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-number::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-body {
  font-size: 1.125rem;
  max-width: var(--max-prose);
  margin: 0;
  line-height: 1.6;
}

/* Family of companies cards */
.company-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.company-card {
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--company-accent, var(--accent));
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.03), 0 4px 12px rgba(26, 26, 26, 0.04);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.company-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04), 0 8px 20px rgba(26, 26, 26, 0.06);
}

.company-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1875rem;
  margin: 0 0 0.25rem;
  color: var(--text);
}

.company-descriptor {
  font-style: italic;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
}

.company-blurb {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.company-link {
  margin: 0;
  font-size: 0.875rem;
}

.company-link a {
  color: var(--company-accent, var(--accent));
}

/* Pillars (small headline + body, 3-up) */
.pillars {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pillar {
  padding: 0;
}

.pillar-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.pillar-body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Service cards */
.service-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.service-body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.testimonial {
  border-left: 2px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-style: italic;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.testimonial-attribution {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Leadership */
.leader-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.leader {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.leader-photo {
  width: 96px;
  height: 96px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
  background: var(--border);
}

.leader-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.leader-title {
  color: var(--text-muted);
  font-weight: 400;
}

.leader-bio {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Contact */
.contact-line {
  margin: 0.5rem 0 0;
  font-size: 1.0625rem;
}

.contact-line:first-of-type {
  margin-top: 1.5rem;
}

/* Legal pages (Privacy, Terms) */
.legal {
  border-top: none;
}

.legal .container {
  max-width: 760px;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

.legal .last-updated {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0 0 2.5rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  margin: 2.25rem 0 0.75rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.legal p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal li {
  margin: 0.25rem 0;
  line-height: 1.65;
}

.legal-back {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.family-links {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.family-links-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

.family-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}

.family-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.family-link a:hover {
  text-decoration: underline;
}

.family-link a span {
  text-decoration: inherit;
}

.family-link img {
  height: 22px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  margin: 0;
}

.footer-links {
  margin: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

/* Small screens */
@media (max-width: 600px) {
  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-mark {
    height: 56px;
    margin-bottom: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .leader {
    grid-template-columns: 72px 1fr;
    gap: 1rem;
  }

  .leader-photo {
    width: 72px;
    height: 72px;
  }
}
