/* ============================================================
   Tash Ball Consulting — Site-wide Styles
   ------------------------------------------------------------
   Edit colors/fonts in :root below to change them everywhere.
   ============================================================ */

:root {
  --mint: #7BD9AE;
  --mint-tint: #EAFAF2;
  --charcoal: #1C1C1C;
  --grey-body: #4A4A4A;      /* paragraphs */
  --grey-card-body: #616161; /* home card body text */
  --grey-detail: #8A8A8A;    /* small/detail text */
  --grey-footer-tagline: #6A6A6A;
  --grey-footer-copy: #9A9A9A;
  --white: #FFFFFF;
  --border: #ECE9E4;
  --pill-text: #2C8F66;
  --testimonial-text: #2E2E2E;

  --font-heading: "Source Serif 4", "Georgia", serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --page-padding: 64px;
  --max-width: 1280px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Always reserve scrollbar space so the header/footer width (and nav/logo
     scale) stays identical whether a page is tall enough to scroll or not. */
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--grey-body);
  background: var(--white);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--charcoal);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
}

p { margin: 0 0 16px; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  /* Horizontal padding is applied by each section wrapper below
     (.hero, .help-section, .services-header, etc.) or by the default
     `section` rule — not here, to avoid doubling it up. */
}

/* ---------- Pill label ---------- */
.pill-label {
  display: inline-block;
  background: var(--mint-tint);
  color: var(--pill-text);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.pill-label--on-mint {
  background: var(--white);
}

/* ---------- "Coming soon" tag (e.g. Workplace Investigations) ---------- */
.coming-soon {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-detail);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--mint);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(123, 217, 174, 0.45);
}

.btn-row { display: flex; gap: 18px; align-items: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  padding: 20px var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--charcoal);
}

.logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--charcoal);
}

.nav-links a:hover:not(.nav-contact) { color: var(--mint); }

.nav-links .nav-contact {
  background: var(--mint);
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-links .nav-contact:hover {
  color: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(123, 217, 174, 0.45);
}

.nav-links a.active:not(.nav-contact) { color: var(--mint); }

/* ---------- Headshot frame ---------- */
.headshot-frame {
  width: 420px;
  height: 420px;
  max-width: 100%;
  border-radius: 50%;
  background: var(--mint);
  padding: 26px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.headshot-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%; /* keeps the top of the head in frame */
  border: 6px solid var(--white);
}

.headshot-frame--small {
  width: 340px;
  height: 340px;
  padding: 22px;
}

/* ---------- Sections ---------- */
section { padding: 72px var(--page-padding); }

.section--mint { background: var(--mint-tint); }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero { padding: 88px var(--page-padding) 72px; }

.hero .two-col,
.about-section .two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--grey-body);
  max-width: 480px;
  margin-bottom: 34px;
  text-align: justify;
}

/* ---------- How I Can Help ---------- */
.help-section { padding: 8px var(--page-padding) 88px; }

.help-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
}

.help-heading-row h2 { font-size: 32px; margin: 0; }

.help-heading-row a {
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: underline;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--mint-tint);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 22px;
}

.icon-box {
  width: 44px;
  height: 44px;
  background: var(--mint);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-box svg { width: 20px; height: 20px; }

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--grey-card-body);
  margin: 0;
}

/* ---------- Services page header ---------- */
.services-header { padding: 72px var(--page-padding) 24px; }

.services-header h1 { font-size: 40px; margin-bottom: 14px; }

.services-header p { font-size: 17px; color: var(--grey-body); }

/* ---------- Services grid ---------- */
.services-grid-section { padding: 40px var(--page-padding) 96px; }

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-card-lg {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  gap: 20px;
}

.service-card-lg .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.service-card-lg .icon-box svg { width: 24px; height: 24px; }

.service-card-lg h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.service-card-lg p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey-body);
  margin-bottom: 8px;
}

.service-card-lg .detail-line {
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey-detail);
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--mint-tint);
  padding: 56px var(--page-padding);
  text-align: center;
}

.cta-band h2 { font-size: 28px; margin-bottom: 12px; }

.cta-band p {
  font-size: 16px;
  color: var(--grey-body);
  margin-bottom: 26px;
}

/* ---------- About page ---------- */
.about-section { padding: 72px var(--page-padding); }

.about-section h1 { font-size: 40px; }

.about-body {
  text-align: justify;
  font-size: 17px;
  line-height: 1.75;
}

.credentials-line {
  font-size: 14px;
  color: var(--grey-detail);
  margin-top: 12px;
}

.badge-img {
  height: 52px;
  margin-top: 12px;
}

/* ---------- Testimonials ---------- */
.testimonials-header { padding: 72px var(--page-padding) 56px; }
.testimonials-header h1 { font-size: 40px; margin-bottom: 14px; }
.testimonials-header p { font-size: 17px; color: var(--grey-body); }

.testimonials-grid-section { padding: 56px var(--page-padding) 96px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.quote-mark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 44px;
  color: var(--mint);
  line-height: 1;
  display: block;
}

.quote-mark--close {
  text-align: right;
  margin-top: 8px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--testimonial-text);
  margin: 8px 0 0;
}

.testimonial-name {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 15px;
  margin-top: 18px;
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 13px;
  color: var(--grey-detail);
  margin: 0;
}

/* ---------- Contact page ---------- */
.contact-header { padding: 72px var(--page-padding) 24px; }
.contact-header h1 { font-size: 40px; margin-bottom: 14px; }
.contact-header p { font-size: 17px; color: var(--grey-body); }

.contact-form-section {
  padding: 40px var(--page-padding) 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

input, textarea {
  width: 100%;
  background: var(--mint-tint);
  border: 1px solid #DCEEE4;
  border-radius: 8px;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
}

textarea {
  min-height: 150px;
  resize: vertical;
  margin-bottom: 16px;
}

input::placeholder, textarea::placeholder {
  color: var(--grey-detail);
}

.form-note {
  font-size: 13px;
  color: var(--grey-detail);
  margin-top: 14px;
}

.contact-panel {
  background: var(--mint-tint);
  border-radius: 16px;
  padding: 32px;
}

.contact-panel h3 { font-size: 24px; }

.contact-panel a { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer .container {
  padding: 40px var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img { height: 28px; width: auto; }

.footer-tagline {
  font-size: 14px;
  color: var(--grey-footer-tagline);
  margin: 0;
}

.footer-copy {
  font-size: 13px;
  color: var(--grey-footer-copy);
  margin: 0;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social {
  display: inline-flex;
  color: var(--grey-footer-copy);
  transition: color 0.15s ease;
}

.footer-social:hover { color: var(--mint); }

.footer-social svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --page-padding: 24px; }
  .hero h1 { font-size: 36px; }
  .hero .two-col,
  .about-section .two-col { grid-template-columns: 1fr; gap: 32px; }
  .hero .two-col > div:last-child,
  .about-section .two-col > div:last-child { order: -1; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-2 { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
  .site-header .container { flex-wrap: wrap; gap: 16px; padding: 16px 24px; }
  .site-footer .container { flex-direction: column; gap: 16px; text-align: center; padding: 32px 24px; }
  .headshot-frame { width: 280px; height: 280px; }
  .headshot-frame--small { width: 240px; height: 240px; }
}
