/* ============================================================
   Summer Smith — Base Typography & Body Defaults
   ============================================================ */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.7;
}

/* --- Display headings ------------------------------------ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  color: var(--color-ink);
}

/* --- Body copy ------------------------------------------- */
p {
  max-width: 60ch;
}

/* --- Eyebrow label (uppercase, tracked) ------------------ */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--color-ink-light);
}

/* --- Section title (DM Sans) ----------------------------- */
.section-title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--color-ink);
}

/* --- Display headline ------------------------------------ */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
}

.display--italic {
  font-style: italic;
}

/* --- Lead text ------------------------------------------- */
.lead {
  font-size: var(--text-md);
  color: var(--color-ink-light);
  line-height: 1.7;
}

/* --- Text link with arrow -------------------------------- */
.link-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--color-ink);
  transition: color 0.2s ease;
}

.link-arrow .arrow {
  transition: transform 0.2s var(--ease-image);
}

.link-arrow:hover {
  color: var(--color-teal);
}

.link-arrow:hover .arrow {
  transform: translateX(4px);
}

/* --- Accessible focus states ----------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 3px;
}

/* --- Screen-reader-only ---------------------------------- */
.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;
}

/* --- Skip link ------------------------------------------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: var(--space-3);
  background: var(--color-ink);
  color: var(--color-cream);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  z-index: 200;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: var(--space-3);
}
