/* ============================================================
   Ford Strategies — static site styles
   Typography, palette and styling aligned to the company
   email signature: system Segoe UI stack + Georgia italic
   accents, Epicor BisTrack blue #00529B on a slate palette,
   soft corners and light hairline borders.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Fonts — mirror the signature exactly (system fonts, no web fonts) */
  --font-sans:  "Segoe UI", Arial, Helvetica, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  /* Palette (from the signature) */
  --ink:      #0F172A;  /* slate-900  — headings, dark sections */
  --body:     #1E293B;  /* slate-800  — default body text */
  --paper:    #F1F5F9;  /* slate-100  — page background */
  --white:    #FFFFFF;  /* cards / inputs */
  --blue:     #00529B;  /* Epicor BisTrack blue — primary accent */
  --blue-dark:#00457F;  /* hover state (matches signature button hover) */
  --accent:   #5B9BD5;  /* lighter blue — accents on dark backgrounds */
  --mid:      #475569;  /* slate-600  — secondary text */
  --muted:    #94A3B8;  /* slate-400  — fine print */
  --line:     #E2E8F0;  /* slate-200  — hairline dividers / card borders */
  --input:    #CBD5E1;  /* slate-300  — input borders (as in the signature) */

  --radius: 6px;        /* soft corners, matching the signature generator */
  --border: 1px solid var(--line);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--body);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────────────── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 3rem;
  background: rgba(241,245,249,0.92); backdrop-filter: blur(6px);
  border-bottom: var(--border);
}
.nav-logo {
  font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.2px; text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: 0.55rem;
}
.nav-logo-dot { width: 9px; height: 9px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.nav-cta {
  font-family: var(--font-sans); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.2px; text-decoration: none;
  color: #fff; background: var(--blue); border: 1.5px solid var(--blue);
  padding: 0.55rem 1.3rem; border-radius: var(--radius);
  transition: background .2s, border-color .2s;
}
.nav-cta:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

/* ── HERO ────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 3rem 5rem; position: relative; overflow: hidden;
}
.hero-bg-text {
  position: absolute; right: -4rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(8rem, 22vw, 24rem);
  color: transparent; -webkit-text-stroke: 1.5px #DBE3EC;
  pointer-events: none; user-select: none; letter-spacing: -0.04em; line-height: 1;
}
.hero-content { position: relative; z-index: 1; max-width: 660px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.5rem;
}
.hero-tag::before { content: ""; width: 22px; height: 2px; background: var(--blue); display: block; }
.hero-section h1 {
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 1.04; letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-section h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--blue); }
.hero-sub { margin-top: 1.6rem; font-size: 1.05rem; line-height: 1.7; color: var(--mid); }
.hero-actions { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.15px; text-decoration: none;
  padding: 0.8rem 1.7rem; display: inline-block; border: 1.5px solid transparent;
  border-radius: var(--radius); transition: background .2s, color .2s, border-color .2s; cursor: pointer;
}
.btn-solid { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-solid:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--input); }
.btn-outline:hover { border-color: var(--blue); }

/* ── ABOUT ───────────────────────────────────────────── */
.about-section {
  background: var(--ink); color: #fff; padding: 6rem 3rem;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: center;
}
.section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem;
}
.section-label::before { content: ""; width: 18px; height: 2px; display: block; }
.label-accent { color: var(--accent); }
.label-accent::before { background: var(--accent); }
.label-blue { color: var(--blue); }
.label-blue::before { background: var(--blue); }
.about-section h2, .contact-section h2 {
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(1.7rem, 3.3vw, 2.7rem); line-height: 1.08; letter-spacing: -0.015em;
}
.about-section h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); }
.about-right { display: flex; flex-direction: column; gap: 1rem; }
.about-right p { font-size: 0.98rem; line-height: 1.8; color: rgba(255,255,255,0.65); }
.about-right p strong { color: #fff; font-weight: 600; }

/* ── CONTACT ─────────────────────────────────────────── */
.contact-section { padding: 6rem 3rem; background: var(--paper); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: start;
  max-width: 1100px; margin: 0 auto;
}
.contact-lead {
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.08; letter-spacing: -0.015em;
  margin-bottom: 1.1rem; color: var(--ink);
}
.contact-lead em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--blue); }
.contact-copy { font-size: 0.95rem; line-height: 1.75; color: var(--mid); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 0.8rem; }
.cd {
  display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.2rem;
  background: var(--white); border: 1px solid var(--line);
  border-left: 3px solid var(--blue); /* signature's blue accent bar */
  border-radius: var(--radius);
}
.cd-icon { width: 34px; height: 34px; flex-shrink: 0; background: var(--blue); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.cd-icon svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; }
.cd-text { font-size: 0.88rem; color: var(--mid); }
.cd-text strong { display: block; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: var(--ink); margin-bottom: 0.2rem; }
.cd-text a { color: var(--blue); text-decoration: none; font-weight: 500; }
.cd-text a:hover { text-decoration: underline; }

/* ── FORM ────────────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label { font-size: 0.72rem; letter-spacing: 0.02em; font-weight: 600; color: var(--mid); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  background: var(--white); border: 1px solid var(--input); border-radius: var(--radius);
  padding: 0.75rem 0.95rem; font-family: var(--font-sans); font-size: 0.92rem; color: var(--ink);
  outline: none; transition: border-color .2s, box-shadow .2s; appearance: none; width: 100%;
}
.contact-form select {
  /* custom chevron so users know the field is a dropdown (appearance:none removes the native one) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300529B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,82,155,0.12);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input[type="submit"] {
  background: var(--blue); color: #fff; font-family: var(--font-sans); font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.15px;
  padding: 0.85rem 1.9rem; border: 1.5px solid var(--blue); border-radius: var(--radius);
  cursor: pointer; align-self: flex-start; transition: background .2s, border-color .2s; width: auto;
}
.contact-form input[type="submit"]:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
/* honeypot */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 0.9rem; padding: 0.9rem 1.1rem; border: 1px solid; border-radius: var(--radius); }
.form-note.ok  { background: #E8F5E9; border-color: #2E7D32; color: #1B5E20; }
.form-note.err { background: #FFF3E0; border-color: #E65100; color: #BF360C; }

/* ── FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.45); padding: 2rem 3rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: var(--font-sans); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.2px; color: #fff; display: flex; align-items: center; gap: 0.45rem; }
.footer-logo-dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; }
.site-footer p { font-size: 0.78rem; }

/* ── REVEAL ANIMATION ────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 800px) {
  nav.site-nav { padding: 1rem 1.5rem; }
  .hero-section { padding: 7rem 1.5rem 4rem; }
  .hero-bg-text { display: none; }
  .about-section { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 2rem; }
  .contact-section { padding: 4rem 1.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer { padding: 1.5rem; flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
