/**
 * Snippet Name: YGF: Design System v3 -- 02 Foundation
 * Generated: 2026-11-05 00:05:01
 * Source: Custom
 * AUTO-GENERATED FILE — DO NOT EDIT.
 */

/* ==========================================================================
   YGF Design System v3 -- 02 Foundation
   Owns: body, base typography, GeneratePress shell reset for designed pages.
   Every selector is scoped to body.ygf-ds (added by the YGF DS loader
   snippet), so these modules are inert if the loader is switched off.
   ========================================================================== */

.ygf-ds {
  background-color: var(--ygf-parchment);
  color: var(--ygf-ink);
  font-family: var(--ygf-font-sans);
  font-size: var(--ygf-text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01" 1, "cv11" 1;
}

.ygf-ds ::selection { background: var(--ygf-gold-pale); color: var(--ygf-midnight); }

.ygf-ds :focus-visible {
  outline: 2px solid var(--ygf-gold);
  outline-offset: 3px;
  border-radius: var(--ygf-radius-xs);
}

/* --------------------------------------------------------------------------
   GeneratePress shell -- full-bleed canvas for pages built on .ygf-page
   -------------------------------------------------------------------------- */
.ygf-ds:has(.ygf-page) .site.grid-container,
.ygf-ds:has(.ygf-page) .site-content {
  max-width: none;
  padding: 0;
  margin: 0;
  background: transparent;
}
.ygf-ds:has(.ygf-page) .site-content { display: block; }
.ygf-ds:has(.ygf-page) .content-area,
.ygf-ds:has(.ygf-page) .site-main {
  width: 100%;
  margin: 0;
  padding: 0;
  float: none;
}
.ygf-ds:has(.ygf-page) .inside-article,
.ygf-ds:has(.ygf-page) .site-main > article {
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
}
.ygf-ds:has(.ygf-page) .entry-header,
.ygf-ds:has(.ygf-page) .page-header-image { display: none; }
.ygf-ds:has(.ygf-page) .entry-content { margin: 0; }
.ygf-ds:has(.ygf-page) .entry-content > p:empty { display: none; }

/* Legal/plain pages keep a readable card */
.ygf-ds:not(:has(.ygf-page)).page .inside-article,
.ygf-ds:not(:has(.ygf-page)).single .inside-article {
  background: var(--ygf-surface);
  border: var(--ygf-hairline);
  border-radius: var(--ygf-radius-lg);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  max-width: 860px;
  margin: clamp(2rem, 5vw, 4rem) auto;
  box-shadow: var(--ygf-shadow-card);
}
.ygf-ds:not(:has(.ygf-page)) .entry-title {
  font-family: var(--ygf-font-display);
  font-weight: 400;
  font-size: var(--ygf-h1);
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ygf-midnight);
}
.ygf-ds:not(:has(.ygf-page)) .entry-content h2,
.ygf-ds:not(:has(.ygf-page)) .entry-content h3 {
  font-family: var(--ygf-font-display);
  font-weight: 500;
  color: var(--ygf-midnight);
  letter-spacing: -0.015em;
  margin-top: 2em;
}

/* --------------------------------------------------------------------------
   Page typography -- applies inside .ygf-page
   -------------------------------------------------------------------------- */
.ygf-ds .ygf-page {
  color: var(--ygf-ink);
  overflow-x: clip;
}

.ygf-ds .ygf-page h1,
.ygf-ds .ygf-page h2,
.ygf-ds .ygf-page h3,
.ygf-ds .ygf-page h4 {
  font-family: var(--ygf-font-display);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 40, "WONK" 0;
  color: var(--ygf-midnight);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin: 0 0 var(--ygf-space-sm);
  text-wrap: balance;
}
.ygf-ds .ygf-page h1 { font-size: var(--ygf-h1); letter-spacing: -0.03em; line-height: 1.02; }
.ygf-ds .ygf-page h2 { font-size: var(--ygf-h2); }
.ygf-ds .ygf-page h3 { font-size: var(--ygf-h3); font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }
.ygf-ds .ygf-page h4 {
  font-family: var(--ygf-font-sans);
  font-size: var(--ygf-text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ygf-gold-deep);
  line-height: 1.4;
}

.ygf-ds .ygf-page h1 em,
.ygf-ds .ygf-page h2 em,
.ygf-ds .ygf-page h3 em {
  font-style: italic;
  font-weight: 350;
  color: var(--ygf-gold-deep);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.ygf-ds .ygf-page :where(p) {
  margin: 0 0 var(--ygf-space-sm);
  max-width: 68ch;
  text-wrap: pretty;
}
.ygf-ds .ygf-page :where(p:last-child) { margin-bottom: 0; }
.ygf-ds .ygf-page strong { font-weight: 600; color: var(--ygf-midnight); }

.ygf-ds .ygf-page :where(ul, ol) { margin: 0; padding: 0; }

.ygf-ds .ygf-page a:not([class]) {
  color: var(--ygf-midnight);
  text-decoration: underline;
  text-decoration-color: var(--ygf-gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  transition: color var(--ygf-dur-fast) var(--ygf-ease), text-decoration-color var(--ygf-dur-fast) var(--ygf-ease);
}
.ygf-ds .ygf-page a:not([class]):hover { color: var(--ygf-gold-deep); text-decoration-color: var(--ygf-gold-deep); }

.ygf-ds .ygf-page hr {
  border: 0;
  height: 1px;
  background: var(--ygf-stone);
  margin: var(--ygf-space-xl) 0;
}

.ygf-ds .ygf-page .ygf-num,
.ygf-ds .ygf-page .ygf-mono {
  font-family: var(--ygf-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
