/* ==========================================================================
   Big Top Multimedia — design tokens
   Canonical source: ~/Documents/Big Top/Big Top Multimedia Design System/tokens/
   Do not edit values here without changing the design system first.
   ========================================================================== */

:root {
  /* --- Core brand palette ------------------------------------------------ */
  --btm-red: #8C2927;
  --btm-yellow: #F5E189;
  --btm-charcoal: #545354;
  --btm-blue: #A0CDDC;
  --btm-faun: #F3F3F3; /* 2026-08 design revision (was Faun #F3F3EE) */
  --btm-white: #FFFFFF;

  /* 2026-08 design revision (design team, Figma "Website Design"): the
     bright CTA red every button carries, and the deep red of uppercase
     eyebrow labels on light surfaces. #8C2927 stays the brand-mark red. */
  --btm-red-bright: #D71319;
  --btm-red-deep: #6A0202;

  /* --- Red scale --------------------------------------------------------- */
  --btm-red-50: #FBF1F0;
  --btm-red-100: #F3DEDD;
  --btm-red-300: #D08F8D;
  --btm-red-500: #A33330;
  --btm-red-600: #8C2927;
  --btm-red-700: #6E201E;
  --btm-red-900: #4A1413;

  /* --- Yellow scale ------------------------------------------------------ */
  --btm-yellow-100: #FDF8E4;
  --btm-yellow-200: #FBF1C8;
  --btm-yellow-400: #F5E189;
  --btm-yellow-600: #E6C84F;
  --btm-yellow-700: #C9A933;

  /* --- Blue scale -------------------------------------------------------- */
  --btm-blue-100: #EAF4F8;
  --btm-blue-200: #D6EBF2;
  --btm-blue-400: #A0CDDC;
  --btm-blue-600: #6FA9BC;
  --btm-blue-800: #3F7C90;

  /* --- Neutrals ---------------------------------------------------------- */
  --btm-ink: #12141E; /* navy-tinted near-black — 2026-08 design revision (was #2B2A2B) */
  --btm-grey-700: #545354;
  --btm-grey-500: #7A797A;
  --btm-grey-400: #9C9B9C;
  --btm-grey-300: #C4C3C3;
  --btm-grey-200: #DEDDDB;
  --btm-grey-100: #ECECE9;

  /* Second dark tone. The reference site uses two near-blacks so consecutive
     dark bands read as separate surfaces rather than one continuous block
     (spec 6.1). --btm-ink is the default dark; --btm-ink-deep is the
     alternate — re-derived from the 2026-08 navy so the pair still reads as
     two surfaces of one family. */
  --btm-ink-deep: #1A1C28;

  /* --- Typography --------------------------------------------------------
     2026-08 design revision: Manrope heads, Poppins body (was Poppins/Roboto). */
  --btm-font-heading: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --btm-font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --btm-fw-regular: 400;
  --btm-fw-medium: 500;
  --btm-fw-semibold: 600;
  --btm-fw-bold: 700;

  /* The hierarchy-carrying sizes are fluid (design system change,
     2026-08-01): fixed 56px hero type in a 282px mobile column broke words
     mid-word ("Everythin-g"). 2026-08 design revision: display climbs to the
     Figma homepage's 100px ceiling and section heads to its 50px (endpoint
     viewports 390 → 1440); h1 keeps the inner-page 32 → 40 scale because the
     revision covers the homepage and global chrome, not inner mastheads. */
  --btm-text-display: clamp(2.5rem, 1.107rem + 5.714vw, 6.25rem);
  --btm-text-h1: clamp(2rem, 1.75rem + 1vw, 2.5rem);
  --btm-text-h2: clamp(2rem, 1.507rem + 2.022vw, 3.125rem);
  --btm-text-h3: 1.5rem;
  --btm-text-h4: 1.25rem;
  --btm-text-lead: 1.25rem; /* 20px feature body / card copy (2026-08 revision) */
  --btm-text-lg: 1.125rem;
  --btm-text-base: 1rem;
  --btm-text-sm: 0.875rem;
  --btm-text-xs: 0.75rem;

  --btm-leading-tight: 1.1;
  --btm-leading-snug: 1.25;
  --btm-leading-normal: 1.6;
  --btm-leading-relaxed: 1.75;

  --btm-tracking-tight: -0.02em;
  --btm-tracking-normal: 0;
  --btm-tracking-wide: 0.08em;

  /* --- Spacing ----------------------------------------------------------- */
  --btm-space-0: 0;
  --btm-space-1: 4px;
  --btm-space-2: 8px;
  --btm-space-3: 12px;
  --btm-space-4: 16px;
  --btm-space-5: 24px;
  --btm-space-6: 32px;
  --btm-space-7: 48px;
  --btm-space-8: 64px;
  --btm-space-9: 96px;
  --btm-space-10: 128px;

  /* --- Radii ------------------------------------------------------------- */
  --btm-radius-sm: 4px;
  --btm-radius-md: 8px;
  --btm-radius-lg: 14px;
  --btm-radius-xl: 24px;
  --btm-radius-pill: 999px;
  --btm-radius-circle: 50%;

  /* 2026-08 design revision: the homepage's three card surfaces round more
     generously than the 14px legacy radius, and the hero's device frame has
     its own geometry and grey. */
  --btm-radius-tile: 20px;  /* journal / blog tiles */
  --btm-radius-media: 25px; /* photography, project images */
  --btm-radius-card: 27px;  /* service & testimonial cards */
  --btm-radius-device: 50px; /* hero device frame */
  --btm-grey-device: #3A3A3A; /* hero device frame bezel */
  --btm-button-height: 55px;  /* pill button height (2026-08 revision) */

  /* --- Layout system (spec 6.2) ------------------------------------------ */
  --btm-container-sm: 720px;
  --btm-container-md: 960px;
  --btm-container-lg: 1200px;
  --btm-gutter: 24px;

  /* Minimum hit area for interactive controls (WCAG 2.5.5 best practice).
     Buttons and tap targets read this, not a raw 44px. */
  --btm-tap-target: 44px;

  --btm-section-x: 40px;    /* side padding, desktop */
  --btm-section-y: 100px;   /* vertical section padding, desktop */
  --btm-section-gap: 80px;  /* heading to content, desktop */

  /* The signature asymmetry, applied above 1024px only. 2026-08 design
     revision: the Figma homepage drops the right services column 64px.
     The work column was measured at 112px in that frame, but on
     2026-08-23 the design team asked for the work grid to stagger the
     same way as the services grid, so both tokens now carry 64px; the
     second token stays so the two can be tuned apart again. */
  --btm-stagger-services: 64px;
  --btm-stagger-showcase: 64px;

  /* --- Effects ----------------------------------------------------------- */
  --btm-shadow-xs: 0 1px 2px rgba(43, 42, 43, 0.06);
  --btm-shadow-sm: 0 2px 6px rgba(43, 42, 43, 0.08);
  --btm-shadow-md: 0 6px 18px rgba(43, 42, 43, 0.10);
  --btm-shadow-lg: 0 16px 40px rgba(43, 42, 43, 0.14);
  --btm-shadow-xl: 0 28px 64px rgba(43, 42, 43, 0.18);
  --btm-ring-focus: 0 0 0 3px rgba(111, 169, 188, 0.55);

  --btm-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --btm-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --btm-transition-fast: 120ms var(--btm-ease-standard);
  --btm-transition-base: 200ms var(--btm-ease-standard);
  --btm-transition-slow: 320ms var(--btm-ease-out);
}

/* Layout system steps down at the reference's two breakpoints. */
@media (max-width: 1024px) {
  :root {
    --btm-section-x: 32px;
    --btm-section-y: 80px;
    --btm-section-gap: 60px;
    --btm-stagger-services: 0px;
    --btm-stagger-showcase: 0px;
  }
}

@media (max-width: 767px) {
  :root {
    --btm-section-x: 24px;
    --btm-section-y: 60px;
    --btm-section-gap: 40px;
  }
}
