:root {
  --deep-teal: #29464c;
  --mid-teal: #3f7381;
  --terracotta: #a05c47;
  --rust: #bc4b23;
  --cream: #f7f5f0;
  --cream-deep: #efeae0;
  --ink: #22302f;
  --ink-soft: #4a5a58;
  --border: #ddd6c8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--deep-teal);
  line-height: 1.25;
}

a {
  color: var(--terracotta);
  text-decoration: none;
}

a:hover {
  color: var(--rust);
}

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header / Nav */

header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
}

nav a {
  color: var(--ink);
  font-size: 15px;
  letter-spacing: 0.3px;
}

nav a:hover {
  color: var(--terracotta);
}

nav a.current {
  color: var(--deep-teal);
  border-bottom: 1.5px solid var(--rust);
  padding-bottom: 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--deep-teal);
  margin: 5px 0;
}

/* Hero */

.hero {
  background: var(--deep-teal);
  color: var(--cream);
  padding: 96px 0 88px;
}

.hero .wrap {
  max-width: 760px;
}

.hero h1 {
  color: var(--cream);
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 22px;
}

.hero p.lede {
  font-size: 19px;
  color: #cdd9d6;
  margin-bottom: 34px;
  max-width: 620px;
}

.btn {
  display: inline-block;
  background: var(--rust);
  color: #fff;
  padding: 14px 30px;
  border-radius: 3px;
  font-size: 15px;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #a3421c;
  color: #fff;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--cream);
  padding: 13px 29px;
  border-radius: 3px;
  font-size: 15px;
  border: 1px solid #6b8a8f;
  letter-spacing: 0.3px;
}

.btn-outline:hover {
  border-color: var(--cream);
  color: var(--cream);
}

/* Sections */

section {
  padding: 76px 0;
}

section.alt {
  background: var(--cream-deep);
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--terracotta);
  margin-bottom: 14px;
  font-weight: 600;
}

h2 {
  font-size: 30px;
  margin-bottom: 24px;
}

h2.center {
  text-align: center;
}

p {
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 720px;
}

.lead-text {
  font-size: 19px;
  color: var(--ink);
  max-width: 680px;
}

/* Grid layouts */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  font-size: 15.5px;
  margin-bottom: 0;
}

/* Situations list */

.situation-list {
  list-style: none;
  margin-top: 32px;
}

.situation-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 17px;
  display: flex;
  gap: 16px;
}

.situation-list li:first-child {
  border-top: 1px solid var(--border);
}

.situation-list .marker {
  color: var(--rust);
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.4;
}

/* Pricing */

.price-table {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 34px 28px;
}

.price-card.featured {
  border-color: var(--terracotta);
  border-width: 2px;
}

.price-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.price-card .range {
  font-size: 26px;
  color: var(--deep-teal);
  font-family: Georgia, serif;
  margin: 10px 0 16px;
}

.price-card p {
  font-size: 14.5px;
  margin-bottom: 0;
}

/* CTA band */

.cta-band {
  background: var(--deep-teal);
  color: var(--cream);
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--cream);
}

.cta-band p {
  color: #cdd9d6;
  margin: 0 auto 30px;
}

/* Footer */

footer {
  background: var(--deep-teal);
  color: #a9bcb9;
  padding: 48px 0 36px;
  border-top: 1px solid #3a5a5f;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

footer img {
  height: 30px;
  margin-bottom: 12px;
  opacity: 0.92;
}

footer .foot-meta {
  font-size: 13.5px;
  line-height: 1.8;
}

footer a {
  color: #cdd9d6;
}

/* Bio */

.bio-portrait-placeholder {
  background: var(--cream-deep);
  border: 1px solid var(--border);
  border-radius: 4px;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

/* Contact form */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 40px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 600;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--mid-teal);
}

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

.contact-info-item {
  margin-bottom: 28px;
}

.contact-info-item h4 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info-item p {
  font-size: 15.5px;
  margin-bottom: 0;
}

/* Testimonial rotator (homepage) */

.quote-rotator {
  background: var(--cream-deep);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 44px;
  margin-top: 24px;
}

.quote-slide-area {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.quote-slide-area.fading {
  opacity: 0;
}

.quote-text {
  font-family: Georgia, serif;
  font-size: 21px;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 12px;
}

.quote-slide-area a {
  display: block;
  color: inherit;
}

.quote-slide-area a:hover .quote-text {
  color: var(--deep-teal);
}

.quote-attribution {
  font-size: 14px;
  color: var(--ink-soft);
}

.quote-attribution .name {
  color: var(--terracotta);
  font-weight: 600;
}

.quote-dots {
  display: flex;
  gap: 7px;
  margin-top: 20px;
}

.quote-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}

.quote-dots button.active {
  background: var(--rust);
}

.quote-placeholder-tag {
  display: inline-block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mid-teal);
  background: #e3ece9;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 16px;
}

.quote-anonymized-tag {
  display: inline-block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--terracotta);
  background: #f1e5df;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 16px;
}

/* Testimonials index page */

.testimonial-full {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 44px;
  margin-bottom: 32px;
}

.testimonial-full p {
  font-size: 16.5px;
  color: var(--ink);
  margin-bottom: 18px;
}

.testimonial-full p:last-of-type {
  margin-bottom: 0;
}

.testimonial-attribution {
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--terracotta) !important;
  font-size: 15px !important;
  margin-top: 8px !important;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 30px 30px;
  margin-bottom: 20px;
  display: block;
  color: inherit;
}

.testimonial-card:hover {
  border-color: var(--mid-teal);
}

.testimonial-card .quote-text {
  font-size: 19px;
  margin-bottom: 14px;
}

/* Testimonial detail page */

.testimonial-detail {
  max-width: 680px;
}

.testimonial-detail .quote-text {
  font-size: 26px;
  margin-bottom: 24px;
}

.testimonial-detail .full-quote {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14.5px;
}

/* Responsive */

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .price-table { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  nav ul {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  nav ul.open {
    display: flex;
  }
  nav li {
    border-top: 1px solid var(--border);
  }
  nav a {
    display: block;
    padding: 16px 32px;
  }
  .nav-toggle {
    display: block;
  }
  footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 27px; }
  section { padding: 56px 0; }
  h2 { font-size: 25px; }
  .quote-rotator { padding: 28px 24px; }
  .testimonial-full { padding: 28px 24px; }
  .quote-text { font-size: 19px; }
  .testimonial-detail .quote-text { font-size: 22px; }
}
