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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f9f9f7;
  color: #1a1a1a;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8e8e4;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .logo {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1a1a1a;
  cursor: pointer;
  text-decoration: none;
}

.site-header nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  font-size: 0.88rem;
  color: #555;
  font-weight: 450;
}

.site-header nav a:hover { color: #1a1a1a; }

/* Hero */
.hero {
  background: #1a1a1a;
  color: #fff;
  padding: 5rem 2rem 5.5rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  margin: 0 auto;
  line-height: 1.7;
}

/* Credentials */
.credentials-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  border-bottom: 1px solid #e8e8e4;
}

.credentials-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.credentials-title {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.credentials-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 640px;
  margin: 1rem auto 0;
}

.credentials-list li {
  font-size: 0.92rem;
  color: #444;
  padding: 0.45rem 0;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.credentials-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
}

/* Tabbed Services */
.services-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 2rem 4.5rem;
}

.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e8e8e4;
  margin-bottom: 2rem;
}

.tab-btn {
  flex: 1;
  padding: 0.85rem 1rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  color: #888;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  text-align: center;
}

.tab-btn:hover { color: #555; }

.tab-btn.active {
  color: #1a1a1a;
  font-weight: 600;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2563eb;
}

/* Panels visible by default for crawlers and no-JS users */
.tab-panel + .tab-panel {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e8e8e4;
}

/* JS adds .js-tabs to enable tab hiding as progressive enhancement */
.js-tabs .tab-panel {
  display: none;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.js-tabs .tab-panel.active {
  display: block;
}

.tab-panel h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.tab-panel .desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.tab-panel ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.tab-panel ul li {
  font-size: 0.92rem;
  color: #444;
  padding: 0.5rem 0;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.tab-panel ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
}

.tab-cta {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
}

.tab-cta:hover { background: #333; }

/* Subpage show/hide */
.subpage {
  display: none;
}

.subpage.active {
  display: block;
}

/* Page header (About, Contact, Blog) */
.page-header {
  background: #1a1a1a;
  color: #fff;
  padding: 3.5rem 2rem 4rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* About Page */
.about-content {
  padding: 4.5rem 2rem;
  max-width: 780px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-content a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.about-content a:hover {
  text-decoration: underline;
}

.about-headshot {
  display: block;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 2rem;
}

/* Contact Page */
.contact-content {
  padding: 4.5rem 2rem;
}

.contact-inner {
  max-width: 520px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e8e8e4;
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #fff;
  color: #1a1a1a;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  display: block;
  width: 100%;
  background: #1a1a1a;
  color: #fff;
  padding: 0.85rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.submit-btn:hover { background: #333; }

/* Blog Page */
.blog-content {
  padding: 4.5rem 2rem;
  max-width: 780px;
  margin: 0 auto;
}

.blog-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
  text-align: center;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.75rem 2rem;
  font-size: 0.8rem;
  color: #aaa;
  border-top: 1px solid #e8e8e4;
}

/* Responsive */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.8rem; }
  .hero { padding: 3.5rem 1.5rem 4rem; }
  .services-section, .about-content { padding: 3rem 1.5rem; }
  .tab-btn { font-size: 0.88rem; padding: 0.7rem 0.5rem; }
  .site-header { padding: 1rem 1.25rem; }
  .site-header nav a { margin-left: 1rem; font-size: 0.8rem; }
  .page-header h1 { font-size: 1.8rem; }
}
