/* ============================================================
   FORWARD THINKERS CONSULTING — Core Color & Type Foundations
   Enterprise data-transformation consultancy.
   Clean authority with energy: white-dominant, teal + navy.
   ============================================================ */

/* ---------- FONTS ---------- */
@font-face {
  font-family: "Area Extended";
  src: url("fonts/Area-RegularExtended.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Area Extended";
  src: url("fonts/Area-SemiboldExtended.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Stolzl";
  src: url("fonts/Stolzl-Book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---------- BRAND COLORS (from brand guide) ---------- */
  --persian-green: #07A397;   /* primary teal */
  --tiffany-blue:  #02BFB5;   /* bright teal accent */
  --japan-indigo:  #1C4357;   /* navy */
  --charcoal:      #383B44;   /* dark neutral / text */
  --bright-gray:   #EBEBED;   /* light neutral surface */
  --white:         #FFFFFF;

  /* ---------- DERIVED TINTS / SHADES ---------- */
  --teal-700:      #058177;   /* darker teal (hover) */
  --teal-50:       #E6F6F4;   /* faint teal wash */
  --navy-800:      #143140;   /* deeper navy */
  --navy-700:      #234E63;   /* navy hover */
  --gray-100:      #F5F6F7;   /* off-white surface */
  --gray-200:      #E1E3E6;   /* hairline borders */
  --gray-400:      #9AA0A8;   /* muted text */
  --gray-600:      #5C636C;   /* secondary text */

  /* ---------- SEMANTIC COLOR TOKENS ---------- */
  --bg:            var(--white);
  --bg-subtle:     var(--gray-100);
  --bg-band:       var(--japan-indigo);   /* dark section band */
  --bg-band-teal:  var(--persian-green);  /* teal section band */
  --fg1:           var(--japan-indigo);   /* primary text / headlines */
  --fg2:           var(--gray-600);        /* body / secondary text */
  --fg3:           var(--gray-400);        /* muted / captions */
  --fg-on-dark:    var(--white);
  --fg-on-dark-2:  rgba(255,255,255,0.72);
  --accent:        var(--persian-green);
  --accent-bright: var(--tiffany-blue);
  --border:        var(--gray-200);
  --border-strong: #CDD2D7;

  /* ---------- TYPE FAMILIES ---------- */
  --font-display: "Area Extended", "Arial Narrow", sans-serif;
  --font-body:    "Stolzl", "Helvetica Neue", Arial, sans-serif;

  /* ---------- TYPE SCALE (desktop) ---------- */
  --text-display: 64px;   /* hero */
  --text-h1:      48px;
  --text-h2:      36px;
  --text-h3:      26px;
  --text-h4:      20px;
  --text-lead:    21px;   /* intro paragraphs */
  --text-body:    17px;
  --text-small:   15px;
  --text-eyebrow: 13px;   /* uppercase labels */
  --text-caption: 13px;

  /* ---------- RADII ---------- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* ---------- SHADOWS / ELEVATION ---------- */
  --shadow-sm: 0 1px 2px rgba(28,67,87,0.06), 0 1px 3px rgba(28,67,87,0.08);
  --shadow-md: 0 4px 12px rgba(28,67,87,0.08), 0 2px 4px rgba(28,67,87,0.06);
  --shadow-lg: 0 18px 40px rgba(28,67,87,0.12), 0 6px 12px rgba(28,67,87,0.06);
  --shadow-teal: 0 12px 28px rgba(7,163,151,0.28);

  /* ---------- SPACING SCALE (8px base) ---------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* ---------- LAYOUT ---------- */
  --container: 1200px;
  --container-narrow: 820px;
  --gutter: 32px;

  /* ---------- MOTION ---------- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 140ms;
  --dur: 240ms;
}

/* ============================================================
   SEMANTIC ELEMENT STYLES
   ============================================================ */

.ft-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.ft-h1, h1.ft {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h1);
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--fg1);
  text-wrap: balance;
}

.ft-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-display);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--fg1);
  text-wrap: balance;
}

.ft-h2, h2.ft {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h2);
  line-height: 1.08;
  color: var(--fg1);
  text-wrap: balance;
}

.ft-h3, h3.ft {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 1.18;
  color: var(--fg1);
}

.ft-h4, h4.ft {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h4);
  line-height: 1.25;
  color: var(--fg1);
}

.ft-lead {
  font-family: var(--font-body);
  font-size: var(--text-lead);
  line-height: 1.55;
  color: var(--fg2);
}

.ft-body, p.ft {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--fg2);
}

.ft-small {
  font-family: var(--font-body);
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--fg2);
}

.ft-caption {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  line-height: 1.4;
  color: var(--fg3);
}

/* ---------- RESPONSIVE TYPE ---------- */
@media (max-width: 980px) {
  :root {
    --text-display: 46px;
    --text-h1: 38px;
    --text-h2: 30px;
    --text-h3: 23px;
    --text-lead: 19px;
  }
}
@media (max-width: 560px) {
  :root {
    --text-display: 34px;
    --text-h1: 30px;
    --text-h2: 25px;
    --text-h3: 21px;
    --text-lead: 18px;
    --text-body: 16px;
  }
}
