:root {
  --bg: #FAF8F5;
  --text: #1A1A1A;
  --muted: #6B6863;
  --accent: #9C5A3C;
  --rule: #E5DFD4;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content-width: 720px;
  --gutter: 1.5rem;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* Header */
.site-header {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; color: var(--accent); }
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a {
  color: var(--text);
  font-size: 0.95rem;
}
.site-nav a[aria-current="page"] { color: var(--muted); }

/* Hero */
.hero { padding: 5rem 0 4rem; }
.hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-direction: column;
}
.hero-photo {
  width: 110px;
  height: 110px;
  border-radius: 8px;
  object-fit: cover;
  background: #E8E3DB;
  flex-shrink: 0;
}
.hero-text { flex: 1; }
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 1.75rem;
  letter-spacing: 0.01em;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  margin: 0 0 2rem;
  color: var(--text);
}
.cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.cta:hover { text-decoration: none; opacity: 0.7; }

/* Sections */
.section { padding: 3.5rem 0; border-top: 1px solid var(--rule); }
.section-num {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.prose p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.prose p:last-child { margin-bottom: 0; }

/* Services */
.services {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.service {
  background: #E8DDC6;
  border-radius: 6px;
  padding: 2rem 1.75rem;
}
.service-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}
.service-description {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.service-meta {
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}
.service-meta dt {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.service-meta dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* How I Work page */
.page-intro { padding: 4rem 0 2rem; }
.page-intro h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
.lead {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  margin: 0;
}
.principle-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}

.principle .prose > p:first-child::first-letter {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 2.75em;
  line-height: 0.9;
  float: left;
  margin: 0.1em 0.08em 0 0;
  color: var(--accent);
}

.section-end .end-prompt {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.4;
  margin: 0 0 1.25rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
}
.site-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

/* Wider screens: float section numbers into the left margin */
@media (min-width: 960px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }
  .hero { padding: 6rem 0 5rem; }
  .section { padding: 4.5rem 0; }
  .section-num {
    position: absolute;
    left: -6rem;
    top: 0.25rem;
    margin: 0;
    width: 5rem;
    text-align: right;
  }
  .section .container > .section-num { /* fallback if not nested */ }
}
