@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/eb-garamond.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/eb-garamond-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f3ec;
  --ink: #1c1a16;
  --muted: #5e5a53;
  --line: #ddd6c8;
  --surface: #fffdf8;
  --focus: #1c1a16;
  --max: 44rem;
  --wide: 54rem;
  --pad: clamp(1.25rem, 4vw, 2.25rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.25rem;
}

html, body { margin: 0; padding: 0; }

body {
  font-family: "Inter", "Source Sans Pro", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding: 1.15rem var(--pad) 1rem;
  border-bottom: 1px solid var(--line);
  max-width: calc(var(--wide) + 2 * var(--pad));
  margin: 0 auto;
}

.wordmark {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover { text-decoration: underline; }

.nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  font-size: 0.95rem;
}
.nav nav a {
  color: var(--muted);
  text-decoration: none;
}
.nav nav a:hover { color: var(--ink); text-decoration: underline; }

.hero,
.section,
.foot {
  max-width: calc(var(--wide) + 2 * var(--pad));
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.hero {
  padding-top: clamp(2.75rem, 8vw, 5rem);
  padding-bottom: clamp(2.75rem, 8vw, 4.5rem);
}

h1, h2, h3 {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.35rem);
  max-width: 16ch;
}

.lede {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 1rem 0 0;
}

.hero .lede:first-of-type { margin-top: 1.35rem; color: var(--ink); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.05rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: #000; color: var(--bg); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--surface); }

.section {
  padding-top: clamp(2.5rem, 6vw, 4.25rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.25rem);
  border-top: 1px solid var(--line);
}

.section-head { max-width: var(--max); margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); }
.section-head p {
  color: var(--muted);
  max-width: 38rem;
  margin: 0.7rem 0 0;
}

.work-block { margin-bottom: 2.75rem; }
.work-block:last-child { margin-bottom: 0; }
.work-block h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.work-note {
  color: var(--muted);
  margin: -0.2rem 0 1rem;
  font-size: 0.98rem;
  max-width: 38rem;
}

figure { margin: 0; }
figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-shot img {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
}

.captions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.captions li {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0 1.15rem;
  max-width: 38rem;
}
.captions p { margin: 0.3rem 0 0; }
.caption-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 0.25rem !important;
}

.service-list { display: grid; gap: 0; }
.service {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 1.5rem;
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.service > p { color: var(--muted); margin: 0 0 1rem; max-width: 40rem; }

.tiers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.tiers li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.1rem 1rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}
.tier-name { font-weight: 600; font-size: 0.95rem; }
.tier-price {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.25rem;
}
.tier-meta {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  counter-reset: step;
  max-width: var(--max);
}
.steps li { counter-increment: step; }
.steps li h3 {
  font-size: 1.3rem;
  margin: 0 0 0.35rem;
}
.steps li h3::before {
  content: counter(step) ".";
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 0.45rem;
}
.steps p { margin: 0; color: var(--muted); }

.faq { display: grid; gap: 0; }
.faq div {
  border-top: 1px solid var(--line);
  padding: 1.05rem 0 1.2rem;
}
.faq div:last-child { border-bottom: 1px solid var(--line); }
.faq dt {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
}
.faq dd {
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 42rem;
}

.contact-email { margin: 0; }
.contact-email a {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 3.4vw, 1.85rem);
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.contact-hint {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  padding-top: 1.2rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.foot p { margin: 0; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.visits { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
