/* Global element + typography styles */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  line-height: 1.15;
}

h1 { font-size: var(--fs-3xl); font-weight: 600; }
h2 { font-size: var(--fs-2xl); font-weight: 600; }
h3 { font-size: var(--fs-xl); font-weight: 500; }
h4 { font-size: var(--fs-md); font-weight: 500; }

p {
  color: var(--color-ink-muted);
}

a {
  transition: color 0.15s ease;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section {
  padding-block: var(--space-6);
}

.section--sage {
  background: var(--color-sage-light);
}

.section--ember {
  background: var(--color-ember-light);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-5);
}

.section-heading p {
  margin-top: var(--space-2);
}

.section-heading--start {
  text-align: left;
  margin-inline: 0;
  max-width: 40rem;
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-1);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  border-radius: var(--radius-md);
}

/* Placeholder imagery — visibly unfinished until Laura supplies real photos */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3);
  background: repeating-linear-gradient(
    45deg,
    var(--color-border),
    var(--color-border) 10px,
    var(--color-surface) 10px,
    var(--color-surface) 20px
  );
  border: 2px dashed var(--color-ink-muted);
  border-radius: var(--radius-md);
  color: var(--color-ink-muted);
  font-size: var(--fs-sm);
  min-height: 220px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-5);
  }
}
