/* ==========================================================================
   Cora Mitchell, LCSW — styles.css
   Design tokens extracted from the approved mockup.
   ========================================================================== */

:root {
  /* Color */
  --cream:        #F1ECE1;  /* page background */
  --cream-light:  #F7F3EB;  /* header bar */
  --espresso:     #33261B;  /* nav CTA, darkest brown */
  --ink:          #2E2A24;  /* headings */
  --text:         #4A4238;  /* body text */
  --text-soft:    #6E6455;  /* secondary text */
  --sage:         #6B7053;  /* footer band, hero button */
  --sage-deep:    #5C6147;  /* hover state */
  --taupe:        #8A7A63;  /* icons, hairlines */
  --clay:         #A97C50;  /* footer CTA button */
  --clay-deep:    #96693F;
  --on-dark:      #F4F0E7;  /* light text on dark/green surfaces */
  --on-dark-soft: #DDD8C9;

  /* Type */
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans:  "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --max-width: 1240px;
  --gutter: 24px;
}

/* ---------- Reset & base ---------- */

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

p { margin: 0 0 1em; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border: none;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.btn--espresso { background: var(--espresso); color: var(--on-dark); }
.btn--espresso:hover { background: #221810; }

.btn--sage { background: var(--sage); color: var(--on-dark); }
.btn--sage:hover { background: var(--sage-deep); }

.btn--clay { background: var(--clay); color: var(--on-dark); }
.btn--clay:hover { background: var(--clay-deep); }

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

.site-header {
  background: var(--cream-light);
  border-bottom: 1px solid rgba(138, 122, 99, 0.18);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand { text-decoration: none; }

.brand__name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
}

.brand__tagline {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav__links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__links a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease;
}

.site-nav .btn {
  white-space: nowrap;
  padding: 13px 22px;
}

.site-nav__links a:hover,
.site-nav__links a[aria-current="page"] {
  border-color: var(--taupe);
}

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

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: #241a12 url("../images/hero.jpg") center / cover no-repeat;
  color: var(--on-dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 13, 8, 0.82) 0%,
    rgba(20, 13, 8, 0.55) 38%,
    rgba(20, 13, 8, 0.08) 70%
  );
}

.hero__inner {
  position: relative;
  padding-top: 96px;
  padding-bottom: 104px;
  max-width: 560px;
  margin-left: calc(max((100% - var(--max-width)) / 2, 0px));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.hero__title {
  font-size: clamp(38px, 5vw, 58px);
  color: #FDFBF6;
  margin-bottom: 26px;
}

.hero__text {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--on-dark-soft);
  max-width: 44ch;
  margin-bottom: 34px;
}

/* ---------- Specialties ---------- */

.specialties {
  padding: 84px 0 92px;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 3.2vw, 38px);
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  background: var(--taupe);
  margin: 22px auto 0;
  opacity: 0.6;
}

.specialties__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 36px;
  list-style: none;
  margin: 60px 0 0;
  padding: 0;
}

.specialty {
  flex: 0 1 236px;
}

.specialty__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--taupe);
}

.specialty__icon svg { width: 100%; height: 100%; }

.specialty h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 auto;
  max-width: 16ch;
}

/* ---------- My Approach & Meet Cora ---------- */

.approach {
  background: var(--cream-light);
  border-top: 1px solid rgba(138, 122, 99, 0.18);
  border-bottom: 1px solid rgba(138, 122, 99, 0.18);
  padding: 84px 0 92px;
  text-align: center;
}

.approach__lede {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  max-width: 40ch;
  margin: 44px auto 20px;
}

.approach__text {
  font-size: 16.5px;
  line-height: 1.75;
  max-width: 60ch;
  margin: 0 auto;
}

.meet-cora {
  padding: 84px 0 96px;
  text-align: center;
}

.meet-cora__text {
  font-size: 16.5px;
  line-height: 1.75;
  max-width: 62ch;
  margin: 44px auto 0;
}

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

.footer-band {
  background: var(--sage);
  color: var(--on-dark);
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
}

.footer-band__photo {
  background: #1d150e url("../images/footer-shelf.jpg") center / cover no-repeat;
  min-height: 260px;
}

.footer-band__content {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 56px;
}

.footer-band__lede {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.45;
  color: #FBF8F0;
  margin-bottom: 26px;
}

.text-link {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-dark);
  border-bottom: 1px solid rgba(244, 240, 231, 0.45);
  padding-bottom: 3px;
  transition: border-color 160ms ease;
}

.text-link:hover { border-color: var(--on-dark); }
.text-link .arrow { margin-left: 6px; }

.fees-card {
  border: 1px solid rgba(244, 240, 231, 0.45);
  padding: 28px 26px 24px;
}

.fees-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  color: #FBF8F0;
  margin-bottom: 18px;
}

.fees-card__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14.5px;
  color: var(--on-dark-soft);
  padding: 5px 0;
}

.fees-card__row strong {
  font-weight: 600;
  color: var(--on-dark);
  white-space: nowrap;
}

.fees-card__note {
  font-size: 13.5px;
  color: var(--on-dark-soft);
  margin: 20px 0 0;
  line-height: 1.55;
}

.connect h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: #FBF8F0;
  margin-bottom: 14px;
}

.connect p {
  font-size: 14.5px;
  color: var(--on-dark-soft);
  margin-bottom: 24px;
  max-width: 32ch;
}

/* ---------- Legal strip ---------- */

.site-footer {
  background: var(--sage-deep);
  color: var(--on-dark-soft);
  font-size: 12.5px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--gutter);
  flex-wrap: wrap;
}

/* ---------- Inner pages ---------- */

.page-hero {
  background: var(--cream-light);
  border-bottom: 1px solid rgba(138, 122, 99, 0.18);
  padding: 72px 0;
  text-align: center;
}

.page-hero h1 { font-size: clamp(32px, 4vw, 46px); }

.page-hero p {
  color: var(--text-soft);
  max-width: 56ch;
  margin: 18px auto 0;
}

.page-body {
  padding: 72px 0 88px;
  max-width: 720px;
  margin: 0 auto;
}

.page-body h2 {
  font-size: 26px;
  margin: 40px 0 14px;
}

.page-body h2:first-child { margin-top: 0; }

.page-body ul { padding-left: 20px; }
.page-body li { margin-bottom: 8px; }

.page-cta {
  text-align: center;
  padding: 0 0 88px;
}

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

@media (max-width: 1200px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-light);
    border-bottom: 1px solid rgba(138, 122, 99, 0.25);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    display: none;
    z-index: 20;
  }

  .site-header { position: relative; }
  .site-nav.is-open { display: flex; }

  .site-nav__links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .site-nav__links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(138, 122, 99, 0.15);
  }

  .site-nav .btn { margin-top: 16px; }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 1080px) {
  .footer-band__content { grid-template-columns: 1fr 1fr; padding: 48px 40px; }
}

@media (max-width: 900px) {
  .specialty { flex: 0 1 40%; }

  .footer-band { grid-template-columns: 1fr; }
  .footer-band__photo { min-height: 220px; }
  .footer-band__content { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .hero__inner { padding-top: 72px; padding-bottom: 80px; }

  .specialties { padding: 68px 0 76px; }
  .specialties__grid { gap: 36px 24px; margin-top: 48px; }
  .specialty { flex: 1 1 100%; }

  .approach { padding: 68px 0 76px; }
  .meet-cora { padding: 68px 0 80px; }

  .footer-band__content { padding: 44px 24px; }
}
