/* Feat: Text, Headings, & Spacing */
:root {
  --root-font-size: 100%;
}

/* Feat: Palette */
:root {
  --primary: oklch(56.9262403384% 0 0deg);
  --primary-hover: oklch(65.5% 0 0deg);
  --primary-ultra-light: oklch(95% 0 198.4349488229deg);
  --primary-light: oklch(85% 0 164.0546040991deg);
  --primary-semi-light: oklch(65% 0 180deg);
  --primary-semi-dark: oklch(35% 0 180deg);
  --primary-dark: oklch(25% 0 180deg);
  --primary-ultra-dark: oklch(10% 0 180deg);
  --secondary: oklch(31.7136009839% 0 0deg);
  --secondary-hover: oklch(36.5% 0 201.8014094864deg);
  --secondary-ultra-light: oklch(95% 0 198.4349488229deg);
  --secondary-light: oklch(85% 0 164.0546040991deg);
  --secondary-semi-light: oklch(65% 0 180deg);
  --secondary-semi-dark: oklch(35% 0 180deg);
  --secondary-dark: oklch(25% 0 180deg);
  --secondary-ultra-dark: oklch(10% 0 180deg);
  --accent: oklch(73.92523601% 0.121609842 194.8437662176deg);
  --accent-hover: oklch(85% 0.122 194.8437662176deg);
  --accent-ultra-light: oklch(95% 0.086 194.8430230314deg);
  --accent-light: oklch(85% 0.122 194.8437662176deg);
  --accent-semi-light: oklch(65% 0.122 194.8437662176deg);
  --accent-semi-dark: oklch(35% 0.08 194.8464679555deg);
  --accent-dark: oklch(25% 0.057 194.8437662176deg);
  --accent-ultra-dark: oklch(10% 0.023 194.8507130798deg);
  --base: oklch(24.8982055041% 0.0437979906 239.082972926deg);
  --base-hover: oklch(28.6% 0.044 239.082972926deg);
  --base-ultra-light: oklch(95% 0.029 239.0101200211deg);
  --base-light: oklch(85% 0.044 239.082972926deg);
  --base-semi-light: oklch(65% 0.044 239.082972926deg);
  --base-semi-dark: oklch(35% 0.044 239.082972926deg);
  --base-dark: oklch(25% 0.044 239.082972926deg);
  --base-ultra-dark: oklch(10% 0.03 239.0991509208deg);
  --neutral: oklch(0% 0 0deg);
  --neutral-hover: oklch(0% 0 0deg);
  --neutral-ultra-light: oklch(95% 0 198.4349488229deg);
  --neutral-light: oklch(85% 0 164.0546040991deg);
  --neutral-semi-light: oklch(65% 0 180deg);
  --neutral-semi-dark: oklch(35% 0 180deg);
  --neutral-dark: oklch(25% 0 180deg);
  --neutral-ultra-dark: oklch(10% 0 180deg);
  --white: #fff;
  --black: #000;
  --heading-color: var(--text-dark);
}

/* Feat: Text Size Variables */
:root {
  --text-xs: clamp(0.8125rem, 0.119047619vw + 0.7857142857rem, 0.875rem);
  --text-s: clamp(0.875rem, 0.119047619vw + 0.8482142857rem, 0.9375rem);
  --text-m: clamp(1rem, 0.2380952381vw + 0.9464285714rem, 1.125rem);
  --text-l: clamp(1.2rem, 0.5707142857vw + 1.0715892857rem, 1.499625rem);
  --text-xl: clamp(1.44rem, 1.0647621429vw + 1.2004285179rem, 1.999000125rem);
  --text-xxl: clamp(1.728rem, 1.7841279364vw + 1.3265712143rem, 2.6646671666rem);
  --text-s-to-xs: clamp(0.8125rem, 0.2380952381vw + 0.7589285714rem, 0.9375rem);
  --text-m-to-s: clamp(0.875rem, 0.4761904762vw + 0.7678571429rem, 1.125rem);
  --text-m-to-xs: clamp(0.8125rem, 0.5952380952vw + 0.6785714286rem, 1.125rem);
  --text-l-to-m: clamp(1rem, 0.9516666667vw + 0.785875rem, 1.499625rem);
  --text-l-to-s: clamp(0.875rem, 1.1897619048vw + 0.6073035714rem, 1.499625rem);
  --text-l-to-xs: clamp(0.8125rem, 1.3088095238vw + 0.5180178571rem, 1.499625rem);
  --text-xl-to-l: clamp(1.2rem, 1.521905vw + 0.857571375rem, 1.999000125rem);
  --text-xl-to-m: clamp(1rem, 1.902857381vw + 0.5718570893rem, 1.999000125rem);
  --text-xl-to-s: clamp(0.875rem, 2.140952619vw + 0.3932856607rem, 1.999000125rem);
  --text-xl-to-xs: clamp(0.8125rem, 2.2600002381vw + 0.3039999464rem, 1.999000125rem);
  --text-xxl-to-xl: clamp(1.44rem, 2.332699365vw + 0.9151426429rem, 2.6646671666rem);
  --text-xxl-to-l: clamp(1.2rem, 2.7898422221vw + 0.5722855rem, 2.6646671666rem);
  --text-xxl-to-m: clamp(1rem, 3.1707946031vw + 0.2865712143rem, 2.6646671666rem);
  --text-xxl-to-s: clamp(0.875rem, 3.4088898412vw + 0.1079997857rem, 2.6646671666rem);
  --text-xxl-to-xs: clamp(0.8125rem, 3.5279374602vw + 0.0187140714rem, 2.6646671666rem);
}

/* Feat: Heading Size Variables */
:root {
  --h6: clamp(0.8125rem, 0.119047619vw + 0.7857142857rem, 0.875rem);
  --h5: clamp(0.875rem, 0.119047619vw + 0.8482142857rem, 0.9375rem);
  --h4: clamp(1.125rem, 0.2380952381vw + 1.0714285714rem, 1.25rem);
  --h3: clamp(1.35rem, 0.6023809524vw + 1.2144642857rem, 1.66625rem);
  --h2: clamp(1.62rem, 1.1449738095vw + 1.3623808929rem, 2.22111125rem);
  --h1: clamp(1.944rem, 1.9366500881vw + 1.5082537302rem, 2.9607412962rem);
  --h5-to-h6: clamp(0.8125rem, 0.2380952381vw + 0.7589285714rem, 0.9375rem);
  --h4-to-h5: clamp(0.875rem, 0.7142857143vw + 0.7142857143rem, 1.25rem);
  --h4-to-h6: clamp(0.8125rem, 0.8333333333vw + 0.625rem, 1.25rem);
  --h3-to-h4: clamp(1.125rem, 1.030952381vw + 0.8930357143rem, 1.66625rem);
  --h3-to-h5: clamp(0.875rem, 1.5071428571vw + 0.5358928571rem, 1.66625rem);
  --h3-to-h6: clamp(0.8125rem, 1.6261904762vw + 0.4466071429rem, 1.66625rem);
  --h2-to-h3: clamp(1.35rem, 1.6592595238vw + 0.9766666071rem, 2.22111125rem);
  --h2-to-h4: clamp(1.125rem, 2.0878309524vw + 0.6552380357rem, 2.22111125rem);
  --h2-to-h5: clamp(0.875rem, 2.5640214286vw + 0.2980951786rem, 2.22111125rem);
  --h2-to-h6: clamp(0.8125rem, 2.6830690476vw + 0.2088094643rem, 2.22111125rem);
  --h1-to-h2: clamp(1.62rem, 2.5537929452vw + 1.0453965873rem, 2.9607412962rem);
  --h1-to-h3: clamp(1.35rem, 3.0680786595vw + 0.6596823016rem, 2.9607412962rem);
  --h1-to-h4: clamp(1.125rem, 3.4966500881vw + 0.3382537302rem, 2.9607412962rem);
  --h1-to-h5: clamp(0.875rem, 3.9728405643vw + -0.018889127rem, 2.9607412962rem);
  --h1-to-h6: clamp(0.8125rem, 4.0918881833vw + -0.1081748412rem, 2.9607412962rem);
}

/* Feat: Space Variables */
:root {
  --space-xs: clamp(0.8333333333rem, -0.0206451427vw + 0.8488171904rem, 0.8441720333rem);
  --space-s: clamp(1.1252813203rem, 0.2375593898vw + 1.0718304576rem, 1.25rem);
  --space-s-to-xs: clamp(0.8441720333rem, 0.7730056509vw + 0.6702457618rem, 1.25rem);
  --space-m: clamp(1.5rem, 0.7142857143vw + 1.3392857143rem, 1.875rem);
  --space-m-to-s: clamp(1.1252813203rem, 1.4280355803vw + 0.8039733148rem, 1.875rem);
  --space-m-to-xs: clamp(0.8441720333rem, 1.9634818414vw + 0.4023886189rem, 1.875rem);
  --space-l: clamp(1.9995rem, 1.5485714286vw + 1.6510714286rem, 2.8125rem);
  --space-l-to-m: clamp(1.5rem, 2.5vw + 0.9375rem, 2.8125rem);
  --space-l-to-s: clamp(1.1252813203rem, 3.213749866vw + 0.4021876005rem, 2.8125rem);
  --space-l-to-xs: clamp(0.8441720333rem, 3.7491961271vw + 0.0006029047rem, 2.8125rem);
  --space-xl: clamp(2.6653335rem, 2.9588885714vw + 1.9995835714rem, 4.21875rem);
  --space-xl-to-l: clamp(1.9995rem, 4.2271428571vw + 1.0483928571rem, 4.21875rem);
  --space-xl-to-m: clamp(1.5rem, 5.1785714286vw + 0.3348214286rem, 4.21875rem);
  --space-xl-to-s: clamp(1.1252813203rem, 5.8923212946vw + -0.200490971rem, 4.21875rem);
  --space-xl-to-xs: clamp(0.8441720333rem, 6.4277675557vw + -0.6020756668rem, 4.21875rem);
  --space-xxl: clamp(3.5528895555rem, 5.2861627514vw + 2.3635029364rem, 6.328125rem);
  --space-xxl-to-xl: clamp(2.6653335rem, 6.9767457143vw + 1.0955657143rem, 6.328125rem);
  --space-xxl-to-l: clamp(1.9995rem, 8.245vw + 0.144375rem, 6.328125rem);
  --space-xxl-to-m: clamp(1.5rem, 9.1964285714vw + -0.5691964286rem, 6.328125rem);
  --space-xxl-to-s: clamp(1.1252813203rem, 9.9101784375vw + -1.1045088281rem, 6.328125rem);
  --space-xxl-to-xs: clamp(0.8441720333rem, 10.4456246986vw + -1.5060935239rem, 6.328125rem);
}

/* Feat: Section Space Variables */
:root {
  --section-space-xs: clamp(1.6883440665rem, 1.5460113019vw + 1.3404915236rem, 2.5rem);
  --section-space-s: clamp(2.2505626407rem, 2.8560711606vw + 1.6079466295rem, 3.75rem);
  --section-space-s-to-xs: clamp(1.6883440665rem, 3.9269636828vw + 0.8047772379rem, 3.75rem);
  --section-space-m: clamp(3rem, 5vw + 1.875rem, 5.625rem);
  --section-space-m-to-s: clamp(2.2505626407rem, 6.4274997321vw + 0.8043752009rem, 5.625rem);
  --section-space-m-to-xs: clamp(1.6883440665rem, 7.4983922543vw + 0.0012058093rem, 5.625rem);
  --section-space-l: clamp(3.999rem, 8.4542857143vw + 2.0967857143rem, 8.4375rem);
  --section-space-l-to-m: clamp(3rem, 10.3571428571vw + 0.6696428571rem, 8.4375rem);
  --section-space-l-to-s: clamp(2.2505626407rem, 11.7846425892vw + -0.4009819419rem, 8.4375rem);
  --section-space-l-to-xs: clamp(1.6883440665rem, 12.8555351114vw + -1.2041513336rem, 8.4375rem);
  --section-space-xl: clamp(5.330667rem, 13.9534914286vw + 2.1911314286rem, 12.65625rem);
  --section-space-xl-to-l: clamp(3.999rem, 16.49vw + 0.28875rem, 12.65625rem);
  --section-space-xl-to-m: clamp(3rem, 18.3928571429vw + -1.1383928571rem, 12.65625rem);
  --section-space-xl-to-s: clamp(2.2505626407rem, 19.8203568749vw + -2.2090176562rem, 12.65625rem);
  --section-space-xl-to-xs: clamp(1.6883440665rem, 20.8912493971vw + -3.0121870478rem, 12.65625rem);
  --section-space-xxl: clamp(7.105779111rem, 22.6258969314vw + 2.0149523014rem, 18.984375rem);
  --section-space-xxl-to-xl: clamp(5.330667rem, 26.0070628571vw + -0.5209221429rem, 18.984375rem);
  --section-space-xxl-to-l: clamp(3.999rem, 28.5435714286vw + -2.4233035714rem, 18.984375rem);
  --section-space-xxl-to-m: clamp(3rem, 30.4464285714vw + -3.8504464286rem, 18.984375rem);
  --section-space-xxl-to-s: clamp(2.2505626407rem, 31.8739283035vw + -4.9210712276rem, 18.984375rem);
  --section-space-xxl-to-xs: clamp(1.6883440665rem, 32.9448208257vw + -5.7242406193rem, 18.984375rem);
}

/* Feat: Contextual Space Variables */
:root {
  --content-gap: var(--space-m);
  --container-gap: var(--space-xl);
  --grid-gap: var(--space-m);
}

/* Feat: Width Variables */
:root {
  --width-10: calc(var(--content-width) * 0.1);
  --width-20: calc(var(--content-width) * 0.2);
  --width-30: calc(var(--content-width) * 0.3);
  --width-40: calc(var(--content-width) * 0.4);
  --width-50: calc(var(--content-width) * 0.5);
  --width-60: calc(var(--content-width) * 0.6);
  --width-70: calc(var(--content-width) * 0.7);
  --width-80: calc(var(--content-width) * 0.8);
  --width-90: calc(var(--content-width) * 0.9);
  --width-full: calc(var(--content-width) * 100%);
}

/* Feat: Grid Variables */
:root {
  --grid-1: repeat(1, minmax(0, 1fr));
  --grid-2: repeat(2, minmax(0, 1fr));
  --grid-3: repeat(3, minmax(0, 1fr));
  --grid-4: repeat(4, minmax(0, 1fr));
  --grid-5: repeat(5, minmax(0, 1fr));
  --grid-6: repeat(6, minmax(0, 1fr));
  --grid-7: repeat(7, minmax(0, 1fr));
  --grid-8: repeat(8, minmax(0, 1fr));
  --grid-9: repeat(9, minmax(0, 1fr));
  --grid-10: repeat(10, minmax(0, 1fr));
  --grid-11: repeat(11, minmax(0, 1fr));
  --grid-12: repeat(12, minmax(0, 1fr));
  --grid-1-2: minmax(0, 1fr) minmax(0, 2fr);
  --grid-1-3: minmax(0, 1fr) minmax(0, 3fr);
  --grid-2-1: minmax(0, 2fr) minmax(0, 1fr);
  --grid-2-3: minmax(0, 2fr) minmax(0, 3fr);
  --grid-3-1: minmax(0, 3fr) minmax(0, 1fr);
  --grid-3-2: minmax(0, 3fr) minmax(0, 2fr);
}

/* Feat: Auto Grid Variables */
:root {
  --grid-auto-2: repeat(auto-fit, minmax(min(100%, max(calc((var(--content-width) - ((2 - 1) * var(--grid-gap))) / 2) * 0.7, (100% - (2 - 1) * var(--grid-gap)) / 2)), 1fr));
  --grid-auto-3: repeat(auto-fit, minmax(min(100%, max(calc((var(--content-width) - ((3 - 1) * var(--grid-gap))) / 3) * 0.7, (100% - (3 - 1) * var(--grid-gap)) / 3)), 1fr));
  --grid-auto-4: repeat(auto-fit, minmax(min(100%, max(calc((var(--content-width) - ((4 - 1) * var(--grid-gap))) / 4) * 0.7, (100% - (4 - 1) * var(--grid-gap)) / 4)), 1fr));
  --grid-auto-5: repeat(auto-fit, minmax(min(100%, max(calc((var(--content-width) - ((5 - 1) * var(--grid-gap))) / 5) * 0.7, (100% - (5 - 1) * var(--grid-gap)) / 5)), 1fr));
  --grid-auto-6: repeat(auto-fit, minmax(min(100%, max(calc((var(--content-width) - ((6 - 1) * var(--grid-gap))) / 6) * 0.7, (100% - (6 - 1) * var(--grid-gap)) / 6)), 1fr));
  --grid-auto-7: repeat(auto-fit, minmax(min(100%, max(calc((var(--content-width) - ((7 - 1) * var(--grid-gap))) / 7) * 0.7, (100% - (7 - 1) * var(--grid-gap)) / 7)), 1fr));
  --grid-auto-8: repeat(auto-fit, minmax(min(100%, max(calc((var(--content-width) - ((8 - 1) * var(--grid-gap))) / 8) * 0.7, (100% - (8 - 1) * var(--grid-gap)) / 8)), 1fr));
  --grid-auto-9: repeat(auto-fit, minmax(min(100%, max(calc((var(--content-width) - ((9 - 1) * var(--grid-gap))) / 9) * 0.7, (100% - (9 - 1) * var(--grid-gap)) / 9)), 1fr));
  --grid-auto-10: repeat(auto-fit, minmax(min(100%, max(calc((var(--content-width) - ((10 - 1) * var(--grid-gap))) / 10) * 0.7, (100% - (10 - 1) * var(--grid-gap)) / 10)), 1fr));
  --grid-auto-11: repeat(auto-fit, minmax(min(100%, max(calc((var(--content-width) - ((11 - 1) * var(--grid-gap))) / 11) * 0.7, (100% - (11 - 1) * var(--grid-gap)) / 11)), 1fr));
  --grid-auto-12: repeat(auto-fit, minmax(min(100%, max(calc((var(--content-width) - ((12 - 1) * var(--grid-gap))) / 12) * 0.7, (100% - (12 - 1) * var(--grid-gap)) / 12)), 1fr));
  --auto-grid-aggressiveness: 0.7;
}

/* Feat: Header Height Variables */
:root {
  --header-height: clamp(0rem, 0vw + 0rem, 0rem);
  --admin-bar-height: var(--wp-admin--admin-bar--height, 0px);
}

:root {
  --scroll-margin: clamp(0rem, 0vw + 0rem, 0rem);
  --offset: clamp(0rem, 0vw + 0rem, 0rem);
}

/* Feat: Link Variables */
:root {
  --link-color: var(--primary);
  --link-color-hover: var(--primary-hover);
  --link-transition: var(--transition);
  --link-decoration: inherit;
  --link-decoration-hover: inherit;
  --link-underline-offset: auto;
  --link-weight: inherit;
}

/* Feat: Column Variables */
:root {
  --col-width-s: 13rem;
  --col-width-m: 25rem;
  --col-width-l: 38rem;
  --col-rule-width-s: 0.5px;
  --col-rule-width-m: 1px;
  --col-rule-width-l: 3px;
}

/* Feat: Sticky Variables */
:root {
  --sticky-offset-custom: 60px;
}

/* Contextual Color Variables */
:root {
  --body-bg-color: var(--white);
  --bg-ultra-light: var(--neutral-ultra-light);
  --bg-light: var(--neutral-light);
  --bg-dark: var(--neutral-dark);
  --bg-ultra-dark: var(--neutral-ultra-dark);
  --text-light: var(--white);
  --text-light-muted: color-mix(in srgb, var(--text-light) 80%, transparent);
  --text-dark: var(--black);
  --text-dark-muted: color-mix(in srgb, var(--text-dark) 80%, transparent);
}

/* Feat: Contextual Relationship Variables */
:root {
  --bg-ultra-light-text: var(--text-dark);
  --bg-light-text: var(--text-dark);
  --bg-dark-text: var(--text-light);
  --bg-ultra-dark-text: var(--text-light);
  --bg-ultra-light-heading: var(--text-dark);
  --bg-light-heading: var(--text-dark);
  --bg-dark-heading: var(--text-light);
  --bg-ultra-dark-heading: var(--text-light);
  --bg-ultra-light-button: primary;
  --bg-light-button: primary;
  --bg-dark-button: primary;
  --bg-ultra-dark-button: primary;
  --bg-ultra-light-icon: light;
  --bg-light-icon: light;
  --bg-dark-icon: dark;
  --bg-ultra-dark-icon: dark;
}

/* Feat: Radius Variables */
:root {
  --radius: 5px;
  --radius-50: 50%;
  --radius-circle: 50vw;
  --radius-none: 0;
  --radius-m: var(--radius);
}

/* Feat: Border Variables */
:root {
  --border-size: 1px;
  --border-width: 1px;
  --border-style: solid;
  --border-color-dark: color-mix(in oklch, var(--black) 20%, transparent);
  --border-color-light: color-mix(in oklch, var(--white) 20%, transparent);
  --border: var(--border-size) var(--border-style) var(--border-color-dark);
  --border-light: var(--border-size) var(--border-style) var(--border-color-light);
  --border-dark: var(--border-size) var(--border-style) var(--border-color-dark);
}

/* Feat: Divider Variables */
:root {
  --divider-size: 1px;
  --divider-style: solid;
  --divider-inline-size: 100%;
  --divider-gap: var(--content-gap);
  --divider-color-dark: color-mix(in srgb, var(--black) 20%, transparent);
  --divider-color-light: color-mix(in srgb, var(--white) 20%, transparent);
  --divider: var(--divider-size) var(--divider-style) var(--divider-color-dark);
  --divider-light: var(--divider-size) var(--divider-style) var(--divider-color-light);
  --divider-dark: var(--divider-size) var(--divider-style) var(--divider-color-dark);
}

/* Feat: Transition Variables */
:root {
  --transition-duration: 0.3s;
  --transition-timing: ease-in-out;
  --transition-delay: 0s;
  --transition: 0.3s ease-in-out 0s;
}

/* Feat: Box Shadow Variables */
:root {
  --box-shadow-1: 0 0 40px color-mix(in srgb, black 10%, transparent);
  --box-shadow-2: 0 0 60px color-mix(in srgb, black 20%, transparent);
  --box-shadow-3: 0 0 80px color-mix(in srgb, black 30%, transparent);
}

/* Feat: Text Shadow Variables */
:root {
  --text-shadow-1: 0 1px 2px color-mix(in srgb, black 20%, transparent);
  --text-shadow-2: 0 2px 4px color-mix(in srgb, black 30%, transparent);
  --text-shadow-3: 0 4px 8px color-mix(in srgb, black 40%, transparent);
}

/* Feat: Drop Shadow Variables */
:root {
  --drop-shadow-1: drop-shadow(0 1px 2px color-mix(in srgb, black 15%, transparent));
  --drop-shadow-2: drop-shadow(0 4px 6px color-mix(in srgb, black 20%, transparent));
  --drop-shadow-3: drop-shadow(0 10px 15px color-mix(in srgb, black 25%, transparent));
}

/* Color Scheme */
:root {
  color-scheme: light only;
}

.scheme--light {
  color-scheme: light;
}

.scheme--dark {
  color-scheme: dark;
}

/* Scroll offset */
[id] {
  scroll-margin-top: var(--offset, 0);
}

.bg--ultra-light {
  background: var(--bg-ultra-light);
}

.bg--light {
  background: var(--bg-light);
}

.bg--dark {
  background: var(--bg-dark);
}

.bg--ultra-dark {
  background: var(--bg-ultra-dark);
}

.text--light {
  color: var(--text-light);
}

.text--light-muted {
  color: var(--text-light-muted);
}

.text--dark {
  color: var(--text-dark);
}

.text--dark-muted {
  color: var(--text-dark-muted);
}

:where(.bg--ultra-light) {
  --relative-text-color: var(--bg-ultra-light-text);
  color: var(--relative-text-color, inherit);
}

:where(.bg--light) {
  --relative-text-color: var(--bg-light-text);
  color: var(--relative-text-color, inherit);
}

:where(.bg--dark) {
  --relative-text-color: var(--bg-dark-text);
  color: var(--relative-text-color, inherit);
}

:where(.bg--ultra-dark) {
  --relative-text-color: var(--bg-ultra-dark-text);
  color: var(--relative-text-color, inherit);
}

.bg--ultra-light :where(h1, h2, h3, h4, h5, h6) {
  color: var(--relative-heading-color, inherit);
}

.bg--light :where(h1, h2, h3, h4, h5, h6) {
  color: var(--relative-heading-color, inherit);
}

.bg--dark :where(h1, h2, h3, h4, h5, h6) {
  color: var(--relative-heading-color, inherit);
}

.bg--ultra-dark :where(h1, h2, h3, h4, h5, h6) {
  color: var(--relative-heading-color, inherit);
}

.bg--ultra-light {
  --relative-heading-color: var(--bg-ultra-light-heading);
}

.bg--light {
  --relative-heading-color: var(--bg-light-heading);
}

.bg--dark {
  --relative-heading-color: var(--bg-dark-heading);
}

.bg--ultra-dark {
  --relative-heading-color: var(--bg-ultra-dark-heading);
}

.bg--ultra-light {
  --icon-scheme: var(--bg-ultra-light-icon);
}

.bg--light {
  --icon-scheme: var(--bg-light-icon);
}

.bg--dark {
  --icon-scheme: var(--bg-dark-icon);
}

.bg--ultra-dark {
  --icon-scheme: var(--bg-ultra-dark-icon);
}

:is(.text--xxl, .text--xl, .text--l, .text--m, .text--s, .text--xs) {
  line-height: var(--text-line-height);
  text-wrap: var(--text-text-wrap);
}

.text--xxl {
  font-size: var(--text-xxl);
}

.text--xxl:is(p, li, blockquote, h1, h2, h3, h4, h5, h6, span, strong, cite) {
  max-width: var(--text-xxl-max-width);
}

.text--xl {
  font-size: var(--text-xl);
}

.text--xl:is(p, li, blockquote, h1, h2, h3, h4, h5, h6, span, strong, cite) {
  max-width: var(--text-xl-max-width);
}

.text--l {
  font-size: var(--text-l);
}

.text--l:is(p, li, blockquote, h1, h2, h3, h4, h5, h6, span, strong, cite) {
  max-width: var(--text-l-max-width);
}

.text--m {
  font-size: var(--text-m);
  line-height: var(--text-m-line-height);
}

.text--m:is(p, li, blockquote, h1, h2, h3, h4, h5, h6, span, strong, cite) {
  max-width: var(--text-m-max-width);
}

.text--s {
  font-size: var(--text-s);
}

.text--s:is(p, li, blockquote, h1, h2, h3, h4, h5, h6, span, strong, cite) {
  max-width: var(--text-s-max-width);
}

.text--xs {
  font-size: var(--text-xs);
}

.text--xs:is(p, li, blockquote, h1, h2, h3, h4, h5, h6, span, strong, cite) {
  max-width: var(--text-xs-max-width);
}

.h1 {
  font-size: var(--h1);
  max-width: var(--h1-max-width);
}

.h2 {
  font-size: var(--h2);
}

.h3 {
  font-size: var(--h3);
}

.h4 {
  font-size: var(--h4);
  line-height: var(--h4-line-height);
}

.h5 {
  font-size: var(--h5);
}

.h6 {
  font-size: var(--h6);
}

/* Feat: Position & Sticky */
.sticky {
  position: -webkit-sticky;
  position: sticky;
  inset-block-start: var(--sticky-offset, 0);
}

/* Feat: Width */
.width--10 {
  inline-size: 100%;
  max-inline-size: calc(var(--content-width) * 0.1);
}

.width--20 {
  inline-size: 100%;
  max-inline-size: calc(var(--content-width) * 0.2);
}

.width--30 {
  inline-size: 100%;
  max-inline-size: calc(var(--content-width) * 0.3);
}

.width--40 {
  inline-size: 100%;
  max-inline-size: calc(var(--content-width) * 0.4);
}

.width--50 {
  inline-size: 100%;
  max-inline-size: calc(var(--content-width) * 0.5);
}

.width--60 {
  inline-size: 100%;
  max-inline-size: calc(var(--content-width) * 0.6);
}

.width--70 {
  inline-size: 100%;
  max-inline-size: calc(var(--content-width) * 0.7);
}

.width--80 {
  inline-size: 100%;
  max-inline-size: calc(var(--content-width) * 0.8);
}

.width--90 {
  inline-size: 100%;
  max-inline-size: calc(var(--content-width) * 0.9);
}

.width--full {
  inline-size: 100%;
  max-inline-size: 100%;
}

figure[class*=width--] img {
  inline-size: 100%;
}

.width--auto {
  inline-size: auto !important;
  max-inline-size: 100%;
}

.content-width {
  inline-size: 100%;
  max-inline-size: var(--content-width);
  margin-inline: auto;
}

.content-width--safe {
  inline-size: 100%;
  max-inline-size: var(--content-width-safe);
  margin-inline: auto;
}

.width--max-content {
  inline-size: max-content;
  max-inline-size: 100%;
}

.width--min-content {
  inline-size: min-content;
  max-inline-size: 100%;
}

.width--fit-content {
  inline-size: fit-content;
  max-inline-size: 100%;
}

/* Feat: Auto Container Gap */
:where(section:not(section section)) {
  gap: var(--container-gap);
}

/* Feat: Auto Content Gap */
:where(section:not(section section)) > :where(div, ul, ol) {
  gap: var(--content-gap);
}

/* Feat: Auto Container Gap */
:where([data-etch-element=flex-div]:not(main)) {
  gap: var(--content-gap);
}

/* Feat: Auto Grid Gap */
section > div:where([class*=grid--]),
:where([class*=grid--]) {
  gap: var(--grid-gap);
}

:root {
  --transition-duration: 0.3s;
  --transition-timing: ease-in-out;
  --transition-delay: 0s;
  --transition: 0.3s ease-in-out 0s;
}

:root {
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-snappy: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-gentle: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bouncy: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-elastic: linear(0, 0.029 1.6%, 0.123 3.5%, 0.651 10.6%, 0.862 14.1%, 1.002 17.7%, 1.046 19.6%, 1.074 21.6%, 1.087 23.9%, 1.086 26.6%, 1.014 38.5%, 0.994 46.3%, 1);
}

@supports (animation-timeline: view()) {
  [class*=on-enter-all--] > * {
    animation-name: enter-animate;
    animation-timing-function: var(--scroll-animation-timing, linear);
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: var(--animate-range-start, entry 20%) var(--animate-range-end, entry 100%);
  }
  [class*=on-enter-all--].on-enter--stagger > * {
    animation-delay: calc(sibling-index() * var(--enter-stagger-interval, 5%));
  }
}
@supports not (animation-timeline: view()) {
  [class*=on-enter--],
  [class*=on-enter-all--] > * {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@supports (animation-timeline: view()) {
  [class*=on-exit-all--] > * {
    animation-name: exit-animate;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: var(--exit-range-start, exit 0%) var(--exit-range-end, exit 80%);
  }
  [class*=on-exit-all--].on-exit--stagger > * {
    animation-delay: calc(sibling-index() * var(--exit-stagger-interval, 5%));
  }
}
@supports not (animation-timeline: view()) {
  [class*=on-exit--],
  [class*=on-exit-all--] > * {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
[class*=on-visible-all--].on-visible--stagger > * {
  transition-delay: calc(sibling-index() * var(--visible-stagger-interval, 0.1s));
}

@media (prefers-reduced-motion: reduce) {
  [class*=on-enter--],
  [class*=on-enter-all--] > *,
  [class*=on-exit--],
  [class*=on-exit-all--] > * {
    animation: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }
  [class*=on-visible--],
  [class*=on-visible-all--] > * {
    transition: none !important;
    opacity: 1;
    translate: none;
    scale: none;
    filter: none;
  }
  [class*=on-hover--] {
    transition: none;
  }
  [class*=on-hover--]:hover {
    transform: none;
    translate: none;
    scale: none;
    box-shadow: initial;
    filter: none;
  }
}
:is(.wp-block-column) {
  row-gap: 0 !important;
}
:is(.wp-block-column) > * + * {
  margin-block-start: var(--flow-spacing, initial);
  margin-block-end: 0;
}
:is(.wp-block-column) > * + :where(h1, h2, h3, h4, h5, h6) {
  margin-block-start: var(--heading-spacing, var(--flow-spacing, initial));
  margin-block-end: 0;
}
:is(.wp-block-column) > :where(* + h2) {
  margin-block-start: var(--h2-spacing, var(--heading-spacing));
  margin-block-end: 0;
}
:is(.wp-block-column) > :where(* + h3) {
  margin-block-start: var(--h3-spacing, var(--heading-spacing));
  margin-block-end: 0;
}
:is(.wp-block-column) > :where(* + h4) {
  margin-block-start: var(--h4-spacing, var(--heading-spacing));
  margin-block-end: 0;
}
:is(.wp-block-column) > :where(* + h5) {
  margin-block-start: var(--h5-spacing, var(--heading-spacing));
  margin-block-end: 0;
}
:is(.wp-block-column) > :where(* + h6) {
  margin-block-start: var(--h6-spacing, var(--heading-spacing));
  margin-block-end: 0;
}
:is(.wp-block-column) > * + p {
  margin-block-start: var(--paragraph-spacing, var(--flow-spacing, initial));
  margin-block-end: 0;
}
:is(.wp-block-column) > :is(* + ul, * + ol) {
  margin-block: var(--list-spacing, var(--flow-spacing, initial));
}
:is(.wp-block-column) > :is(ul, ol) {
  padding-inline-start: var(--list-indent-spacing, var(--flow-spacing, initial));
}
:is(.wp-block-column) > ul * + li, :is(.wp-block-column) > ol * + li {
  margin-block-start: var(--list-item-spacing, var(--flow-spacing, initial));
  margin-block-end: 0;
}
:is(.wp-block-column) > ul ul, :is(.wp-block-column) > ol ol, :is(.wp-block-column) > ul ol, :is(.wp-block-column) > ol ul {
  margin-block: var(--nested-list-spacing, var(--list-item-spacing, initial));
  padding-inline-start: var(--nested-list-indent-spacing, initial);
}
:is(.wp-block-column) > :is(ul, ol) :is(ul, ol) li {
  margin-block-start: var(--nested-list-item-spacing, var(--list-item-spacing, initial));
}
:is(.wp-block-column) > * + figure, :is(.wp-block-column) > * + picture {
  margin-block: var(--figure-spacing, var(--flow-spacing, initial));
}
:is(.wp-block-column) figcaption {
  margin-block: var(--figcaption-spacing, var(--flow-spacing, initial));
}
:is(.wp-block-column) > * + blockquote:where(:not(figure > blockquote)) {
  margin-block: var(--blockquote-spacing, var(--flow-spacing, initial));
}
:is(.wp-block-column) > blockquote * + * {
  margin-block-start: var(--paragraph-spacing, var(--flow-spacing, initial));
  margin-block-end: 0;
}
:is(.wp-block-column) > :is(figure, blockquote, ul, ol):where(:not(:first-child)) + * {
  --paragraph-spacing: 0;
  --flow-spacing: 0;
}