/* ==========================================================================
   Chiron Psychological — base styles (v1, 10/22).
   A like-for-like rebuild of the WordPress/Elementor site (theme: Hipno).
   Values measured from the live pages at 1440px: Playfair Display for
   headings, buttons and much of the copy; Inter for body text and labels.
   The theme's third face (Sora) is folded into Inter (it was used for four
   short labels). Gold #BE8900 on paper #F7F7F7, warm tint #EEECE6.
   ========================================================================== */

@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('../assets/fonts/playfair-display-latin-wght-normal.woff2') format('woff2-variations'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/inter-latin-700-normal.woff2') format('woff2'); }

:root {
  --gold:       #BE8900;   /* buttons, cards, accents */
  --gold-hover: #E1BA55;   /* button hover; the step numerals */
  --dot:        #B89B6A;   /* the dot before each eyebrow */
  --ink:        #110D0A;   /* body text */
  --heading:    #201905;   /* headings */
  --muted:      #8A8A8A;   /* the grey intro paragraphs */
  --paper:      #F7F7F7;   /* page background */
  --tint:       #EEECE6;   /* alternate sections, cards, footer */
  --line:       #CCC7BB;   /* dividers */
  --olive:      #474131;   /* FAQ band */
  --brown:      #311C13;   /* footer band */

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;

  --container: 1400px;     /* sections */
  --narrow: 1140px;        /* header and hero */
  --pad: 20px;
  --section: 110px;
  --radius: 20px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease); }
h1, h2, h3, h4 { margin: 0; color: var(--heading); font-family: var(--serif); font-weight: 500; }
p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--heading); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 1em; height: 1em; flex: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section) 0; }
.section--tint { background: var(--tint); }

/* --- Type ------------------------------------------------------------------ */
.eyebrow { display: flex; align-items: center; margin: 0 0 15px; font-family: var(--sans); font-size: 14px; line-height: 1.1; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.eyebrow::before { content: ""; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--dot); flex: none; }
.eyebrow--light { color: var(--paper); }
.eyebrow--light::before { background: var(--paper); }
.h-xl { font-size: 57px; line-height: 1; font-weight: 500; }
.h-md { font-size: 32px; line-height: 1; font-weight: 500; }
.h-lg { font-size: 39px; line-height: 1.15; font-weight: 500; }
.h-card { font-size: 20px; line-height: 1.1; font-weight: 600; }
.h-sm { font-size: 32px; line-height: 1; font-weight: 500; color: var(--ink); }

/* --- Buttons ------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border-radius: 10px;
  background: var(--gold); color: #fff; font-family: var(--serif); font-size: 16px; line-height: 1; font-weight: 600; white-space: nowrap; }
.btn:hover { background: var(--gold-hover); color: #fff; }
.btn--lg { font-size: 20px; }

/* --- Reveal (site.js adds .js and .is-in) ---------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1023px) {
  :root { --section: 80px; }
  .h-xl { font-size: 52px; line-height: 1.05; }
  .h-md, .h-sm { font-size: 28px; }
  .h-lg { font-size: 36px; }
}
@media (max-width: 639px) {
  :root { --section: 64px; --pad: 16px; }
  .h-xl { font-size: 34px; line-height: 1.1; }
  .h-md, .h-sm { font-size: 24px; }
  .h-lg { font-size: 30px; }
  .btn--lg { font-size: 18px; }
}
