/* ==========================================================================
   Shenachie — design tokens
   Extracted from actual usage across the 32 design pages, not the Design
   System sheet (the two had drifted; see build-spec/00-README.md).
   ========================================================================== */

:root {

  /* --- Colour ----------------------------------------------------------- */

  --c-yellow:      #FDF391;   /* primary accent — 776 uses sitewide          */
  --c-ink:         #231F20;   /* page background, text on light — 522 uses   */
  --c-body-light:  #565153;   /* body copy on yellow/light — 225 uses        */
  --c-black:       #0A0A0A;   /* photo bands, overlays — 117 uses            */
  --c-white:       #FFFFFF;
  --c-mist:        #EEEDEA;   /* light surface                               */
  --c-muted:       #8A8587;   /* captions, small print                       */
  --c-card:        #2C2829;   /* card / image-well base                      */

  /* Section-specific darks used verbatim in the design */
  --c-void:        #0D0C0C;   /* AIOS page background                        */
  --c-forest:      #1A2420;   /* "Why choose us" band                        */
  --c-slate-blue:  #1C2530;   /* "Our websites" band                         */
  --c-tile:        #1A1718;   /* service tile fallback                       */
  --c-hero-base:   #2C2621;   /* hero background before image loads          */

  /* Text ramp on dark.
     The design used eleven different white opacities; collapsed to four. */
  --t-1: rgba(255,255,255,0.85);  /* emphasis / lead paragraphs              */
  --t-2: rgba(255,255,255,0.75);  /* standard body copy                      */
  --t-3: rgba(255,255,255,0.55);  /* meta, captions, secondary labels        */
  --t-4: rgba(255,255,255,0.42);  /* faint / disabled                        */

  --hairline:      rgba(255,255,255,0.14);
  --border-soft:   rgba(255,255,255,0.20);
  --border-ghost:  rgba(255,255,255,0.30);

  /* Glass surfaces — undocumented in the style sheet but used 12+ times */
  --glass-fill:    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  --glass-border:  1px solid rgba(255,255,255,0.10);
  --glass-hover:   rgba(253,243,145,0.50);

  /* --- Type ------------------------------------------------------------- */

  --f-display: 'League Spartan', sans-serif;  /* headings, buttons, numbers  */
  --f-body:    'Quicksand', sans-serif;       /* body, UI, captions          */

  /* Fluid scale, preserving the design's own clamp() expressions */
  --fs-hero:      clamp(38px, 7vw, 74px);
  --fs-h1:        clamp(32px, 5.6vw, 64px);
  --fs-h2:        clamp(28px, 4vw, 44px);
  --fs-h2-sm:     clamp(26px, 3.6vw, 42px);
  --fs-h3:        clamp(24px, 3.2vw, 34px);
  --fs-quote:     clamp(19px, 2.4vw, 26px);
  --fs-standfirst: 20px;
  --fs-body:      17px;
  --fs-small:     16px;
  --fs-caption:   14px;
  --fs-eyebrow:   13px;

  --lh-tight:  0.9;
  --lh-head:   1.05;
  --lh-body:   1.8;
  --lh-copy:   1.65;

  --ls-eyebrow: 0.2em;
  --ls-button:  0.03em;
  --ls-pill:    0.16em;

  /* --- Space & layout --------------------------------------------------- */

  --gutter:    7vw;    /* horizontal padding on every section, no exceptions */
  --nav-h:     88px;
  --scroll-offset: 130px;

  --w-wide:    1180px; /* blog grids                                        */
  --w-content: 1120px; /* standard section wrapper                          */
  --w-list:    1080px;
  --w-narrow:  1000px;
  --w-legals:  980px;
  --w-prose:   900px;
  --w-measure: 756px;  /* article column — matches theme.json contentSize    */

  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   18px;
  --r-2xl:  20px;
  --r-pill: 999px;

  --shadow-card: 0 18px 40px rgba(0,0,0,0.40);
  --shadow-deep: 0 40px 120px rgba(0,0,0,0.60);

  /* --- Motion ----------------------------------------------------------- */

  --t-fast:   0.16s ease;
  --t-mid:    0.22s ease;
  --t-slow:   0.5s cubic-bezier(0.4, 0, 0.2, 1);   /* nav CTA colour flip    */
  --t-reveal: 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-logo:   0.7s cubic-bezier(0.4, 0, 0.2, 1);   /* logo rotateY           */
}

/* Breakpoints are 1024 / 768 / 520. Custom properties can't be used in media
   queries, so they're written literally throughout layout.css. Listed here so
   there is one place that records them. */

@media (prefers-reduced-motion: reduce) {
  :root {
    --t-fast: 0s; --t-mid: 0s; --t-slow: 0s; --t-reveal: 0s; --t-logo: 0s;
  }
}
