/* Life is Lemons Counseling — site styles
   Palette pulled from logo.png / splash.png (2022 brand assets). */
:root {
  --cream: #fff8ed;        /* page background (original site) */
  --peach: #f9ecdd;        /* watercolor splash tone */
  --peach-deep: #f3dcc6;
  --lemon: #e0b020;        /* lemon body / COUNSELING wordmark */
  --lemon-light: #f3e78f;
  --lemon-pale: #fbf3c8;
  --leaf: #689858;         /* script wordmark */
  --leaf-light: #90c078;
  --green: #3c773b;        /* heading green from original site */
  --green-deep: #2b4f2a;
  --ink: #2f3a2f;
  --ink-soft: #5b665b;
  --line: #eadfcd;
  --white: #ffffff;
  --max: 1100px;
  --radius: 14px;
  --shadow: 0 14px 40px -18px rgba(43, 79, 42, .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Nunito Sans", ui-sans-serif, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-color: var(--lemon); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
h1, h2, h3 { font-family: "Lora", Georgia, "Times New Roman", serif; color: var(--green); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; color: var(--green-deep); margin-bottom: .4rem; }
p + p { margin-top: 1rem; }
.wrap { width: min(var(--max), 100% - 2.5rem); margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lemon); font-weight: 800; margin-bottom: .6rem;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 800; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lemon); color: var(--green-deep); box-shadow: 0 10px 24px -12px rgba(224,176,32,.9); }
.btn-primary:hover { background: #ebbd2c; color: var(--green-deep); }
.btn-outline { border: 2px solid var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 248, 237, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 52px; height: 52px; transition: transform .25s ease; }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.brand span { font-family: "Lora", Georgia, serif; font-weight: 600; color: var(--green); font-size: 1.05rem; line-height: 1.15; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { text-decoration: none; font-weight: 700; color: var(--green-deep); font-size: .98rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--lemon); transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a:hover { color: var(--green); }
.nav .btn { padding: .6rem 1.1rem; font-size: .95rem; }
.nav-toggle {
  display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--green-deep);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 3rem 0 4rem; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero-logo {
  position: relative; display: grid; place-items: center; padding: 2rem;
  background: url("../images/splash.png") center / contain no-repeat;
  min-height: 420px;
}
.hero-logo img { width: min(100%, 460px); filter: drop-shadow(0 12px 22px rgba(43,79,42,.18)); }
.hero-copy h1 { margin-bottom: 1rem; }
.hero-copy .lead { margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; }
.hero-note { margin-top: 1rem; font-size: .95rem; color: var(--ink-soft); }

/* Sections */
section { padding: 4.5rem 0; }
section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 2.4rem; }

/* About */
.about .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.portrait { position: relative; }
.portrait img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; width: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.portrait::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--radius);
  background: var(--lemon-pale); z-index: -1; transition: transform .3s ease, background .3s ease;
}
.portrait:hover img { transform: translate(-4px, -4px); box-shadow: 0 22px 48px -20px rgba(43,79,42,.45); }
.portrait:hover::before { transform: translate(6px, 6px); background: var(--lemon-light); }
.post-nominals { font-size: .55em; font-weight: 500; color: var(--lemon); letter-spacing: .04em; white-space: nowrap; }
.post-nominals a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; transition: color .2s ease, border-color .2s ease; }
.post-nominals a:hover { color: var(--green); border-bottom-style: solid; }
.creds { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.creds a {
  display: inline-block; font-size: .85rem; font-weight: 800; letter-spacing: .02em; text-decoration: none;
  background: var(--lemon-pale); color: var(--green-deep); border: 1px solid var(--lemon-light);
  padding: .3rem .75rem; border-radius: 999px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.creds a:hover { background: var(--lemon-light); border-color: var(--lemon); color: var(--green-deep); transform: translateY(-1px); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: 0 8px 26px -20px rgba(43,79,42,.4);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 40px -22px rgba(43,79,42,.45);
  border-color: var(--lemon-light);
}
.alt .card { background: var(--cream); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lemon-pale); color: var(--green); margin-bottom: 1rem;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.card:hover .icon { background: var(--lemon); color: var(--green-deep); transform: rotate(-6deg) scale(1.06); }
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--ink-soft); font-size: 1rem; }

/* Credentials */
.credentials { position: relative; overflow: hidden; }
.credentials::before {
  content: ""; position: absolute; right: 6%; top: 1.5rem; width: 380px; height: 380px;
  background: url("../images/icon-512.png") center / contain no-repeat;
  opacity: .10; pointer-events: none;
}
.credentials .wrap { position: relative; }
.cred-cards .card { scroll-margin-top: 96px; }
.cred-cards .lic { font-size: .82rem; font-weight: 800; letter-spacing: .03em; color: var(--leaf); margin: -.2rem 0 .6rem; }
.cred-cards .card:target { border-color: var(--lemon); box-shadow: 0 0 0 4px var(--lemon-pale), 0 22px 40px -22px rgba(43,79,42,.45); }
.cred-cards .abbr {
  font-family: "Lora", Georgia, serif; font-weight: 600; font-size: 2.2rem; line-height: 1;
  color: var(--lemon); letter-spacing: .02em; margin-bottom: .6rem;
  transition: color .22s ease, transform .22s ease; transform-origin: left center;
}
.cred-cards .card:hover .abbr { color: var(--green); transform: scale(1.06); }
.callout {
  margin-top: 1.6rem; padding: 1.8rem 2rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--leaf);
}
.callout h3 { margin-bottom: .5rem; }
.callout p { color: var(--ink-soft); }

/* Focus list */
.focus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; list-style: none; padding: 0; margin: 0; }
.focus li { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: start; }
.focus li { padding: .4rem .6rem; margin: -.4rem -.6rem; border-radius: 10px; transition: background .22s ease; }
.focus li:hover { background: var(--lemon-pale); }
.focus li svg { width: 26px; height: 26px; color: var(--lemon); margin-top: .2rem; transition: transform .22s ease, color .22s ease; }
.focus li:hover svg { transform: scale(1.2) rotate(-8deg); color: var(--green); }
.focus li strong { display: block; color: var(--green-deep); transition: color .22s ease; }
.focus li:hover strong { color: var(--green); }
.focus li span { color: var(--ink-soft); font-size: 1rem; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step {
  position: relative; padding: 1.6rem 1.5rem 1.5rem 1.5rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -22px rgba(43,79,42,.45); border-color: var(--lemon-light); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: var(--white); font-weight: 800; font-family: "Lora", serif; margin-bottom: 1rem;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.step:hover::before { background: var(--lemon); color: var(--green-deep); transform: scale(1.1); }
.step p { color: var(--ink-soft); font-size: 1rem; }

/* Quote band */
.quote { background: linear-gradient(135deg, var(--peach) 0%, var(--cream) 60%, var(--lemon-pale) 100%); }
.quote blockquote { max-width: 780px; margin: 0 auto; text-align: center; }
.quote blockquote .eyebrow { display: block; margin-bottom: 1rem; }
.quote blockquote p { font-family: "Lora", Georgia, serif; font-size: clamp(1.2rem, 2.1vw, 1.55rem); color: var(--green-deep); font-style: italic; line-height: 1.5; }
.quote blockquote footer { margin-top: 1rem; color: var(--ink-soft); font-weight: 700; }

/* Contact */
.contact .panel {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 2.6rem; box-shadow: var(--shadow);
}
.contact .big-number { font-family: "Lora", Georgia, serif; font-size: clamp(1.7rem, 3.4vw, 2.4rem); color: var(--green); text-decoration: none; display: inline-block; margin: .3rem 0 1rem; }
.contact .big-number:hover { color: var(--green-deep); }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; font-size: 1rem; }
.contact dt { font-weight: 800; color: var(--green-deep); }
.contact dd { color: var(--ink-soft); }
.contact .fineprint { margin-top: 1rem; font-size: .9rem; }
.crisis {
  margin-top: 2rem; padding: 1.2rem 1.4rem; border-left: 4px solid var(--lemon); background: var(--lemon-pale);
  border-radius: 0 var(--radius) var(--radius) 0; font-size: .98rem;
}
.crisis strong { color: var(--green-deep); }

/* Footer */
.site-footer { padding: 2.2rem 0 2.6rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.site-footer img { width: 44px; height: 44px; }
.site-footer .left { display: flex; align-items: center; gap: .8rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .about .wrap, .contact .panel { grid-template-columns: 1fr; }
  .hero { padding-top: 1.5rem; }
  .hero-logo { min-height: 320px; padding: 1rem; }
  .hero-logo img { width: min(100%, 360px); }
  .cards, .steps { grid-template-columns: 1fr; }
  .focus { grid-template-columns: 1fr; }
  .portrait { max-width: 340px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: .6rem 1.25rem 1.2rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .9rem; justify-content: center; border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
  section { padding: 3.2rem 0; }
  .credentials::before { width: 220px; height: 220px; right: -30px; top: .5rem; opacity: .08; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .card:hover, .step:hover, .btn:hover, .portrait:hover img, .portrait:hover::before, .brand:hover img, .creds a:hover,
  .card:hover .icon, .step:hover::before, .focus li:hover svg, .cred-cards .card:hover .abbr { transform: none !important; }
}
