﻿/* ============================================================
   OPTIMUM PERFORMANCE SOLUTIONS â€” Theme CSS
   Version 1.0 â€” June 2026

   COLOUR HIERARCHY
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   PRIMARY    Deep Navy    #0B1F33   â€” headings, body text
   SECONDARY  Navy Soft    #14304A   â€” cards, subtle fills
              Deep Teal    #115561   â€” buttons, hover states, interactive
   ACCENT     Gold         #A67C2E   â€” credentials, badges, active nav, one .gold-word phrase per heading
              Gold Soft    #C9A86B   â€” light gold tints
   HIGHLIGHT  Teal Bright  #2DA6B5   â€” eyebrow labels, logo mark
              Teal         #1B7E8C   â€” midpoint (rarely used directly)

   USAGE RULES
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   â€¢ Teal Deep  â†’ all interactive/hover/active states
   â€¢ Teal Bright â†’ eyebrow labels only
   â€¢ Gold       â†’ credentials, badges, award quotes, active nav underline,
                  outcome tags, value-highlight moments ONLY
   â€¢ Ghost btn hover â†’ gold border + gold text (no fill)
   â€¢ Page-link CTAs â†’ ghost button (navy border at rest, gold on hover)
   â€¢ Primary CTA â†’ teal-deep filled (main conversion action)
   ============================================================ */

/* ---- GOOGLE FONTS â€” include in every page <head> ---- */
/*
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400;1,9..144,500&family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/tabler-icons.min.css">
*/

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Colours */
  --navy:        #0B1F33;
  --navy-deep:   #061320;
  --navy-soft:   #14304A;
  --teal:        #1B7E8C;
  --teal-bright: #2DA6B5;
  --teal-deep:   #115561;
  --gold:        #A67C2E;
  --gold-soft:   #C9A86B;
  --cream:       #F7F3EC;
  --off-white:   #FBFAF6;
  --paper:       #FFFFFF;
  --text:        #25303B;
  --text-muted:  #5A6470;
  --text-soft:   #7A848F;
  --border:      #E5DFD3;
  --border-soft: #EDE8DD;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(11,31,51,0.04), 0 1px 3px rgba(11,31,51,0.06);
  --shadow-md:  0 4px 6px -1px rgba(11,31,51,0.07), 0 2px 4px -2px rgba(11,31,51,0.05);
  --shadow-lg:  0 10px 25px -5px rgba(11,31,51,0.10), 0 8px 10px -6px rgba(11,31,51,0.05);

  /* Layout */
  --container: 1240px;
  --radius:    12px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-xl: 0 20px 40px -8px rgba(11,31,51,0.15), 0 10px 20px -6px rgba(11,31,51,0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.2s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
h4 { font-size: 1.05rem; }
h5 { font-size: 0.9rem; font-family: var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; }

p { margin: 0 0 16px; }
.lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Eyebrow label â€” appears above section headings */
.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 16px;
}

/* Gold italic accent in headings: <span class="accent">text</span> or <span class="gold-word">text</span> */
/* One aspirational phrase per heading maximum â€” never on body copy */
.accent,
.gold-word {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

/* Blockquote / pull quote */
.section-quote {
  border-left: 2px solid var(--gold);
  padding-left: 18px;
  margin: 0 0 24px;
}
.section-quote p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1.55;
  margin: 0;
}

/* Inline page link â€” teal at rest, gold on hover */
.page-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-deep);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.page-link:hover { color: var(--gold); }
.page-link::after { content: 'â†’'; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Standard section spacing */
.section { padding: 100px 0; }
.section--sm { padding: 72px 0; }
.section-tight { padding: 56px 0; }

/* Section backgrounds (alternate down the page) */
.bg-off-white { background: var(--off-white); }
.bg-white     { background: var(--paper); }
.bg-paper     { background: var(--paper); }
.bg-navy      { background: var(--navy); }
.bg-navy-deep { background: var(--navy-deep); }
.bg-cream     { background: var(--cream); }

/* Centred section head block */
.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: all 0.25s var(--ease);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm  { padding: 11px 22px; font-size: 0.85rem; }
.btn-lg  { padding: 19px 36px; font-size: 1rem; }
.btn-arrow::after { content: ‘\2192’; }

/* Primary â€” teal filled. Main conversion CTA. */
.btn-primary {
  background: var(--teal-deep);
  color: #FFFFFF;
  border-color: var(--teal-deep);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Outline â€” nav CTA, subtle action. */
.btn-outline {
  background: rgba(17, 85, 97, 0.08);
  color: var(--navy);
  border-color: rgba(17, 85, 97, 0.35);
}
.btn-outline:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #FFFFFF;
}

/* Ghost â€” page navigation CTAs ("go to another page"). */
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

/* Ghost on dark/navy backgrounds â€” white at rest, gold on hover */
.bg-navy .btn-ghost,
.next-step-card .btn-ghost {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}
.bg-navy .btn-ghost:hover,
.next-step-card .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   NAVIGATION / HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border-soft); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  max-width: var(--container);
  margin: 0 auto;
}

/* Logo / brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; }
.brand-text { line-height: 1.1; }
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-links a.active { color: var(--teal-deep); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
}
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--navy);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 22px; height: 1.5px; background: var(--navy);
  transition: transform 0.2s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--off-white);
    padding: 16px 28px 28px;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open li { border-bottom: 1px solid var(--border-soft); }
  .nav-links.open li:last-child { border-bottom: none; }
  .nav-links.open a { display: block; padding: 16px 0; font-size: 1rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); padding: 72px 0 0; }
.site-footer .container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-top: 20px;
  max-width: 280px;
}
.footer-col h5 {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { color: rgba(255,255,255,0.55); font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: #ffffff; }
.footer-col ul li { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   COMPONENTS
   ============================================================ */

/* -- Credentials strip (navy bg, gold italic text) -- */
.credentials-strip {
  background: var(--navy);
  padding: 56px 0;
  border-top: 1px solid rgba(166, 124, 46, 0.15);
}
.credentials-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(166, 124, 46, 0.55);
  margin: 0 0 40px;
}
.credentials-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.credential { text-align: center; padding: 0 32px; }
.credential:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.08); }
.credential strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1.2;
}
.credential span {
  display: block;
  font-size: 0.82rem;
  color: rgba(247, 243, 236, 0.55);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .credentials-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .credential:not(:last-child) { border-right: none; }
}

/* -- Testimonial cards -- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.testi-card {
  background: var(--off-white);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.testi-card.highlight { background: var(--navy); border-color: var(--navy-soft); }
.testi-result {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(166, 124, 46,0.15);
  border: 1px solid rgba(166, 124, 46,0.45);
  color: #8B6B35;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  width: fit-content;
}
.testi-card.highlight .testi-result { background: rgba(166, 124, 46,0.15); border-color: rgba(166, 124, 46,0.4); color: var(--gold-soft); }
.testi-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.testi-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}
.testi-card.highlight .testi-quote { color: rgba(255,255,255,0.88); }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  flex-shrink: 0; letter-spacing: 0.04em;
}
.testi-card.highlight .testi-avatar { background: var(--gold); color: var(--navy); }
.testi-name { font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.testi-card.highlight .testi-name { color: #ffffff; }
.testi-role { font-size: 0.8rem; color: var(--text-muted); }
.testi-card.highlight .testi-role { color: rgba(255,255,255,0.5); }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* -- Pain / problem cards -- */
.sf-card {
  background: var(--paper);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--teal-deep);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.sf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sf-card-num {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 14px;
}
.sf-card-quote {
  font-family: var(--font-display);
  font-size: 1.05rem; font-style: italic;
  color: var(--navy); line-height: 1.5;
  margin: 0 0 14px;
}
.sf-card-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* -- Callout block (navy with quote) -- */
.sf-callout {
  background: var(--navy);
  border-radius: 14px;
  padding: 52px 56px;
  text-align: center;
}
.sf-callout-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-style: italic;
  color: rgba(247, 243, 236, 0.72);
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 18px;
}
.sf-callout-text strong { color: var(--gold); font-weight: 500; }
.sf-callout-attr {
  font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(45,166,181,0.75);
}

/* -- Pillar cards (method framework) -- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pillar-card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem; color: #fff;
}
.pillar-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.pillar-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; margin: 0; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pillar-grid { grid-template-columns: 1fr; } }

/* -- Process steps (navy bg pathway) -- */
.pathway-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.pathway-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 1px;
  background: rgba(166, 124, 46,0.25);
  z-index: 0;
}
.pathway-step {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 24px; position: relative; z-index: 1;
}
.pathway-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  margin-bottom: 24px;
  background: var(--navy); flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.pathway-step:hover .pathway-num { background: var(--gold); color: var(--navy); }
.pathway-step h3 { font-family: var(--font-display); font-weight: 400; color: #ffffff; font-size: 1.125rem; margin-bottom: 12px; }
.pathway-step p { color: rgba(255,255,255,0.6); font-size: 0.9375rem; line-height: 1.7; margin: 0; }
@media (max-width: 900px) {
  .pathway-steps { grid-template-columns: 1fr 1fr; gap: 48px; }
  .pathway-steps::before { display: none; }
}
@media (max-width: 540px) { .pathway-steps { grid-template-columns: 1fr; } }

/* -- Video placeholder -- */
.video-placeholder {
  position: relative;
  border-radius: 16px; overflow: hidden;
  background: var(--navy);
  aspect-ratio: 16/10;
  display: flex; align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}
.video-play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(166, 124, 46,0.15);
  border: 1.5px solid rgba(166, 124, 46,0.45);
  display: flex; align-items: center; justify-content: center;
}
.video-play-btn::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--gold);
  margin-left: 4px;
}
.video-caption {
  font-family: var(--font-display);
  font-size: 1rem; font-style: italic;
  color: rgba(247,243,236,0.65);
  text-align: center; padding: 0 32px;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.text-gold   { color: var(--gold); }
.text-teal   { color: var(--teal-deep); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: #ffffff; }
.mt-sm { margin-top: 24px; }
.mt-md { margin-top: 48px; }
.mt-lg { margin-top: 64px; }
.mb-sm { margin-bottom: 24px; }
.mb-md { margin-bottom: 48px; }
.mb-lg { margin-bottom: 64px; }

