/* ---------- Fonts ---------- */
@font-face {
  font-family: "Apercu";
  src: url("../fonts/apercu-regular.woff") format("woff"),
       url("../fonts/apercu-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Apercu";
  src: url("../fonts/apercu-bold.woff") format("woff"),
       url("../fonts/apercu-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #002933;          /* matches the logo SVGs */
  --paper: #ffffff;
  --red: #cc1b17;         /* rule + selection, from the existing site */
  --teal: #059faf;        /* link, from the existing site */

  --font: "Apercu", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --pad-left: clamp(1.5rem, 7.2vw, 10rem);
  --pad-right: clamp(1.5rem, 3vw, 4rem);
  --measure: 31em;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(0.9375rem, 1.04vw, 1.375rem); /* ~20px at the 1920 design width */
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}

::selection { color: #fff; background: var(--red); }

h1, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- Layout (desktop) ---------- */
.page {
  display: grid;
  grid-template-columns: 54fr 46fr;
  min-height: 100vh;
  min-height: 100svh;
}

.col-text {
  display: flex;
  flex-direction: column;
  padding: clamp(2.5rem, 12vh, 8rem) var(--pad-right) 2rem var(--pad-left);
}

.col-art {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  background: #f2eadf;
}
.col-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* ---------- Color chips ---------- */
.swatches { display: flex; gap: 1.1em; }
.swatches .group { display: flex; border: 1px solid white; }
.swatches i {
  display: block;
  width: 0.9em;
  height: 0.9em;
  background: var(--c);
}

/* ---------- Content ---------- */
.stack {
  margin-top: clamp(3rem, 12vh, 12rem);
  max-width: var(--measure);
}

h1 {
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.15;
}

.role {
  margin-top: 0.25em;
  letter-spacing: 0.01em;
}

.rule {
  width: 2.4em;
  height: 0;
  margin: 2.4em 0 2.6em;
  border: 0;
  border-top: 2px solid var(--red);
}

.intro p + p { margin-top: 1.4em; }

/* ---------- Logos ---------- */
.clients-label { margin-top: 2.75em; }
.clients {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5em 2.6em;
  margin-top: 1.1em;
}
.logo { width: auto; max-width: none; }
.logo-centene    { height: 1.85em; }  /* heights follow the design's 20px base */
.logo-slalom     { height: 1.65em; }
.logo-wwt        { height: 2em; }
.logo-purehockey { height: 1.55em; }
.logo-newbalance { height: 2.2em; }

/* ---------- Contact link ---------- */
.request { margin-top: 2.5em; }
.contact { margin-top: 5em; }
.contact a {
  color: var(--teal);
  text-decoration: none;
  padding-bottom: 0.2em;
  border-bottom: 3px solid var(--ink);
  transition: border-color 0.3s ease;
}
.contact a:hover { border-bottom-color: var(--red); }
.contact a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

/* ---------- Colophon ---------- */
.colophon {
  margin-top: auto;
  padding-top: 3rem;
  text-align: center;
  font-size: 1rem;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  :root {
    --pad-left: 1.25rem;
    --pad-right: 1.25rem;
  }

  body { font-size: 1rem; }

  .page { display: block; min-height: 0; }
  .col-art, p.hide { display: none; }

  .col-text {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }

  .stack { margin-top: 3.5rem; }
  .clients { gap: 1.25em 2em; }
  .colophon { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .contact a { transition: none; }
}
