/*
  PeachNova Media — design tokens
  Pair with style-guide.md in this folder.

  Google Fonts import (also noted in the style guide):
  @import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap");

  Load the import in the site's CSS or HTML before using these font-family values.
  Prefer a <link> in <head> over @import for performance.

  The brand is written "PeachNova Media" (one word) in all copy and logos.
  The wordmark PNG is unchanged (its peach is still #FF7C82). Do not recolor it.
  Site peach --color-accent is a desaturated pastel for fills and decor.
*/

:root {
  /* Color — wordmark black */
  --color-text-strong: #000000;  /* exact wordmark black; headings */

  /* Color — pastel peach (site accent; not the wordmark fill) */
  --color-accent: #e8c3b3;       /* desaturated pastel peach; fills, thin rules, decor only — not text on light grounds */
  --color-accent-text: #8b5c4b;  /* peach-family text; AA on white/paper/surface; eyebrows or small accents */
  --color-on-accent: #000000;    /* text on a pastel-peach fill (black; ink #161513 also passes) */

  /* Color — deep slate navy (main brand color; wine is retired) */
  --color-primary: #303a57;      /* verified from brief/color-reference-slate.png (dominant solid) */
  --color-primary-hover: #252d43;/* darker slate, same hue */
  --color-brand: var(--color-primary);
  --color-brand-hover: var(--color-primary-hover);
  --color-deep: var(--color-primary-hover);
  --color-link: var(--color-primary);
  --color-hover: var(--color-primary-hover);
  --color-on-primary: #ffffff;   /* text on --color-primary */
  --color-on-dark: #ffffff;      /* text on slate (or black) */

  /* Color — marble-derived neutrals, nudged slightly cooler to sit with slate */
  --color-bg: #ffffff;           /* page default; use around photographs */
  --color-bg-warm: #f5f4f1;      /* alternating sections; still warm-leaning for the marble headshot */
  --color-surface: #eeece8;      /* cards, inset panels */
  --color-text: #161513;         /* body ink */
  --color-muted: #5e574e;        /* captions, secondary labels */
  --color-border: #e3e0db;       /* decorative hairlines only (fails 3:1 on white) */
  --color-border-strong: #8a8278;/* inputs and UI edges; marble mid-tone, 3:1+ */

  /* Typography */
  --font-display: "Playfair Display", "Times New Roman", Times, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, sans-serif;

  --text-body: 1.125rem;
  --text-small: 0.875rem;
  --text-caption: 0.8125rem;
  --text-eyebrow: 0.75rem;
  --text-lead: clamp(1.2rem, 1.1rem + 0.4vw, 1.375rem);
  --text-h1: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  --text-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --text-h3: clamp(1.25rem, 1.15rem + 0.6vw, 1.5rem);

  --leading-body: 1.65;
  --leading-heading: 1.15;
  --leading-tight: 1.25;
  --tracking-heading: -0.02em;
  --tracking-eyebrow: 0.12em;
  --tracking-button: 0.04em;

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Layout */
  --width-max: 70rem;            /* 1120px */
  --width-measure: 40rem;        /* body copy measure */
  --width-narrow: 48rem;
  --pad-inline: clamp(1.5rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 8vw, 8rem);
  --header-wordmark-h: 2.75rem;  /* ~44px; scale down to 2.25rem on small screens */

  /* Controls */
  --radius: 2px;
  --rule: 1px solid var(--color-border);
  --rule-accent: 1px solid var(--color-accent); /* decorative only, on light grounds */
  --focus-ring: 2px solid var(--color-text);
  --focus-offset: 3px;
  --button-pad: 0.75rem 1.5rem;
  --button-font-size: 0.9375rem;
}
