/* ==========================================================================
   tokens.css — design tokens read from the reference theme (Horizon 4.2.0)
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/inter-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  src: url('../fonts/inter-i600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  src: url('../fonts/inter-i700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 800;
  font-style: italic;
  font-display: swap;
  src: url('../fonts/inter-i800.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/instrument-serif-400.woff2') format('woff2');
}
@font-face {
  font-family: 'GTStandard-M';
  font-weight: 450;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/gtstandard-m-450.woff2') format('woff2');
}
@font-face {
  font-family: 'GTStandard-M';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/gtstandard-m-500.woff2') format('woff2');
}
@font-face {
  font-family: 'GTStandard-M';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/gtstandard-m-600.woff2') format('woff2');
}

:root {
  /* type */
  --font-body: 'Helvetica, Arial, sans-serif';
  --font-ui: 'Helvetica, Arial, sans-serif';
  --font-inter: 'Inter', sans-serif;
  --font-body--family: 'Helvetica, Arial, sans-serif';
  --font-body--weight: 400;
  --font-heading--family: 'Helvetica, Arial, sans-serif';
  --font-heading--weight: 700;
  --font-paragraph--family: 'Helvetica, Arial, sans-serif';
  --font-paragraph--weight: 400;
  --font-serif: 'Instrument Serif', serif;
  --font-display: 'Inter', sans-serif;

  --fs-nav: 14px;
  --fs-body: 14px;
  --fs-eyebrow: 12px;
  --fs-tag: 10px;

  /* colour */
  --c-text: #000000;
  --c-text-soft: #2b2b28;
  --c-muted: rgba(0, 0, 0, 0.6);
  --c-line: #e3e3e3;
  --c-bg: #ffffff;
  --c-band: #e8eaed;
  --c-band-2: #eef0f2;
  --c-topbar: #f5f5f5;
  --c-search-pill: #f0f0f0;
  --c-sale: #b3261e;

  /* layout */
  --page-pad: 40px;
  --page-pad-m: 16px;
  --content-max: 1360px;
  --header-top-h: 34px;
  --header-main-h: 70px;
  --header-main-h-m: 60px;

  /* geometry */
  --rad-pill: 999px;
  --rad-btn: 30px;
  --rad-card: 0px;

  /* motion */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-hover: 650ms;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--c-text);
  background: var(--c-bg);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* the reference scrolls inside .page-wrapper */
.page-wrapper {
  position: relative;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}

.shell {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid #0e0e0e;
  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;
}

.page-pad {
  padding-inline: var(--page-pad);
}

.text-block h2 {
  margin: 0;
}

/* skip link — global (was only in bands.css) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: #fff;
  color: #000;
  padding: 14px 24px;
  font-size: 14px;
  border: 1px solid #000;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* [hidden] must win over component display rules */
[hidden] {
  display: none !important;
}
