/* David Stromiedel — personal practitioner site
   Self-hosted Lora (serif) + Poppins (sans). No third-party font CDN. */

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/Lora-Variable.woff') format('woff');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/Lora-Italic-Variable.woff') format('woff');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Poppins-Regular.woff') format('woff');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Poppins-Medium.woff') format('woff');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Poppins-Bold.woff') format('woff');
}

:root {
  --bg: #f6f5f1;
  --bg-alt: #ebe9e2;
  --text: #161513;
  --muted: #696662;
  --accent: #1f3a4d;
  --accent-soft: #3a5870;
  --line: #d6d2c8;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --maxw: 720px;
  --wide: 1040px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: opacity .15s ease;
}
a:hover { opacity: .65; }

/* ===== Layout ===== */

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

.container--wide {
  max-width: var(--wide);
}

/* ===== Header ===== */

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 28px 28px;
  max-width: var(--wide);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  border: none;
  color: var(--text);
  line-height: 1.1;
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

nav.primary {
  display: flex;
  gap: 28px;
}

nav.primary a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border: none;
  letter-spacing: .02em;
}

nav.primary a:hover { color: var(--text); opacity: 1; }

nav.primary a.active {
  color: var(--text);
  position: relative;
}

nav.primary a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
}

/* ===== Hero ===== */

.hero {
  padding: 108px 0 92px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(38px, 5.8vw, 60px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 32px;
  max-width: 760px;
  color: var(--text);
}

.hero p.lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 600px;
  margin: 0;
  font-weight: 400;
}

.hero .eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 32px;
  font-weight: 500;
  display: inline-block;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

/* ===== Sections ===== */

section.block {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 14px;
}

h2 + p.sub {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 48px;
  max-width: 560px;
  line-height: 1.55;
}

h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.005em;
  margin: 0 0 12px;
}

p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }

/* ===== Numbered list of services ===== */

.numbered {
  display: grid;
  gap: 48px;
  margin: 0;
}

.numbered-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.numbered-item:last-child { border-bottom: none; padding-bottom: 0; }

.numbered-item .n {
  font-family: var(--serif);
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
  font-weight: 700;
}

.numbered-item h3 { margin-top: 4px; }

.numbered-item p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .numbered-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .numbered-item .n { font-size: 32px; }
}

/* ===== Callout ===== */

.callout {
  background: var(--bg-alt);
  padding: 36px 40px;
  border-left: 3px solid var(--accent);
}

.callout h3 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  font-weight: 500;
}

.callout p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

/* ===== Service detail (services page) ===== */

.service-block {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.service-block:first-of-type { border-top: none; padding-top: 0; }

.service-block .label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
}

.service-block h3 {
  font-size: 30px;
  margin-bottom: 18px;
}

.service-block p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

.service-block dl {
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 12px;
  font-size: 15px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.service-block dt {
  color: var(--muted);
  letter-spacing: .04em;
  font-size: 13px;
  text-transform: uppercase;
}

.service-block dd { margin: 0; color: var(--text); }

@media (max-width: 640px) {
  .service-block dl {
    grid-template-columns: 1fr;
    row-gap: 4px;
  }
  .service-block dd { margin-bottom: 12px; }
}

/* ===== About — long-form prose ===== */

.prose {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.7;
  max-width: 620px;
  color: var(--text);
  font-weight: 400;
}

.prose p { margin-bottom: 26px; }

.prose .signature {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 18px;
  margin-top: 40px;
}

/* ===== Principles list ===== */

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px 64px;
  margin-top: 16px;
}

.principle {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.principle h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -.005em;
}

.principle p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .principles { grid-template-columns: 1fr; gap: 0; }
}

/* ===== Contact ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 32px;
}

.contact-grid dl {
  margin: 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  row-gap: 16px;
  font-size: 16px;
}

.contact-grid dt {
  color: var(--muted);
  letter-spacing: .04em;
  font-size: 12px;
  text-transform: uppercase;
  padding-top: 3px;
  font-weight: 500;
}

.contact-grid dd { margin: 0; }

@media (max-width: 640px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Tags ===== */

.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.tag {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  padding: 5px 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 100px;
}

/* ===== CTA strip ===== */

.cta-strip {
  background: var(--accent);
  color: var(--bg);
  padding: 72px 0;
}

.cta-strip .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.cta-strip h3 {
  color: var(--bg);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -.005em;
}

.cta-strip p {
  color: rgba(255, 255, 255, .75);
  margin: 0;
  font-size: 15px;
}

.cta-strip a.btn {
  display: inline-block;
  color: var(--bg);
  border: 1px solid rgba(255,255,255,.4);
  padding: 14px 28px;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .15s ease;
}

.cta-strip a.btn:hover {
  background: rgba(255,255,255,.1);
  opacity: 1;
}

@media (max-width: 640px) {
  .cta-strip .container { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */

footer.site {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  font-size: 13px;
  color: var(--muted);
}

footer.site .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: var(--wide);
}

footer.site a { color: var(--muted); border: none; }
footer.site a:hover { color: var(--text); opacity: 1; }
