/* ==========================================================================
   Metamorphosis Business Transformation — Brand Tokens & Shared Styles
   Single source of truth for the brand. Edit tokens here; both the site
   and the brand kit inherit them.
   ========================================================================== */

:root {
  /* --- Brand colour palette --------------------------------------------- */
  --c-ink:        #1B1430;   /* Aubergine ink — primary text          */
  --c-plum:       #2E1A47;   /* Deep plum — dark surfaces / hero      */
  --c-violet:     #5B3FA6;   /* Chrysalis violet — primary brand      */
  --c-indigo:     #6D4AFF;   /* Electric indigo — interactive accent  */
  --c-rose:       #E5559B;   /* Wing rose — secondary accent          */
  --c-amber:      #F4A93B;   /* Emergence amber — CTA / highlight     */
  --c-teal:       #1FB8A6;   /* Growth teal — success / data          */

  --c-slate:      #5B5470;   /* Muted body text                       */
  --c-mist:       #F5F3FB;   /* Page tint / cards                     */
  --c-cloud:      #FBFAFE;   /* Off-white background                  */
  --c-line:       #E7E2F2;   /* Hairline borders                      */
  --c-white:      #FFFFFF;

  /* --- Gradients --------------------------------------------------------- */
  --g-wing:   linear-gradient(135deg, #6D4AFF 0%, #5B3FA6 45%, #E5559B 100%);
  --g-hero:   radial-gradient(120% 120% at 80% 0%, #3A2266 0%, #2E1A47 55%, #1B1430 100%);
  --g-amber:  linear-gradient(135deg, #F4A93B 0%, #E5559B 130%);

  /* --- Typography -------------------------------------------------------- */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-display: clamp(2.6rem, 5.2vw, 4.6rem);
  --fs-h2:      clamp(1.9rem, 3.4vw, 2.9rem);
  --fs-h3:      clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-lead:    clamp(1.05rem, 1.4vw, 1.3rem);

  /* --- Space, radius, shadow -------------------------------------------- */
  --r-sm: 10px;  --r-md: 18px;  --r-lg: 28px;  --r-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(27, 20, 48, .06);
  --shadow-md: 0 18px 50px -22px rgba(46, 26, 71, .35);
  --shadow-lg: 0 40px 90px -40px rgba(46, 26, 71, .5);
  --maxw: 1140px;
  --ease: cubic-bezier(.4, .14, .3, 1);
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-cloud);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }

/* --- Layout helpers ------------------------------------------------------- */
.wrap { width: min(100% - 3rem, var(--maxw)); margin-inline: auto; }
.eyebrow {
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-violet); margin-bottom: 1rem; display: inline-flex; gap: .55rem; align-items: center;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--g-wing); border-radius: 2px; }
.lead { font-size: var(--fs-lead); color: var(--c-slate); }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: .98rem; padding: .9rem 1.6rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--g-amber); color: var(--c-ink); box-shadow: var(--shadow-md); }
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; border-color: var(--c-line); color: var(--c-ink); }
.btn-ghost:hover { border-color: var(--c-violet); color: var(--c-violet); }
.btn-on-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.btn-on-dark:hover { background: rgba(255,255,255,.16); }

/* --- Logo ----------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 600; }
.logo svg { width: 34px; height: 34px; }
.logo-text { font-size: 1.18rem; letter-spacing: -.01em; }
.logo-text small { display: block; font-family: var(--font-body); font-size: .58rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--c-slate); }
