/* ============================================================
   Holistic Wellness Hub CIC — design tokens & base styles
   Palette pulled from the supplied "holistic color palette":
   olive, deep forest, terracotta clay, warm taupe, soft sand,
   on a calm cream paper ground.
   ============================================================ */

:root {
  /* --- core earth palette --- */
  --olive:    #5e6336;   /* primary brand green   */
  --olive-700:#4c512c;
  --forest:   #2f3819;   /* deep accent green     */
  --clay:     #c08a63;   /* terracotta            */
  --clay-soft:#cf9d79;
  --taupe:    #9b917f;   /* warm grey-brown       */
  --sand:     #c4baa9;   /* soft neutral          */
  --sand-50:  #e7e0d3;

  /* --- paper & ink --- */
  --cream:    #f1ece2;   /* page ground           */
  --cream-2:  #e9e2d5;   /* alt section ground    */
  --paper:    #faf7f0;   /* cards / surfaces       */
  --ink:      #2b2d1e;   /* primary text          */
  --ink-soft: #565741;   /* secondary text        */
  --ink-mute: #837c69;   /* muted / captions      */
  --line:     #d8d0bf;   /* hairlines             */

  /* --- accent (tweakable) --- */
  --accent:   var(--clay);

  /* --- type --- */
  --sans: "Hanken Grotesk", "Helvetica Neue", Helvetica, system-ui, sans-serif;
  --serif:"Newsreader", Georgia, "Times New Roman", serif;
  --display: var(--sans);

  /* --- shape --- */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(43,45,30,.05), 0 4px 14px rgba(43,45,30,.05);
  --shadow-md: 0 10px 30px -12px rgba(43,45,30,.22);
  --shadow-lg: 0 30px 60px -24px rgba(43,45,30,.30);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

/* display sizing scale */
.t-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.t-display { font-size: clamp(2.7rem, 6.5vw, 5.2rem); }
.t-h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.t-h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.t-h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.t-lead {
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* layout helpers */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); }
.stack > * + * { margin-top: var(--s, 1rem); }

/* serif accent option */
.serif-display h1, .serif-display h2, .serif-display .t-display { font-family: var(--serif); letter-spacing: -0.01em; font-weight: 500; }

.brand-script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* selection */
::selection { background: var(--olive); color: var(--cream); }

/* focus */
:focus-visible { outline: 2.5px solid var(--olive); outline-offset: 3px; border-radius: 4px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* utility */
.center { text-align: center; }
.muted { color: var(--ink-mute); }
