/* ==========================================================================
   WEMADE — Reset & base
   ========================================================================== */

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

/* One-page site: nav links are in-page anchors (#why-us etc.) — this makes
   the browser's native anchor jump land below the fixed header instead of
   tucking the section under it, and animates the jump. (Reduced-motion
   users get scroll-behavior:auto back via the media query below.) */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--nav-float-gap) + 24px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

::selection { background: var(--steel); color: var(--white); }

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

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Layout primitives ---- */

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

.section { padding-block: 96px; }
@media (min-width: 768px) { .section { padding-block: 140px; } }

.bg-navy { background: var(--navy); color: var(--offwhite); }
.bg-paper { background: var(--paper); color: var(--navy); }

/* ---- Section heading (shared by every page section, not just one) ---- */
.section-head { text-align: center; margin-bottom: 64px; }
@media (min-width: 768px) { .section-head { margin-bottom: 96px; } }
.section-head__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-600a);
}
.bg-navy .section-head__eyebrow { color: var(--offwhite-45); }
.section-head__title {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 10px;
}
.section-head__title b { color: var(--teal); font-weight: 700; }
.section-head__subtitle {
  max-width: 480px;
  margin: 16px auto 0;
  font-size: 14.5px;
  color: var(--navy-600a);
  line-height: 1.55;
}
/* Without this the subtitle's navy-tinted color is nearly invisible on a
   dark section (first needed for Team, but general-purpose like the
   eyebrow override above — any future .bg-navy section-head gets it too). */
.bg-navy .section-head__subtitle { color: var(--offwhite-60); }

/* ---- No-JS fallback content ---- */
/* Styles the real, crawlable text inside <noscript> blocks (see
   index.html — Why Us and About/process each have one). Browsers with
   JS enabled never render <noscript> children at all, so this only
   matters for the rare true no-JS visitor or a non-JS crawler; kept
   simple on purpose. */
.fallback-list { max-width: 640px; margin: 0 auto; padding: 24px; }
.fallback-list li { margin-bottom: 20px; }
.fallback-list h3 { font-size: 16px; margin-bottom: 4px; }
.fallback-list p { font-size: 14px; color: var(--navy-600a); }

/* Placeholder blocks used while a page's real sections aren't built yet */
.placeholder-block {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 40px;
}
.placeholder-block__text {
  border: 1px dashed currentColor;
  opacity: 0.5;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 24px 32px;
}
