/*
 * Theme Name:        Patina Futura
 * Theme URI:         https://patinafutura.com
 * Description:       Custom WordPress theme for Patina Futura
 *                    consulting practice. Platinum + Copper + Cyan
 *                    design system. WCAG 2.1 AAA. ADA compliant.
 *                    GDPR compliant. Zero dependencies.
 * Version:           1.0.0
 * Author:            Patina Futura
 * Author URI:        https://patinafutura.com
 * License:           Private — All Rights Reserved
 * Text Domain:       patina-futura
 * Tags:              consulting, custom, accessibility, gdpr
 */
/* ═══════════════════════════════════════════════════════════════
   TABLE OF CONTENTS
   ═══════════════════════════════════════════════════════════════
   01. DESIGN TOKENS
       01a. Color System
       01b. Typography Scale
       01c. Spacing System
       01d. Motion System
       01e. Shadow System
       01f. Border System
       01g. Z-Index System
   02. LIGHT MODE OVERRIDES
   03. CSS RESET + BASE
   04. TYPOGRAPHY BASE
   05. FOCUS SYSTEM (ADA)
   06. SKIP NAVIGATION (ADA)
   07. SCREEN READER UTILITIES (ADA)
   08. LAYOUT PRIMITIVES
       08a. Container
       08b. Grid
       08c. Stack
       08d. Cluster
   09. COMPONENT PRIMITIVES
       09a. Buttons
       09b. Cards
       09c. Form Elements
       09d. Badges / Labels
   10. UTILITY CLASSES
   11. REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   01. DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* ── 01a. COLOR SYSTEM ─────────────────────────────────────── */
  /* Foundation — Dark */
  --pf-obsidian:            #0A0A0F;
  --pf-surface:             #12121A;
  --pf-surface-2:           #1A1A26;
  --pf-surface-3:           #222232;
  --pf-border:              #1E1E2E;
  --pf-border-visible:      #2E2E42;
  --pf-border-strong:       #3E3E58;
  /* Foundation — Light */
  --pf-white:               #F8F9FF;
  --pf-off-white:           #EEEEF4;
  --pf-light-surface:       #E4E4EE;
  --pf-light-surface-2:     #D8D8E8;
  --pf-light-border:        #C8C8DA;
  --pf-light-border-strong: #A8A8BC;
  /* Typography — Dark Mode */
  --pf-text-primary:        #F8F9FF;   /* 18.9:1 on obsidian ✅ AAA */
  --pf-text-secondary:      #A8A8B8;   /*  5.8:1 on obsidian ✅ AA  */
  --pf-text-tertiary:       #6E6E82;   /*  3.2:1 on obsidian ✅ AA large */
  --pf-text-disabled:       #3E3E52;
  /* Typography — Light Mode */
  --pf-text-dark:           #0A0A0F;   /* 18.9:1 on white ✅ AAA */
  --pf-text-dark-sec:       #3A3A4E;   /*  9.1:1 on white ✅ AAA */
  --pf-text-dark-ter:       #6A6A7E;   /*  4.6:1 on white ✅ AA  */
  /* PATINA — Platinum (Earned Authority) */
  --pf-platinum:            #C8CAD4;   /* 11.2:1 on obsidian ✅ AAA */
  --pf-platinum-bright:     #E8EAEF;   /* 15.1:1 on obsidian ✅ AAA */
  --pf-platinum-muted:      #8E9099;   /*  4.6:1 on obsidian ✅ AA  */
  --pf-platinum-dim:        #5E6068;   /*  2.8:1 on obsidian — decorative only */
  --pf-platinum-tint:       #C8CAD408;
  --pf-platinum-tint-2:     #C8CAD412;
  --pf-platinum-border:     #C8CAD420;
  --pf-platinum-border-2:   #C8CAD440;
  /* ORIGIN — Copper (Human Raw Material) */
  --pf-copper:              #E8732A;   /*  6.8:1 on obsidian ✅ AAA */
  --pf-copper-bright:       #F08040;   /*  7.9:1 on obsidian ✅ AAA */
  --pf-copper-deep:         #C45E1E;   /*  5.1:1 on obsidian ✅ AA  */
  --pf-copper-muted:        #A04E18;   /*  3.8:1 on obsidian ✅ AA large */
  --pf-copper-tint:         #E8732A0D;
  --pf-copper-tint-2:       #E8732A18;
  --pf-copper-glow:         #E8732A24;
  --pf-copper-border:       #E8732A30;
  --pf-copper-border-2:     #E8732A50;
  /* FUTURA — Cyan (Future Precision) */
  --pf-cyan:                #00D4FF;   /* 10.2:1 on obsidian ✅ AAA */
  --pf-cyan-bright:         #40DEFF;   /* 11.4:1 on obsidian ✅ AAA */
  --pf-cyan-deep:           #00A8CC;   /*  7.3:1 on obsidian ✅ AAA */
  --pf-cyan-muted:          #007A99;   /*  4.5:1 on obsidian ✅ AA  */
  --pf-cyan-tint:           #00D4FF0D;
  --pf-cyan-tint-2:         #00D4FF18;
  --pf-cyan-glow:           #00D4FF24;
  --pf-cyan-border:         #00D4FF30;
  --pf-cyan-border-2:       #00D4FF50;
  /* Semantic — Functional */
  --pf-success:             #00C48C;   /*  8.1:1 on obsidian ✅ AAA */
  --pf-success-tint:        #00C48C18;
  --pf-warning:             #FFB800;   /* 10.4:1 on obsidian ✅ AAA */
  --pf-warning-tint:        #FFB80018;
  --pf-error:               #FF453A;   /*  5.2:1 on obsidian ✅ AA  */
  --pf-error-tint:          #FF453A18;
  /* Focus — ADA */
  --pf-focus:               #00D4FF;
  --pf-focus-ring:          0 0 0 2px #0A0A0F, 0 0 0 4px #00D4FF;
  --pf-focus-ring-light:    0 0 0 2px #F8F9FF, 0 0 0 4px #00D4FF;
  /* ── 01b. TYPOGRAPHY SCALE ─────────────────────────────────── */
  /* Font Families */
  --pf-font-display:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --pf-font-body:       'Inter', -apple-system, BlinkMacSystemFont,
                        'Segoe UI', Helvetica, Arial, sans-serif;
  --pf-font-mono:       'SF Mono', 'Fira Code', 'Fira Mono',
                        'Roboto Mono', monospace;
  /* Font Sizes — rem only */
  --pf-text-xs:         0.6875rem;   /* 11px */
  --pf-text-sm:         0.75rem;     /* 12px */
  --pf-text-base-sm:    0.875rem;    /* 14px */
  --pf-text-base:       1rem;        /* 16px — minimum body */
  --pf-text-md:         1.125rem;    /* 18px */
  --pf-text-lg:         1.25rem;     /* 20px */
  --pf-text-xl:         1.5rem;      /* 24px */
  --pf-text-2xl:        1.875rem;    /* 30px */
  --pf-text-3xl:        2.25rem;     /* 36px */
  --pf-text-4xl:        3rem;        /* 48px */
  --pf-text-5xl:        3.75rem;     /* 60px */
  --pf-text-display:    clamp(3rem, 6vw, 5rem);
  --pf-text-hero:       clamp(3.5rem, 8vw, 6.5rem);
  /* Font Weights */
  --pf-weight-light:    300;
  --pf-weight-regular:  400;
  --pf-weight-medium:   500;
  --pf-weight-semibold: 600;
  --pf-weight-bold:     700;
  /* Line Heights */
  --pf-leading-none:    1;
  --pf-leading-tight:   1.1;
  --pf-leading-snug:    1.2;
  --pf-leading-normal:  1.4;
  --pf-leading-relaxed: 1.6;
  --pf-leading-loose:   1.7;   /* Body copy — exceeds WCAG 1.5 ✅ */
  /* Letter Spacing */
  --pf-tracking-tight:  -0.03em;
  --pf-tracking-snug:   -0.02em;
  --pf-tracking-normal:  0em;
  --pf-tracking-wide:    0.04em;
  --pf-tracking-wider:   0.08em;
  --pf-tracking-widest:  0.16em;
  /* Max Widths — Typography */
  --pf-prose-width:     68ch;    /* Readable body text */
  --pf-prose-narrow:    52ch;    /* Tight editorial */
  --pf-prose-wide:      80ch;    /* Wide body */
  /* ── 01c. SPACING SYSTEM ───────────────────────────────────── */
  /* Base: 8px grid */
  --pf-space-px:        1px;
  --pf-space-0-5:       0.125rem;   /* 2px  */
  --pf-space-1:         0.25rem;    /* 4px  */
  --pf-space-2:         0.5rem;     /* 8px  */
  --pf-space-3:         0.75rem;    /* 12px */
  --pf-space-4:         1rem;       /* 16px */
  --pf-space-5:         1.25rem;    /* 20px */
  --pf-space-6:         1.5rem;     /* 24px */
  --pf-space-7:         1.75rem;    /* 28px */
  --pf-space-8:         2rem;       /* 32px */
  --pf-space-10:        2.5rem;     /* 40px */
  --pf-space-12:        3rem;       /* 48px */
  --pf-space-14:        3.5rem;     /* 56px */
  --pf-space-16:        4rem;       /* 64px */
  --pf-space-20:        5rem;       /* 80px */
  --pf-space-24:        6rem;       /* 96px */
  --pf-space-28:        7rem;       /* 112px */
  --pf-space-32:        8rem;       /* 128px */
  --pf-space-40:        10rem;      /* 160px */
  /* Semantic Spacing */
  --pf-section-y:       clamp(4rem, 8vw, 7rem);
  --pf-section-x:       clamp(1.5rem, 5vw, 4rem);
  --pf-card-padding:    clamp(1.5rem, 3vw, 2.5rem);
  --pf-nav-height:      4.5rem;
  /* Layout */
  --pf-max-width:       75rem;      /* 1200px */
  --pf-max-width-wide:  90rem;      /* 1440px */
  --pf-grid-gap:        2rem;
  --pf-grid-gap-sm:     1rem;
  /* ── 01d. MOTION SYSTEM ────────────────────────────────────── */
  /* Easing */
  --pf-ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --pf-ease-in:         cubic-bezier(0.7, 0, 0.84, 0);
  --pf-ease-in-out:     cubic-bezier(0.45, 0, 0.55, 1);
  --pf-ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --pf-ease-linear:     linear;
  /* Durations */
  --pf-duration-instant: 0ms;
  --pf-duration-fast:    150ms;
  --pf-duration-base:    250ms;
  --pf-duration-slow:    400ms;
  --pf-duration-slower:  600ms;
  --pf-duration-slowest: 900ms;
  /* ── 01e. SHADOW SYSTEM ────────────────────────────────────── */
  --pf-shadow-sm:
    0 1px 2px rgba(0, 0, 0, 0.4);
  --pf-shadow-md:
    0 4px 16px rgba(0, 0, 0, 0.5),
    0 1px 4px rgba(0, 0, 0, 0.3);
  --pf-shadow-lg:
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 2px 8px rgba(0, 0, 0, 0.4);
  --pf-shadow-xl:
    0 16px 64px rgba(0, 0, 0, 0.7),
    0 4px 16px rgba(0, 0, 0, 0.4);
  --pf-shadow-cyan:
    0 0 20px rgba(0, 212, 255, 0.15),
    0 0 60px rgba(0, 212, 255, 0.08);
  --pf-shadow-copper:
    0 0 20px rgba(232, 115, 42, 0.15),
    0 0 60px rgba(232, 115, 42, 0.08);
  --pf-shadow-platinum:
    0 0 20px rgba(200, 202, 212, 0.10),
    0 0 60px rgba(200, 202, 212, 0.05);
  /* ── 01f. BORDER SYSTEM ────────────────────────────────────── */
  --pf-radius-none:     0;
  --pf-radius-sm:       2px;    /* Inputs, buttons — precision */
  --pf-radius-md:       4px;    /* Cards */
  --pf-radius-lg:       8px;    /* Modals, panels */
  --pf-radius-xl:       12px;   /* Large containers */
  --pf-radius-full:     9999px; /* Pills, badges */
  --pf-border-width:    1px;
  --pf-border-width-2:  2px;
  /* ── 01g. Z-INDEX SYSTEM ───────────────────────────────────── */
  --pf-z-below:         -1;
  --pf-z-base:           0;
  --pf-z-raised:         10;
  --pf-z-dropdown:       100;
  --pf-z-sticky:         200;
  --pf-z-overlay:        300;
  --pf-z-modal:          400;
  --pf-z-toast:          500;
  --pf-z-tooltip:        600;
}
/* ═══════════════════════════════════════════════════════════════
   02. LIGHT MODE OVERRIDES
   ═══════════════════════════════════════════════════════════════ */
/*
 * Default is DARK MODE (primary designed experience)
 * Light mode activates via:
 * 1. OS preference: prefers-color-scheme: light
 * 2. Manual toggle: [data-theme="light"] on <html>
 */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --pf-bg-primary:        var(--pf-white);
    --pf-bg-surface:        var(--pf-off-white);
    --pf-bg-surface-2:      var(--pf-light-surface);
    --pf-bg-border:         var(--pf-light-border);
    --pf-bg-border-visible: var(--pf-light-border-strong);
    --pf-fg-primary:        var(--pf-text-dark);
    --pf-fg-secondary:      var(--pf-text-dark-sec);
    --pf-fg-tertiary:       var(--pf-text-dark-ter);
    --pf-shadow-md:
      0 4px 16px rgba(0, 0, 0, 0.12),
      0 1px 4px rgba(0, 0, 0, 0.08);
    --pf-focus-ring:        var(--pf-focus-ring-light);
  }
}
[data-theme="light"] {
  --pf-bg-primary:          var(--pf-white);
  --pf-bg-surface:          var(--pf-off-white);
  --pf-bg-surface-2:        var(--pf-light-surface);
  --pf-bg-border:           var(--pf-light-border);
  --pf-bg-border-visible:   var(--pf-light-border-strong);
  --pf-fg-primary:          var(--pf-text-dark);
  --pf-fg-secondary:        var(--pf-text-dark-sec);
  --pf-fg-tertiary:         var(--pf-text-dark-ter);
  --pf-shadow-md:
    0 4px 16px rgba(0, 0, 0, 0.12),
    0 1px 4px rgba(0, 0, 0, 0.08);
  --pf-focus-ring:          var(--pf-focus-ring-light);
}
/* Dark mode semantic aliases (default) */
:root {
  --pf-bg-primary:          var(--pf-obsidian);
  --pf-bg-surface:          var(--pf-surface);
  --pf-bg-surface-2:        var(--pf-surface-2);
  --pf-bg-border:           var(--pf-border);
  --pf-bg-border-visible:   var(--pf-border-visible);
  --pf-fg-primary:          var(--pf-text-primary);
  --pf-fg-secondary:        var(--pf-text-secondary);
  --pf-fg-tertiary:         var(--pf-text-tertiary);
}
/* ═══════════════════════════════════════════════════════════════
   03. CSS RESET + BASE
   ═══════════════════════════════════════════════════════════════ */
/*
 * Modern CSS reset — Eric Meyer + Andy Bell approach
 * Opinionated where it serves our design system
 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 100%; /* Respects user browser font size ✅ */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
}
/* Smooth scroll only when motion is acceptable */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  font-family: var(--pf-font-body);
  font-size: var(--pf-text-base);
  font-weight: var(--pf-weight-regular);
  line-height: var(--pf-leading-loose);
  color: var(--pf-fg-primary);
  background-color: var(--pf-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport — mobile */
}
/* Remove default list styles when list 
   is given a role (navigation, etc.) */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}
/* Media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
img {
  border-style: none;
  /* Prevent images breaking layout */
  object-fit: cover;
}
/* Form element font inheritance */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}
textarea {
  resize: vertical; /* Only vertical resize */
}
/* Remove animations for users who prefer 
   reduced motion — base rule */
@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;
  }
}
/* Remove built-in form typography */
button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  cursor: pointer;
}
/* Prevent overflow issues */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  hyphens: auto;
}
/* Horizontal rule */
hr {
  border: none;
  border-top: 1px solid var(--pf-bg-border-visible);
  margin: var(--pf-space-8) 0;
}
/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
}
/* Abbreviations */
abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}
/* Strong */
strong, b {
  font-weight: var(--pf-weight-semibold);
}
/* Small */
small {
  font-size: var(--pf-text-sm);
}
/* WordPress body classes — ensure theme works */
.wp-site-blocks {
  padding: 0;
}
/* ═══════════════════════════════════════════════════════════════
   04. TYPOGRAPHY BASE
   ═══════════════════════════════════════════════════════════════ */
/* Headings — Playfair Display */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--pf-font-display);
  font-weight: var(--pf-weight-bold);
  line-height: var(--pf-leading-tight);
  letter-spacing: var(--pf-tracking-snug);
  color: var(--pf-fg-primary);
}
h1, .h1 {
  font-size: var(--pf-text-hero);
  letter-spacing: var(--pf-tracking-tight);
  line-height: var(--pf-leading-none);
}
h2, .h2 {
  font-size: var(--pf-text-display);
  letter-spacing: var(--pf-tracking-tight);
}
h3, .h3 {
  font-size: var(--pf-text-4xl);
  letter-spacing: var(--pf-tracking-snug);
}
h4, .h4 {
  font-size: var(--pf-text-2xl);
  font-weight: var(--pf-weight-medium);
}
h5, .h5 {
  font-size: var(--pf-text-xl);
  font-weight: var(--pf-weight-medium);
}
h6, .h6 {
  font-size: var(--pf-text-lg);
  font-weight: var(--pf-weight-medium);
}
/* Body copy */
p {
  font-family: var(--pf-font-body);
  font-size: var(--pf-text-base);
  line-height: var(--pf-leading-loose);
  color: var(--pf-fg-secondary);
  max-width: var(--pf-prose-width);
}
p + p {
  margin-top: var(--pf-space-4);
}
/* Lead paragraph */
.lead {
  font-size: var(--pf-text-lg);
  line-height: var(--pf-leading-relaxed);
  color: var(--pf-fg-primary);
  font-weight: var(--pf-weight-light);
  max-width: var(--pf-prose-wide);
}
/* Links */
a {
  color: var(--pf-cyan);
  text-decoration: underline;
  text-decoration-color: var(--pf-cyan-border);
  text-underline-offset: 3px;
  transition:
    color var(--pf-duration-fast) var(--pf-ease-out),
    text-decoration-color var(--pf-duration-fast) var(--pf-ease-out);
}
a:hover {
  color: var(--pf-cyan-bright);
  text-decoration-color: var(--pf-cyan);
}
a:visited {
  color: var(--pf-cyan-deep);
}
/* Navigation links — no underline */
nav a {
  text-decoration: none;
}
/* Section labels — Inter, tracked, small */
.label,
.eyebrow {
  font-family: var(--pf-font-body);
  font-size: var(--pf-text-xs);
  font-weight: var(--pf-weight-semibold);
  letter-spacing: var(--pf-tracking-widest);
  text-transform: uppercase;
  color: var(--pf-fg-tertiary);
}
/* Section label — colored variants */
.label--platinum { color: var(--pf-platinum-muted); }
.label--copper   { color: var(--pf-copper);         }
.label--cyan     { color: var(--pf-cyan);            }
/* Pull quote */
blockquote {
  font-family: var(--pf-font-display);
  font-size: var(--pf-text-2xl);
  font-style: italic;
  line-height: var(--pf-leading-snug);
  color: var(--pf-platinum);
  border-left: 2px solid var(--pf-platinum-border-2);
  padding-left: var(--pf-space-8);
  margin: var(--pf-space-10) 0;
}
/* Code */
code {
  font-family: var(--pf-font-mono);
  font-size: 0.875em;
  background: var(--pf-surface-2);
  border: 1px solid var(--pf-border-visible);
  border-radius: var(--pf-radius-sm);
  padding: 0.1em 0.4em;
}
/* Lists */
ul, ol {
  padding-left: var(--pf-space-6);
}
li {
  line-height: var(--pf-leading-relaxed);
  color: var(--pf-fg-secondary);
}
li + li {
  margin-top: var(--pf-space-2);
}
/* ═══════════════════════════════════════════════════════════════
   05. FOCUS SYSTEM (ADA — WCAG 2.1 + 2.2)
   ═══════════════════════════════════════════════════════════════ */
/*
 * WCAG 2.1 — 2.4.7: Focus Visible (AA)
 * WCAG 2.2 — 2.4.11: Focus Appearance (AA)
 *
 * Rules:
 * - Focus ring must have 3:1 contrast vs adjacent colors
 * - Never use outline: none without replacement
 * - Custom focus must be MORE visible than browser default
 */
/* Remove browser default only to replace it */
*:focus {
  outline: none;
}
/* Our focus ring — applied to all interactive elements */
*:focus-visible {
  outline: 2px solid var(--pf-focus);
  outline-offset: 3px;
  border-radius: var(--pf-radius-sm);
}
/* Focus ring variants for different contexts */
.focus-ring-inset:focus-visible {
  outline-offset: -3px;
}
.focus-ring-large:focus-visible {
  outline-width: 3px;
  outline-offset: 4px;
}
/* Button focus — double ring for maximum visibility */
button:focus-visible,
[role="button"]:focus-visible,
[type="button"]:focus-visible,
[type="submit"]:focus-visible,
[type="reset"]:focus-visible {
  outline: 2px solid var(--pf-focus);
  outline-offset: 3px;
  box-shadow: var(--pf-focus-ring);
}
/* Link focus */
a:focus-visible {
  outline: 2px solid var(--pf-focus);
  outline-offset: 3px;
  border-radius: 1px;
  text-decoration: none;
}
/* Input focus */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--pf-cyan) !important;
  box-shadow:
    0 0 0 3px var(--pf-cyan-glow),
    0 0 0 1px var(--pf-cyan);
}
/* Light mode focus adjustment */
[data-theme="light"] *:focus-visible,
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) *:focus-visible {
    box-shadow: var(--pf-focus-ring-light);
  }
}
/* ═══════════════════════════════════════════════════════════════
   06. SKIP NAVIGATION (ADA — WCAG 2.4.1)
   ═══════════════════════════════════════════════════════════════ */
/*
 * WCAG 2.1 — 2.4.1: Bypass Blocks (A)
 * Must be the first focusable element on every page.
 * Visually hidden until focused by keyboard user.
 */
.skip-nav {
  position: absolute;
  top: -100%;
  left: var(--pf-space-4);
  z-index: var(--pf-z-tooltip);
  padding: var(--pf-space-3) var(--pf-space-6);
  background: var(--pf-cyan);
  color: var(--pf-obsidian);
  font-family: var(--pf-font-body);
  font-size: var(--pf-text-base-sm);
  font-weight: var(--pf-weight-semibold);
  letter-spacing: var(--pf-tracking-wide);
  text-decoration: none;
  border-radius: var(--pf-radius-sm);
  border: 2px solid transparent;
  transition: top var(--pf-duration-fast) var(--pf-ease-out);
  white-space: nowrap;
}
.skip-nav:focus {
  top: var(--pf-space-4);
  outline: 2px solid var(--pf-obsidian);
  outline-offset: 2px;
}
.skip-nav:focus-visible {
  top: var(--pf-space-4);
}
/* ═══════════════════════════════════════════════════════════════
   07. SCREEN READER UTILITIES (ADA)
   ═══════════════════════════════════════════════════════════════ */
/*
 * Visually hidden but accessible to screen readers.
 * Use for: labels, instructions, context for AT users.
 * DO NOT use display:none or visibility:hidden —
 * those hide from screen readers too.
 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
/* Visible on focus — for skip links and similar */
.sr-only-focusable:focus,
.sr-only-focusable:focus-within {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
/* Hide from all — including screen readers */
.hidden,
[hidden] {
  display: none !important;
}
/* Hide visually but keep in DOM flow */
.invisible {
  visibility: hidden;
}
/* ARIA live regions */
.live-region {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* ═══════════════════════════════════════════════════════════════
   08. LAYOUT PRIMITIVES
   ═══════════════════════════════════════════════════════════════ */
/* ── 08a. CONTAINER ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--pf-max-width);
  margin-inline: auto;
  padding-inline: var(--pf-section-x);
}
.container--wide {
  max-width: var(--pf-max-width-wide);
}
.container--narrow {
  max-width: 52rem; /* 832px */
}
.container--prose {
  max-width: var(--pf-prose-width);
}
/* Full bleed — breaks out of container */
.full-bleed {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}
/* ── 08b. GRID ──────────────────────────────────────────────── */
.grid {
  display: grid;
  gap: var(--pf-grid-gap);
}
.grid--2 {
  grid-template-columns: 1fr;
}
.grid--3 {
  grid-template-columns: 1fr;
}
.grid--4 {
  grid-template-columns: 1fr;
}
.grid--auto {
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(280px, 100%), 1fr)
  );
}
@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Asymmetric grids */
.grid--60-40 {
  grid-template-columns: 1fr;
}
.grid--40-60 {
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .grid--60-40 {
    grid-template-columns: 3fr 2fr;
  }
  .grid--40-60 {
    grid-template-columns: 2fr 3fr;
  }
}
/* ── 08c. STACK ─────────────────────────────────────────────── */
/*
 * Vertical rhythm primitive.
 * All direct children spaced equally.
 */
.stack {
  display: flex;
  flex-direction: column;
}
.stack > * + * {
  margin-top: var(--pf-space-4);
}
.stack--2  > * + * { margin-top: var(--pf-space-2);  }
.stack--4  > * + * { margin-top: var(--pf-space-4);  }
.stack--6  > * + * { margin-top: var(--pf-space-6);  }
.stack--8  > * + * { margin-top: var(--pf-space-8);  }
.stack--10 > * + * { margin-top: var(--pf-space-10); }
.stack--12 > * + * { margin-top: var(--pf-space-12); }
/* ── 08d. CLUSTER ───────────────────────────────────────────── */
/*
 * Horizontal grouping with wrapping.
 * Used for: tags, button groups, nav links.
 */
.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pf-space-4);
}
.cluster--2  { gap: var(--pf-space-2);  }
.cluster--3  { gap: var(--pf-space-3);  }
.cluster--6  { gap: var(--pf-space-6);  }
.cluster--8  { gap: var(--pf-space-8);  }
.cluster--center { justify-content: center; }
.cluster--end    { justify-content: flex-end; }
.cluster--between{ justify-content: space-between; }
/* ═══════════════════════════════════════════════════════════════
   09. COMPONENT PRIMITIVES
   ═══════════════════════════════════════════════════════════════ */
/* ── 09a. BUTTONS ───────────────────────────────────────────── */
/*
 * Button rules:
 * - Minimum touch target: 44×44px (WCAG 2.5.5)
 * - Text contrast: AAA on all variants
 * - Focus: custom ring (section 05)
 * - Disabled: visible but non-interactive
 * - Never: color alone to communicate state
 */
.btn {
  /* Layout */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--pf-space-2);
  min-height: 2.75rem;    /* 44px — WCAG touch target ✅ */
  padding: 0.875rem 2rem;
  /* Typography */
  font-family: var(--pf-font-body);
  font-size: var(--pf-text-base-sm);
  font-weight: var(--pf-weight-medium);
  letter-spacing: var(--pf-tracking-wider);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  /* Visual */
  border: 1px solid transparent;
  border-radius: var(--pf-radius-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  /* Transition */
  transition:
    background-color var(--pf-duration-fast) var(--pf-ease-out),
    border-color     var(--pf-duration-fast) var(--pf-ease-out),
    color            var(--pf-duration-fast) var(--pf-ease-out),
    box-shadow       var(--pf-duration-fast) var(--pf-ease-out),
    transform        var(--pf-duration-fast) var(--pf-ease-out);
  /* Prevent text selection */
  user-select: none;
  -webkit-user-select: none;
}
/* Hover lift — respects reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: translateY(-1px);
  }
  .btn:active {
    transform: translateY(0);
  }
}
/* Primary — Cyan */
/* Text on cyan: obsidian = 10.2:1 ✅ AAA */
.btn--primary {
  background-color: var(--pf-cyan);
  color: var(--pf-obsidian);
  border-color: var(--pf-cyan);
}
.btn--primary:hover {
  background-color: var(--pf-cyan-bright);
  border-color: var(--pf-cyan-bright);
  color: var(--pf-obsidian);
  box-shadow: var(--pf-shadow-cyan);
}
.btn--primary:active {
  background-color: var(--pf-cyan-deep);
  border-color: var(--pf-cyan-deep);
}
/* Secondary — Platinum outline */
/* Text: platinum on obsidian = 11.2:1 ✅ AAA */
.btn--secondary {
  background-color: transparent;
  color: var(--pf-platinum);
  border-color: var(--pf-platinum-border-2);
}
.btn--secondary:hover {
  background-color: var(--pf-platinum-tint-2);
  border-color: var(--pf-platinum);
  color: var(--pf-platinum-bright);
}
.btn--secondary:active {
  background-color: var(--pf-platinum-tint);
  border-color: var(--pf-platinum-muted);
}
/* Ghost — Cyan outline */
.btn--ghost {
  background-color: transparent;
  color: var(--pf-cyan);
  border-color: var(--pf-cyan-border);
}
.btn--ghost:hover {
  background-color: var(--pf-cyan-tint-2);
  border-color: var(--pf-cyan);
  color: var(--pf-cyan-bright);
}
/* Copper — Social impact CTAs */
/* Text on copper: obsidian = 6.8:1 ✅ AAA */
.btn--copper {
  background-color: var(--pf-copper);
  color: var(--pf-obsidian);
  border-color: var(--pf-copper);
}
.btn--copper:hover {
  background-color: var(--pf-copper-bright);
  border-color: var(--pf-copper-bright);
  color: var(--pf-obsidian);
  box-shadow: var(--pf-shadow-copper);
}
/* Size variants */
.btn--sm {
  min-height: 2.25rem;
  padding: 0.5rem 1.25rem;
  font-size: var(--pf-text-sm);
  letter-spacing: var(--pf-tracking-wide);
}
.btn--lg {
  min-height: 3.5rem;
  padding: 1.125rem 2.5rem;
  font-size: var(--pf-text-base);
  letter-spacing: var(--pf-tracking-wider);
}
/* Icon button — square */
.btn--icon {
  padding: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--pf-radius-sm);
}
.btn--icon.btn--sm {
  width: 2.25rem;
  height: 2.25rem;
}
/* Disabled state */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}
/* Loading state */
.btn[aria-busy="true"] {
  cursor: wait;
  opacity: 0.7;
}
/* Full width */
.btn--full {
  width: 100%;
}
/* ── 09b. CARDS ─────────────────────────────────────────────── */
.card {
  background-color: var(--pf-bg-surface);
  border: 1px solid var(--pf-bg-border-visible);
  border-radius: var(--pf-radius-md);
  padding: var(--pf-card-padding);
  position: relative;
  transition:
    border-color  var(--pf-duration-base) var(--pf-ease-out),
    box-shadow    var(--pf-duration-base) var(--pf-ease-out),
    transform     var(--pf-duration-base) var(--pf-ease-out);
}
@media (prefers-reduced-motion: no-preference) {
  .card--hoverable:hover {
    border-color: var(--pf-border-strong);
    box-shadow: var(--pf-shadow-md);
    transform: translateY(-2px);
  }
}
.card--hoverable:hover {
  border-color: var(--pf-border-strong);
}
/* Card variants */
.card--platinum {
  border-color: var(--pf-platinum-border);
  background: linear-gradient(
    135deg,
    var(--pf-surface) 0%,
    var(--pf-platinum-tint) 100%
  );
}
.card--platinum:hover {
  border-color: var(--pf-platinum-border-2);
  box-shadow: var(--pf-shadow-platinum);
}
.card--copper {
  border-color: var(--pf-copper-border);
  background: linear-gradient(
    135deg,
    var(--pf-surface) 0%,
    var(--pf-copper-tint) 100%
  );
}
.card--copper:hover {
  border-color: var(--pf-copper-border-2);
  box-shadow: var(--pf-shadow-copper);
}
.card--cyan {
  border-color: var(--pf-cyan-border);
  background: linear-gradient(
    135deg,
    var(--pf-surface) 0%,
    var(--pf-cyan-tint) 100%
  );
}
.card--cyan:hover {
  border-color: var(--pf-cyan-border-2);
  box-shadow: var(--pf-shadow-cyan);
}
/* Card inner elements */
.card__label {
  display: block;
  margin-bottom: var(--pf-space-4);
}
.card__title {
  font-family: var(--pf-font-display);
  font-size: var(--pf-text-xl);
  font-weight: var(--pf-weight-bold);
  line-height: var(--pf-leading-snug);
  color: var(--pf-platinum-bright);
  margin-bottom: var(--pf-space-3);
}
.card__body {
  font-size: var(--pf-text-base-sm);
  line-height: var(--pf-leading-relaxed);
  color: var(--pf-fg-secondary);
  max-width: none;
}
.card__footer {
  margin-top: var(--pf-space-6);
  padding-top: var(--pf-space-6);
  border-top: 1px solid var(--pf-bg-border);
}
/* ── 09c. FORM ELEMENTS ─────────────────────────────────────── */
/*
 * ADA requirements:
 * - All inputs have associated <label>
 * - No placeholder as substitute for label
 * - Error messages linked via aria-describedby
 * - Required fields marked with aria-required="true"
 * - 44px minimum touch targets ✅
 */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--pf-space-2);
}
.form-group + .form-group {
  margin-top: var(--pf-space-6);
}
.form-label {
  font-family: var(--pf-font-body);
  font-size: var(--pf-text-base-sm);
  font-weight: var(--pf-weight-medium);
  letter-spacing: var(--pf-tracking-wide);
  color: var(--pf-fg-primary);
  display: block;
}
.form-label__required {
  color: var(--pf-copper);
  margin-left: var(--pf-space-1);
  aria-hidden: true; /* Announced via aria-required on input */
}
.form-input,
.form-textarea,
.form-select {
  /* Layout */
  display: block;
  width: 100%;
  min-height: 2.75rem;  /* 44px touch target ✅ */
  padding: 0.75rem 1rem;
  /* Typography */
  font-family: var(--pf-font-body);
  font-size: var(--pf-text-base);
  line-height: var(--pf-leading-normal);
  color: var(--pf-fg-primary);
  /* Visual */
  background-color: var(--pf-bg-surface);
  border: 1px solid var(--pf-bg-border-visible);
  border-radius: var(--pf-radius-sm);
  appearance: none;
  -webkit-appearance: none;
  /* Transition */
  transition:
    border-color var(--pf-duration-fast) var(--pf-ease-out),
    box-shadow   var(--pf-duration-fast) var(--pf-ease-out),
    background   var(--pf-duration-fast) var(--pf-ease-out);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--pf-fg-tertiary);
  opacity: 1; /* Firefox fix */
}
.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: var(--pf-border-strong);
}
/* Focus handled in section 05 */
.form-textarea {
  min-height: 10rem;
  resize: vertical;
  padding: 1rem;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E6E82' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
/* States */
.form-input--error,
.form-textarea--error,
.form-select--error {
  border-color: var(--pf-error);
  background-color: var(--pf-error-tint);
}
.form-input--success,
.form-textarea--success {
  border-color: var(--pf-success);
  background-color: var(--pf-success-tint);
}
.form-input:disabled,
.form-textarea:disabled,
.form-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: var(--pf-surface-3);
}
/* Helper text */
.form-helper {
  font-size: var(--pf-text-sm);
  color: var(--pf-fg-tertiary);
  line-height: var(--pf-leading-normal);
  margin-top: var(--pf-space-1);
}
/* Error message */
.form-error {
  font-size: var(--pf-text-sm);
  font-weight: var(--pf-weight-medium);
  color: var(--pf-error);
  line-height: var(--pf-leading-normal);
  margin-top: var(--pf-space-1);
  display: flex;
  align-items: center;
  gap: var(--pf-space-2);
}
.form-error::before {
  content: '';
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--pf-error);
  border-radius: var(--pf-radius-full);
  flex-shrink: 0;
}
/* Success message */
.form-success-message {
  padding: var(--pf-space-6) var(--pf-space-8);
  background: var(--pf-success-tint);
  border: 1px solid var(--pf-success);
  border-radius: var(--pf-radius-md);
  color: var(--pf-success);
  font-weight: var(--pf-weight-medium);
  text-align: center;
}
/* Checkbox and Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--pf-space-3);
  cursor: pointer;
}
.form-check__input {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin-top: 0.1em;
  accent-color: var(--pf-cyan);
  cursor: pointer;
}
.form-check__label {
  font-size: var(--pf-text-base-sm);
  color: var(--pf-fg-secondary);
  line-height: var(--pf-leading-relaxed);
  cursor: pointer;
}
/* ── 09d. BADGES / LABELS ───────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--pf-space-1);
  padding: 0.2em 0.7em;
  font-family: var(--pf-font-body);
  font-size: var(--pf-text-xs);
  font-weight: var(--pf-weight-semibold);
  letter-spacing: var(--pf-tracking-wider);
  text-transform: uppercase;
  border-radius: var(--pf-radius-full);
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.6;
}
.badge--platinum {
  color: var(--pf-platinum);
  background: var(--pf-platinum-tint-2);
  border-color: var(--pf-platinum-border);
}
.badge--copper {
  color: var(--pf-copper);
  background: var(--pf-copper-tint-2);
  border-color: var(--pf-copper-border);
}
.badge--cyan {
  color: var(--pf-cyan);
  background: var(--pf-cyan-tint-2);
  border-color: var(--pf-cyan-border);
}
.badge--success {
  color: var(--pf-success);
  background: var(--pf-success-tint);
  border-color: var(--pf-success);
}
/* ═══════════════════════════════════════════════════════════════
   10. UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════ */
/* Display */
.block        { display: block; }
.inline-block { display: inline-block; }
.inline       { display: inline; }
.flex         { display: flex; }
.inline-flex  { display: inline-flex; }
.grid-display { display: grid; }
.none         { display: none; }
/* Flex utilities */
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.items-start  { align-items: flex-start; }
.items-center { align-items: center; }
.items-end    { align-items: flex-end; }
.justify-start   { justify-content: flex-start; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.flex-1       { flex: 1; }
.flex-shrink-0{ flex-shrink: 0; }
/* Text alignment */
.text-left    { text-align: left; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
/* Text colors */
.text-primary   { color: var(--pf-fg-primary) !important; }
.text-secondary { color: var(--pf-fg-secondary) !important; }
.text-tertiary  { color: var(--pf-fg-tertiary) !important; }
.text-platinum  { color: var(--pf-platinum) !important; }
.text-copper    { color: var(--pf-copper) !important; }
.text-cyan      { color: var(--pf-cyan) !important; }
.text-error     { color: var(--pf-error) !important; }
.text-success   { color: var(--pf-success) !important; }
/* Font families */
.font-display { font-family: var(--pf-font-display); }
.font-body    { font-family: var(--pf-font-body); }
.font-mono    { font-family: var(--pf-font-mono); }
/* Font weights */
.font-light    { font-weight: var(--pf-weight-light); }
.font-regular  { font-weight: var(--pf-weight-regular); }
.font-medium   { font-weight: var(--pf-weight-medium); }
.font-semibold { font-weight: var(--pf-weight-semibold); }
.font-bold     { font-weight: var(--pf-weight-bold); }
/* Font sizes */
.text-xs    { font-size: var(--pf-text-xs); }
.text-sm    { font-size: var(--pf-text-sm); }
.text-base  { font-size: var(--pf-text-base); }
.text-md    { font-size: var(--pf-text-md); }
.text-lg    { font-size: var(--pf-text-lg); }
.text-xl    { font-size: var(--pf-text-xl); }
.text-2xl   { font-size: var(--pf-text-2xl); }
.text-3xl   { font-size: var(--pf-text-3xl); }
.text-4xl   { font-size: var(--pf-text-4xl); }
/* Spacing — margin */
.mt-0  { margin-top: 0; }
.mt-2  { margin-top: var(--pf-space-2); }
.mt-4  { margin-top: var(--pf-space-4); }
.mt-6  { margin-top: var(--pf-space-6); }
.mt-8  { margin-top: var(--pf-space-8); }
.mt-12 { margin-top: var(--pf-space-12); }
.mt-16 { margin-top: var(--pf-space-16); }
.mb-0  { margin-bottom: 0; }
.mb-2  { margin-bottom: var(--pf-space-2); }
.mb-4  { margin-bottom: var(--pf-space-4); }
.mb-6  { margin-bottom: var(--pf-space-6); }
.mb-.mb-8  { margin-bottom: var(--pf-space-8); }
.mb-12 { margin-bottom: var(--pf-space-12); }
.mb-16 { margin-bottom: var(--pf-space-16); }
/* Spacing — padding */
.pt-0  { padding-top: 0; }
.pt-4  { padding-top: var(--pf-space-4); }
.pt-6  { padding-top: var(--pf-space-6); }
.pt-8  { padding-top: var(--pf-space-8); }
.pt-12 { padding-top: var(--pf-space-12); }
.pt-16 { padding-top: var(--pf-space-16); }
.pb-0  { padding-bottom: 0; }
.pb-4  { padding-bottom: var(--pf-space-4); }
.pb-6  { padding-bottom: var(--pf-space-6); }
.pb-8  { padding-bottom: var(--pf-space-8); }
.pb-12 { padding-bottom: var(--pf-space-12); }
.pb-16 { padding-bottom: var(--pf-space-16); }
/* Width utilities */
.w-full  { width: 100%; }
.w-auto  { width: auto; }
.w-half  { width: 50%; }
.max-w-prose   { max-width: var(--pf-prose-width); }
.max-w-narrow  { max-width: var(--pf-prose-narrow); }
.max-w-full    { max-width: 100%; }
/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky   { position: sticky; }
/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto   { overflow: auto; }
/* Border radius */
.rounded-none { border-radius: var(--pf-radius-none); }
.rounded-sm   { border-radius: var(--pf-radius-sm); }
.rounded-md   { border-radius: var(--pf-radius-md); }
.rounded-lg   { border-radius: var(--pf-radius-lg); }
.rounded-full { border-radius: var(--pf-radius-full); }
/* Opacity */
.opacity-0   { opacity: 0; }
.opacity-50  { opacity: 0.5; }
.opacity-75  { opacity: 0.75; }
.opacity-100 { opacity: 1; }
/* Pointer events */
.pointer-none   { pointer-events: none; }
.pointer-auto   { pointer-events: auto; }
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background-color: var(--pf-bg-border-visible);
  border: none;
  margin: var(--pf-space-8) 0;
}
.divider--platinum {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--pf-platinum-border-2) 30%,
    var(--pf-platinum-border-2) 70%,
    transparent 100%
  );
}
.divider--copper {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--pf-copper-border-2) 30%,
    var(--pf-copper-border-2) 70%,
    transparent 100%
  );
}
.divider--cyan {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--pf-cyan-border-2) 30%,
    var(--pf-cyan-border-2) 70%,
    transparent 100%
  );
}
/* Section wrapper */
.section {
  padding-top: var(--pf-section-y);
  padding-bottom: var(--pf-section-y);
}
.section--dark {
  background-color: var(--pf-obsidian);
}
.section--surface {
  background-color: var(--pf-surface);
}
.section--surface-2 {
  background-color: var(--pf-surface-2);
}
/* Section header — consistent pattern */
.section__header {
  margin-bottom: var(--pf-space-16);
}
.section__header--centered {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: var(--pf-space-16);
}
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--pf-space-3);
  font-family: var(--pf-font-body);
  font-size: var(--pf-text-xs);
  font-weight: var(--pf-weight-semibold);
  letter-spacing: var(--pf-tracking-widest);
  text-transform: uppercase;
  color: var(--pf-fg-tertiary);
  margin-bottom: var(--pf-space-5);
}
.section__eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background-color: currentColor;
  flex-shrink: 0;
}
.section__eyebrow--platinum { color: var(--pf-platinum-muted); }
.section__eyebrow--copper   { color: var(--pf-copper);         }
.section__eyebrow--cyan     { color: var(--pf-cyan-deep);      }
.section__title {
  font-family: var(--pf-font-display);
  font-size: var(--pf-text-display);
  font-weight: var(--pf-weight-bold);
  line-height: var(--pf-leading-tight);
  letter-spacing: var(--pf-tracking-tight);
  color: var(--pf-platinum-bright);
  margin-bottom: var(--pf-space-6);
}
.section__subtitle {
  font-family: var(--pf-font-body);
  font-size: var(--pf-text-lg);
  font-weight: var(--pf-weight-light);
  line-height: var(--pf-leading-relaxed);
  color: var(--pf-fg-secondary);
  max-width: var(--pf-prose-width);
}
/* Stat block */
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--pf-space-2);
}
.stat__number {
  font-family: var(--pf-font-display);
  font-size: var(--pf-text-4xl);
  font-weight: var(--pf-weight-bold);
  line-height: var(--pf-leading-none);
  letter-spacing: var(--pf-tracking-tight);
  color: var(--pf-platinum-bright);
}
.stat__number--copper { color: var(--pf-copper); }
.stat__number--cyan   { color: var(--pf-cyan);   }
.stat__label {
  font-family: var(--pf-font-body);
  font-size: var(--pf-text-base-sm);
  font-weight: var(--pf-weight-regular);
  color: var(--pf-fg-secondary);
  line-height: var(--pf-leading-normal);
}
/* Accent line — decorative horizontal rule */
.accent-line {
  display: block;
  width: 3rem;
  height: 2px;
  border-radius: var(--pf-radius-full);
  margin-bottom: var(--pf-space-6);
}
.accent-line--platinum { background-color: var(--pf-platinum);    }
.accent-line--copper   { background-color: var(--pf-copper);      }
.accent-line--cyan     { background-color: var(--pf-cyan);        }
/* Tag */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3em 0.8em;
  font-family: var(--pf-font-body);
  font-size: var(--pf-text-xs);
  font-weight: var(--pf-weight-medium);
  letter-spacing: var(--pf-tracking-wide);
  color: var(--pf-fg-secondary);
  background-color: var(--pf-surface-2);
  border: 1px solid var(--pf-border-visible);
  border-radius: var(--pf-radius-full);
  white-space: nowrap;
  transition:
    color            var(--pf-duration-fast) var(--pf-ease-out),
    border-color     var(--pf-duration-fast) var(--pf-ease-out),
    background-color var(--pf-duration-fast) var(--pf-ease-out);
}
.tag:hover,
.tag--active {
  color: var(--pf-cyan);
  border-color: var(--pf-cyan-border);
  background-color: var(--pf-cyan-tint);
}
.tag--copper:hover,
.tag--copper.tag--active {
  color: var(--pf-copper);
  border-color: var(--pf-copper-border);
  background-color: var(--pf-copper-tint);
}
/* Icon wrapper */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon--sm  { width: 1rem;   height: 1rem;   }
.icon--md  { width: 1.25rem;height: 1.25rem;}
.icon--lg  { width: 1.5rem; height: 1.5rem; }
.icon--xl  { width: 2rem;   height: 2rem;   }
.icon--2xl { width: 3rem;   height: 3rem;   }
/* Icon container — for framed icons */
.icon-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--pf-radius-md);
  border: 1px solid var(--pf-border-visible);
  background-color: var(--pf-surface-2);
  flex-shrink: 0;
}
.icon-frame--lg {
  width: 4rem;
  height: 4rem;
  border-radius: var(--pf-radius-lg);
}
.icon-frame--platinum {
  border-color: var(--pf-platinum-border);
  background-color: var(--pf-platinum-tint);
}
.icon-frame--copper {
  border-color: var(--pf-copper-border);
  background-color: var(--pf-copper-tint);
}
.icon-frame--cyan {
  border-color: var(--pf-cyan-border);
  background-color: var(--pf-cyan-tint);
}
/* Gradient text — platinum */
.gradient-text--platinum {
  background: linear-gradient(
    135deg,
    var(--pf-platinum-bright) 0%,
    var(--pf-platinum) 50%,
    var(--pf-platinum-muted) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Gradient text — copper to cyan (brand story) */
.gradient-text--origin {
  background: linear-gradient(
    135deg,
    var(--pf-copper) 0%,
    var(--pf-copper-bright) 30%,
    var(--pf-cyan-deep) 70%,
    var(--pf-cyan) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Gradient text — cyan */
.gradient-text--cyan {
  background: linear-gradient(
    135deg,
    var(--pf-cyan) 0%,
    var(--pf-cyan-bright) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Glow effects — decorative, not informational */
.glow--cyan {
  box-shadow: var(--pf-shadow-cyan);
}
.glow--copper {
  box-shadow: var(--pf-shadow-copper);
}
.glow--platinum {
  box-shadow: var(--pf-shadow-platinum);
}
/* Scroll reveal — initial state */
/* JS adds .is-visible class via IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity   var(--pf-duration-slow) var(--pf-ease-out),
    transform var(--pf-duration-slow) var(--pf-ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }
.reveal--delay-5 { transition-delay: 500ms; }
/* Overlay — for modals, drawers */
.overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: var(--pf-z-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--pf-duration-base) var(--pf-ease-out);
}
.overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}
/* Loading spinner */
.spinner {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--pf-border-visible);
  border-top-color: var(--pf-cyan);
  border-radius: var(--pf-radius-full);
}
@media (prefers-reduced-motion: no-preference) {
  .spinner {
    animation: spin var(--pf-duration-slower) var(--pf-ease-linear) infinite;
  }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
/* Aspect ratios */
.aspect-square    { aspect-ratio: 1 / 1; }
.aspect-video     { aspect-ratio: 16 / 9; }
.aspect-portrait  { aspect-ratio: 3 / 4; }
.aspect-landscape { aspect-ratio: 4 / 3; }
.aspect-wide      { aspect-ratio: 21 / 9; }
/* Object fit */
.object-cover   { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center  { object-position: center; }
.object-top     { object-position: top; }
/* ═══════════════════════════════════════════════════════════════
   11. REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */
/*
 * WCAG 2.1 — 2.3.3: Animation from Interactions (AAA)
 *
 * When prefers-reduced-motion: reduce is set:
 * - Remove all transforms
 * - Remove parallax effects
 * - Remove entrance animations
 * - Keep opacity transitions (still useful,
 *   not motion-triggering for vestibular disorders)
 * - Instant scroll behavior
 */
@media (prefers-reduced-motion: reduce) {
  /* Kill all animations and transitions */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Reveal elements immediately — no slide */
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  /* Buttons — no lift */
  .btn:hover {
    transform: none;
  }
  /* Cards — no lift */
  .card--hoverable:hover {
    transform: none;
  }
  /* Spinner — static */
  .spinner {
    animation: none;
    border-top-color: var(--pf-cyan);
    opacity: 0.6;
  }
  /* Overlays — instant */
  .overlay {
    transition: none;
  }
  /* Nav transitions — instant */
  .skip-nav {
    transition: none;
  }
}
/* High contrast mode support */
@media (forced-colors: active) {
  .btn--primary {
    border: 2px solid ButtonText;
  }
  .btn--secondary,
  .btn--ghost {
    border: 2px solid ButtonText;
  }
  .card {
    border: 1px solid ButtonText;
  }
  .form-input,
  .form-textarea,
  .form-select {
    border: 1px solid ButtonText;
  }
  *:focus-visible {
    outline: 3px solid Highlight;
    outline-offset: 3px;
  }
  .gradient-text--platinum,
  .gradient-text--origin,
  .gradient-text--cyan {
    -webkit-text-fill-color: ButtonText;
    background: none;
  }
}
/* Print styles */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
  }
  /* Don't print navigation, cookie banner, skip nav */
  nav,
  .cookie-consent,
  .skip-nav,
  .btn {
    display: none !important;
  }
  h1, h2, h3 {
    page-break-after: avoid;
  }
  p, blockquote {
    orphans: 3;
    widows: 3;
  }
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
}
/* ═══════════════════════════════════════════════════════════════
   12. TEMPLATE BRIDGE — legacy vars + page components
   ═══════════════════════════════════════════════════════════════ */
:root {
  --color-obsidian:       var(--pf-obsidian);
  --color-bone:           var(--pf-text-primary);
  --color-surface:        var(--pf-bg-surface);
  --color-surface-alt:    var(--pf-bg-surface-2);
  --color-text:           var(--pf-fg-primary);
  --color-text-secondary: var(--pf-fg-secondary);
  --color-border:         var(--pf-bg-border-visible);
  --color-accent:         var(--pf-copper);
  --color-cyan:           var(--pf-cyan);
  --color-orange:         var(--pf-copper);
  --space-sm:             var(--pf-space-2);
  --space-md:             var(--pf-space-4);
  --space-lg:             var(--pf-space-6);
  --space-2xl:            var(--pf-space-10);
  --space-3xl:            var(--pf-space-12);
  --space-4xl:            var(--pf-space-16);
  --space-5xl:            var(--pf-space-20);
  --radius-card:          var(--pf-radius-lg);
  --font-sans:            var(--pf-font-body);
}
.btn.btn-primary,
.btn-primary {
  background-color: var(--pf-copper);
  color: var(--pf-obsidian);
  border: var(--pf-border-width-2) solid var(--pf-copper);
}
.btn.btn-primary:hover,
.btn-primary:hover {
  background-color: var(--pf-copper-bright);
  border-color: var(--pf-copper-bright);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--pf-z-sticky);
  background: color-mix(in srgb, var(--pf-bg-primary) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pf-bg-border);
  transition: transform var(--pf-duration-base) var(--pf-ease-out);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: var(--pf-shadow-md); }
.header-content {
  max-width: var(--pf-max-width-wide);
  margin-inline: auto;
  padding: var(--pf-space-4) var(--pf-section-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pf-space-6);
}
.logo {
  font-family: var(--pf-font-display);
  font-size: var(--pf-text-xl);
  font-weight: var(--pf-weight-bold);
  color: var(--pf-fg-primary);
  text-decoration: none;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}
#primary-menu {
  display: flex;
  align-items: center;
  justify-content: center;
}
#primary-menu > ul {
  align-items: center;
}
.header-content .logo { flex: 0 0 auto; }
.header-content #theme-toggle { flex: 0 0 auto; margin-left: var(--pf-space-4); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pf-space-6);
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
.service-tile {
  padding: var(--pf-space-8);
  background: var(--color-surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
}
.service-tile h3 { margin-bottom: var(--pf-space-4); font-size: var(--pf-text-xl); }
.service-tile p { color: var(--color-text-secondary); line-height: var(--pf-leading-relaxed); }
.service-tile .icon { font-size: 2rem; margin-bottom: var(--pf-space-4); }
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(var(--pf-space-2), 1.2vw, var(--pf-space-6));
  margin: 0;
  padding: 0;
  font-size: clamp(0.8125rem, 1vw, 0.9375rem);
}
.nav-menu li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--pf-fg-primary);
  text-decoration: none;
  font-weight: var(--pf-weight-medium);
  line-height: 1.25;
  padding: 0.375rem 0;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.nav-menu a:hover { color: var(--pf-copper); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--pf-bg-border-visible);
  border-radius: var(--pf-radius-md);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  cursor: pointer;
  color: var(--pf-fg-primary);
  flex-shrink: 0;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0;
  background: currentColor;
  flex-shrink: 0;
  border-radius: 1px;
}
@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    z-index: calc(var(--pf-z-sticky) + 3);
    touch-action: manipulation;
    cursor: pointer;
  }
  .header-content {
    gap: var(--pf-space-3);
    align-items: center;
    position: relative;
  }
  .main-nav {
    flex: 0 0 auto;
    margin-left: auto;
    position: static;
  }
  .header-content #theme-toggle {
    margin-left: 0;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  /* Full-width panel anchored to header row, not the hamburger column */
  #primary-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: calc(var(--pf-z-sticky) + 2);
    pointer-events: none;
  }
  #primary-menu.is-open {
    pointer-events: auto;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: var(--pf-space-2) var(--pf-section-x) max(var(--pf-space-4), env(safe-area-inset-bottom));
    background: var(--pf-bg-primary);
    border-bottom: 1px solid var(--pf-bg-border-visible);
    box-shadow: var(--pf-shadow-md);
    box-sizing: border-box;
    list-style: none;
  }
  #primary-menu.is-open .nav-menu,
  .nav-menu.is-open {
    display: flex;
  }
  .nav-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .nav-menu a {
    width: 100%;
    box-sizing: border-box;
    padding: var(--pf-space-3) var(--pf-space-2);
    justify-content: flex-start;
    white-space: normal;
    border-radius: var(--pf-radius-sm);
  }
  .nav-menu a:hover,
  .nav-menu a:focus-visible {
    background: var(--pf-copper-tint);
  }
  body.menu-open {
    overflow: hidden;
  }
  .container,
  .hero-content,
  .page-section,
  .philosophy-page {
    padding-inline: max(var(--pf-section-x), 1rem);
    box-sizing: border-box;
  }
}
.section-hero {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  /* Hero is always a dark band — text stays light even in light mode */
  color: var(--pf-white);
}
.section-hero h1,
.section-hero h2,
.section-hero p {
  color: inherit;
}
.section-hero .hero-subhead {
  color: var(--pf-copper-bright);
}
.section-hero .btn--secondary {
  color: var(--pf-copper-bright);
  border-color: var(--pf-copper-bright);
}
.hero-content {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  padding-inline: var(--pf-section-x);
  box-sizing: border-box;
}
.section-hero h1 {
  font-family: var(--pf-font-display);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: var(--pf-leading-snug);
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-wrap: balance;
  max-width: 100%;
  color: var(--pf-white);
}
.hero-subhead {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  max-width: 100%;
}
.hero-ctas {
  display: flex;
  gap: var(--pf-space-6);
  justify-content: center;
  flex-wrap: wrap;
}
.section-about h2,
.section-services h2,
.section-contact h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  text-wrap: balance;
  max-width: 100%;
}
.section-about,
.section-services,
.section-contact {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pf-space-12);
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
.form-message {
  margin-bottom: var(--pf-space-4);
  padding: var(--pf-space-4);
  border-radius: var(--pf-radius-md);
  font-size: var(--pf-text-base-sm);
}
.form-message--success {
  background: var(--pf-success-tint);
  color: var(--pf-success);
  border: 1px solid var(--pf-success);
}
.form-message--error {
  background: var(--pf-error-tint);
  color: var(--pf-error);
  border: 1px solid var(--pf-error);
}
.field-error { border-color: var(--pf-error) !important; }
.field-error-msg {
  display: block;
  color: var(--pf-error);
  font-size: var(--pf-text-sm);
  margin-top: var(--pf-space-1);
}
.form-consent {
  display: flex;
  gap: var(--pf-space-3);
  align-items: flex-start;
  font-size: var(--pf-text-base-sm);
  color: var(--pf-fg-secondary);
  margin-bottom: var(--pf-space-4);
}
.form-consent input { margin-top: 0.2rem; min-width: 1rem; min-height: 1rem; }
.legal-page {
  padding: var(--pf-section-y) var(--pf-section-x);
  max-width: var(--pf-prose-width);
  margin-inline: auto;
}
.legal-page h1 {
  font-family: var(--pf-font-display);
  margin-bottom: var(--pf-space-8);
}
.legal-page h2 { margin-top: var(--pf-space-10); margin-bottom: var(--pf-space-4); }
.legal-page p,
.legal-page li {
  margin-bottom: var(--pf-space-4);
  color: var(--pf-fg-secondary);
  line-height: var(--pf-leading-loose);
}
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--pf-z-toast);
  padding: var(--pf-space-4);
  padding-bottom: max(var(--pf-space-4), env(safe-area-inset-bottom));
}
.cookie-consent[hidden] { display: none; }
.cookie-consent__inner {
  max-width: var(--pf-max-width);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--pf-space-4);
  padding: var(--pf-space-6);
  background: var(--pf-bg-surface-2);
  border: 1px solid var(--pf-bg-border-visible);
  border-radius: var(--pf-radius-lg);
  box-shadow: var(--pf-shadow-lg);
}
.cookie-consent__text {
  flex: 1;
  min-width: 16rem;
  font-size: var(--pf-text-base-sm);
  color: var(--pf-fg-secondary);
}
.cookie-consent__text a { color: var(--pf-cyan); }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--pf-space-4) var(--pf-space-8);
  margin-top: var(--pf-space-4);
}
.footer-legal a {
  color: var(--pf-fg-tertiary);
  text-decoration: none;
  font-size: var(--pf-text-sm);
}
.footer-legal a:hover { color: var(--pf-copper); }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pf-space-3) var(--pf-space-6);
}
.footer-social a {
  color: var(--pf-cyan);
  text-decoration: none;
  font-size: var(--pf-text-sm);
  font-weight: var(--pf-weight-medium);
}
.footer-social a:hover { color: var(--pf-copper); }
/* ═══════════════════════════════════════════════════════════════
   13. PAGE LAYOUT, BRAND TYPE, FORMS
   ═══════════════════════════════════════════════════════════════ */
.brand-eyebrow,
.hero-eyebrow {
  font-size: var(--pf-text-sm);
  letter-spacing: var(--pf-tracking-widest);
  text-transform: uppercase;
  color: var(--pf-copper);
  margin-bottom: var(--pf-space-4);
  font-weight: var(--pf-weight-semibold);
}
.hero-eyebrow { color: var(--pf-cyan); }
.section-kicker {
  font-family: var(--pf-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--pf-copper);
  margin-bottom: var(--pf-space-4);
  line-height: var(--pf-leading-snug);
}
.section-kicker--center { text-align: center; }
.section-heading {
  font-family: var(--pf-font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--pf-fg-primary);
  margin-bottom: var(--pf-space-8);
}
.section-heading--center { text-align: center; }
.brand-motto {
  font-family: var(--pf-font-display);
  font-size: var(--pf-text-xl);
  color: var(--pf-cyan);
  font-style: italic;
  text-align: center;
  margin-top: var(--pf-space-10);
}
.page-lead {
  color: var(--pf-fg-secondary);
  font-size: var(--pf-text-lg);
  max-width: 55ch;
  line-height: var(--pf-leading-loose);
  margin-bottom: var(--pf-space-8);
}
.page-lead--center {
  margin-inline: auto;
  text-align: center;
}
.page-section {
  padding: var(--pf-section-y) var(--pf-section-x);
  max-width: var(--pf-max-width);
  margin-inline: auto;
}
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--pf-section-x);
}
.container--narrow { max-width: 40rem; }
.section-hero {
  background: linear-gradient(135deg, var(--color-obsidian) 0%, #1a1a1a 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-5xl) var(--space-lg);
}
.section-about,
.section-services,
.section-contact {
  padding: var(--space-5xl) var(--space-lg);
}
.section-about { background: var(--color-surface); }
.section-services { background: var(--color-surface-alt); }
.section-contact { background: var(--color-surface); }
.about-text p {
  margin-bottom: var(--space-lg);
  line-height: 1.8;
  color: var(--color-text-secondary);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}
.stat-card {
  padding: var(--space-2xl);
  background: var(--color-surface-alt);
  border-radius: var(--radius-card);
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.stat-label {
  color: var(--color-text-secondary);
  font-size: var(--pf-text-sm);
  line-height: 1.4;
}
.services-grid--wide {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .services-grid--wide { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid--wide { grid-template-columns: repeat(3, 1fr); }
}
.snack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--pf-space-6);
}
@media (min-width: 900px) {
  .snack-grid--four {
    grid-template-columns: repeat(4, 1fr);
  }
  .snack-grid--three {
    grid-template-columns: repeat(3, 1fr);
  }
}
.snack-card {
  padding: var(--pf-space-6);
  background: var(--pf-bg-surface-2);
  border-radius: var(--pf-radius-lg);
  border: 1px solid var(--pf-bg-border);
}
.snack-card h3 {
  font-size: var(--pf-text-xl);
  margin-bottom: var(--pf-space-3);
}
.snack-card p {
  color: var(--pf-fg-secondary);
  line-height: var(--pf-leading-relaxed);
}
.contact-form {
  background: var(--color-surface-alt);
  padding: var(--space-2xl);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
}
.contact-form label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  color: var(--pf-fg-primary);
}
.contact-form .form-group { margin-bottom: var(--space-lg); }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  font-family: var(--font-sans);
  background: var(--color-surface);
  color: var(--pf-fg-primary);
  box-sizing: border-box;
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--pf-fg-tertiary);
  opacity: 1;
}
.contact-form select {
  appearance: auto;
}
.btn--block { width: 100%; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success[hidden] { display: none !important; }
.form-success {
  margin-top: var(--pf-space-8);
  padding: var(--pf-space-8);
  border-radius: var(--pf-radius-lg);
  background: var(--pf-success-tint);
  border: 1px solid var(--pf-success);
  text-align: center;
}
.form-success h3 {
  color: var(--pf-success);
  margin-bottom: var(--pf-space-3);
}
.form-success__message {
  color: var(--pf-fg-primary);
  margin: 0;
}
.section-motto {
  padding: var(--space-5xl) var(--space-lg);
  background: linear-gradient(180deg, var(--color-obsidian) 0%, #1a1a1a 100%);
  color: var(--pf-white);
  text-align: center;
}
.container--motto {
  max-width: 42rem;
  margin-inline: auto;
}
.section-motto__eyebrow { color: var(--pf-cyan); }
.motto-headline {
  font-family: var(--pf-font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--pf-copper-bright);
  margin-bottom: var(--pf-space-6);
  line-height: var(--pf-leading-snug);
}
.motto-body {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--pf-text-lg);
  line-height: var(--pf-leading-loose);
  margin-bottom: var(--pf-space-4);
}
.philosophy-motto-block {
  margin-top: var(--pf-space-12);
  padding-top: var(--pf-space-10);
  border-top: 1px solid var(--pf-bg-border);
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}
.philosophy-motto-block .motto-headline {
  color: var(--pf-copper);
  margin-bottom: var(--pf-space-6);
}
.service-tile--link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color var(--pf-duration-base), transform var(--pf-duration-base);
}
.service-tile--link:hover {
  border-color: var(--pf-copper);
  transform: translateY(-2px);
}
.service-tile__more {
  display: inline-block;
  margin-top: var(--pf-space-4);
  color: var(--pf-copper);
  font-weight: var(--pf-weight-semibold);
  font-size: var(--pf-text-sm);
}
/* ═══════════════════════════════════════════════════════════════
   END OF style.css
   ═══════════════════════════════════════════════════════════════ */