@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400;1,700&family=Archivo:wdth,wght@62..125,100..900&family=Montserrat:wght@400;500;600;700&family=Raleway:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Work+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* ── brand (change here, everything follows) ─────────────────── */
  /* A collected palette: warm white, cream + charcoal are the base; the
     colours below share the stage — no single colour is "the" brand. */
  --brand-cream: #FDF3E0;
  --brand-charcoal: #2E2A27;
  --brand-white: #FFFEFB;
  --brand-coral: #DE5440;
  --brand-cobalt: #2F4A9A;
  --brand-seafoam: #9CC7B0;
  --brand-blush: #F2C6B8;
  --brand-rose: #D45A7C;
  --brand-olive: #A69B3C;
  --brand-rust: #9E5233;
  --brand-camel: #B98B3F;
  --brand-camel-text: #70501C;
  --brand-marigold: #EDB047;
  --brand-taupe: #8C8275;
  --brand-sage: #8FA37E;
  /* FLOW sub-brand (the /flow page) — from her FLOW brand board */
  --flow-forest: #0F4D3B;
  --flow-cream: #FFF6E9;
  --flow-pink: #F7A1BB;
  --flow-coral: #F24D4D;
  --flow-yellow: #F6C445;
  --flow-orange: #FF8A3C;
  --flow-sky: #9ED0E6;
  --flow-blush: #F9E3DE;
  --font-flow-serif: "Libre Baskerville", Georgia, serif;
  /* FOUNDRESS (the home page) — from the FOUNDRESS brand guide */
  --foundress-cream: #FFF6E9;
  --foundress-paper: #FFFCF7;
  --foundress-charcoal: #333333;
  --foundress-blush: #F9E3DE;
  --foundress-gold: #B58A43;
  --foundress-forest: #0F4D3B;
  /* Books sub-brand (the /read page) — her main brand board, plus the book's own cover pink */
  --read-cream: #FFF6E9;
  --read-paper: #FFFCF7;
  --read-ink: #2A2624;
  --read-coral: #E87D8A;
  --read-cover: #E87D8A;
  --read-forest: #0F4D3B;
  --read-mustard: #F6C445;
  /* Speaking sub-brand (the /speak page) — all ten colours from her full brand palette */
  --speak-coral: #F24D4D;
  --speak-pink: #F7A1BB;
  --speak-orange: #FF8A3C;
  --speak-mustard: #F6C445;
  --speak-forest: #0F4D3B;
  --speak-olive: #8B8F4D;
  --speak-sky: #9ED0E6;
  --speak-cobalt: #1976D2;
  --speak-cream: #FFF6E9;
  --speak-blush: #F9E3DE;
  --speak-ink: #2A2624;
  /* Attend page: the deep green the ORIGIN retreat lockup sits on */
  --attend-origin: #28423E;
  /* kept for older references */
  --brand-red: var(--brand-coral);
  --brand-gold: var(--brand-camel);

  /* ── shadcn base tokens ───────────────────────────────────────── */
  --background: var(--brand-white);
  --foreground: var(--brand-charcoal);
  --card: var(--brand-white);
  --card-foreground: var(--brand-charcoal);
  --popover: var(--brand-white);
  --popover-foreground: var(--brand-charcoal);
  --primary: var(--brand-coral);
  --primary-foreground: var(--brand-white);
  --secondary: var(--brand-charcoal);
  --secondary-foreground: var(--brand-cream);
  --muted: oklch(0.94 0.02 92);
  --muted-foreground: oklch(0.5 0.01 80);
  --accent: oklch(0.94 0.02 92);
  --accent-foreground: var(--brand-charcoal);
  --destructive: var(--brand-coral);
  --destructive-foreground: var(--brand-white);
  --border: oklch(0.84 0.025 80);
  --input: oklch(0.82 0.02 90);
  --ring: var(--brand-charcoal);
  --success: oklch(0.52 0.12 150);
  --warning: var(--brand-gold);
  --chart-1: var(--brand-coral);
  --chart-2: var(--brand-cobalt);
  --chart-3: var(--brand-marigold);
  --chart-4: var(--brand-olive);
  --chart-5: var(--brand-rose);
  --sidebar: var(--brand-charcoal);
  --sidebar-foreground: var(--brand-cream);
  --sidebar-primary: var(--brand-cream);
  --sidebar-primary-foreground: var(--brand-charcoal);
  --sidebar-accent: oklch(0.36 0 0);
  --sidebar-accent-foreground: var(--brand-cream);
  --sidebar-border: oklch(0.42 0 0);
  --sidebar-ring: var(--brand-marigold);

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: var(--brand-cream);
  --surface-hover:   color-mix(in srgb, var(--foreground) 6%,  var(--background));
  --surface-active:  color-mix(in srgb, var(--foreground) 10%, var(--background));
  --surface-elevated: var(--brand-white);

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: oklch(0.92 0.02 92);
  --border-muted: oklch(0.88 0.02 92);
  --border-strong: var(--brand-charcoal);

  /* ── text hierarchy ───────────────────────────────────────────── */
  --foreground-secondary: oklch(0.42 0.005 80);

  /* ── primary depth (hover/tint states for brand colour) ─────── */
  --primary-hover: color-mix(in srgb, var(--primary) 85%, var(--brand-charcoal));
  --primary-muted: color-mix(in srgb, var(--primary) 15%, var(--background));
  --primary-soft:  color-mix(in srgb, var(--primary) 8%,  var(--background));
  --primary-tint:  color-mix(in srgb, var(--primary) 5%,  var(--background));

  /* ── focus ring (alpha-blended, for soft ring style) ────────── */
  --focus-ring: oklch(0.6 0.1 250 / 0.45);

  /* ── error (form validation — distinct from destructive) ─────── */
  --error: var(--brand-coral);
  --error-foreground: var(--brand-white);

  /* ── radius (square corners, by brand) ────────────────────────── */
  --radius: 0.0625rem;
  --radius-none: 0rem;
  --radius-sm: 0rem;
  --radius-lg: 0.0625rem;
  --radius-xl: 0.125rem;
  --radius-full: 9999px;

  /* ── typography ───────────────────────────────────────────────── */
  /* matched to tenapettis.com: heavy grotesque headlines (all caps),
     Raleway for nav + body, Montserrat for tracked labels and buttons */
  --font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-sans: "Raleway", ui-sans-serif, system-ui, sans-serif;
  --font-label: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-weight-display: 800;
  --line-height-display: 1;
  --tracking-display: -0.005em;
  --font-weight-body: 400;
  --line-height-body: 1.55;
  --tracking-body: 0em;
  --font-weight-mono: 400;

  /* ── shadows (brand: none — kept for the mapping, rendered flat) ─ */
  --shadow-sm: 0 0 0 0 transparent;
  --shadow-md: 0 0 0 0 transparent;
  --shadow-lg: 0 0 0 0 transparent;

  /* ── motion ───────────────────────────────────────────────────── */
  --duration-fast: 100ms;
  --duration-normal: 200ms;
  --duration-slow: 320ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);

  /* ── spacing ──────────────────────────────────────────────────── */
  --spacing-base: 0.25rem;
}

.dark {
  /* ── shadcn base tokens ───────────────────────────────────────── */
  --background: oklch(0.22 0.004 80);
  --foreground: var(--brand-cream);
  --card: oklch(0.27 0.004 80);
  --card-foreground: var(--brand-cream);
  --popover: oklch(0.27 0.004 80);
  --popover-foreground: var(--brand-cream);
  --primary: var(--brand-coral);
  --primary-foreground: var(--brand-white);
  --secondary: var(--brand-cream);
  --secondary-foreground: var(--brand-charcoal);
  --muted: oklch(0.32 0.004 80);
  --muted-foreground: oklch(0.72 0.015 85);
  --accent: oklch(0.32 0.004 80);
  --accent-foreground: var(--brand-cream);
  --destructive: var(--brand-coral);
  --destructive-foreground: var(--brand-white);
  --border: oklch(1 0 0 / 14%);
  --input: oklch(1 0 0 / 18%);
  --ring: var(--brand-cream);
  --success: oklch(0.68 0.12 150);
  --warning: oklch(0.75 0.11 80);
  --chart-1: var(--brand-coral);
  --chart-2: var(--brand-seafoam);
  --chart-3: var(--brand-marigold);
  --chart-4: oklch(0.6 0.02 80);
  --chart-5: oklch(0.4 0.01 80);
  --sidebar: oklch(0.18 0.004 80);
  --sidebar-foreground: var(--brand-cream);
  --sidebar-primary: var(--brand-cream);
  --sidebar-primary-foreground: var(--brand-charcoal);
  --sidebar-accent: oklch(0.28 0.004 80);
  --sidebar-accent-foreground: var(--brand-cream);
  --sidebar-border: oklch(1 0 0 / 12%);
  --sidebar-ring: var(--brand-marigold);

  /* ── surface hierarchy ────────────────────────────────────────── */
  --background-secondary: oklch(0.25 0.004 80);
  --surface-elevated: oklch(0.31 0.004 80);

  /* ── border hierarchy ─────────────────────────────────────────── */
  --border-subtle: oklch(1 0 0 / 7%);
  --border-muted: oklch(1 0 0 / 10%);
  --border-strong: var(--brand-cream);

  /* ── text hierarchy ───────────────────────────────────────────── */
  --foreground-secondary: oklch(0.8 0.015 85);

  /* ── primary depth ────────────────────────────────────────────── */
  --primary-tint: color-mix(in srgb, var(--primary) 10%, var(--background));

  /* ── focus ring ───────────────────────────────────────────────── */
  --focus-ring: oklch(0.8 0.08 250 / 0.5);

  /* ── error ────────────────────────────────────────────────────── */
  --error: oklch(0.7 0.19 32);
  --error-foreground: var(--brand-white);
}
