/**
 * Snippet Name: YGF: Design System v3 -- 01 Tokens
 * Generated: 2026-11-04 23:19:36
 * Source: Custom
 * AUTO-GENERATED FILE — DO NOT EDIT.
 */

/* ==========================================================================
   YGF Design System v3 -- 01 Tokens
   Owns: every custom property. No selectors other than :root.
   Load order: 01 tokens > 02 foundation > 03 header > 04 layout >
               05 components > 06 forms > 07 footer > 08 pages > 09 utilities
   Legacy token names (v2.x) are kept so form/confirmation markup that lives
   inside Gravity Forms settings keeps resolving.
   ========================================================================== */
:root {
  /* ---- Brand palette ---------------------------------------------------- */
  --ygf-midnight:        #0F1F3D;
  --ygf-midnight-deep:   #0A1730;
  --ygf-midnight-ink:    #071024;
  --ygf-midnight-soft:   #1B2D52;
  --ygf-midnight-line:   #26395F;
  --ygf-gold:            #B8893A;
  --ygf-gold-bright:     #CFA457;
  --ygf-gold-pale:       #E8D5AC;
  --ygf-gold-wash:       #F6EEDC;
  --ygf-gold-deep:       #8E6A2C;
  --ygf-ink:             #1A1D24;
  --ygf-slate:           #5B6472;
  --ygf-slate-soft:      #8A93A1;
  --ygf-parchment:       #FAF7F0;
  --ygf-parchment-deep:  #F2EDE0;
  --ygf-vellum:          #EDE6D4;
  --ygf-surface:         #FFFFFF;
  --ygf-stone:           #E6E2D6;
  --ygf-stone-soft:      #EFEBDF;

  /* ---- Functional -------------------------------------------------------- */
  --ygf-success: #2E6F4A;
  --ygf-error:   #9B2C2C;
  --ygf-info:    #2B5A8C;
  --ygf-live:    #3FA37A;

  /* ---- On-dark text ------------------------------------------------------ */
  --ygf-on-dark:        #F4EFE3;
  --ygf-on-dark-muted:  #B9C0CE;
  --ygf-on-dark-faint:  #7F8AA0;

  /* ---- Signature treatments --------------------------------------------- */
  --ygf-foil: linear-gradient(118deg, #8E6A2C 0%, #CFA457 34%, #B8893A 52%, #E8D5AC 74%, #B8893A 100%);
  --ygf-grid-dark:
    linear-gradient(rgba(207,164,87,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207,164,87,0.055) 1px, transparent 1px);
  --ygf-grid-light:
    linear-gradient(rgba(15,31,61,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,31,61,0.045) 1px, transparent 1px);
  --ygf-grid-size: 56px 56px;
  --ygf-ledger: repeating-linear-gradient(180deg, transparent 0, transparent 31px, rgba(15,31,61,0.06) 31px, rgba(15,31,61,0.06) 32px);

  /* ---- Type families ----------------------------------------------------- */
  --ygf-font-display: "Fraunces", "Source Serif Pro", "Iowan Old Style", Georgia, serif;
  --ygf-font-serif:   "Fraunces", "Source Serif Pro", "Iowan Old Style", Georgia, serif;
  --ygf-font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ygf-font-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* ---- Type scale -------------------------------------------------------- */
  --ygf-text-xs:   0.75rem;
  --ygf-text-sm:   0.875rem;
  --ygf-text-base: clamp(1.0313rem, 0.98rem + 0.2vw, 1.125rem);
  --ygf-text-lg:   clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --ygf-text-xl:   clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --ygf-h3:        clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --ygf-h2:        clamp(2rem, 1.45rem + 2.4vw, 3.25rem);
  --ygf-h1:        clamp(2.5rem, 1.6rem + 3.9vw, 4.75rem);
  --ygf-display:   clamp(2.75rem, 1.5rem + 5.4vw, 5.75rem);

  /* ---- Spacing (8pt rhythm) ---------------------------------------------- */
  --ygf-space-3xs: 0.25rem;
  --ygf-space-2xs: 0.5rem;
  --ygf-space-xs:  0.75rem;
  --ygf-space-sm:  1rem;
  --ygf-space-md:  1.5rem;
  --ygf-space-lg:  2rem;
  --ygf-space-xl:  3rem;
  --ygf-space-2xl: 4.5rem;
  --ygf-space-3xl: 6.5rem;
  --ygf-band-y:    clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --ygf-gutter:    clamp(1.25rem, 0.75rem + 2.4vw, 3rem);

  /* ---- Containers -------------------------------------------------------- */
  --ygf-wrap:         1240px;
  --ygf-wrap-narrow:  820px;
  --ygf-wrap-reading: 680px;

  /* ---- Radius, lines, shadow --------------------------------------------- */
  --ygf-radius-xs: 2px;
  --ygf-radius-sm: 4px;
  --ygf-radius-md: 8px;
  --ygf-radius-lg: 14px;
  --ygf-radius-xl: 22px;
  --ygf-radius-pill: 999px;
  --ygf-hairline:      1px solid var(--ygf-stone);
  --ygf-hairline-gold: 1px solid rgba(184,137,58,0.35);
  --ygf-hairline-dark: 1px solid rgba(232,213,172,0.14);
  --ygf-shadow-card:  0 1px 2px rgba(15,31,61,0.05), 0 10px 30px -12px rgba(15,31,61,0.14);
  --ygf-shadow-lift:  0 2px 6px rgba(15,31,61,0.06), 0 28px 60px -24px rgba(15,31,61,0.30);
  --ygf-shadow-deep:  0 40px 80px -30px rgba(4,10,24,0.65);
  --ygf-shadow-focus: 0 0 0 3px var(--ygf-surface), 0 0 0 5px var(--ygf-gold);

  /* ---- Motion ------------------------------------------------------------ */
  --ygf-ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ygf-ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ygf-dur-fast:  160ms;
  --ygf-dur-med:   280ms;
  --ygf-dur-slow:  640ms;

  /* ---- Chrome ------------------------------------------------------------ */
  --ygf-topbar-h: 36px;
  --ygf-header-h: 84px;
}
