@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,500&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #1B2A4A;
  --navy-deep: #101B30;
  --teal: #2C7A72;
  --teal-light: #E7F1EF;
  --purple: #6B4E9E;
  --purple-light: #EFEAF6;
  --gold: #C69B2C;
  --gold-light: #FBF3DF;

  --cream: #FAF9F5;
  --white: #FFFFFF;
  --gray-line: #E4E2DA;
  --gray-mute: #F2F1EB;

  --text-primary: #1B2A4A;
  --text-secondary: #51596B;
  --text-muted: #838A99;

  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Inter', -apple-system, Segoe UI, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar, html::-webkit-scrollbar {
  display: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--text-secondary); }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.about-img {
  max-height: 300px;
  display: flex;
  border-radius: 50%;
}

.team-card-img .team-bio-img {
  display: flex;
  justify-self: center;
  color: var(--text-muted);
  padding: 20px;

  min-height: 150px;
  max-height: 150px;

  max-width: 150px;
  min-width: 150px;

  border-radius: 50%;
}

.team-bio-img {
  grid-column: 1;
  min-height: 260px;
  width: 260px;
  border-radius: 50%;
}

.team-card-img {
  display: flex;
  justify-self: center;
  max-width: 150px;
  min-height: 150px;
  max-height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Signature motif: a thin three-tone rule, echoing the rising arc under
   the star in the logo. Used once at the top of the page and once above
   the footer — never scattered, so it stays meaningful. */
.motif-rule {
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--teal) 34%, var(--purple) 68%, var(--gold) 100%);
}

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);

  display: flex;
}

.nav {
  display: flex;
  justify-self: right;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  margin-right: 5%;
}

.nav-logo {
  line-height: 1;
  padding: 16px 24px;

  min-width: fit-content;
}

.nav-logo__image {
  height: 50px;
  width: auto;

  min-width: 25px;
}

.nav-logo:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
}

.nav-links a {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px;
}

.nav-links a:hover { 
   color: var(--teal);
   text-decoration: none;
   transform: scale(1.05);
   }

.nav-links a.active { color: var(--teal); }

.nav-cta {
  display: inline-block;
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-cta:hover { 
  background: var(--navy) !important;
  text-decoration: none;
  border-radius: var(--radius) !important;
  transform: scale(1.01) !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

.nav-toggle:hover {
  background-color: var(--gray-mute);
  border-radius: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.15s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { text-decoration: none; transform: scale(1.01); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 24px 72px;
  text-align: center;
  background: var(--cream);
}

.hero .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero p.lede {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-alt { background: var(--white); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head p { font-size: 1.05rem; }

/* ---------- Testimonial carousel ---------- */
.testimonial-carousel {
  max-width: 760px;
  margin: 0 auto;
}
 
.carousel-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
 
.testimonial-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  border-radius: var(--radius-lg);
}
 
.testimonial-track::-webkit-scrollbar { display: none; }
 
.testimonial-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  text-align: center;
}
 
.quote-mark {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
 
.testimonial-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 18px;
}
 
.testimonial-attribution {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0;
}
 
.carousel-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-line);
  background: var(--white);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s ease;
}
 
.carousel-arrow:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
 
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
 
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gray-line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: 0.2s ease;
}
 
.carousel-dot.active {
  background: var(--teal);
  width: 22px;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.card .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 10px; }

.card p { font-size: 0.95rem; margin-bottom: 14px; }

.card ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.card ul li { margin-bottom: 6px; }

.card-link {
  font-weight: 500;
  font-size: 0.92rem;
}

/* Service cards get a colored top rule instead of a repeated icon color,
   cycling navy / teal / purple to keep the six offerings visually
   distinct without turning into a rainbow. */
.card.tone-a { border-top: 3px solid var(--teal); }
.card.tone-b { border-top: 3px solid var(--purple); }
.card.tone-c { border-top: 3px solid var(--navy); }

/* ---------- Image placeholder ---------- */
.img-placeholder {
  background: var(--gray-mute);
  border: 1px dashed #C7C4B8;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
  min-height: 220px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 56px 24px;
  border-radius: var(--radius-lg);
}

.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: #C7CEDD; margin-bottom: 26px; }

/* ---------- About page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: center;
}

.credential-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credential-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-line);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: var(--purple-light);
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
}

.why-block {
  background: var(--gold-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.why-block h2 { margin-bottom: 14px; }
.why-block p { max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

.linktree-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--teal);
  color: var(--teal);
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 8px;
}
 
.linktree-badge:hover {
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
}
 
.linktree-badge img {
  width: 18px;
  height: 18px;
  /* Icon is a black SVG path; this filter keeps it in step with the
     link's current color (teal, then white on hover) without needing
     to inline the SVG markup. */
  filter: brightness(0) saturate(100%) invert(35%) sepia(24%) saturate(1200%) hue-rotate(122deg) brightness(90%);
  transition: filter 0.15s ease;
}
 
.linktree-badge:hover img { filter: brightness(0) invert(1); }

/* ---------- Team page ---------- */
.team-card {
  text-align: center;
}
 
.team-card .img-placeholder {
  border-radius: 999px;
  width: 140px;
  height: 140px;
  min-height: 0;
  margin: 0 auto 18px;
}
 
.team-card .role {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 10px;
}

.team-card .tagline {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
 
.bio-block {
  scroll-margin-top: 96px; /* keeps the sticky nav from covering the heading on anchor jump */
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-line);
}
 
.bio-block:last-of-type { border-bottom: none; }
 
.bio-block .about-hero { margin-bottom: 28px; }
 
.bio-block .tagline-lg {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--teal);
  margin-bottom: 14px;
}

.fun-fact {
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  border-radius: 8px;
  font-style: italic;
  color: var(--navy);
  margin: 24px 0 0;
}
 
.fun-fact strong {
  font-style: normal;
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.secondary-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
 
.secondary-link:hover { color: var(--teal); }

/* ---------- Services list ---------- */
.service-number {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
  display: block;
}

/* ---------- Contact ---------- */
.contact-layout {
  max-width: 520px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-light);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 24px;
}

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin-top: 18px;
}
.form-status.success { display: block; background: var(--teal-light); color: var(--teal); }
.form-status.error { display: block; background: #FBEAF0; color: #99355B; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #A9B2C4;
  padding: 40px 24px;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer .foot-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.site-footer .foot-links a { color: #C7CEDD; font-size: 0.88rem; }
.site-footer .foot-links a:hover { color: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .about-hero { grid-template-columns: 1fr; justify-items: center; }
  .about-hero .about-img { max-width: 240px; margin: 0 auto; }
  .team-card-img .team-bio-img {display: flex; justify-items: center;}
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--gray-line);
    gap: 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.18s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle { display: block; }
  .nav-cta { width: 100%; text-align: center; }
  .hero { padding: 56px 20px 48px; }
  section { padding: 52px 0; }
  .why-block { padding: 28px 20px; }
}
