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

/* Skip-link — visible only on keyboard focus (bulletproof) */
.skip-link {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus,
.skip-link:focus-visible {
  position: fixed !important;
  left: 1rem !important;
  top: 1rem !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  clip: auto;
  clip-path: none;
  padding: 0.75rem 1.25rem;
  background: var(--basalt);
  color: var(--alba);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  text-decoration: none;
  z-index: 1000;
  outline: 2px solid var(--sienna);
  outline-offset: 2px;
}

/* Global focus-visible — keyboard accessibility */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--sienna);
  outline-offset: 3px;
  border-radius: 2px;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sienna);
  outline-offset: 3px;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
body {
  font-family: var(--font-sans);
  color: var(--basalt);
  background: var(--alba);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "calt";
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--basalt);
}
h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.022em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.018em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.012em; }
h4 { font-size: 1.125rem; }

p { max-width: 62ch; }
p + p { margin-top: 1.1em; }

em, i {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--ink-2);
}
h1 em, h2 em, h3 em { color: var(--sienna); font-weight: 500; }

strong, b { font-weight: 600; }

img, picture, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
a:hover { opacity: 0.72; }

button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; font-size: 16px; }
@media (min-width: 1024px) {
  input, textarea, select { font-size: inherit; }
}
ul, ol { list-style: none; }

::selection { background: var(--basalt); color: var(--alba); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-3); }
.content { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 var(--sp-3); }
.narrow { width: 100%; max-width: 68ch; margin: 0 auto; padding: 0 var(--sp-3); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-2);
  margin-bottom: var(--sp-3);
}

.lede {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 56ch;
}

.stack > * + * { margin-top: var(--sp-3); }
.stack-lg > * + * { margin-top: var(--sp-6); }

.section { padding: var(--sp-10) 0; }
.section-lg { padding: var(--sp-12) 0; }

@media (min-width: 640px) {
  .container, .content, .narrow { padding: 0 var(--sp-4); }
}
@media (min-width: 1024px) {
  .container { padding: 0 var(--sp-6); }
  .content { padding: 0 var(--sp-6); }
  .section { padding: var(--sp-16) 0; }
  .section-lg { padding: var(--sp-16) 0; }
}

.mobile-only { display: block; }
.desktop-only { display: none; }
@media (min-width: 1024px) {
  .mobile-only { display: none; }
  .desktop-only { display: block; }
}

.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;
}
