/* lynneharvey.com — brand tokens from the Canva brand kit */
:root {
  --paper: #ffffff;
  --mist: #eef6f2;      /* blend of #e0eee0 and #c5e6e0 */
  --aqua: #c5e6e0;
  --sage: #95c7a9;
  --fern: #81be93;
  --leaf: #84ba76;
  --lime: #d4e7b1;
  --forest: #2f4f35;    /* headings and buttons; matches Samcart's deep green */
  --forest-dark: #233d29;
  --ink: #231f20;
  --muted: #4c5450;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Segoe UI", Arial, sans-serif;
  --wrap: 1140px;
  --radius-sm: 6px;
  --radius-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-dark); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); color: var(--forest); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 38em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow > * { max-width: 42rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px; text-decoration: none; border: 2px solid var(--forest);
  background: var(--forest); color: #fff; cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: var(--forest-dark); border-color: var(--forest-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--forest); }
.btn.ghost:hover { background: var(--forest); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--mist); padding-top: env(safe-area-inset-top, 0px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 52px; }
.brand span { font-family: var(--serif); font-size: 1.3rem; color: var(--forest); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.nav a { text-decoration: none; color: var(--ink); font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; }
.nav .btn { color: #fff; padding: .6rem 1.2rem; font-size: .92rem; }
.nav .btn:hover { text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--forest); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--mist); padding: 1rem 1.25rem 1.5rem; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* Sections */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.tint { background: var(--mist); }
.section-intro { max-width: 40rem; margin-bottom: 2.5rem; }

/* Hero (home): the bridge, with words resting beside it */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px; position: relative; z-index: 1; }
.wash { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .75; z-index: 0; pointer-events: none; }
.wash.a { width: 70%; height: 70%; background: var(--aqua); top: -12%; right: -12%; }
.wash.b { width: 55%; height: 55%; background: var(--lime); bottom: -14%; left: -10%; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { order: -1; } }

/* Page hero (inner pages) */
.page-hero { background: var(--mist); padding: clamp(3rem, 7vw, 5rem) 0; position: relative; overflow: hidden; }
.page-hero .wash.a { width: 380px; height: 380px; top: -160px; right: -80px; }
.page-hero .wrap { position: relative; z-index: 1; }

/* The path: a real sequence from free to 1:1 */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; counter-reset: stone; }
.path::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--sage) 0 10px, transparent 10px 18px); }
.path li { position: relative; counter-increment: stone; }
.path .stone { width: 68px; height: 56px; border-radius: 48% 52% 46% 54% / 58% 50% 50% 42%; background: var(--aqua); display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; color: var(--forest); margin-bottom: 1.1rem; position: relative; }
.path li:nth-child(2) .stone { background: var(--sage); }
.path li:nth-child(3) .stone { background: var(--fern); color: #fff; }
.path li:nth-child(4) .stone { background: var(--forest); color: #fff; }
.path .stone::after { content: counter(stone); }
.path h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.path p { color: var(--muted); font-size: .98rem; margin-bottom: .6rem; }
@media (max-width: 860px) { .path { grid-template-columns: 1fr 1fr; } .path::before { display: none; } }
@media (max-width: 520px) { .path { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

.modules { list-style: none; padding: 0; margin: 1.4rem 0; counter-reset: mod; }
.modules li { counter-increment: mod; padding: .7rem 0 .7rem 3rem; position: relative; border-bottom: 1px solid var(--aqua); }
.modules li::before { content: counter(mod); position: absolute; left: 0; top: .6rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--aqua); color: var(--forest); font-weight: 600; display: grid; place-items: center; font-size: .9rem; }
.price { font-family: var(--serif); font-size: 1.8rem; color: var(--forest); margin: .5rem 0 0; }
.price small { font-family: var(--sans); font-size: .9rem; color: var(--muted); }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.principles h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.principles p { color: var(--muted); margin: 0; }
@media (max-width: 700px) { .principles { grid-template-columns: 1fr; } }

/* Portrait with wash */
.portrait { position: relative; max-width: 420px; margin-inline: auto; }
.portrait img { position: relative; z-index: 1; border-radius: 50% 50% var(--radius-lg) var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; }
.portrait .wash.a { top: -8%; left: -14%; right: auto; }
.portrait .wash.b { bottom: -8%; right: -14%; left: auto; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.quotes blockquote { margin: 0; }
.quotes p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; color: var(--ink); }
.quotes p::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--leaf); margin-bottom: .4rem; }
.quotes cite { font-style: normal; font-weight: 600; color: var(--forest); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* Sign-up band */
.signup { background: var(--forest); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; position: relative; overflow: hidden; }
.signup h2, .signup h3 { color: #fff; }
.signup p { color: #e4efe7; }
.signup .wash.a { background: var(--fern); opacity: .35; }
.signup > :not(.wash) { position: relative; z-index: 1; }
@media (max-width: 760px) { .signup { grid-template-columns: 1fr; } .signup .cover { max-width: 180px; } }

/* Placeholder book cover until the real one arrives */
.cover { aspect-ratio: 3/4; border-radius: 4px 10px 10px 4px; background: linear-gradient(160deg, #1f3b46 0%, #2f4f6b 55%, #6c86a6 100%); color: #fff; padding: 1.4rem 1.1rem; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 8px 10px 0 rgba(0,0,0,.18); font-family: var(--serif); }
.cover strong { font-size: 1.7rem; line-height: 1.1; font-weight: 600; }
.cover span { font-family: var(--sans); font-size: .8rem; opacity: .85; }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 34rem; }
.form.inline { grid-template-columns: 1fr 1fr auto; align-items: end; max-width: none; }
@media (max-width: 760px) { .form.inline { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: .75rem .9rem; border: 1.5px solid var(--sage); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--aqua); border-color: var(--forest); }
.signup label { color: #fff; }
.signup input { border-color: transparent; }
.signup .btn { background: var(--lime); border-color: var(--lime); color: var(--forest-dark); }
.signup .btn:hover { background: #fff; border-color: #fff; }
.hidden { position: absolute; left: -9999px; }
.fine { font-size: .85rem; color: var(--muted); }
.signup .fine { color: #cfe2d6; }
.signup .fine a { color: #fff; }

/* Products */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 3.5rem; }
.product img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 1.2rem; background: var(--mist); }
.product h3 { margin-bottom: .3rem; }
.product .meta { color: var(--muted); font-size: .95rem; margin-bottom: .8rem; }
.product.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; background: var(--mist); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem); }
.product.featured img { margin: 0; }
@media (max-width: 760px) { .products, .product.featured { grid-template-columns: 1fr; } }

/* Services */
.service { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); padding: 3rem 0; border-top: 1px solid var(--aqua); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.service ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.service li { margin-bottom: .3rem; }
.tag { display: inline-block; background: var(--aqua); color: var(--forest-dark); font-size: .85rem; font-weight: 600; padding: .2rem .8rem; border-radius: 999px; margin-bottom: .8rem; }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } .service img { aspect-ratio: 2/1; } }

.notice { background: var(--lime); border-radius: var(--radius-sm); padding: 1.1rem 1.4rem; max-width: 44rem; }
.notice p:last-child { margin: 0; }

/* Footer */
.site-footer { background: var(--forest-dark); color: #d6e6db; padding: 4rem 0 calc(2rem + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.foot-grid h2 { font-size: 1.1rem; color: #fff; margin-bottom: .8rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: .4rem; }
.foot-note { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.6rem; font-size: .88rem; color: #b9cfc0; }
.foot-note p { margin-bottom: .7rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.crossing li { padding-left: 3rem; }
.crossing strong { color: var(--forest); }
/* Sleep Reset cover + MailerLite form */
.cover-img { width: 100%; max-width: 220px; border-radius: 4px 8px 8px 4px; box-shadow: 8px 10px 0 rgba(0,0,0,.18); }
.inline-ml { display: grid; gap: 1rem; max-width: 26rem; }
.ml-error input { border-color: #ffb4a8 !important; outline: 2px solid #ffb4a8; }
.ml-error .g-recaptcha iframe { outline: 2px solid #ffb4a8; }
.row-success h3 { color: #fff; }
@media (max-width: 560px) { .g-recaptcha { transform: scale(.85); transform-origin: 0 0; } }
/* Course tools strip */
.tools { grid-column: 1 / -1; border-top: 1px solid var(--aqua); padding-top: 1.8rem; }
.tools h3 { font-size: 1.15rem; }
.tools ul { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.tools img { border-radius: 14px; aspect-ratio: 952/812; object-fit: cover; margin: 0 0 .5rem; background: #fff; }
.tools span { font-weight: 600; font-size: .95rem; color: var(--forest); }
@media (max-width: 560px) { .tools ul { grid-template-columns: 1fr 1fr; } }
.product img[src*="nervous-system-reset"], .split img[src*="nervous-system-reset"] { aspect-ratio: 644/364; object-fit: contain; background: #fff; }
.product img[src*="journey-with-emotions"] { object-position: center 65%; }
