/* =============================================================================
   TOKENS.CSS  —  THE VARIANCE LAYER  (the ONE surface that reskins the site)
   -----------------------------------------------------------------------------
   Every color, font, radius, shadow and rhythm decision in base.css reads from a
   token defined here. Swap these values (or, for the three brand colors, set them
   in the Customizer / rebrand script and header.php overrides them live) and the
   whole church site changes personality with zero base.css edits.

   DEFAULT THEME  =  "Sanctuary": deep indigo ink + warm brass accent + soft
   ivory paper. A reverent, welcoming, timeless look. It is a PLACEHOLDER identity
   replaced per the church's real brand direction (logo colors, banner, etc.).

   The three brand colors below (--brand, --accent, --ink) are ALSO the three
   Customizer color fields. header.php emits an inline <style> that overrides them
   from church_opt(), so a church rebrands from wp-admin without editing this file.
============================================================================= */

/* Fonts: reverent editorial serif display (Cormorant Garamond) + clean humanist
   sans (Figtree). With no network they fall back to system fonts (cosmetic). */

/* localized google fonts */
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYpHtKgS4.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYrXtKgS4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYpntKgS4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYp3tKgS4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYpHtKgS4.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYrXtKgS4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYpntKgS4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYp3tKgS4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYpHtKgS4.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYrXtKgS4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYpntKgS4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYp3tKgS4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(gf/co3bmX5slCNuHLi8bLeY9MK7whWMhyjYqXtK.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(gf/_Xms-HUzqDCFdgfMm4q9DbZs.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(gf/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(gf/_Xms-HUzqDCFdgfMm4q9DbZs.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(gf/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(gf/_Xms-HUzqDCFdgfMm4q9DbZs.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(gf/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(gf/_Xms-HUzqDCFdgfMm4q9DbZs.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(gf/_Xms-HUzqDCFdgfMm4S9DQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



:root {
  /* ---- TYPE ------------------------------------------------------------- */
  --font-display: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --weight-heading: 600;
  --weight-eyebrow: 600;
  --tracking-eyebrow: 0.22em;
  --eyebrow-transform: uppercase;
  --leading-tight: 1.06;
  --leading-body: 1.68;

  /* ---- BRAND COLOR (the three Customizer fields override these) --------- */
  --brand: #24304f;              /* deep indigo — headers, footer, primary buttons */
  --brand-deep: #1a2440;         /* darker partner for gradients / footer base */
  --brand-tint: #eef1f7;         /* faint indigo wash for alternating bands */
  --accent: #c69a4a;             /* warm brass — links, markers, small accents */
  --accent-deep: #a9803a;        /* pressed/hover accent */
  --accent-text: #7c5a1f;        /* brass TEXT on light — WCAG AA (>=4.5:1 on paper) */
  --accent-ink: #2a1f0b;         /* dark text that sits ON a brass fill */

  /* ---- NEUTRALS / SURFACES --------------------------------------------- */
  --paper: #f7f4ee;              /* page background (warm ivory) */
  --surface: #ffffff;            /* cards / raised surfaces */
  --surface-2: #fbf9f4;          /* alt surface for offset cards */
  --ink: #1e2432;               /* primary text (deep slate) */
  --ink-soft: #444b5c;           /* secondary text — AA on paper */
  --ink-faint: #5a6274;          /* meta / captions — AA (>=4.5:1) on paper + tint */
  --line: rgba(36, 48, 79, 0.16);/* hairlines / borders */
  --line-soft: rgba(36, 48, 79, 0.08);
  --on-brand: #f3f1ea;           /* text on dark brand surfaces */
  --on-brand-soft: rgba(243, 241, 234, 0.76);

  /* ---- SHAPE ------------------------------------------------------------ */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --img-frame-radius: 200px 200px 18px 18px; /* gentle chapel-arch on hero/about */
  --border-width: 1px;

  /* ---- DEPTH ------------------------------------------------------------ */
  --shadow-sm: 0 2px 10px rgba(26, 36, 64, 0.06);
  --shadow: 0 16px 40px rgba(26, 36, 64, 0.12);
  --shadow-lg: 0 32px 74px rgba(26, 36, 64, 0.16);
  --shadow-accent: 0 12px 26px rgba(198, 154, 74, 0.32);
  --ring: 0 0 0 1px var(--line);

  /* ---- RHYTHM / LAYOUT -------------------------------------------------- */
  --container: 1160px;
  --container-narrow: 760px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --header-height: 76px;
  --card-pad: clamp(1.35rem, 3vw, 2rem);

  /* ---- TYPE SCALE (fluid) ---------------------------------------------- */
  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
  --fs-small: 0.9rem;
  --fs-body: clamp(1rem, 0.97rem + 0.16vw, 1.09rem);
  --fs-lead: clamp(1.12rem, 1.02rem + 0.5vw, 1.34rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.3rem);
  --fs-display: clamp(2.7rem, 1.6rem + 5vw, 5.4rem);
  --fs-mega: clamp(3.2rem, 1.8rem + 6.6vw, 6.6rem);

  /* ---- IMAGERY TREATMENT ----------------------------------------------- */
  /* Garnet-to-charcoal scrim, tuned so white/cream hero text clears WCAG AA over
     even the brightest golden-hour regions of the hero photo (measured, not assumed). */
  --hero-overlay: linear-gradient(165deg, rgba(58,25,31,0.68) 0%, rgba(30,23,20,0.86) 100%);
  --img-tint: linear-gradient(210deg, rgba(198,154,74,0.10), rgba(36,48,79,0.18));
  --img-ring: 1px solid rgba(255, 255, 255, 0.5);

  /* ---- MOTION ----------------------------------------------------------- */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --dur: 640ms;
  --dur-fast: 220ms;

  /* ---- ELEVATION / WASH ------------------------------------------------- */
  --shadow-xl: 0 46px 104px -28px rgba(26, 36, 64, 0.32);
  --wash-accent: color-mix(in srgb, var(--accent) 12%, transparent);
  --wash-brand: color-mix(in srgb, var(--brand) 6%, transparent);
  --quote-ghost: color-mix(in srgb, var(--brand) 9%, transparent);
  --motif-opacity: 0.10;

  /* ---- PERSONALITY SWITCHES -------------------------------------------- */
  --btn-radius: var(--radius-pill);
  --section-band: var(--brand-tint);
  --marker-color: rgba(198, 154, 74, 0.30);
  --texture-opacity: 0.35;
}

/* Dark-brand context: elements inside .on-dark invert their text. */
.on-dark {
  --ink: var(--on-brand);
  --ink-soft: var(--on-brand-soft);
  --ink-faint: rgba(243, 241, 234, 0.58);
  --surface: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.16);
  --line-soft: rgba(255, 255, 255, 0.08);
}
