/* =============================================================
   OPASCOPE DESIGN SYSTEM — COLORS & TYPE
   Vendored for the Parrot marketing site. Three Aeonik weights
   are shipped (400/500/700); the other seven are omitted for
   weight. Item 101 promotes this to a shared DESIGN.md — when it
   does, this file should be deleted, not forked.
   Source of truth for brand foundations. Values lifted directly
   from opascope.com WordPress theme CSS + Brand Guidelines v1.
   ============================================================= */

/* ---------- FONT FACES ---------- */
@font-face { font-family: "Aeonik"; src: url("fonts/aeonik-regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aeonik"; src: url("fonts/aeonik-medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Aeonik"; src: url("fonts/aeonik-bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* ---------- BRAND COLORS ---------- */
  --black: #000000;          /* Black */
  --off-black: #161616;      /* Cinder — primary surface */
  --color-dark-80: #1B1B1B;
  --color-dark-70: #242424;  /* Card surface on dark */
  --gray: #727272;           /* Grey — borders, muted */
  --off-white: #E5E5E5;      /* Off White — primary text on dark */
  --white: #FFFFFF;          /* Pure white */
  --cream: #F0F0F0;          /* Off White (brand PDF) */
  --orange: #FF5421;         /* Bright Orange — sole accent */

  /* ---------- SEMANTIC COLORS ---------- */
  --bg: var(--black);
  --bg-alt: var(--off-black);
  --surface: var(--color-dark-70);
  --surface-2: var(--color-dark-80);
  --fg: var(--off-white);
  --fg-muted: var(--gray);
  --fg-inverse: var(--off-black);
  --accent: var(--orange);
  --border: var(--gray);
  --border-subtle: rgba(240, 240, 240, 0.20);
  --border-faint: rgba(229, 229, 229, 0.40);

  /* ---------- FONT FAMILY ---------- */
  --font-sans: "Aeonik", ui-sans-serif, system-ui, sans-serif;

  /* ---------- FONT SIZES (rem) ---------- */
  --font-size-50:  0.75rem;   /* 12 */
  --font-size-75:  0.875rem;  /* 14 */
  --font-size-100: 1rem;      /* 16 */
  --font-size-150: 1.125rem;  /* 18 */
  --font-size-200: 1.25rem;   /* 20 */
  --font-size-300: 1.5rem;    /* 24 */
  --font-size-350: 1.75rem;   /* 28 */
  --font-size-400: 2rem;      /* 32 */
  --font-size-500: 2.5rem;    /* 40 */
  --font-size-600: 3rem;      /* 48 */
  --font-size-700: 4rem;      /* 64 */
  --font-size-800: 4.5rem;    /* 72 */
  --font-size-900: 6rem;      /* 96 */

  /* ---------- LINE HEIGHTS ---------- */
  --line-height-none: 1;
  --line-height-tight: 1.1;
  --line-height-tighter: 1.2;
  --line-height-normal: 1.4;
  --line-height-body: 1.5;
  --line-height-loose: 1.6;
  --line-height-xl: 1.8;

  /* ---------- SPACING ---------- */
  --spacing-0: 0;
  --spacing-50: 0.25rem;
  --spacing-100: 0.5rem;
  --spacing-150: 0.75rem;
  --spacing-200: 1rem;
  --spacing-225: 1.25rem;
  --spacing-300: 1.5rem;
  --spacing-350: 1.75rem;
  --spacing-400: 2rem;
  --spacing-500: 2.5rem;
  --spacing-600: 3rem;
  --spacing-700: 4rem;
  --spacing-800: 5rem;
  --spacing-850: 6rem;
  --spacing-900: 7.5rem;
  --spacing-1000: 10rem;
  --spacing-1100: 12.5rem;

  /* ---------- RADII ---------- */
  --radius-none: 0;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-card: 24px;        /* mobile */
  --radius-card-lg: 32px;     /* ≥767px */
  --radius-pill: 200px;       /* fully rounded */
  --radius-input: 28px;

  /* ---------- MOTION ---------- */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-soft: cubic-bezier(0, 0, 0.2, 1);
  --duration-quick: 0.3s;
  --duration-base: 0.5s;
  --duration-long: 1s;

  /* ---------- EFFECTS ---------- */
  --blur-card: blur(20px);
  --blur-heavy: blur(50px);
}

/* ---------- BASE ---------- */
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: clamp(var(--font-size-100), 2.5vw, var(--font-size-150));
  line-height: var(--line-height-body);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

/* ---------- SEMANTIC TYPE ---------- */
h1, .h1 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(var(--font-size-600), 5vw, var(--font-size-900));
  line-height: var(--line-height-tight);
  letter-spacing: -1.92px;
  margin: 0 0 var(--spacing-200);
}
h2, .h2 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(var(--font-size-500), 4vw, var(--font-size-700));
  line-height: var(--line-height-tighter);
  letter-spacing: -1.28px;
  margin: 0 0 var(--spacing-200);
}
h3, .h3 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(var(--font-size-400), 3.5vw, var(--font-size-500));
  line-height: var(--line-height-tighter);
  margin: 0 0 var(--spacing-200);
}
h4, .h4 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(var(--font-size-200), 3vw, var(--font-size-350));
  line-height: var(--line-height-tighter);
  margin: 0 0 var(--spacing-200);
}
h5, .h5, .large-text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(var(--font-size-200), 1.5vw, var(--font-size-300));
  line-height: var(--line-height-tighter);
  letter-spacing: -0.24px;
}
.unit-text {
  font-size: clamp(var(--font-size-400), 4vw, var(--font-size-600));
  line-height: var(--line-height-tighter);
  letter-spacing: -1.12px;
}
.medium-text {
  font-size: clamp(var(--font-size-150), 1.5vw, var(--font-size-200));
  line-height: var(--line-height-loose);
}
.small-text  { font-size: var(--font-size-75); }
.tag {
  line-height: var(--line-height-tighter);
  font-size: var(--font-size-100);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  border-left: 1px solid var(--orange);
  padding-left: 11px;
  font-weight: 500;
}
.breadcrumb {
  line-height: var(--line-height-tighter);
  font-size: var(--font-size-100);
  letter-spacing: 1.6px;
  text-transform: uppercase;
}
b, strong, .bold { font-weight: 500; }
.thin            { font-weight: 100; }
.uppercase       { text-transform: uppercase; }

/* ---------- LINKS ---------- */
a {
  color: var(--off-white);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--duration-quick) var(--ease-default);
}
a:hover, .link-orange:hover { color: var(--orange); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-200);
  height: 40px;
  padding: 0 var(--spacing-200);
  border-radius: var(--radius-pill);
  border: 1px solid var(--gray);
  background: transparent;
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: var(--font-size-75);
  backdrop-filter: var(--blur-card);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-quick) var(--ease-default);
}
.btn:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn__small   { height: 29px; padding: 0 var(--spacing-150); }
.btn__big     { height: 48px; font-size: var(--font-size-100); gap: var(--spacing-300); }
.btn__primary { background: var(--off-white); color: var(--black); }
.btn__icon    { padding: 0 3px 0 var(--spacing-200); }
.btn__icon--arrow {
  background: var(--orange);
  border-radius: var(--radius-pill);
  height: calc(100% - 5px);
  aspect-ratio: 1 / 1;
  display: inline-flex; align-items: center; justify-content: center;
}