/* Lindsay Hamilton Counseling — site styles */
:root {
  --cream: #fffaf0;
  --sunwash: #fff1d6;
  --peach: #ffe3c7;
  --white: #ffffff;
  --sun: #f4b223;
  --tangerine: #e47b1f;
  --tangerine-dark: #b85a0c;
  --forest: #1f4a33;
  --forest-soft: #2f6648;
  --plum: #7b2c4c;
  --ink: #2a2a26;
  --muted: #5d5a52;
  --line: #f0dfc0;
  --radius: 18px;
  --shadow: 0 10px 30px -18px rgba(120, 70, 10, 0.35);
  --max: 1120px;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --script: "IM Fell English", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.075rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-soft); text-underline-offset: 3px; }
a:hover { color: var(--tangerine-dark); }
h1, h2, h3 {
  font-family: var(--serif);
  color: var(--forest);
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 14px; z-index: 10; border-radius: 8px; }

/* Header */
.site-header {
  background: rgba(255, 250, 240, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 24px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; }
.brand span { font-family: var(--script); font-style: italic; font-size: 1.3rem; color: var(--forest); line-height: 1.1; }
.brand small { display: block; font-family: var(--sans); font-style: normal; font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--forest-soft); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--forest); font-weight: 500;
  padding: 7px 13px; border-radius: 999px; font-size: 0.98rem;
}
.nav a:hover { background: var(--sunwash); color: var(--forest); }
.nav a[aria-current="page"] { background: var(--sunwash); box-shadow: inset 0 -2px 0 var(--sun); }
.nav .btn { margin-left: 6px; padding: 8px 18px; }

/* Buttons */
.btn {
  display: inline-block; background: var(--tangerine); color: var(--white) !important;
  text-decoration: none; font-weight: 600; padding: 13px 26px; border-radius: 999px;
  box-shadow: 0 8px 18px -10px rgba(228, 123, 31, 0.9);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--tangerine-dark); transform: translateY(-1px); }
.btn.ghost {
  background: transparent; color: var(--forest) !important; box-shadow: inset 0 0 0 2px var(--forest);
}
.btn.ghost:hover { background: var(--forest); color: var(--white) !important; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, #ffe7a8 0%, rgba(255,231,168,0) 65%),
    radial-gradient(700px 400px at 0% 100%, var(--peach) 0%, rgba(255,227,199,0) 70%),
    var(--cream);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
  padding-top: 72px; padding-bottom: 80px;
}
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--plum); margin-bottom: 14px;
}
.hero h1 em { font-style: normal; color: var(--tangerine-dark); background: linear-gradient(transparent 72%, #ffe08a 72%, #ffe08a 92%, transparent 92%); padding: 0 2px; }
.hero .lede { font-size: 1.22rem; color: var(--muted); max-width: 34em; }
.hero-art img { width: 100%; max-width: 440px; margin: 0 auto; animation: glow 7s ease-in-out infinite; }
@keyframes glow { 0%,100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(3deg) scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } html { scroll-behavior: auto; } }

/* Page header (inner pages) */
.page-head {
  background:
    radial-gradient(700px 300px at 90% 0%, #ffe7a8 0%, rgba(255,231,168,0) 70%),
    var(--sunwash);
  border-bottom: 1px solid var(--line);
}
.page-head .wrap { padding-top: 56px; padding-bottom: 44px; display: flex; align-items: center; gap: 28px; }
.page-head img { width: 96px; flex: none; }
.page-head h1 { margin: 0; }
.page-head p { margin: 8px 0 0; color: var(--muted); font-size: 1.12rem; }

/* Sections */
section { padding: 76px 0; }
.alt { background: var(--white); }
.sun-tint { background: var(--sunwash); }
.section-intro { max-width: 680px; margin-bottom: 36px; }
.section-intro p { color: var(--muted); font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
}
.alt .card { background: var(--cream); }
.card .icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sunwash); color: var(--tangerine-dark); margin-bottom: 14px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pill-list li {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-weight: 500; color: var(--forest);
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* Insurance */
.insurance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0 0 18px; }
.insurance li {
  background: var(--white); border-radius: 14px; border: 1px solid var(--line);
  padding: 16px 18px; font-weight: 600; color: var(--forest); display: flex; align-items: center; gap: 10px;
}
.insurance li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); flex: none; }
.insurance small { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.fine { color: var(--muted); font-size: 0.95rem; }

/* Prose pages */
.prose { max-width: 720px; }
.prose p { font-size: 1.12rem; }
.prose .first::first-letter {
  font-family: var(--serif); float: left; font-size: 3.6rem; line-height: 0.9;
  padding: 6px 10px 0 0; color: var(--tangerine);
}
.pull {
  font-family: var(--script); font-style: italic; font-size: 1.6rem; line-height: 1.4;
  color: var(--forest); border-left: 4px solid var(--sun); padding: 4px 0 4px 22px; margin: 36px 0;
}
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.aside {
  position: sticky; top: 110px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.aside h3 { font-size: 1.15rem; }
.aside ul { list-style: none; padding: 0; margin: 0 0 20px; }
.aside li { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.aside li:last-child { border-bottom: 0; }
.aside li strong { color: var(--forest); display: block; }
.aside li span { color: var(--muted); font-size: 0.92rem; }

/* Resources */
.res-group { margin-bottom: 44px; }
.res-group h2 { font-size: 1.6rem; display: flex; align-items: center; gap: 12px; }
.res-group h2::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px #ffe7a8; flex: none; }
.res-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.res-list a {
  display: block; text-decoration: none; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 20px; color: var(--ink); transition: border-color .15s, transform .15s;
}
.res-list a:hover { border-color: var(--sun); transform: translateX(3px); }
.res-list strong { color: var(--forest); font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.res-list span { display: block; color: var(--muted); font-size: 0.95rem; }
.res-list .kind { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--plum); font-weight: 600; margin-bottom: 2px; }

/* Contact band */
.connect {
  background: var(--forest); color: #f4efe2; position: relative; overflow: hidden;
}
.connect::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: url("images/sun.webp") center/contain no-repeat; opacity: 0.18;
}
.connect .wrap { position: relative; z-index: 1; }
.connect h2 { color: #fff; }
.connect p { color: #e6e0cf; max-width: 640px; font-size: 1.1rem; }
.contact-ways { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.contact-ways a {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  padding: 14px 22px; border-radius: 999px; color: #fff; font-weight: 600;
}
.contact-ways a:hover { background: var(--sun); color: var(--forest); border-color: var(--sun); }
.contact-ways svg { width: 20px; height: 20px; flex: none; }
.contact-ways small { display: block; font-weight: 400; opacity: 0.8; font-size: 0.8rem; }

/* Footer */
.site-footer { background: #183a28; color: #cfd8cc; padding: 40px 0 34px; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.site-footer a { color: #fff; }
.site-footer .crisis { max-width: 520px; }
.site-footer .crisis strong { color: var(--sun); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; }
.copyright { width: 100%; opacity: 0.7; font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; }

/* Responsive */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .with-aside { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 1.02rem; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 56px; gap: 20px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 210px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .insurance { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
  .page-head .wrap { padding-top: 36px; padding-bottom: 30px; gap: 18px; }
  .page-head img { width: 64px; }
  .site-header { position: static; }
  .site-header .wrap { justify-content: center; }
  .nav { justify-content: center; }
  .nav a { padding: 6px 10px; }
  .nav .btn { margin-left: 0; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .insurance { grid-template-columns: 1fr; }
  .contact-ways a { width: 100%; }
}

/* About portrait */
.about-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; align-items: start; }
.portrait { margin: 0; position: sticky; top: 110px; }
.portrait img {
  width: 100%; border-radius: 200px 200px 22px 22px; object-fit: cover; aspect-ratio: 760 / 886;
  box-shadow: 0 0 0 8px var(--white), 0 0 0 10px var(--sun), 0 24px 40px -24px rgba(120, 70, 10, 0.5);
}
.portrait figcaption {
  text-align: center; margin-top: 22px; font-family: var(--script); font-style: italic;
  color: var(--forest); font-size: 1.1rem;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait { position: static; max-width: 320px; margin: 0 auto; }
}
