/* Rooted Connections Therapy Center — site styles */
:root {
  --teal-dark: #3a6673;
  --teal: #639796;
  --teal-mist: #edf7f8;
  --linen: #e8e3db;
  --earth: #a77751;
  --earth-dark: #8a603f;
  --ink: #282829;
  --ink-soft: #4a5568;
  --white: #ffffff;
  --script: "above-the-beyond", "Brush Script MT", cursive;
  --serif: "big-caslon-fb", "Big Caslon", Georgia, serif;
  --sans: "mr-eaves-xl-modern", "Gill Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--earth); }

h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: 1px; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); text-transform: uppercase; }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.35rem; line-height: 1.25; margin: 0 0 .4em; }
p { margin: 0 0 1.1em; }

.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--teal);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.1;
  margin: 0 0 -.24em;
  position: relative;
  z-index: 1;
  text-transform: none;
  letter-spacing: 0;
}
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--ink-soft); margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section--white { background: rgba(255,255,255,.92); }
.section--mist { background: var(--teal-mist); }
.section--teal { background: var(--teal-dark); color: var(--white); }
.section--teal h2, .section--teal h3, .section--teal a { color: var(--white); }
.section--teal .script { color: #bfe0de; }
.center { text-align: center; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  text-align: center;
  color: var(--white);
  background: var(--earth);
  border: 2px solid var(--earth);
  padding: 14px 28px;
  min-width: min(100%, 320px);
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn:hover { background: var(--earth-dark); border-color: var(--earth-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--teal-dark); border-color: var(--teal-dark); }
.btn--outline:hover { background: var(--teal-dark); color: var(--white); border-color: var(--teal-dark); }
.btn--small { min-width: 0; font-size: .9rem; padding: 10px 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.2em; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(232,227,219,.92); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(58,102,115,.12); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand img { width: 54px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .9rem; text-decoration: none; color: var(--ink); }
.nav a[aria-current="page"], .nav a:hover { color: var(--teal-dark); border-bottom: 2px solid var(--teal); }
.nav .btn { color: var(--teal-dark); border-bottom: 2px solid var(--teal-dark); }
.nav .btn:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.8rem; color: var(--teal-dark); cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--linen); padding: 20px; border-bottom: 1px solid rgba(58,102,115,.2); }
  .nav.open { display: flex; }
}

/* Hero */
.hero { padding: 70px 0 90px; background: var(--linen) url("../images/linen-fabric-background.webp") center / cover no-repeat; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero-logo { width: min(440px, 100%); margin-bottom: 26px; }
.hero .script { font-size: clamp(2rem, 3.3vw, 2.75rem); line-height: 1.4; white-space: nowrap; text-align: center; max-width: 440px; margin: 0 0 .4em; }
@media (max-width: 600px) { .hero .script { white-space: normal; max-width: none; line-height: 1.55; font-size: 2.1rem; } }
.hero .btn-row { flex-direction: column; align-items: flex-start; }
.arch { position: relative; }
.arch img { border-radius: 999px 999px 0 0; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }
.name-card { position: absolute; left: -48px; bottom: 26px; filter: drop-shadow(0 6px 12px rgba(60,45,30,.22)); }
.name-card-inner { background: url("../images/torn-paper.svg") center / 100% 100% no-repeat; padding: 44px 64px 46px; }
.name-card strong { display: block; font-size: 1.6rem; line-height: 1.2; }
.name-card span { font-weight: 700; font-size: .95rem; letter-spacing: .5px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { margin-left: auto; margin-right: auto; }
  .hero .btn-row { align-items: center; }
  .name-card { left: 12px; }
}

/* Generic two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } .split--reverse > :first-child { order: 0; } }

/* Cards */
.cards { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 40px; }
.card { background: var(--white); padding: 0 0 26px; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.card h3, .card p { padding: 0 24px; }
.card p { font-size: 1.05rem; margin-bottom: 0; }
.card--plain { padding: 30px 28px; }
.card--plain h3, .card--plain p { padding: 0; }
.card--plain p { margin-bottom: 1em; }
.card--plain ul { padding-left: 1.1em; margin: 0; font-size: 1.05rem; }
.card--plain li { margin-bottom: .5em; }

/* Stay connected */
.connect .card { display: flex; flex-direction: column; text-align: left; }
.connect .card .btn { margin-top: auto; }
.connect form { display: grid; gap: 10px; margin: 6px 0 16px; }
.connect label { font-weight: 700; font-size: .95rem; }
.connect input[type="text"], .connect input[type="email"] {
  font: inherit; font-size: 1rem; padding: 10px 12px; border: 2px solid #cfd8d8; background: #fff; width: 100%;
}
.connect input:focus { outline: none; border-color: var(--teal); }
.hp { position: absolute; left: -5000px; }

/* Pricing */
.price-list { display: grid; gap: 22px; margin-top: 36px; }
.price { display: grid; grid-template-columns: 1fr auto; gap: 8px 30px; background: var(--white); padding: 26px 30px; border-left: 5px solid var(--teal); }
.price h3 { margin: 0; }
.price .cost { font-weight: 700; color: var(--teal-dark); text-align: right; white-space: nowrap; }
.price p { grid-column: 1 / -1; margin: 0; font-size: 1.05rem; }
@media (max-width: 600px) { .price { grid-template-columns: 1fr; } .price .cost { text-align: left; } }

/* Logos */
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 40px; margin-top: 30px; }
.logo-row img { max-height: 64px; width: auto; filter: grayscale(20%); }
.logo-row--small img { max-height: 46px; }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 1.6em; position: relative; margin-bottom: .6em; }
.check-list li::before { content: "❧"; position: absolute; left: 0; color: var(--teal); }

.info-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.info-list li { margin-bottom: .4em; }
.info-list strong { display: inline-block; min-width: 92px; }

.hours { border-collapse: collapse; margin: .5em 0 1em; }
.hours td { padding: 4px 22px 4px 0; }

.notice { background: var(--teal-mist); border-left: 5px solid var(--teal); padding: 18px 22px; font-size: 1.05rem; }

.placeholder { border: 2px dashed var(--teal); background: rgba(237,247,248,.7); color: var(--teal-dark); padding: 18px 22px; font-size: 1rem; }

/* Footer */
.site-footer { background: var(--teal-dark); color: #e6efef; padding: 60px 0 30px; font-size: 1rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-grid img.footer-logo { width: 230px; margin-bottom: 14px; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: .4em; }
.footer-nav a { text-decoration: none; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; font-size: .9rem; }
.footer-crisis { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); font-size: .95rem; }
.copyright { font-size: .85rem; opacity: .8; margin-top: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Torn-paper (SoulCollage-style) touches */
.torn { background: url("../images/torn-paper-tall.svg") center / 100% 100% no-repeat; box-shadow: none; filter: drop-shadow(0 6px 12px rgba(60,45,30,.16)); padding: 46px 40px 50px; }
.cards .torn:nth-child(3n+2) { background-image: url("../images/torn-paper-tall-2.svg"); }
.cards .torn:nth-child(3n+3) { background-image: url("../images/torn-paper-tall-3.svg"); }
.torn-photo { -webkit-mask: url("../images/torn-mask.svg") center / 100% 100% no-repeat; mask: url("../images/torn-mask.svg") center / 100% 100% no-repeat; }
.torn-photo-wrap { filter: drop-shadow(0 8px 16px rgba(40,30,20,.25)); }
.torn--wide, .cards .torn--wide:nth-child(n) { background-image: url("../images/torn-paper.svg"); padding: 56px 72px 60px; }
.torn-photo--tall { -webkit-mask-image: url("../images/torn-mask-tall.svg"); mask-image: url("../images/torn-mask-tall.svg"); }
@media (max-width: 860px) { .hero .script { margin-left: auto; margin-right: auto; } }
