/* ==========================================================================
   Fresh Start Consulting — shared design system
   Palette built for two things: trust (institutional navy — the color of
   banks, insurers, law firms) and respect (a disciplined bronze accent —
   the metal of the trade, not a decorative color). One accent, used
   consistently, does more for credibility than a rainbow of gradients.
   Updated 2026-09-04.
   ========================================================================== */

:root {
  /* ---- neutrals ---- */
  --ink: #17212c;        /* primary text — blue-charcoal, not flat black */
  --muted: #57616b;      /* secondary text */
  --muted-2: #838c93;    /* tertiary text / placeholders */
  --paper: #f5f6f6;      /* alternate section background */
  --surface: #ffffff;
  --border: #dee2e4;
  --border-strong: #c7ccce;

  /* ---- trust: navy ---- */
  --navy: #163457;
  --navy-mid: #204a76;
  --navy-deep: #0c2038;

  /* ---- respect: bronze ---- */
  --bronze: #a8703a;
  --bronze-deep: #7e522a;
  --bronze-tint: #f1e4d2;

  /* ---- on-navy text ---- */
  --on-navy: #ffffff;
  --on-navy-muted: #b7c3d1;

  /* ---- semantic (form states) ---- */
  --ok-bg: #e3f1e6;
  --ok-text: #1e5631;
  --ok-border: #bfe0c6;
  --err-bg: #fbe9e7;
  --err-text: #8c2f22;
  --err-border: #f0c4bc;

  /* ---- type ---- */
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, serif;
  --font-serif: 'Libre Caslon Text', Georgia, serif;

  --shadow-sm: 0 1px 2px rgba(12, 32, 56, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(12, 32, 56, 0.18);
  --shadow-lg: 0 20px 48px -16px rgba(12, 32, 56, 0.28);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- reset ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 2px;
}

/* ---- type scale ---- */
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; font-weight: 400; }

h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.18; color: var(--navy); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; line-height: 1.35; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 1rem;
}

.eyebrow.on-navy { color: #d9b98c; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
nav {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.25rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s ease;
}

nav.nav-hidden { transform: translateY(-100%); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { text-decoration: none; display: block; }
.logo img { height: 42px; width: auto; }

.nav-links { display: flex; gap: 2.25rem; list-style: none; }

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.93rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--bronze);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

/* ==========================================================================
   Hero / page header
   ========================================================================== */
.hero, .page-hero, .page-header {
  background:
    radial-gradient(120% 140% at 12% -10%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 62%, var(--navy-mid) 100%);
  color: var(--on-navy);
  padding: 148px 2rem 84px;
  text-align: center;
  margin-top: 0;
}

.hero-content, .page-hero-content { max-width: 900px; margin: 0 auto; }

.hero h1, .page-hero h1, .page-header h1 { color: #ffffff; margin-bottom: 1.25rem; }

.hero .subheadline {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: #f0f2f4;
}

.hero .tagline {
  font-size: 1rem;
  margin-bottom: 2.25rem;
  color: var(--on-navy-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.page-header p {
  font-size: 1.15rem;
  color: #dbe2e9;
  max-width: 600px;
  margin: 0 auto;
}

.hero-image-wrap { margin-top: 2.5rem; }

.hero-men-working {
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.cta-button, .submit-btn {
  background-color: var(--bronze);
  color: #ffffff;
  padding: 15px 36px;
  font-size: 1.02rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.cta-button:hover, .submit-btn:hover {
  background-color: var(--bronze-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-button:active, .submit-btn:active { transform: translateY(0); }

.submit-btn { width: 100%; }

/* on-navy secondary variant (outline) */
.cta-button.outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  box-shadow: none;
}
.cta-button.outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 84px 2rem; }
.section-container, .section-inner { max-width: 1200px; margin: 0 auto; }
.section-inner { max-width: 760px; }

.who-for, .how-it-works, .about-section.alt-bg { background-color: var(--paper); }
.services, .about-evan { background-color: var(--surface); }

.section-divider {
  width: 52px;
  height: 3px;
  background-color: var(--bronze);
  margin-bottom: 2rem;
  border-radius: 2px;
}

/* ---- Who this is for (home) ---- */
.who-for-content { max-width: 900px; margin: 0 auto; }
.who-for-content p { font-size: 1.08rem; line-height: 1.85; color: var(--muted); margin-bottom: 1.5rem; }

.who-for-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.highlight-item {
  background: var(--surface);
  padding: 1.85rem;
  border-left: 3px solid var(--bronze);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
}

.highlight-item h3 { color: var(--navy); margin-bottom: 0.5rem; font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; }
.highlight-item p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0; line-height: 1.65; }

/* ==========================================================================
   Service pillars — color now encodes who delivers the service, not
   decoration. Solid navy = delivered directly. Outlined paper card =
   delivered through a vetted partner. One accent (bronze) ties it together.
   ========================================================================== */
.service-grid { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.service-row { display: grid; gap: 1.5rem; }
.service-row-top { grid-template-columns: repeat(3, 1fr); }
.service-row-bottom { grid-template-columns: repeat(4, 1fr); }

.service-pillar {
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-pillar:hover { transform: translateY(-4px); }

.service-pillar h3 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 600; margin-bottom: 0.6rem; line-height: 1.35; }

.service-pillar .pillar-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.85rem;
  display: inline-block;
}

.service-pillar p { font-size: 0.92rem; line-height: 1.6; }

/* Delivered directly by Evan — solid navy, top billing */
.service-pillar.pillar-owned {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}
.service-pillar.pillar-owned .pillar-label { color: #d9b98c; }
.service-pillar.pillar-owned h3 { color: #ffffff; }
.service-pillar.pillar-owned p { color: rgba(255, 255, 255, 0.82); }
.service-pillar.pillar-owned:hover { box-shadow: var(--shadow-lg); }

/* Delivered through a vetted partner — paper card, navy border */
.service-pillar.pillar-partner {
  background: var(--surface);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.service-pillar.pillar-partner .pillar-label { color: var(--bronze); }
.service-pillar.pillar-partner h3 { color: var(--navy); }
.service-pillar.pillar-partner p { color: var(--muted); }
.service-pillar.pillar-partner:hover { border-color: var(--bronze); box-shadow: var(--shadow-md); }

/* Self-paced courses — bronze-tinted, distinct from both */
.service-pillar.pillar-course {
  background: var(--bronze-tint);
  border: 1.5px solid transparent;
}
.service-pillar.pillar-course .pillar-label { color: var(--bronze-deep); }
.service-pillar.pillar-course h3 { color: var(--navy); }
.service-pillar.pillar-course p { color: #5a4a38; }
.service-pillar.pillar-course:hover { box-shadow: var(--shadow-md); }

/* ---- How it works ---- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; margin-top: 2.5rem; }
.step { text-align: left; }

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background-color: var(--navy);
  color: #ffffff;
  border: 2px solid var(--bronze);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.step h3 { font-family: var(--font-body); font-size: 1.15rem; color: var(--navy); margin-bottom: 0.6rem; font-weight: 600; }
.step p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }

/* ---- About Evan ---- */
.about-content { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: center; }

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 3px rgba(168, 112, 58, 0.35);
  pointer-events: none;
}

.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.about-text h3 { font-family: var(--font-body); color: var(--navy); font-size: 1.4rem; margin-bottom: 1rem; font-weight: 600; }
.about-text p { color: var(--muted); font-size: 1rem; margin-bottom: 1rem; line-height: 1.8; }

/* ---- Generic content sections (about.html) ---- */
.about-section { padding: 74px 2rem; }
.section-inner p { font-size: 1.05rem; color: var(--muted); line-height: 1.85; margin-bottom: 1.25rem; }
.section-inner p:last-child { margin-bottom: 0; }

/* ---- CTA band (mid-page / bottom, used inline on several pages) ---- */
.cta-section { background: var(--paper); padding: 74px 2rem; text-align: center; border-top: 3px solid var(--bronze); }
.cta-section-inner { max-width: 700px; margin: 0 auto; }
.cta-section h2 { color: var(--navy); }
.cta-section p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; line-height: 1.8; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-section { padding: 84px 2rem; background-color: var(--surface); }
.contact-container { max-width: 1000px; margin: 0 auto; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }

.contact-illustration {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: #ffffff;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
}

.contact-illustration .icon { font-size: 3.25rem; opacity: 0.9; }
.contact-illustration h3 { font-family: var(--font-body); font-size: 1.25rem; font-weight: 600; }
.contact-illustration p { font-size: 0.95rem; color: var(--on-navy-muted); line-height: 1.65; }

.contact-info { background-color: var(--paper); padding: 1.85rem; border-radius: var(--radius-md); margin-bottom: 2.25rem; }
.contact-info h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }

.contact-details { display: grid; gap: 1.35rem; }
.detail-item { display: flex; align-items: flex-start; gap: 1rem; }
.detail-icon { font-size: 1.3rem; color: var(--bronze); min-width: 24px; }
.detail-text h3 { font-family: var(--font-body); font-size: 0.92rem; color: var(--navy); margin-bottom: 0.2rem; font-weight: 600; }
.detail-text p { color: var(--muted); font-size: 0.9rem; }
.detail-text a { color: var(--bronze); text-decoration: none; }
.detail-text a:hover { text-decoration: underline; }

.book-call-block {
  background: var(--paper);
  border-left: 3px solid var(--bronze);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}
.book-call-block p { margin: 0 0 0.75rem; font-size: 1rem; color: var(--ink); }

.form-section h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }

form { background-color: var(--paper); padding: 1.85rem; border-radius: var(--radius-md); }
.form-group { margin-bottom: 1.2rem; }

label { display: block; font-weight: 500; color: var(--navy); margin-bottom: 0.4rem; font-size: 0.88rem; }

input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(168, 112, 58, 0.15);
}

textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.field-error { color: var(--err-text); font-size: 0.85rem; display: block; margin-top: 0.3rem; }

[data-fs-success] {
  background-color: var(--ok-bg) !important;
  color: var(--ok-text) !important;
  padding: 1rem !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 1.5rem !important;
  border: 1px solid var(--ok-border) !important;
}

[data-fs-error] {
  background-color: var(--err-bg) !important;
  color: var(--err-text) !important;
  padding: 1rem !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 1.5rem !important;
  border: 1px solid var(--err-border) !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: var(--navy-deep);
  color: #ffffff;
  padding: 3.5rem 2rem 2.5rem;
}

.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; margin-bottom: 2.5rem; }

.footer-section h4 { font-family: var(--font-body); font-size: 1.02rem; margin-bottom: 1rem; font-weight: 600; }
.footer-section p { color: var(--on-navy-muted); font-size: 0.92rem; line-height: 1.6; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.55rem; }
.footer-section a { color: var(--on-navy-muted); text-decoration: none; transition: color 0.2s ease; font-size: 0.92rem; }
.footer-section a:hover { color: #ffffff; }

.social-links { display: flex; gap: 1rem; margin-top: 1.1rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}
.social-links a:hover { background-color: var(--bronze); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
  text-align: center;
  color: var(--on-navy-muted);
  font-size: 0.88rem;
}
.footer-bottom a { color: var(--on-navy-muted); text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }

  .hero, .page-hero, .page-header { padding: 112px 1.5rem 56px; }
  section { padding: 52px 1.5rem; }
  .about-section { padding: 52px 1.5rem; }

  .about-content { grid-template-columns: 1fr; }
  .about-image { max-width: 320px; margin: 0 auto; }

  .service-grid { flex-direction: column; }
  .service-row-top, .service-row-bottom { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }

  .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .contact-illustration { min-height: 260px; }
  .form-row { grid-template-columns: 1fr; gap: 1rem; }

  nav { padding: 1rem 0; }
  .nav-container { padding: 0 1.5rem; }
  .logo img { height: 34px; }
}
