/* Base / reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-ink);
  background: var(--color-white);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--color-navy-800); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: var(--lh-tight); margin: 0 0 0.75em; color: inherit; }
h1 { font-size: var(--fs-h1); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
h2 { font-size: var(--fs-h2); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: 0.02em; }
h4, .h4 { font-size: var(--fs-h4); font-weight: 600; text-transform: uppercase; letter-spacing: var(--tracking-caps); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
address { font-style: normal; }
small, .small { font-size: var(--fs-small); }
.muted { color: var(--color-ink-70); }
.text-center { text-align: center; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1000; padding: 0.6rem 1rem; background: var(--color-navy); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }
main:focus { outline: none; }
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }

/* Sections */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--navy { background: var(--color-navy); color: #fff; }
.section--navy a:not(.button) { color: #fff; }
.section--grey { background: var(--color-grey-50); }
.section--dark { background: var(--color-charcoal); color: #fff; }
.section__title { text-align: center; margin-bottom: 2.5rem; }
.section__title::after { content: ""; display: block; width: 3rem; height: 2px; background: var(--color-navy); margin: 1rem auto 0; }
.section--navy .section__title::after, .section--dark .section__title::after { background: #fff; }
.section__lead { max-width: 60ch; margin: -1.5rem auto 2.5rem; text-align: center; }

/* Buttons */
.button {
  display: inline-block; padding: 0.85rem 1.75rem; min-height: 44px;
  font-family: var(--font-sub); font-size: 0.95rem; font-weight: 500; letter-spacing: var(--tracking-caps); text-transform: uppercase;
  text-decoration: none; text-align: center; border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; line-height: 1.3;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.button--primary { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.button--primary:hover, .button--primary:focus-visible { background: var(--color-navy-800); border-color: var(--color-navy-800); color: #fff; }
.button--ghost { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.button--ghost:hover { background: var(--color-navy); color: #fff; }
.button--light { background: #fff; color: var(--color-navy); border-color: #fff; }
.button--light:hover { background: var(--color-grey-100); color: var(--color-navy); }
.button--ghost-light { background: transparent; color: #fff; border-color: #fff; }
.button--ghost-light:hover { background: #fff; color: var(--color-navy); }
.button--block { display: block; width: 100%; }
.button + .button { margin-left: 0.5rem; }
@media (max-width: 480px) { .button + .button { margin: 0.5rem 0 0; } .button { width: 100%; } }

/* Badges */
.badge { display: inline-block; padding: 0.2em 0.6em; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: var(--color-navy); color: #fff; }
.badge--draft { background: #6a4b00; }

/* Placeholder / staging notes */
.placeholder-note, .staging-note { border-left: 4px solid #b58900; background: #fff8e1; color: #3d2f00; padding: 0.9rem 1rem; margin-bottom: 1.5rem; font-size: var(--fs-small); }

.draft-banner { border: 2px solid #b3261e; background: #fff4f2; color: #5a1410; padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: var(--fs-small); }
.contact-form.is-disabled .contact-form__fields { opacity: .55; }
.contact-form.is-disabled .contact-form__submit { background: var(--color-grey-500); border-color: var(--color-grey-500); cursor: not-allowed; }

/* Breadcrumbs */
.breadcrumbs { padding-top: 1.25rem; font-size: var(--fs-small); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.4rem; color: var(--color-grey-500); }
.link-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.link-list li { padding: 0.3rem 0; border-bottom: 1px solid var(--color-border); }

/* Reveal on scroll (progressive; no-JS shows content) */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
