/* ---------- Design tokens ---------- */
:root {
  --ink: #0b1e36;           /* deep navy — headings, primary */
  --ink-soft: #2b3a55;      /* body text */
  --muted: #6a7790;         /* small, secondary text */
  --paper: #fbfaf7;         /* warm off-white page background */
  --paper-alt: #f1ede4;     /* warm cream for alt sections */
  --line: #e4ddd0;          /* hairline borders */
  --accent: #a8471f;        /* warm burnt-sienna — sparingly used */
  --accent-dark: #7f3616;
  --max: 1080px;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(11, 30, 54, 0.06), 0 6px 24px rgba(11, 30, 54, 0.06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.brand {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
}
.nav-links a:hover { color: var(--ink); }

/* Hamburger button — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile nav: hamburger reveals a slide-down menu */
@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    background: rgba(251, 250, 247, 0.98);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(11, 30, 54, 0.06);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open {
    max-height: 70vh;
  }
  .nav-links li {
    width: 100%;
    border-top: 1px solid var(--line);
  }
  .nav-links li:first-child { border-top: 0; }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    color: var(--ink);
  }

  /* Hamburger morphs into an X when open */
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--paper);
  padding: 96px 24px 72px;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}
.hero-photo {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-alt);
  box-shadow: var(--shadow);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { max-width: 320px; margin: 0 auto; }
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  margin: 0 0 22px;
}
.lede {
  max-width: 640px;
  font-size: 18px;
  margin: 0 0 28px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.05s ease, background 0.15s ease, color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #14304f; color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Sections ---------- */
.section {
  padding: 80px 24px;
  border-bottom: 1px solid var(--line);
}
.section-alt { background: var(--paper-alt); }
.section-inner { max-width: var(--max); margin: 0 auto; }
h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: 1.25rem;
  margin: 0 0 10px;
}
.section-lede { color: var(--muted); max-width: 640px; margin: 0 0 28px; }

/* ---------- Two-column layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 56px 20px; }
  .hero { padding: 64px 20px 48px; }
}

/* ---------- About section ---------- */
.about-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  max-width: 820px;
  margin: 0 auto;
}
.about-photo {
  margin: 0;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-alt);
  box-shadow: var(--shadow);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* keep face in frame after crop */
  display: block;
}
.about-text { max-width: 720px; }

/* ---------- Photo placeholder (fallback for unfilled slots) ---------- */
.photo-placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #e4ddd0 0%, #cfc5b2 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card ul { padding-left: 20px; margin: 10px 0 0; }
.card li { margin-bottom: 6px; }
.small { font-size: 14px; color: var(--muted); margin-top: 14px; }

.card .rate {
  margin: 0 0 4px;
  padding: 10px 14px;
  background: var(--paper-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
}
.card .rate strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}
.card .rate span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Media grid (recordings) ---------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.media-placeholder {
  aspect-ratio: 16 / 9;
  background: #ede6d7;
  border: 1px dashed #c9bfa8;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Contact section ---------- */
.contact-block {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.contact-email {
  margin: 32px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}
.contact-email a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.contact-email a:hover {
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* ---------- Contact form (archived; restore when backend is wired) ---------- */
.contact-direct { font-size: 16px; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--paper);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  color: var(--ink);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.contact-form textarea { resize: vertical; }
.contact-form button { align-self: flex-start; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c5d1e4;
  padding: 32px 24px;
  font-size: 14px;
}
.site-footer .section-inner { text-align: center; }
