/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul { list-style: none; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Base ────────────────────────────────────────────────── */
html { font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;       /* 15px */
  line-height: 1.6;
  color: #1C2B3A;
  background: #F5F2ED;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { }
/* main { flex: 1; } */

/* ─── Header ──────────────────────────────────────────────── */
.site-header {
  background: #1C2B3A;
  padding: 0 2rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0 0;
}

.wordmark {
  font-family: 'DM Serif Display', serif;
  font-size: 1.375rem;        /* 22px */
  color: #F5F2ED;
  letter-spacing: -0.02em;
}

.wordmark span { color: #B8953F; }

.nav {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 1;
  flex-grow: 0;
}

.nav a {
  font-size: 0.8125rem;       /* 13px */
  font-weight: 500;
  color: #c0ccd6;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.nav a:hover,
.nav a[aria-current="page"] { color: #F5F2ED; }

.gold-rule {
  height: 2px;
  background: #B8953F;
  margin-top: 1rem;
  opacity: 0.7;
}

/* ─── Home: above-the-fold panel ─────────────────────────── */
.fold {
  background: #1C2B3A;
  padding: 2rem 2rem 2.2rem;
  display: grid;
  grid-template-columns: minmax(180px, max-content) 1fr;
  grid-template-rows: auto auto;
  gap: 0 2rem;
}

.tagline {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;         /* 28px */
  color: #F5F2ED;
  line-height: 1.2;
  letter-spacing: -0.02em;
  grid-column: 1 / -1;
  margin-bottom: 1.5rem;
}

.services-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-title {
  font-size: 0.6875rem;       /* 11px */
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #B8953F;
  margin-bottom: 0.45rem;
}

.service-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.service-links a {
  font-size: 0.875rem;        /* 14px */
  color: #8fc4e0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.15s ease;
}

.service-links a:hover { color: #F5F2ED; }

.service-links a::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #B8953F;
  flex-shrink: 0;
}

/* ─── Home: about inset ───────────────────────────────────── */
.about-inset {
  border-left: 1px solid rgba(184, 149, 63, 0.35);
  padding-left: 1.25rem;
}

.about-inset p {
  font-size: 0.84375rem;      /* 13.5px */
  color: #8fa4b5;
  line-height: 1.65;
  margin-bottom: 0.65rem;
}

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

/* ─── Interior pages ──────────────────────────────────────── */
.page-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.page-content h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: #1C2B3A;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.page-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.375rem;
  color: #1C2B3A;
  margin: 2rem 0 0.75rem;
}

.page-content p {
  color: #3a4e5c;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.page-content a {
  color: #4A7FA5;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content a:hover { color: #1C2B3A; }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #1C2B3A;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.25rem 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact {
  font-size: 0.8125rem;       /* 13px */
  color: #8fa4b5;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.75rem;         /* 12px */
  color: #5a7588;
}

.footer-legal a {
  color: #5a7588;
  transition: color 0.15s ease;
}

.footer-legal a:hover { color: #8fa4b5; }

.footer-notice {
  font-size: 0.6875rem;       /* 11px */
  color: #3f5566;
  font-style: italic;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 580px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .fold { grid-template-columns: 1fr; }
  .tagline { font-size: 1.375rem; }
  .about-inset { border-left: none; border-top: 1px solid rgba(184,149,63,0.35); padding-left: 0; padding-top: 1.25rem; }
}

/* h1 generated from markdown inside the dark fold panel */
.about-inset h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.75rem;
  color: #F5F2ED;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
