/* Donald St Louis, D.Min., MFT — site styles */

:root {
  --purple: #7a5ea0;
  --purple-dark: #614a80;
  --green: #75b14e;
  --blue: #408bc7;
  --blue-light: #4495d0;
  --phone: #6f6fb0;
  --text: #595959;
  --text-light: #868686;
  --heading: #4f4f4f;
  --border: #ebebeb;
  --bg-soft: #f7f7f8;
  --max-width: 1080px;
  --font-body: "Inter", Helvetica, Arial, sans-serif;
  --font-script: "Alex Brush", cursive;
  --font-heading: "Inter", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

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

/* ---------- Header ---------- */

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

.header-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link {
  flex-shrink: 0;
}

.logo-link img {
  height: 54px;
  width: auto;
}

.tagline {
  font-family: var(--font-script);
  font-size: 28px;
  color: #757575;
  white-space: nowrap;
  letter-spacing: 0.5px;
  align-self: flex-end;
  position: relative;
  top: 12px;
}

.tagline-mobile {
  display: none;
}

.header-bottom {
  border-top: 3px solid var(--purple);
}

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

.site-nav ul {
  display: flex;
  align-items: center;
}

.site-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.site-nav a:hover {
  color: var(--purple);
  text-decoration: none;
}

.site-nav a::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--purple);
  opacity: 0;
  flex-shrink: 0;
}

.site-nav a:hover::before {
  opacity: 1;
}

.site-nav a.current {
  color: var(--purple-dark);
}

.site-nav a.current::before {
  opacity: 1;
}

.nav-label {
  position: relative;
}

.site-nav a.current .nav-label {
  background-image: linear-gradient(#f6f6f6, #f6f6f6);
  background-repeat: no-repeat;
  background-size: 100% 11px;
  background-position: left bottom;
}

.phone-link {
  font-size: 17px;
  font-weight: 600;
  color: var(--phone) !important;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--purple-dark);
}

/* ---------- Page header ---------- */

.page-header {
  padding-top: 48px;
}

.page-header h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 32px;
  font-weight: 600;
  color: var(--heading);
}

.page-header h1::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--purple);
  flex-shrink: 0;
}

.h1-label {
  background-image: linear-gradient(#f6f6f6, #f6f6f6);
  background-repeat: no-repeat;
  background-size: 100% 16px;
  background-position: left bottom;
}

.reflection-wrap {
  display: none;
}

.page-header .subtitle {
  font-size: 32px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1;
  transform: scaleY(-1);
  opacity: 0.1;
  -webkit-mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
  mask-image: linear-gradient(115deg, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
}

.lead {
  max-width: 720px;
  font-size: 17px;
  margin-top: 18px;
  color: var(--text);
}

/* ---------- Home: intro quote ---------- */

.intro-quote {
  max-width: 720px;
  margin: 56px auto 24px;
  padding: 0 24px;
  position: relative;
  text-align: center;
}

.intro-quote blockquote {
  position: relative;
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 158px;
  color: var(--blue-light);
  line-height: 1;
  position: absolute;
  opacity: 0.85;
  text-shadow: 4px 6px 10px rgba(64, 139, 199, 0.35);
}

.quote-mark.open {
  left: -8px;
  top: -42px;
}

.quote-mark.close {
  right: -36px;
  bottom: -90px;
}

.intro-quote p {
  font-size: 17px;
  line-height: 1.7;
  color: #666;
  padding: 0 70px;
}

.drop-cap {
  font-family: var(--font-script);
  color: var(--green);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  vertical-align: baseline;
  margin-right: 2px;
}

.intro-quote .byline {
  margin-top: 24px;
  padding: 0 70px;
  text-align: right;
  font-family: var(--font-script);
  font-size: 22px;
  color: var(--blue-light);
}

/* ---------- Content grid (home) ---------- */

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  padding: 40px 24px 72px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.content-grid article,
.three-col article {
  position: relative;
  padding-top: 40px;
  padding-bottom: 28px;
}

.section-title {
  position: absolute;
  top: 40px;
  left: 20px;
  transform: translateY(-50%);
  z-index: 2;
  background: #fff;
  padding: 0 10px 0 10px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title.purple { color: var(--purple); }
.section-title.green { color: var(--green); }
.section-title.blue { color: var(--blue); }

.content-box {
  border: 6px solid #f6f6f6;
  padding: 30px 24px 24px;
}

.three-col .section-title {
  font-size: 18px;
  letter-spacing: 0.5px;
}

.content-grid p {
  margin-bottom: 14px;
  font-size: 15px;
}

.content-grid p:last-child {
  margin-bottom: 0;
}

/* ---------- Approach page ---------- */

.sub-quote {
  max-width: 680px;
  margin: 56px auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
}

.sub-quote .quote-mark {
  font-size: 125px;
}

.sub-quote .quote-mark.open {
  left: -6px;
  top: 7px;
}

.sub-quote .quote-mark.close {
  right: -28px;
  bottom: -111px;
}

.sub-quote p {
  display: inline-block;
  text-align: left;
  font-size: 26px;
  line-height: 1.5;
  color: var(--blue-light);
  font-weight: 500;
  transform: translateY(36px);
}

.sub-quote .second-line {
  display: inline-block;
  margin-left: 150px;
}

.sub-quote .q {
  font-family: Georgia, serif;
  font-size: 46px;
  color: var(--blue-light);
  vertical-align: -6px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 16px 24px 72px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.three-col p {
  font-size: 14.5px;
  color: var(--text);
}

/* ---------- Biography page ---------- */

.bio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 40px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.bio-block {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 36px;
}

.bio-photo {
  width: 170px;
  height: auto;
  flex-shrink: 0;
}

.bio-block p {
  margin-bottom: 14px;
  font-size: 15px;
}

.bio-sidebar .sidebar-box {
  background: var(--bg-soft);
  padding: 28px 24px;
  margin-bottom: 24px;
}

.bio-sidebar h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
}

.dotted-list li {
  font-size: 14px;
  color: var(--text);
  padding: 10px 0;
  border-top: 1px dotted #d6d6d6;
}

.dotted-list li:first-child {
  border-top: none;
  padding-top: 0;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
  padding: 40px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.card {
  border: 1px solid var(--border);
  padding: 30px 28px;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.card h3.purple { color: var(--purple); }
.card h3.green { color: var(--green); }

.contact-info dt {
  font-weight: 600;
  color: var(--heading);
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-info dd {
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.contact-info dd:last-child {
  margin-bottom: 0;
}

.field {
  margin-bottom: 16px;
}

.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  padding: 11px 12px;
  font-size: 15px;
  font-family: var(--font-body);
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.field textarea {
  resize: vertical;
}

.btn-send {
  background: linear-gradient(180deg, var(--blue-light), var(--blue));
  color: #fff;
  border: none;
  padding: 13px 36px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  margin-top: 4px;
}

.btn-send:hover {
  filter: brightness(1.05);
}

.form-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 14px;
  display: none;
}

.form-note.visible {
  display: block;
}

.form-note.success {
  color: var(--green);
  font-weight: 600;
}

.form-note.error {
  color: #c0392b;
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 56px 24px 32px;
  text-align: center;
}

.footer-tagline {
  font-family: var(--font-script);
  font-size: 32px;
  color: #757575;
  letter-spacing: 4px;
  margin-bottom: 32px;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text);
}

.footer-nav a:hover {
  color: var(--purple);
}

.legal {
  font-size: 11px;
  color: #b0b0b0;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .content-grid,
  .three-col,
  .bio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .bio-sidebar {
    order: 2;
  }
}

@media (max-width: 700px) {
  .header-top {
    padding: 20px 20px 14px;
  }

  .content-grid article,
  .three-col article {
    padding-top: 16px;
  }

  .section-title {
    top: 16px;
    left: 0;
    padding: 0 10px 0 10px;
    font-size: 19px;
    letter-spacing: 0.5px;
  }

  .tagline {
    display: none;
  }

  .nav-row {
    align-items: flex-start;
  }

  .tagline-mobile {
    display: block;
    text-align: right;
    font-family: var(--font-script);
    font-size: 20px;
    color: #757575;
    letter-spacing: 0.5px;
    padding: 14px 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-row {
    padding: 0 20px;
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
  }

  .phone-link {
    padding: 14px 0;
  }

  .intro-quote {
    margin-top: 52px;
  }

  .intro-quote p {
    padding: 0 30px;
    font-size: 15.5px;
  }

  .intro-quote .byline {
    padding: 0 30px;
  }

  .drop-cap {
    font-size: 38px;
  }

  .quote-mark {
    font-size: 105px;
  }

  .quote-mark.open { left: -10px; top: -30px; }
  .quote-mark.close { right: -10px; bottom: -48px; }

  .sub-quote .quote-mark {
    font-size: 80px;
  }

  .sub-quote .quote-mark.open { left: 20px; top: -3px; }
  .sub-quote .quote-mark.close { right: 20px; bottom: -82px; }

  .sub-quote p {
    font-size: 20px;
    transform: translateY(16px);
  }

  .sub-quote .second-line {
    margin-left: 40px;
  }

  .bio-block {
    flex-direction: column;
  }

  .bio-photo {
    width: 140px;
  }

  .footer-tagline {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .footer-nav ul {
    gap: 18px 24px;
  }
}

@media (max-width: 480px) {
  .header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
