@charset "utf-8";

/* Ported verbatim from sahifah-mockup css/main.css, section 16.
   Every value is a token from tokens.css — no raw colours, sizes or magic numbers. */

/* ============================================================
   16. UTILITIES
   ============================================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.text-centre {
  text-align: center;
}

.measure {
  max-width: var(--measure);
}

.measure-wide {
  max-width: var(--measure-wide);
}

.centred {
  margin-inline: auto;
}

.stack-sm > * + * {
  margin-top: var(--space-sm);
}

.stack-md > * + * {
  margin-top: var(--space-md);
}

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

.flow-tight {
  line-height: var(--leading-normal);
}

/* Skip to content: the first link on every page (inc/head.php), out of
   sight until a keyboard reaches it, then a burgundy button top-left. */
.skip-link {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 100000;
  padding: var(--space-xs) var(--space-md);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  color: var(--cream-100);
  background-color: var(--burgundy-600);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transform: translateY(-300%);
}

.skip-link:focus {
  transform: none;
  outline: var(--focus-ring-inverse);
  outline-offset: calc(-1 * var(--focus-offset));
}
