/* ==========================================================================
   base.css — element defaults, typography, layout helpers, accessibility
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sk-nav-h) + 12px); }
body {
  font-family: var(--sk-font-body);
  font-size: var(--sk-text-base);
  line-height: 1.6;
  color: var(--sk-ink);
  background: var(--sk-rice);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, .sk-display {
  font-family: var(--sk-font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: inherit;
  text-wrap: balance;
}
h1, .sk-h1 { font-size: var(--sk-h1); letter-spacing: -0.02em; }
h2, .sk-h2 { font-size: var(--sk-h2); }
h3, .sk-h3 { font-size: var(--sk-h3); }
h4, .sk-h4 { font-size: var(--sk-h4); line-height: 1.2; }
p { max-width: 68ch; text-wrap: pretty; }
.sk-lead { font-size: var(--sk-text-lg); line-height: 1.55; color: var(--sk-ink-2); }
.sk-muted { color: var(--sk-ink-2); }
.sk-small { font-size: var(--sk-text-sm); }

a { color: var(--sk-green); text-underline-offset: 3px; }
a:hover { color: var(--sk-green-hover); }
img, svg { max-width: 100%; height: auto; }

::selection { background: var(--sk-gold-soft); color: var(--sk-ink); }

:focus-visible {
  outline: 3px solid var(--sk-gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--sk-ink); color: #fff; padding: .75rem 1rem; border-radius: var(--sk-radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Layout */
.sk-section { padding-block: var(--sk-section-y); position: relative; }
.sk-section--tight { padding-block: calc(var(--sk-section-y) * 0.6); }
.sk-container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--sk-gutter); }
.sk-section-head { max-width: 46rem; margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.sk-section-head p { margin-top: 1rem; }

/* Surfaces — each service owns one */
.sk-surface-forest { background: var(--sk-forest); color: var(--sk-rice); }
.sk-surface-forest .sk-muted, .sk-surface-forest .sk-lead { color: rgba(252, 251, 246, 0.78); }
.sk-surface-forest a:not(.sk-btn) { color: var(--sk-gold); }
.sk-surface-calabash { background: var(--sk-calabash); }
.sk-surface-okra { background: var(--sk-okra-soft); }
.sk-surface-rice { background: var(--sk-rice); }
.sk-surface-white { background: var(--sk-white); }

/* Rounded “plate” section that sits inside the page */
.sk-inset {
  margin-inline: clamp(0px, 1.5vw, 24px);
  border-radius: var(--sk-radius-xl);
  overflow: hidden;
}

main { min-height: 50vh; }

.visually-hidden-focusable:not(:focus) { position: absolute !important; }
