/* Enneagram Consultant funnels: shared brand.
   Tokens, type, surfaces and controls used by every funnel site.
   Values follow the app's Temple look: navy ground, vellum panels, gold hairlines,
   Spectral for reading, Cinzel for numerals and eyebrows. */

@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/Spectral-Regular.woff') format('woff'); }
@font-face { font-family: 'Spectral'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/Spectral-Italic.woff') format('woff'); }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/Spectral-SemiBold.woff') format('woff'); }
@font-face { font-family: 'Spectral'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/Spectral-Bold.woff') format('woff'); }
@font-face { font-family: 'Cinzel'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/Cinzel-SemiBold.woff') format('woff'); }

:root {
  /* ground */
  --navy: #293c49;
  --navy-deep: #1d2b35;
  --navy-lift: #34485a;
  /* text on navy */
  --cream: #f5f1e7;
  --cream-bright: #fff7e8;
  --cream-muted: #d9d1c1;
  --mist: #e0e5e8;
  /* gold */
  --gold: #c9a961;
  --gold-deep: #7a5a2a;
  --gold-edge: #b8924a;
  --gold-line: rgba(151, 115, 57, 0.55);
  --gold-glow: rgba(220, 195, 139, 0.55);
  --slate-line: rgba(145, 160, 170, 0.55);
  /* vellum panels and their text */
  --vellum-top: #f1eadb;
  --vellum-bottom: #e7dfcc;
  --ink: #2f2a22;
  --ink-soft: #4b4437;
  --ink-muted: #655b4b;
  --numeral: #41535d;
  /* type */
  --font-body: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-display: 'Cinzel', 'Spectral', Georgia, serif;
  /* shape */
  --radius-panel: 14px;
  --radius-control: 8px;
  --shadow-panel: 0 14px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --shadow-control: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 14px rgba(0, 0, 0, 0.18);
  /* measure */
  --content-width: 720px;
  --gutter: 16px;
}

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.on-vellum :focus-visible { outline-color: var(--navy); }

/* ---- type ---- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.on-vellum .eyebrow { color: var(--gold-deep); }

.display {
  margin: 0;
  font-weight: 600;
  font-size: clamp(30px, 2.4vw + 22px, 44px);
  line-height: 1.12;
  color: var(--cream-bright);
  text-shadow: 0 0 12px rgba(255, 250, 240, 0.45);
}
h1, h2, h3 { margin: 0; font-weight: 600; }
.h2 { font-size: clamp(24px, 1vw + 20px, 30px); line-height: 1.2; }
.h3 { font-size: 20px; line-height: 1.25; }
.lede { font-size: clamp(19px, 0.5vw + 17px, 22px); line-height: 1.4; }
.metadata { font-size: 14px; line-height: 1.3; color: var(--cream-muted); }
.on-vellum .metadata { color: var(--ink-muted); }
.prose p { margin: 0; }
.prose p + p { margin-top: 0.75em; }
.muted { color: var(--cream-muted); }
.on-vellum .muted { color: var(--ink-soft); }
.numeral { font-family: var(--font-display); font-weight: 600; }

/* ---- surfaces ---- */
.panel-vellum {
  background: linear-gradient(180deg, var(--vellum-top) 0%, var(--vellum-bottom) 100%);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-panel);
  color: var(--ink);
}
.panel-outline {
  border: 1px solid var(--slate-line);
  border-radius: var(--radius-panel);
  color: var(--cream);
}
.hairline { border: 0; border-top: 1px solid rgba(0, 0, 0, 0.18); margin: 0; }
.on-navy .hairline { border-top-color: rgba(245, 241, 231, 0.18); }

/* ---- controls ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: var(--radius-control);
  border: 1px solid var(--gold-line);
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  box-shadow: var(--shadow-control);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.button-navy { background: var(--navy); color: var(--cream); }
.button-navy:hover { background: var(--navy-lift); }
.button-vellum {
  background: linear-gradient(180deg, var(--vellum-top) 0%, var(--vellum-bottom) 100%);
  color: var(--ink);
  box-shadow: var(--shadow-control), 0 0 22px rgba(220, 195, 139, 0.25);
}
.button-vellum:hover { box-shadow: var(--shadow-control), 0 0 28px rgba(220, 195, 139, 0.45); }
.text-action {
  display: inline-block;
  padding: 9px 0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.text-action:hover { text-decoration-thickness: 2px; }

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:hover { transform: none; }
}
