:root {
  --page-bg: #e4e8ec;
  --card-bg: #f8f9fa;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #5f6c7b;
  --border: #ced4da;
  --accent: #2f4f73;
  --button: #2f4f73;
  --button-hover: #24405e;
  --cool-gray: #cfd6dd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--page-bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  position: relative;
  min-height: 340px;
  background: var(--cool-gray) center/cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 28, 37, 0.1), rgba(20, 28, 37, 0.45));
}

.logo-slot {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  width: 64px;
  height: 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top-phone-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.top-phone-pill:hover {
  background: #f5f7f9;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 150px;
  padding-bottom: 24px;
}

.profile-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.headshot-wrap {
  position: relative;
  width: 200px;
  height: 200px;
}

.headshot,
.headshot-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--surface);
  background: var(--cool-gray);
}

.headshot {
  object-fit: cover;
  display: block;
}

.headshot-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}

h1,
h2 {
  margin: 0 0 8px;
  font-weight: 700;
}

.muted {
  margin: 2px 0;
  color: var(--muted);
}

.bio {
  margin-top: 12px;
  white-space: pre-line;
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 8px;
}

.service-tag {
  background: #ecf0f4;
  border: 1px solid var(--border);
  padding: 4px 10px;
  font-size: 14px;
}

.contact-row,
.social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.contact-link,
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
}

.social-link img {
  width: 22px;
  height: 22px;
  display: block;
}

main {
  padding-top: 24px;
  padding-bottom: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 18px;
  margin: 20px 0;
  Border-radius: 8px;
}

#testimonials-section {
  background: none;
  border: 0px solid var(--border);
  padding: 60px 0;
}

blockquote {
  margin: 0;
  padding: 10px 14px;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  min-height: 84px;
}

#testimonials-section blockquote {

  padding: 0;
  background: none;
  border-left: 0px solid var(--accent);
  min-height: 0;

  text-align: center;
  font-size: 24px;
  font-family: serif;
  font-style: italic;
}

p.testimonial-name{
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-family: serif;
  font-style: italic;
}

.quote-rotator,
.testimonial-name {
  opacity: 1;
  transition: opacity 0.7s ease;
}

.quote-rotator.fading,
.testimonial-name.fading {
  opacity: 0.25;
}

.testimonial-name {
  margin-top: 8px;
  color: var(--muted);
}

form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
}

input[type="checkbox"] {
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

button[type="submit"] {
  justify-self: start;
  background: var(--button);
  color: #fff;
  border: 0;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 8px;
}

button[type="submit"]:hover {
  background: var(--button-hover);
}

button[type="submit"].is-sending,
button[type="submit"]:disabled {
  background: #98a4b3;
  color: #eef2f6;
  cursor: not-allowed;
}

.interest-group {
  display: grid;
  gap: 8px;
}

.input-label {
  margin: 0;
  font-size: 14px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
  margin-top: 0;
}

.consent-row {
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
  color: var(--muted);
}

.consent-row input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.consent-row span {
  line-height: 1.45;
}

.footer {
  border-top: 1px solid var(--border);
  background: #d7dde3;
  padding: 14px 0 20px;
  font-size: 13px;
}

.footer p {
  margin: 6px 0;
}

.status-banner {
  position: fixed;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  color: var(--muted);
}

.hidden {
  display: none;
}

@media (max-width: 840px) {
  .top-phone-pill {
    top: 16px;
    right: 16px;
    font-size: 13px;
    padding: 7px 12px;
  }

  .hero-content {
    padding-top: 100px;
  }

  .profile-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .profile-main {
    width: 100%;
  }

  .service-tags,
  .contact-row,
  .social-row {
    justify-content: center;
  }

  form {
    grid-template-columns: 1fr;
  }

  .consent-row {
    gap: 14px;
    padding: 8px 0;
  }

  .consent-row input[type="checkbox"] {
    width: 14px;
    height: 14px;
    min-width: 14px;
  }
}
