/* Base reset, semantic typography, helpers (the dot + wordmark + container). */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Visually-hidden but accessible */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============ TYPOGRAPHY ============ */
.serif,
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: var(--tracking-display);
  line-height: var(--lh-h2);
  color: var(--green-deep);
  margin: 0;
}

h1, .h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
}
h2, .h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--tracking-h2);
}
h3, .h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--tracking-h3);
}

.serif em, h1 em, h2 em, h3 em, .italic-accent {
  font-style: italic;
  font-weight: 900;
  color: var(--orange);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--orange);
  display: inline-block;
}

p, .body { font-size: var(--fs-body); line-height: 1.65; color: var(--fg-muted); }
.body-lg { font-size: var(--fs-body-lg); line-height: var(--lh-body); color: var(--fg-muted); }
.body-sm { font-size: var(--fs-body-sm); line-height: var(--lh-body); color: var(--fg-muted); }
.caption  { font-size: var(--fs-caption); letter-spacing: var(--tracking-caption); color: var(--fg-soft); }

/* ============ THE DOT — terracotta circle ornament ============ */
.dot {
  display: inline-block;
  width: 0.42em; height: 0.42em;
  background: var(--orange);
  border-radius: 50%;
  vertical-align: baseline;
  margin-left: 0.06em;
  flex-shrink: 0;
}

/* ============ WORDMARK ============ */
.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--green);
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-size: 80px;
}
.wordmark .line { display: block; white-space: nowrap; }
.wordmark.inverted { color: var(--cream-light); }

.wordmark-inline {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.015em;
  white-space: nowrap;
  text-decoration: none;
}
.wordmark-inline.inverted { color: var(--cream-light); }

/* ============ CONTAINER ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.btn-primary { background: var(--orange); color: var(--cream-light); }
.btn-primary:hover { background: var(--orange-bright); }
.btn-secondary { background: var(--green-deep); color: var(--cream-light); }
.btn-secondary:hover { background: var(--green-darker); }
.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  border: 1.5px solid var(--green-deep);
}
.btn-ghost:hover { background: var(--green-deep); color: var(--cream-light); }
.btn-ghost.inverted {
  color: var(--cream-light);
  border-color: var(--cream-light);
}
.btn-ghost.inverted:hover { background: var(--cream-light); color: var(--green-deep); }

/* SEO inline link (used in body copy) */
.seo-inline {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.seo-inline:hover { color: var(--orange); text-decoration-color: var(--orange); }
