/* VIP Facility Management — base: design tokens, reset, typography. */

:root {
  /* colour */
  --blue: #0d78d1;
  --blue-deep: #005fad;
  --navy: #06203d;
  --ink: #0b1b2e;
  --muted: #4d5f74;
  --line: #dce6f0;
  --field: #7e93a9;
  --mist: #f3f7fb;
  --sky: #e4f0fb;
  --amber: #b86a00;
  --amber-bg: #fff4e0;
  --on-navy: #b4c6da;
  --ice: #7cc0ff;
  --success: #0e7a41;
  --success-bg: #dff3e7;

  /* type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "IBM Plex Sans", "Inter", system-ui, sans-serif;

  /* layout */
  --container: 1248px;
  --gutter: clamp(20px, 5cqi, 48px);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --header-height: 76px;

  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  container-type: inline-size;
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* safety net: never let the page scroll sideways on phones */
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

h1 { font-size: clamp(36px, 5cqi, 64px); font-weight: 600; }
h2 { font-size: clamp(28px, 3.2cqi, 42px); font-weight: 600; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }

p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--blue-deep); }
img, svg { max-width: 100%; }
img { display: block; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

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

/* text helpers */
.lead { font-size: clamp(17px, 1.5cqi, 20px); color: var(--muted); max-width: 60ch; }
.text-sm { font-size: 15px; color: var(--muted); }
.text-muted { color: var(--muted); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 13px/1 var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 24px;
  height: 2px;
  background: currentColor;
}

/* heading size modifiers (keep the element level, change the look) */
.heading--sm { font-size: clamp(26px, 3cqi, 38px); }
.title-card { font-size: 26px; }

/* accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
