/* ===== Steady Tide Counseling ===== */

:root {
  /* Ocean palette: sand, sea glass, open water, deep sea, driftwood gold */
  --cream: #f5efe6;      /* sand */
  --white: #fdfbf7;      /* sea foam white */
  --ocean: #3f7684;      /* open water */
  --ocean-dark: #2d5d6c;
  --seaglass: #93bab4;
  --deep: #163848;       /* deep sea */
  --ink: #22343c;
  --muted: #56676d;
  --slate: #4f7f99;
  --mist: #c6dbe2;
  --gold: #b8915a;       /* driftwood / sunlight */

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--deep);
  line-height: 1.15;
  margin: 0 0 .5em;
}

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

.hidden { display: none !important; }

.eyebrow {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ocean-dark);
  font-weight: 500;
  margin: 0 0 12px;
}

.section { padding: 110px 0; }
.section-title { font-size: clamp(32px, 4vw, 44px); max-width: 640px; margin-bottom: 48px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 34px;
  border: 1px solid var(--gold);
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn-outline { background: transparent; color: var(--deep); }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-solid { background: var(--deep); border-color: var(--deep); color: var(--white); width: 100%; }
.btn-solid:hover { background: var(--ocean-dark); border-color: var(--ocean-dark); }
.btn-small { padding: 10px 20px; font-size: 12px; }

.text-link {
  color: var(--deep);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 239, 229, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(22, 56, 74, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--deep);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}
.logo-mark { width: 34px; height: 34px; color: var(--ocean-dark); }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a:not(.btn) {
  text-decoration: none;
  font-size: 15px;
  color: var(--ink);
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"]:not(.btn) { color: var(--ocean-dark); }
.site-nav a[aria-current="page"]:not(.btn) { border-bottom: 1px solid var(--gold); }
.site-nav .btn[aria-current="page"] { background: var(--gold); color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--deep);
  margin: 5px 0;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 150px;
}
.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  fill: var(--ocean);
}

/* ===== Inner page header ===== */
.page-hero {
  position: relative;
  padding: 80px 0 130px;
}
.page-hero h1 { font-size: clamp(38px, 5vw, 58px); max-width: 760px; margin: 0; }
.page-intro { font-size: 19px; color: var(--muted); max-width: 600px; margin: 24px 0 0; }
.page-hero .wave { fill: var(--white); }
.page-hero + .section { background: var(--white); padding-top: 60px; }
.hero-inner { position: relative; z-index: 1; }
.hero-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: .04em;
  margin: 0 0 40px;
}
.smallcaps { font-size: .78em; letter-spacing: .1em; }
.hero h1 {
  font-size: clamp(40px, 6vw, 66px);
  max-width: 680px;
}
.rule {
  width: 90px;
  border: 0;
  border-top: 1px solid var(--gold);
  margin: 36px 0;
}
.hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 0 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero-art { width: 100%; max-width: 380px; justify-self: end; overflow: visible; }

/* ===== Pillars ===== */
.pillars { background: var(--ocean); color: var(--white); padding: 40px 0 72px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar {
  text-align: center;
  padding: 8px 36px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s;
}
.pillar:hover { transform: translateY(-3px); }
.pillar + .pillar { border-left: 1px solid rgba(184, 145, 90, .7); }
.pillar svg,
.service-head svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar h2 {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  margin: 26px 0 14px;
}
.pillar p { margin: 0; font-size: 16px; opacity: .9; }

/* ===== About ===== */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.headshot {
  aspect-ratio: 4 / 5;
  background: var(--mist);
  border-radius: 200px 200px var(--radius) var(--radius);
  display: grid;
  place-items: center;
  color: var(--muted);
  overflow: hidden;
}
.headshot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.credentials {
  list-style: none;
  padding: 24px 28px;
  margin: 20px 0 0;
  background: var(--cream);
  border-radius: var(--radius);
  font-size: 15px;
}
.credentials li + li { margin-top: 8px; }
.credentials strong { font-weight: 500; color: var(--deep); }
.about-body h3 { font-size: 30px; margin-top: 36px; }
.about-body > p:first-child { margin-top: 0; }
.about-body blockquote {
  margin: 36px 0 0;
  padding: 4px 0 4px 28px;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  line-height: 1.4;
  color: var(--deep);
}

/* ===== Services ===== */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.service-head { display: flex; align-items: center; gap: 14px; color: var(--ocean-dark); margin-bottom: 16px; }
.service-head svg { width: 34px; height: 34px; }
.service-head h2 { font-size: 28px; margin: 0; }
.service > p { color: var(--muted); font-size: 16px; }
.tags { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--deep);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0;
  padding: 40px 0;
  border-top: 1px solid rgba(184, 145, 90, .5);
  border-bottom: 1px solid rgba(184, 145, 90, .5);
}
.format h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--deep);
  margin: 0 0 6px;
}
.format p { margin: 0; color: var(--muted); font-size: 16px; }

.subsection-title { font-size: 36px; margin-bottom: 24px; }

.fees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  background: var(--deep);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 40px 44px;
}
.fees p { margin: 0 0 6px; }
.fees-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.fees-big { font-family: var(--serif); font-size: 30px; }
.fees-small { font-size: 14px; opacity: .8; }

/* ===== Connect ===== */
.connect { background: var(--white); }
.connect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0 0 36px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.steps strong { font-weight: 500; color: var(--deep); }
.step-num {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ocean);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 20px;
}
.contact-details {
  margin: 0;
  padding: 26px 30px;
  background: var(--cream);
  border-radius: var(--radius);
}
.contact-details div { display: flex; gap: 12px; }
.contact-details div + div { margin-top: 8px; }
.contact-details dt { font-weight: 500; color: var(--deep); min-width: 56px; }
.contact-details dd { margin: 0; }

.contact-form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form h2 { font-size: 30px; }
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 18px;
}
.optional { color: var(--muted); font-weight: 300; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d8cfc2;
  border-radius: 10px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid var(--ocean); outline-offset: 1px; border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); margin: -8px 0 22px; }
.crisis-note { margin: 18px 0 0; }

/* ===== Home: intro, how it works, CTA ===== */
.intro { background: var(--white); }
.intro-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: center;
  max-width: 920px;
}
.intro h2 { font-size: clamp(34px, 4vw, 46px); }
.headshot-small { max-width: 300px; }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
}
.steps-row li { margin: 0; }

.cta-band {
  background: var(--ocean);
  color: var(--cream);
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { color: var(--white); font-size: clamp(34px, 4vw, 46px); margin-bottom: 8px; }
.cta-band p { margin: 0 0 32px; opacity: .85; }
.btn-light { color: var(--white); }
.btn-light:hover { background: var(--gold); }

/* ===== FAQ ===== */
details {
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 0 28px;
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 32px 22px 0;
  position: relative;
  font-weight: 400;
  color: var(--deep);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--gold);
}
details[open] summary::after { content: "\2212"; }
details p { margin: 0; padding-bottom: 24px; color: var(--muted); }
.faq details { background: var(--cream); }
.faq-more { margin-top: 36px; text-align: center; }
.faq-more a, details a { color: var(--ocean-dark); }

/* ===== Footer ===== */
.site-footer {
  background: var(--deep);
  color: var(--cream);
  padding: 64px 0;
  font-size: 15px;
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.site-footer p { margin: 0 0 6px; }
.footer-brand { font-family: var(--serif); font-size: 24px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 16px; }
.footer-nav a { text-decoration: none; opacity: .85; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.copyright { opacity: .6; margin-top: 18px !important; }
.crisis-title { font-weight: 500; }
.crisis strong { font-weight: 500; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .about-grid,
  .connect-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-aside { max-width: 420px; }
  .service-list,
  .format-grid,
  .fees { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px 32px;
    background: var(--cream);
    border-bottom: 1px solid rgba(22, 56, 74, .1);
    display: none;
  }
  .site-nav.open { display: flex; }

  .pillars-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid rgba(184, 145, 90, .7); padding-top: 40px; }

  .hero { padding: 60px 0 110px; }
  .page-hero { padding: 56px 0 90px; }
  .wave { height: 40px; }
  .steps-row { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 28px 22px; }
  .fees { padding: 32px 28px; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}
