/* =====================================================================
   Moher Consulting LLC — Site Styles
   Single stylesheet, no dependencies. Edit variables below to re-theme.
   ===================================================================== */

:root {
  /* Brand palette — built around the Moher Consulting logo blue (#36506b) */
  --navy:       #26384c;  /* deep slate — hero/footer, headings */
  --navy-800:   #2f4660;  /* mid slate */
  --navy-700:   #36506b;  /* exact logo blue — links, gradient end */
  --gold:       #7ea3c4;  /* light steel accent — for use on dark backgrounds */
  --gold-dark:  #3f6a92;  /* steel accent — eyebrows, buttons, icons on light */
  --ink:        #1f2d3a;
  --slate:      #55697b;
  --mist:       #f4f7fa;
  --line:       #dfe6ee;
  --white:      #ffffff;

  /* Type */
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1120px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(18, 36, 59, 0.08);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold-dark); }

h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4.5rem 0; }
.section--mist { background: var(--mist); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.lead { font-size: 1.15rem; color: var(--slate); max-width: 60ch; }
.text-center { text-align: center; }
.center-block { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold-dark); color: var(--white); }
.btn--primary:hover { background: var(--navy); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); color: var(--white); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(38, 56, 76, 0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.brand:hover { color: var(--navy); }
.brand__logo {
  display: block;
  height: 56px;
  width: auto;
  flex: 0 0 auto;
}

.nav__links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: rgba(255, 255, 255, 0.85); font-weight: 500; }
.nav__links a.is-active { color: var(--gold); }
.nav__links a:hover { color: var(--gold); }
.nav__cta { margin-left: 0.5rem; }
.site-header .btn--primary:hover { background: var(--gold); color: var(--navy); }

.nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: 0.4rem;
}
.nav__toggle span {
  display: block; width: 26px; height: 2px; background: var(--white);
  margin: 5px 0; transition: 0.3s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--white);
  padding: 5.5rem 0 6rem;
}
.hero h1 { color: var(--white); max-width: 18ch; }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.2rem; max-width: 52ch; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--2 > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0.25rem; }
.card__icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--mist); color: var(--gold-dark);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem;
}

/* ---------- About / profile ---------- */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 2.5rem; align-items: start; }
.profile__photo {
  border-radius: var(--radius);
  background: var(--mist);
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  color: var(--slate);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.profile__photo img { height: 100%; width: 100%; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 0.9rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.contact-list .label { font-weight: 600; color: var(--navy); min-width: 90px; }

.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--navy); }
.form-field input, .form-field textarea {
  width: 100%; padding: 0.75rem 0.9rem;
  border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); background: var(--white);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,0.2);
}
.form-status { margin-top: 1rem; color: var(--slate); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 52ch; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 1.5rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2rem; align-items: center; }
.footer-grid .brand { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.25rem; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid--3, .grid--2, .profile, .contact-grid { grid-template-columns: 1fr; }
  .profile__photo { max-width: 320px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 1.5rem; gap: 1rem;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__cta { margin-left: 0; }
}
