/* ==========================================================================
   313 Diamond Pivot Project — Design tokens (v2: warmer, more feminine)
   Edit brand values here. Every other stylesheet reads from these variables.

   SOURCE KEY
   [LOGO]     sampled directly from the supplied logo file
   [PROPOSAL] not supplied by the client; proposed by design, revise freely
   ========================================================================== */

:root {
  /* ---------- Grounds ---------- */
  --leading:        #10162A; /* [LOGO] The logo's outline color. Type, dark sections. */
  --blush:          #EFE8E5; /* [PROPOSAL] Page background: concrete with a blush cast. Leading text 14.8:1. */
  --blush-deep:     #E2D3CF; /* [PROPOSAL] Alternate bands. Leading text 12.4:1. Links in Leading here. */
  --mauve:          #5E4954; /* [PROPOSAL] Secondary text on blush (6.8:1). Drawn from the wordmark's shading. */
  --white:          #FFFFFF;

  /* ---------- Feminine accents ---------- */
  --rose:           #CFA6A0; /* [LOGO] Wordmark letters. Rose sections (Leading text 8.2:1) and quiet text on dark. */
  --rose-gold:      #B9737D; /* [PROPOSAL] Jewelry metal. Photo "settings", rules, small text on dark (5.0:1). */
  --rose-gold-sheen: linear-gradient(115deg, #9E5764 0%, #C88690 28%, #EDC2B5 50%, #C07D87 72%, #8E4C59 100%);

  /* ---------- Facet colors (all from the logo's gem) ---------- */
  --pivot:          #E0834F; /* [LOGO] The pivot arrow. Action only: Donate. Text on it: --leading only. */
  --pivot-hover:    #EA9466;
  --gem:            #0D59D4; /* [LOGO] The "313" numerals. Links on --blush (5.1:1). Never on dark. */
  --ruby:           #C9322C; /* [LOGO] Phase 2: the Rubys. */
  --facet-green:    #327F52; /* [LOGO] Phase 1: Family Foundation. */
  --ice:            #1BB7DF; /* [LOGO] Phase 3: Diamond. Links + focus on dark (7.6:1). */

  /* ---------- Signal color (deliberately outside the brand) ---------- */
  --caution:        #F2C230; /* [PROPOSAL] Placeholders ONLY, so nothing unfinished ships. */

  /* ---------- Semantic roles ---------- */
  --bg:             var(--blush);
  --text:           var(--leading);
  --text-muted:     var(--mauve);
  --link:           var(--gem);
  --focus:          var(--gem);
  --text-on-dark:   var(--blush);
  --link-on-dark:   var(--ice);
  --focus-on-dark:  var(--ice);

  /* Program phase coding. Orange stays out so it only ever means "take action". */
  --phase-1:        var(--facet-green);
  --phase-2:        var(--ruby);
  --phase-3:        var(--ice);
  --phase-4:        var(--rose);

  /* ---------- Typography ---------- */
  /* [PROPOSAL] League Gothic: Alternate Gothic revival (1903), industrial signage. Detroit, the pressure.
     Bodoni Moda italic: the Didone of jewelry advertising. The diamond. Quotes and promises only.
     Public Sans: built for U.S. government sites. Everything else. */
  --font-display:   "League Gothic", Impact, "Arial Narrow", sans-serif;
  --font-accent:    "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --font-body:      "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero:        clamp(3.25rem, 1.5rem + 5.2vw, 8.5rem);
  --fs-display:     clamp(3.25rem, 2rem + 5vw, 8rem);
  --fs-h2:          clamp(2.75rem, 1.9rem + 3.6vw, 5.5rem);
  --fs-h3:          clamp(1.875rem, 1.5rem + 1.4vw, 2.75rem);
  --fs-numeral:     clamp(5rem, 3.5rem + 5vw, 9rem);
  --fs-quote:       clamp(1.625rem, 1.2rem + 1.6vw, 2.75rem);
  --fs-lead:        clamp(1.1875rem, 1.06rem + 0.55vw, 1.5rem);
  --fs-body:        clamp(1.0625rem, 1.02rem + 0.2vw, 1.1875rem);
  --fs-small:       0.9375rem;
  --fs-xsmall:      0.8125rem;

  --lh-display:     0.92;
  --lh-heading:     1;
  --lh-lead:        1.45;
  --lh-body:        1.6;
  --measure:        66ch;

  /* ---------- Space (8px 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;
  --section-y:      clamp(4rem, 2.5rem + 6vw, 8.5rem);

  /* ---------- Grid ---------- */
  --container:      1360px;
  --gutter-page:    clamp(1.25rem, 0.6rem + 3.6vw, 4.5rem);
  --gap:            clamp(1rem, 0.6rem + 1.4vw, 2rem);
  --columns:        4;           /* 4 at mobile, 8 at >=48em, 12 at >=64em */

  /* ---------- Lines & shape ---------- */
  --rule:           3px;         /* The logo's outline weight */
  --setting:        5px;         /* Rose-gold photo frame width */
  --cut:            14px;        /* Facet cut: one clipped corner on buttons, cards and photos */

  /* ---------- Facet band heights ---------- */
  --band-l:         clamp(1.75rem, 1rem + 2.6vw, 3.5rem);
  --band-m:         clamp(1.25rem, 0.9rem + 1.4vw, 2.25rem);
  --band-s:         1.125rem;

  /* ---------- Motion ---------- */
  --ease-out:       cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast:       160ms;
  --dur-base:       240ms;
  --dur-band:       900ms;

  /* ---------- Texture (inline SVG noise; no image requests) ---------- */
  --tex-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --tex-cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='900'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");

  /* Facet band: the logo's gem as a strip of triangles with Leading lines between */
  --facet-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='56' viewBox='0 0 420 56'%3E%3Cg stroke='%2310162A' stroke-width='3' stroke-linejoin='miter'%3E%3Cpolygon points='0,56 42,0 84,56' fill='%230D59D4'/%3E%3Cpolygon points='42,0 126,0 84,56' fill='%231BB7DF'/%3E%3Cpolygon points='84,56 126,0 168,56' fill='%23E0834F'/%3E%3Cpolygon points='126,0 210,0 168,56' fill='%23C9322C'/%3E%3Cpolygon points='168,56 210,0 252,56' fill='%23327F52'/%3E%3Cpolygon points='210,0 294,0 252,56' fill='%23CFA6A0'/%3E%3Cpolygon points='252,56 294,0 336,56' fill='%230D59D4'/%3E%3Cpolygon points='294,0 378,0 336,56' fill='%23E0834F'/%3E%3Cpolygon points='336,56 378,0 420,56' fill='%231BB7DF'/%3E%3Cpolygon points='378,0 462,0 420,56' fill='%23C9322C'/%3E%3Cpolygon points='-42,0 42,0 0,56' fill='%23C9322C'/%3E%3C/g%3E%3C/svg%3E");
  /* Rose variant: same geometry in rose, rose gold, blush and mauve. For softer edges. */
  --facet-band-rose: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='56' viewBox='0 0 420 56'%3E%3Cg stroke='%2310162A' stroke-width='3' stroke-linejoin='miter'%3E%3Cpolygon points='0,56 42,0 84,56' fill='%23CFA6A0'/%3E%3Cpolygon points='42,0 126,0 84,56' fill='%23EDC2B5'/%3E%3Cpolygon points='84,56 126,0 168,56' fill='%23B9737D'/%3E%3Cpolygon points='126,0 210,0 168,56' fill='%237A5A69'/%3E%3Cpolygon points='168,56 210,0 252,56' fill='%23E2D3CF'/%3E%3Cpolygon points='210,0 294,0 252,56' fill='%23CFA6A0'/%3E%3Cpolygon points='252,56 294,0 336,56' fill='%237A5A69'/%3E%3Cpolygon points='294,0 378,0 336,56' fill='%23B9737D'/%3E%3Cpolygon points='336,56 378,0 420,56' fill='%23EDC2B5'/%3E%3Cpolygon points='378,0 462,0 420,56' fill='%237A5A69'/%3E%3Cpolygon points='-42,0 42,0 0,56' fill='%237A5A69'/%3E%3C/g%3E%3C/svg%3E");
}
