/* Fonts, design tokens, base typography and shared text styles. */

@font-face {
  font-family: 'Inter';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/inter-light.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/inter-regular.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/inter-medium.woff') format('woff');
}
@font-face {
  font-family: 'Inter';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/inter-semibold.woff') format('woff');
}

:root {
  /* Colors */
  --color-bg: #080d1c; /* page background */
  --color-band: #0e1429; /* alternating section band */
  --color-prussian: #111a33; /* cards, panels */
  --color-blue: #0066ff; /* primary action */
  --color-sky: #94bfff; /* eyebrows */
  --color-link-blue: #76adff; /* article meta */
  --color-lavender: #d4ccff; /* links, accents */
  --color-lilac: #d8c1ff; /* headline accents */
  --color-mist: #f5f4fa; /* light text */
  --color-purple: #8f80d1; /* small labels */
  --color-steel: #5a5873;
  --color-white: #ffffff;

  --white-04: rgba(255, 255, 255, 0.04);
  --white-05: rgba(255, 255, 255, 0.05);
  --white-08: rgba(255, 255, 255, 0.08);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-12: rgba(255, 255, 255, 0.12);
  --white-28: rgba(255, 255, 255, 0.28);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-65: rgba(255, 255, 255, 0.65);
  --white-72: rgba(255, 255, 255, 0.72);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* Layout */
  --page-width: 1440px;
  --content-width: 1216px;
  --gutter: 112px; /* side margin at 1440px */
  --radius-card: 14px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0, 0, 0.58, 1);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --dur-hover: 250ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.email-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.email-link:hover {
  text-decoration-thickness: 2px;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--color-lavender);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-blue);
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* Content container: 1216px wide inside a 1440px frame, fluid below. */
.container {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

/* Text accents used inside headlines. */
.accent-lilac {
  color: var(--color-lilac);
}
.accent-lavender {
  color: var(--color-lavender);
}
.accent-mist {
  color: var(--color-mist);
}

/* Shared text styles ------------------------------------------------------ */

/* Eyebrow — Inter SemiBold 13, letter-spacing 14%, sky blue */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sky);
}

/* Section title — Inter Light 44, line-height 112%, letter-spacing -1.5% */
.section-title {
  font-size: 44px;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--color-white);
}

/* Lead paragraph — Inter Regular 18, line-height 150% */
.lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--white-65);
}

/* Line breaks taken from the design are kept on wide screens only. */
@media (max-width: 1023px) {
  br.lb {
    display: none;
  }
  .section-title {
    font-size: 34px;
  }
}
@media (max-width: 599px) {
  .section-title {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}

/* Minimum 24×24 touch targets for small text links (WCAG 2.2): the hit area grows, the layout does not. */
.breadcrumb a,
.case-card__link,
.office-card__directions,
.job-header__back,
.cert-card__link,
.legal__note a,
.article-body__author a,
.wd-case__link,
.industry-tile__cta {
  padding-block: 4px;
  margin-block: -4px;
}
html {
  scroll-padding-top: 112px;
} /* fixed header: anchors land below it */
