/* tokens/fonts.css */
/* Requiem Autoworks — webfonts, self-hosted.
   Sora (display / UI, 300-800) and Space Mono (labels, prices, eyebrows,
   400/700). Both are SIL Open Font License 1.1; the licenses ship beside the
   binaries in assets/fonts/ and must travel with them.

   These were CDN-loaded from Google Fonts until 27 July 2026. Self-hosting
   removes a third-party request from the critical path, removes a privacy
   footnote, and removes the render delay caused by a CSS @import for fonts
   resolving behind the stylesheet parse. Nothing about the type changes.

   Latin subset only — the brand publishes in English. If a surface ever needs
   latin-ext, add the extended woff2 files beside these and a second @font-face
   block per weight; do not widen the unicode-range on these.

   A production build should still add:
     <link rel="preload" as="font" type="font/woff2" crossorigin
           href="assets/fonts/sora-latin-700-normal.woff2">
   for the one or two faces that paint above the fold. */

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/sora-latin-300-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/sora-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/sora-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/sora-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/sora-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/sora-latin-800-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/space-mono-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/space-mono-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* tokens/colors.css */
/* ============================================================
   Requiem Autoworks — Color
   Three materials: INK (near-black), GOLD (the mark), BONE/PLATINUM (paper & type).
   Nothing else. No secondary hue, no semantic red/green/blue set — the brand
   has never needed one, and adding one would dilute the gold.
   ============================================================ */

:root {
  /* ---- Base palette (raw materials, theme-independent) ---- */
  --rq-ink:            #0D0D0F;  /* page ink — the brand's ground             */
  --rq-ink-raised:     #141419;  /* cards, panels on ink                      */
  --rq-ink-band:       #16161D;  /* alternate section band on ink             */
  --rq-ink-hairline:   #20202A;  /* 1px borders on ink                        */
  --rq-graphite:       #16151A;  /* body text on bone                         */
  --rq-on-gold:        #14130F;  /* text/icons sitting on a gold fill         */
  --rq-on-gold-muted:  #3D3318;  /* secondary text on a gold fill             */

  --rq-gold:           #D8AA3E;  /* oklch(0.79 0.12 85) — THE mark colour     */
  --rq-gold-deep:      #C79A33;  /* oklch(0.76 0.13 80) — gold fill on bone   */
  --rq-gold-lift:      #E0B445;  /* oklch(0.83 0.13 85) — gold TEXT on ink    */
  --rq-gold-sink:      #936F1E;  /* oklch(0.58 0.12 72) — gold TEXT on bone   */

  --rq-platinum:       #F4F3F0;  /* type on ink                               */
  --rq-bone:           #F4F2EC;  /* page bone — the light ground              */
  --rq-bone-raised:    #FFFFFF;  /* cards on bone                             */
  --rq-bone-band:      #FAF9F5;  /* alternate band on bone                    */
  --rq-bone-hairline:  #E4E0D6;  /* 1px borders on bone                       */
  --rq-board:          #E8E5DD;  /* presentation / spec-board background      */

  --rq-grey:           #9A958C;  /* secondary type on ink                     */
  --rq-grey-deep:      #6B675F;  /* secondary type on bone                    */
  --rq-faint-on-ink:   #6A665E;  /* captions, footer, labels on ink           */
  --rq-faint-on-bone:  #A8A39A;  /* captions, footer, labels on bone          */
}

/* ---- Semantic aliases. Dark is the default; the brand is dark-first. ---- */
:root,
[data-theme="dark"] {
  --rq-bg:           var(--rq-ink);
  --rq-surface:      var(--rq-ink-raised);
  --rq-surface-2:    var(--rq-ink-band);
  --rq-border:       var(--rq-ink-hairline);
  --rq-text:         var(--rq-platinum);
  --rq-muted:        var(--rq-grey);
  --rq-faint:        var(--rq-faint-on-ink);
  --rq-accent:       var(--rq-gold);       /* fills, buttons, the mark        */
  --rq-accent-text:  var(--rq-gold-lift);  /* gold used as small text/icon    */
  --rq-on-accent:    var(--rq-on-gold);
  --rq-nav-bg:       rgba(13, 13, 15, 0.82);
}

[data-theme="light"] {
  --rq-bg:           var(--rq-bone);
  --rq-surface:      var(--rq-bone-raised);
  --rq-surface-2:    var(--rq-bone-band);
  --rq-border:       var(--rq-bone-hairline);
  --rq-text:         var(--rq-graphite);
  --rq-muted:        var(--rq-grey-deep);
  --rq-faint:        var(--rq-faint-on-bone);
  --rq-accent:       var(--rq-gold-deep);
  --rq-accent-text:  var(--rq-gold-sink);
  --rq-on-accent:    var(--rq-on-gold);
  --rq-nav-bg:       rgba(244, 242, 236, 0.85);
}

/* tokens/typography.css */
/* ============================================================
   Requiem Autoworks — Type
   Two families only. Sora carries every human-readable sentence;
   Space Mono carries every machine-ish label (eyebrows, prices, legal,
   nav, attributions). Never a third family.
   ============================================================ */

:root {
  --rq-font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --rq-font-mono:    'Space Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Weights actually used */
  --rq-weight-light:    300;  /* pull quotes only            */
  --rq-weight-regular:  400;  /* body                        */
  --rq-weight-medium:   500;
  --rq-weight-semibold: 600;  /* card headings                */
  --rq-weight-bold:     700;  /* section headings, buttons    */
  --rq-weight-black:    800;  /* hero / display               */

  /* Display scale — Sora */
  --rq-text-hero:      66px;  /* 800 / -0.03em  / 1.0   */
  --rq-text-display:   46px;  /* 700 / -0.02em  / 1.02  */
  --rq-text-cta:       40px;  /* 800 / -0.025em         */
  --rq-text-h2:        38px;  /* 700 / -0.02em  / 1.08  */
  --rq-text-h2-tight:  32px;  /* 700 / -0.02em          */
  --rq-text-quote:     26px;  /* 300 / -0.01em  / 1.4   */
  --rq-text-h3:        18px;  /* 600                    */
  --rq-text-h3-sm:     17px;  /* 600                    */

  /* Body — Sora */
  --rq-text-lead:      17px;  /* 400 / 1.6   hero sub    */
  --rq-text-cta-body:  15px;  /* 400 / 1.55              */
  --rq-text-body:      14px;  /* 400 / 1.65              */
  --rq-text-list:    13.5px;  /* 400  checklist rows     */
  --rq-text-card:      13px;  /* 400 / 1.6   card blurb  */
  --rq-text-footer:  12.5px;  /* 400 / 1.6               */

  /* Labels — Space Mono, always uppercase */
  --rq-text-label:     12px;  /* marquee, step numbers   */
  --rq-text-label-sm:  11px;  /* eyebrows, nav, prices   */
  --rq-text-label-xs:  10px;  /* legal, badges           */

  /* Tracking. Mono labels are ALWAYS tracked out; display type is
     ALWAYS tracked in. This contrast is the type system's whole idea. */
  --rq-track-hero:    -0.03em;
  --rq-track-display: -0.02em;
  --rq-track-quote:   -0.01em;
  --rq-track-legal:    0.12em;
  --rq-track-nav:      0.14em;
  --rq-track-wordmark: 0.20em;  /* "REQUIEM" in the lockup           */
  --rq-track-label:    0.22em;  /* marquee                            */
  --rq-track-eyebrow:  0.26em;  /* section eyebrows                   */
  --rq-track-hero-eye: 0.30em;  /* hero eyebrow, widest               */
  --rq-track-sub:      0.40em;  /* "AUTOWORKS" under the wordmark     */

  /* Line heights */
  --rq-leading-flush: 1.0;
  --rq-leading-tight: 1.08;
  --rq-leading-snug:  1.4;
  --rq-leading-body:  1.6;
  --rq-leading-relaxed: 1.65;
  --rq-leading-mono:  2.3;  /* stacked mono footer lists */
}

/* tokens/spacing.css */
/* ============================================================
   Requiem Autoworks — Spacing & layout
   Loose 2px-tolerant rhythm, NOT snapped to a 4/8 grid. The real
   design uses 13px, 22px, 26px, 46px, 62px — keep those exact values.
   ============================================================ */

:root {
  --rq-space-1:   6px;
  --rq-space-2:  10px;
  --rq-space-3:  13px;   /* button pair gap, checklist row gap  */
  --rq-space-4:  16px;
  --rq-space-5:  22px;   /* services grid gap, icon->title      */
  --rq-space-6:  26px;
  --rq-space-7:  32px;
  --rq-space-8:  40px;   /* page horizontal padding             */
  --rq-space-9:  46px;   /* heading -> grid                     */
  --rq-space-10: 56px;
  --rq-space-11: 72px;
  --rq-space-12: 90px;   /* section vertical padding            */

  /* Layout */
  --rq-content-max:   1240px;  /* every section's inner width    */
  --rq-prose-max:      900px;  /* pull-quote band                */
  --rq-measure-lead:   450px;  /* hero sub                       */
  --rq-measure-body:   440px;  /* panel paragraph                */
  --rq-gutter:          40px;  /* horizontal page padding        */
  --rq-section-y:       90px;  /* vertical section padding        */
  --rq-section-y-tight: 80px;

  /* Chrome */
  --rq-nav-py:          15px;
  --rq-hairline:         1px;
  --rq-rule-accent:      2px;  /* process-step top border        */
}

/* tokens/radius.css */
/* ============================================================
   Requiem Autoworks — Radius
   Two ideas: soft-square containers (12-18px) and true pills for
   anything clickable. Never sharp corners, never a half-pill.
   ============================================================ */

:root {
  --rq-radius-badge:  12px;  /* floating warranty badge         */
  --rq-radius-card:   14px;  /* service cards, images           */
  --rq-radius-panel:  18px;  /* large panels / bands            */
  --rq-radius-pill:   22px;  /* nav button                      */
  --rq-radius-pill-md: 26px; /* hero buttons                    */
  --rq-radius-pill-lg: 30px; /* CTA button                      */
  --rq-radius-round:   50%;  /* icon buttons, avatars, the mark  */
}

/* tokens/effects.css */
/* ============================================================
   Requiem Autoworks — Shadow, blur, motion
   The brand uses almost no shadow. Depth comes from a 1px hairline
   and a change of surface, not from elevation. The one real shadow
   is the floating hero badge.
   ============================================================ */

:root {
  --rq-shadow-none:  none;
  --rq-shadow-float: 0 16px 30px rgba(0,0,0,0.4), inset 0 0 0 1px #20202A;
  --rq-shadow-board: 0 10px 34px rgba(20,19,15,0.20);  /* spec boards only */

  --rq-blur-nav: blur(12px);

  /* Motion. One easing, short durations, no bounce, no spring. */
  --rq-ease:            cubic-bezier(0.4, 0, 0.2, 1);
  --rq-duration-fast:   140ms;
  --rq-duration-base:   220ms;
  --rq-marquee-duration: 28s;   /* linear, infinite, translateX 0 -> -50% */
}

@keyframes rq-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* styles.css */

/* ============================================================
   Responsive
   Desktop is authored at 1240px. These four breakpoints are the whole
   responsive system — there are no others, and no component invents its
   own. Rules carry !important because the components are authored with inline
   style={{}} objects, and an inline style beats a stylesheet rule.

   This comment used to claim the !important "comes back out in a compiled
   build". It does not, and cannot: a faithful build preserves the inline
   styles, so production inherits every !important here. That was wrong in this
   file for a week after it was corrected in ui_kits/website/README.md, which is
   its own lesson — fix the comment in the file people actually open.

   Consequence: the responsive layer is currently unoverridable, and any rule
   that needs to beat a breakpoint rule needs its own !important. The way out is
   moving component styles from style={{}} to classes, not editing this note.

   1000px  services 3 -> 2, process 4 -> 2, both spanning cards unstack
    860px  everything to one column, display type steps down, gutter 26
    720px  nav collapses to a MENU disclosure, footer to one column
    520px  hero type steps down again, gutter 22, hero buttons stack
   ============================================================ */

/* Every control is authored at width: 100% with padding and a border, so
   without this reset Input, Textarea and Select overflow their field on any
   page that did not set it itself. The site kit set it in its own <style>;
   nothing else did (Claude Design sync finding, 22 September 2026). It
   belongs here, where every consumer gets it. */
*, *::before, *::after { box-sizing: border-box; }

.rq-nav-mobile { display: none; }

/* The marquee is the only continuous animation in the brand, and it is
   decorative. Honour a stated preference for less motion — this belongs at
   source, not in whatever pipeline happens to build the site. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Collapsing the animation to 0.01ms leaves the marquee frozen at
     translateX(-50%) with half its items clipped off the left edge — motion
     suppressed, content destroyed. Under reduced motion the strip stops being
     a strip: the track wraps and centres as a static list, and the pause
     control has nothing left to pause. */
  .rq-marquee > div { animation: none !important; width: auto !important; flex-wrap: wrap !important; justify-content: center !important; }
  .rq-marquee-pause { display: none !important; }
}

/* The pause control sits over the strip's right edge. Below 720px the strip is
   narrow enough that an overlaid control eats the content, so it moves to a
   full-width row under it. */
@media (max-width: 720px) {
  .rq-marquee-pause { position: static !important; transform: none !important; display: block !important; margin: 13px auto 0 !important; }
}

/* The split service card: the blurb occupies both rows of its column so the
   price lands directly under the title instead of waiting for the blurb's
   height. Inert once .rq-split collapses to display:block at 1000px. */
.rq-split > .rq-blurb { grid-row: span 2; }


@media (max-width: 1000px) {
  .rq-services { grid-template-columns: repeat(2, 1fr) !important; }
  .rq-span-2, .rq-span-3 { grid-column: span 2 !important; }
  .rq-split, .rq-wide { display: block !important; }
  .rq-wide .rq-icon { margin-bottom: 22px !important; }
  .rq-wide .rq-blurb { margin-top: 16px !important; }
  .rq-split > .rq-blurb { margin-bottom: 16px !important; }
  .rq-process { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 1000px) {
  .rq-quote-grid { grid-template-columns: 1fr !important; gap: 46px !important; }
}

@media (max-width: 860px) {
  .rq-sec-quote { padding: 62px var(--rq-gutter) !important; }
  .rq-form-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 860px) {
  :root {
    --rq-text-hero: 44px;
    --rq-text-display: 34px;
    --rq-text-cta: 30px;
    --rq-text-h2: 30px;
    --rq-text-h2-tight: 26px;
    --rq-text-quote: 21px;
    --rq-gutter: 26px;
  }
  .rq-hero { grid-template-columns: 1fr !important; gap: 46px !important; }
  .rq-hero-photo { height: 320px !important; }
  .rq-why { grid-template-columns: 1fr !important; }
  .rq-why-photo { height: 260px !important; }
  .rq-why-body { padding: 26px 26px 46px !important; }
  .rq-services { grid-template-columns: 1fr !important; }
  .rq-span-2, .rq-span-3 { grid-column: span 1 !important; }
  .rq-sec-hero { padding: 46px var(--rq-gutter) 56px !important; }
  .rq-sec-services { padding: 62px var(--rq-gutter) 22px !important; }
  .rq-sec-why { padding: 56px var(--rq-gutter) !important; }
  .rq-sec-process { padding: 22px var(--rq-gutter) 62px !important; }
  .rq-quote-inner, .rq-cta-inner { padding: 62px var(--rq-gutter) !important; }
  .rq-footer { grid-template-columns: 1fr 1fr !important; row-gap: 46px !important; }
  .rq-heading { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
  .rq-heading-note { white-space: normal !important; }
  .rq-heading-h2 { font-size: var(--rq-text-h2) !important; }
}

@media (max-width: 720px) {
  .rq-nav-desktop { display: none !important; }
  .rq-nav-mobile { display: flex !important; }
  .rq-process { grid-template-columns: 1fr !important; }
  .rq-footer { grid-template-columns: 1fr !important; }
  .rq-legal { flex-direction: column !important; gap: 10px !important; align-items: flex-start !important; }
}

@media (max-width: 520px) {
  :root { --rq-text-hero: 38px; --rq-text-cta: 26px; --rq-gutter: 22px; }
  .rq-hero-cta { flex-direction: column !important; align-items: stretch !important; }
  .rq-hero-cta > * { justify-content: center !important; }
}
