/* ============================================================
   Embodied Trauma Therapy — Design System Tokens
   Source: ETT_Style-Guide.pdf + ETT palette.png
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Lato:wght@100;300;400;700&display=swap');

/* ── Core Brand Colors ─────────────────────────────────────── */
:root {
  --color-teal:       #449197;   /* Primary — friendly, calming */
  --color-teal-dark:  #3a7d82;   /* Hover state for teal */
  --color-sea-green:  #1D4142;   /* Dark anchor — authoritative */
  --color-pearl:      #DDDED9;   /* Soft bg — tranquil */
  --color-white:      #FFFFFF;   /* Open, clean */

  /* Extended palette (educational/marketing materials) */
  --color-charcoal:   #3D3D3D;
  --color-red:        #D93535;
  --color-crimson:    #C42B2B;
  --color-maroon:     #5C2020;
  --color-near-black: #2D0D0D;
  --color-hot-pink:   #FF1B8D;
  --color-pink:       #E05A85;
  --color-lavender:   #7B7BFF;
  --color-purple:     #8800CC;
  --color-coral:      #D45C45;
  --color-yellow:     #FFFE00;
  --color-lime:       #C5E032;

  /* ── Semantic Color Roles ──────────────────────────────── */
  --color-bg:           var(--color-white);
  --color-bg-soft:      var(--color-pearl);
  --color-bg-dark:      var(--color-sea-green);
  --color-fg:           var(--color-sea-green);
  --color-fg-muted:     #5a7172;
  --color-fg-on-dark:   var(--color-white);
  --color-primary:      var(--color-teal);
  --color-primary-dark: var(--color-sea-green);
  --color-accent:       var(--color-teal);
  --color-border:       var(--color-teal);
  --color-border-light: var(--color-pearl);
  --color-rule:         var(--color-teal);

  /* ── Typography ────────────────────────────────────────── */
  --font-serif:    'PT Serif', Georgia, serif;
  --font-sans:     'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --font-weight-hairline: 100;
  --font-weight-regular:  400;
  --font-weight-bold:     700;

  /* Type Scale */
  --text-display:  clamp(2.5rem, 6vw, 5rem);    /* Lato hairline */
  --text-h1:       clamp(2rem, 4vw, 3rem);       /* PT Serif bold */
  --text-h2:       clamp(1.5rem, 3vw, 2rem);     /* PT Serif bold */
  --text-h3:       clamp(1.125rem, 2vw, 1.375rem);
  --text-body:     1rem;                          /* Lato regular */
  --text-small:    0.875rem;
  --text-button:   0.8125rem;                    /* Lato bold all-caps */

  --line-height-display: 1.05;
  --line-height-heading: 1.2;
  --line-height-body:    1.65;

  --letter-spacing-display: -0.02em;
  --letter-spacing-button:   0.12em;

  /* ── Spacing ────────────────────────────────────────────── */
  --space-1:   0.25rem;   /*  4px */
  --space-2:   0.5rem;    /*  8px */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.5rem;    /* 24px */
  --space-6:   2rem;      /* 32px */
  --space-7:   3rem;      /* 48px */
  --space-8:   4rem;      /* 64px */
  --space-9:   6rem;      /* 96px */
  --space-10:  8rem;      /* 128px */

  /* ── Border & Radius ────────────────────────────────────── */
  --radius-none:   0;
  --radius-sm:     2px;
  --radius-md:     4px;
  --border-width:  1px;
  --border-width-accent: 2px;

  /* ── Shadows ─────────────────────────────────────────────── */
  --shadow-sm:  0 1px 3px rgba(29, 65, 66, 0.12);
  --shadow-md:  0 4px 12px rgba(29, 65, 66, 0.15);
  --shadow-lg:  0 8px 32px rgba(29, 65, 66, 0.18);

  /* ── Transitions ─────────────────────────────────────────── */
  --transition-base: 0.25s ease-in-out; /* @kind other */
}

/* ── Semantic Element Styles ─────────────────────────────────── */

body {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-regular);
  font-size: var(--text-body);
  line-height: var(--line-height-body);
  color: var(--color-fg);
  background-color: var(--color-bg);
}

/* Display — Lato hairline, large impactful text */
.display, [class*="display"] {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-hairline);
  font-size: var(--text-display);
  line-height: var(--line-height-display);
  letter-spacing: var(--letter-spacing-display);
  color: var(--color-sea-green);
}

/* H1 — PT Serif bold */
h1, .h1 {
  font-family: var(--font-serif);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-h1);
  line-height: var(--line-height-heading);
  color: var(--color-sea-green);
  margin: 0 0 var(--space-5);
}

/* H2 subheading — PT Serif bold */
h2, .h2 {
  font-family: var(--font-serif);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-h2);
  line-height: var(--line-height-heading);
  color: var(--color-sea-green);
  margin: 0 0 var(--space-4);
}

h3, .h3 {
  font-family: var(--font-serif);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-h3);
  line-height: var(--line-height-heading);
  color: var(--color-sea-green);
  margin: 0 0 var(--space-3);
}

/* Body — Lato regular */
p, .body {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-regular);
  font-size: var(--text-body);
  line-height: var(--line-height-body);
  color: var(--color-fg);
  margin: 0 0 var(--space-4);
}

/* Button text — Lato bold all-caps */
.btn-label {
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-button);
  letter-spacing: var(--letter-spacing-button);
  text-transform: uppercase;
}

/* ── Button Components ───────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: var(--font-weight-bold);
  font-size: var(--text-button);
  letter-spacing: var(--letter-spacing-button);
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border: var(--border-width-accent) solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-teal);
  color: var(--color-teal);
}
.btn-outline:hover {
  background: var(--color-teal);
  color: var(--color-white);
}

.btn-dark {
  background: var(--color-sea-green);
  border-color: var(--color-sea-green);
  color: var(--color-white);
}
.btn-dark:hover {
  background: #143233;
  border-color: #143233;
}

.btn-outline-white {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-sea-green);
}
