/* ---- Design tokens ---- */
:root {
  --color-green: #1E4342;
  --color-ink: #12201F;
  --color-ivory: #F6F1EA;
  --color-brass: #B08D57;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1120px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--color-ivory);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-green);
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; }
a { color: var(--color-green); }
img { max-width: 100%; display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn-primary {
  background: var(--color-brass);
  color: var(--color-ink);
}
.btn-primary:hover { background: #9c7a49; }

/* ---- Header / nav ---- */
.site-header {
  background: var(--color-ivory);
  border-bottom: 1px solid rgba(30,67,66,0.12);
  position: relative;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo { width: 40px; height: 40px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--color-green);
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--color-brass);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-green);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 500;
  font-size: 15px;
}
.site-nav a[aria-current="page"] { color: var(--color-green); border-bottom: 2px solid var(--color-brass); }
.site-nav a.nav-cta {
  background: var(--color-green);
  color: var(--color-ivory);
  padding: 10px 20px;
  border-radius: 2px;
}
.site-nav a.nav-cta[aria-current="page"] {
  border-bottom: none;
  box-shadow: inset 0 -2px 0 var(--color-brass);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 92vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-ink);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,32,31,0.15) 0%, rgba(18,32,31,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-ivory);
  padding-bottom: 96px;
}
.hero-content h1 {
  color: var(--color-ivory);
  font-size: clamp(32px, 5vw, 56px);
  max-width: 760px;
}
.hero-content p {
  max-width: 560px;
  font-size: 18px;
  color: rgba(246,241,234,0.88);
}

/* ---- Sections ---- */
.section { padding: 88px 0; }
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 0.4em;
}
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brass);
  margin-bottom: 12px;
  display: block;
}

/* ---- Pillars (Home) ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.pillar h3 { font-size: 22px; }
.pillar-rule {
  width: 40px;
  height: 3px;
  background: var(--color-brass);
  margin-bottom: 20px;
  border: none;
}

/* ---- Services grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.service-card {
  background: #fff;
  border: 1px solid rgba(30,67,66,0.12);
  padding: 36px;
}
.service-card h3 { font-size: 22px; }

/* ---- Track record table ---- */
.table-wrap { overflow-x: auto; }
.track-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.track-table th, .track-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(30,67,66,0.15);
  vertical-align: top;
}
.track-table th {
  font-family: var(--font-display);
  color: var(--color-green);
  font-weight: 600;
}

/* ---- About page intro (headshot + opening bio) ---- */
.about-intro {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 8px;
}
.about-intro-text { flex: 1; min-width: 0; }
.about-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .about-intro { flex-direction: column; }
  .about-photo { width: 100px; height: 100px; }
}

/* ---- About page media ---- */
.about-media {
  border-radius: 2px;
  overflow: hidden;
  margin: 32px 0;
}
.about-media video { width: 100%; height: auto; display: block; }
.about-media figcaption {
  font-size: 14px;
  color: rgba(18,32,31,0.65);
  margin-top: 10px;
  font-style: italic;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--color-ink);
  color: var(--color-ivory);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-logo { width: 32px; height: 32px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-email {
  color: var(--color-ivory);
  text-decoration: underline;
}
.site-footer p { margin: 0; font-size: 14px; color: rgba(246,241,234,0.7); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-ivory);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid rgba(30,67,66,0.12);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    width: 100%;
    padding: 16px 24px;
    border-top: 1px solid rgba(30,67,66,0.08);
  }
  .site-nav a.nav-cta { border-radius: 0; }
  .hero-content { padding-bottom: 56px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
