/* ============================================================
   SHARE Design System, Drop-in CSS Tokens
   Paste this block into the <style> of any SHARE page.
   Brand palette per the official SHARE Brand Guide.
   ============================================================ */

:root {
  /* ===== Base canvas ===== */
  --bg: #000;

  /* ===== Brand palette (per share.fund Brand Guide) =====
     Nine canonical colors. Use these names as the source of truth.
     Pick ONE as the page or section accent and assign it to --accent. */
  --share-purple:    #8844CC;
  --share-pink:      #EE2299;
  --share-orange:    #E57930;
  --share-green:     #00DD77;
  --share-teal:      #22CCDD;
  --share-blue:      #369CEF;
  --share-dark-gold: #887755;
  --share-light-gold:#FFD569;
  --share-light-tan: #FFFBF6;

  /* ===== Tints (12% alpha) of each brand color, for backgrounds and hover fills ===== */
  --share-purple-bg:    rgba(136,  68, 204, 0.12);
  --share-pink-bg:      rgba(238,  34, 153, 0.12);
  --share-orange-bg:    rgba(229, 121,  48, 0.12);
  --share-green-bg:     rgba(  0, 221, 119, 0.12);
  --share-teal-bg:      rgba( 34, 204, 221, 0.12);
  --share-blue-bg:      rgba( 54, 156, 239, 0.12);
  --share-dark-gold-bg: rgba(136, 119,  85, 0.12);
  --share-light-gold-bg:rgba(255, 213, 105, 0.12);
  --share-light-tan-bg: rgba(255, 251, 246, 0.12);

  /* ===== Dim variants (~26% alpha — `+ "44"`) for soft borders, drop-shadow glows ===== */
  --share-purple-dim:    #8844CC44;
  --share-pink-dim:      #EE229944;
  --share-orange-dim:    #E5793044;
  --share-green-dim:     #00DD7744;
  --share-teal-dim:      #22CCDD44;
  --share-blue-dim:      #369CEF44;
  --share-dark-gold-dim: #88775544;
  --share-light-gold-dim:#FFD56944;
  --share-light-tan-dim: #FFFBF644;

  /* ===== Ink / text ===== */
  --ink-primary: var(--share-light-tan);   /* Cream — largest display words */
  --ink-bronze: #9C8874;                   /* Warm bronze — secondary display, logo */
  --ink-bronze-muted: #585144;             /* Muted bronze — tertiary, overlines */
  --text-strong: rgba(255, 255, 255, 0.85);
  --text-mid:    rgba(255, 255, 255, 0.65);
  --text-soft:   rgba(255, 255, 255, 0.40);
  --text-faint:  rgba(255, 255, 255, 0.15);

  /* ===== Surfaces ===== */
  --surface-1: rgba(255, 255, 255, 0.02);
  --surface-2: rgba(255, 255, 255, 0.04);
  --hairline:  rgba(255, 255, 255, 0.05);
  --hairline-hover: rgba(255, 255, 255, 0.12);

  /* ===== Layout ===== */
  --content-max: 1200px;
  --prose-max:   900px;
  --list-max:    600px;
  --section-padding-x: clamp(24px, 5vw, 80px);
  --section-gap: 160px;
  --subsection-gap: 80px;

  /* ===== Type scale (reference; use `clamp()` directly in rules) ===== */
  --font-serif: 'Cormorant', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ===== Easing ===== */
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);

  /* ===== Default accent — override per section by reassigning these three ===== */
  --accent:     var(--share-dark-gold);
  --accent-dim: var(--share-dark-gold-dim);
  --accent-bg:  var(--share-dark-gold-bg);
}

/* ---- Canonical SHARE section accents (Anatomy of the Soul mapping) ---- */
/* Apply via inline style on section root, e.g.:
     style="--accent:var(--share-purple);
            --accent-dim:var(--share-purple-dim);
            --accent-bg:var(--share-purple-bg);" */

/* Yechida  — purple : --share-purple    (#8844CC) */
/* Chaya    — blue   : --share-blue      (#369CEF) */
/* Neshama  — teal   : --share-teal      (#22CCDD) */
/* Ruach    — bronze : --share-dark-gold (#887755) */
/* Nefesh   — orange : --share-orange    (#E57930) */

/* ---- Global resets that belong with the tokens ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #333 #000;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

body {
  background: var(--bg);
  color: #fff;
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: none; height: auto; display: block; }

/* ---- Utility: fluid display text roles ---- */
.t-hero-serif   { font-family: var(--font-serif); font-weight: 300; font-size: clamp(48px, 10vw, 120px); letter-spacing: -2px; line-height: 0.9;  color: var(--ink-bronze); }
.t-hero-sans    { font-family: var(--font-sans);  font-weight: 800; font-size: clamp(52px, 12vw, 140px); letter-spacing: -3px; line-height: 0.95; color: var(--ink-primary); }
.t-section-name { font-family: var(--font-serif); font-weight: 700; font-size: clamp(56px, 10vw, 130px); letter-spacing: -3px; line-height: 0.95; color: #fff; }
.t-section-head { font-family: var(--font-serif); font-weight: 600; font-size: clamp(28px,  4vw,  42px); letter-spacing: -1px; }
.t-essence      { font-family: var(--font-serif); font-weight: 400; font-size: clamp(20px,  3vw,  32px); line-height: 1.8; color: var(--text-mid); }
.t-intro        { font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 3.5vw, 36px); line-height: 1.7; color: var(--text-mid); letter-spacing: -0.3px; }
.t-tagline      { font-family: var(--font-sans);  font-weight: 300; font-style: italic; font-size: clamp(16px, 2vw, 22px); line-height: 1.6; color: var(--text-soft); }
.t-callout      { font-family: var(--font-serif); font-weight: 400; font-size: clamp(24px,  4vw,  36px); color: #fff; }
.t-overline     { font-family: var(--font-sans);  font-weight: 500; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }
.t-label        { font-family: var(--font-sans);  font-weight: 600; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.t-body         { font-family: var(--font-sans);  font-weight: 400; font-size: 15px; line-height: 1.7; color: var(--text-strong); }
