/* ==========================================================================
   Joanna Davis, CLC — v3
   Editorial, minimalist, warm
   ========================================================================== */

:root {
    --cream:       #FAF5EB;
    --cream-deep:  #F2EADB;
    --cream-soft:  #F7EFDF;
    --ink:         #2B1F30;
    --ink-soft:    #5D4E63;
    --muted:       #8A7F8F;
    --rule:        rgba(43, 31, 48, 0.14);
    --rule-strong: rgba(43, 31, 48, 0.22);
    --accent:      #706993;
    --accent-deep: #4A3F5C;
    --sage:        #A8BFA8;
    --blush:       #E8D4CE;

    --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
    --sans:  "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

    --maxw: 1240px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
em { font-style: italic; }

/* Layout */
.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 40px;
}
@media (max-width: 720px) {
    .wrap { padding: 0 22px; }
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
}
.skip-link:focus {
    left: 16px; top: 16px;
    background: var(--ink); color: var(--cream);
    padding: 10px 16px; z-index: 999;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 245, 235, 0.86);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--rule);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-top: 20px;
    padding-bottom: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.brand__name {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.005em;
    color: var(--ink);
}
.brand__meta {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 3px 8px;
    border: 1px solid var(--rule);
    border-radius: 20px;
}
.nav {
    margin-left: auto;
    display: flex;
    gap: 36px;
    font-size: 13px;
    color: var(--ink-soft);
}
.nav a {
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 2px;
    height: 1px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 100px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}
.cta-pill:hover {
    background: var(--accent-deep);
    transform: translateY(-1px);
}
.cta-pill svg { transition: transform 0.25s ease; }
.cta-pill:hover svg { transform: translateX(3px); }
.cta-pill__label--short { display: none; }

@media (max-width: 900px) {
    .header-inner { gap: 20px; padding-top: 16px; padding-bottom: 16px; }
    .nav { display: none; }
    .cta-pill { margin-left: auto; padding: 9px 16px; }
    .cta-pill__label { display: none; }
    .cta-pill__label--short { display: inline; }
}

/* ==========================================================================
   Typography utilities
   ========================================================================== */
.eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.eyebrow::before {
    content: "";
    width: 36px; height: 1px;
    background: var(--accent);
}

.display {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.8rem, 6.2vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -0.012em;
    color: var(--ink);
}
.display em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}
.display--md {
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.008em;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: 90px; overflow: hidden; }
.hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 72px;
    align-items: center;
    padding-bottom: 90px;
}
.hero__text .lede {
    margin-top: 28px;
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.006em;
    max-width: 24ch;
    color: var(--ink);
}
.hero__actions {
    margin-top: 44px;
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}
.hero__testimonial {
    align-self: center;
    padding: 48px 40px;
    background: var(--cream-deep);
    position: relative;
}

.marquee {
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 22px 40px;
    font-family: var(--serif);
    font-size: clamp(18px, 2.4vw, 26px);
    font-style: italic;
    font-weight: 400;
    color: var(--ink-soft);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    text-align: center;
}
.marquee .dot { color: var(--accent); font-style: normal; }

@media (max-width: 900px) {
    .hero { padding-top: 56px; }
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-bottom: 56px;
    }
    .hero__text .lede { margin-top: 24px; max-width: 30ch; }
    .hero__actions { margin-top: 36px; gap: 20px; }
    .marquee { padding: 18px 22px; gap: 14px; }
}

/* ==========================================================================
   Photo placeholders
   ========================================================================== */
.photo {
    position: relative;
    background:
        radial-gradient(circle at 22% 28%, rgba(255,255,255,0.55) 0%, transparent 42%),
        radial-gradient(circle at 78% 72%, rgba(43,31,48,0.18) 0%, transparent 48%),
        linear-gradient(142deg, var(--blush) 0%, var(--sage) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        repeating-linear-gradient(
            135deg,
            rgba(43,31,48,0.03) 0 1px,
            transparent 1px 4px
        );
    pointer-events: none;
}
.photo__label {
    position: relative;
    z-index: 1;
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    color: var(--ink);
    background: rgba(250, 245, 235, 0.86);
    padding: 10px 16px;
    border: 1px solid var(--rule);
    letter-spacing: 0.015em;
}
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--tall     { aspect-ratio: 3 / 4; }

/* When .photo contains a real image, hide the gradient + label layer */
.photo--image { background: var(--cream-deep); }
.photo--image::after {
    /* Warm tint overlay — blends image into the cream palette */
    background-image: linear-gradient(180deg, rgba(244, 232, 193, 0.10) 0%, rgba(112, 105, 147, 0.08) 100%);
    mix-blend-mode: multiply;
    z-index: 2;
}
.photo--image > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Subtle desaturation + warmth so images feel unified */
    filter: saturate(0.88) contrast(0.97) brightness(1.01) sepia(0.06);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 100px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}
.btn--primary {
    background: var(--ink);
    color: var(--cream);
}
.btn--primary:hover {
    background: var(--accent-deep);
    transform: translateY(-1px);
}
.btn--cream {
    background: var(--cream);
    color: var(--ink);
}
.btn--cream:hover {
    background: var(--sage);
    transform: translateY(-1px);
}
.btn--ghost {
    color: var(--ink);
    border-radius: 0;
    padding: 6px 0;
    border-bottom: 1px solid var(--ink);
    transition: color 0.25s ease, border-color 0.25s ease, letter-spacing 0.25s ease;
}
.btn--ghost:hover {
    color: var(--accent);
    border-color: var(--accent);
}
.btn--block { width: 100%; padding: 18px 28px; }
.btn .btn-loading { display: none; }
.btn.loading { cursor: wait; opacity: 0.75; }
.btn.loading .btn-text { display: none; }
.btn.loading .btn-loading { display: inline; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
    padding: 140px 0;
    border-top: 1px solid var(--rule);
}
.section__head {
    margin-bottom: 72px;
    max-width: 44rem;
}
.section__head--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.section__head--center .eyebrow {
    justify-content: center;
}
.section__head--center .eyebrow::before {
    display: none;
}

@media (max-width: 900px) {
    .section { padding: 84px 0; }
    .section__head { margin-bottom: 52px; }
}

/* ==========================================================================
   Approach
   ========================================================================== */
.approach__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: start;
}
.approach__body p {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.78;
    color: var(--ink-soft);
}
.approach__body p:last-child { margin-bottom: 0; }
.approach__body strong { color: var(--ink); font-weight: 500; }
.approach__body em { color: var(--accent); font-style: italic; }
.approach__body p:first-child::first-letter {
    font-family: var(--serif);
    font-size: 4.2em;
    float: left;
    line-height: 0.86;
    padding-right: 10px;
    padding-top: 10px;
    color: var(--accent);
    font-weight: 400;
}
@media (max-width: 900px) {
    .approach__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 96px;
    align-items: center;
}
.about__body p {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.78;
    color: var(--ink-soft);
    max-width: 56ch;
}
.credentials {
    margin-top: 40px;
    display: grid;
    gap: 14px;
    border-top: 1px solid var(--rule);
    padding-top: 32px;
    max-width: 52ch;
}
.credentials li {
    font-size: 14px;
    color: var(--ink-soft);
    padding-left: 26px;
    position: relative;
    letter-spacing: 0.005em;
}
.credentials li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 14px;
    height: 1px;
    background: var(--accent);
}
@media (max-width: 900px) {
    .about__grid { grid-template-columns: 1fr; gap: 44px; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
}
.service h3 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 22px;
    letter-spacing: -0.005em;
}
.service ul {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--rule);
}
.service li {
    font-size: 14.5px;
    color: var(--ink-soft);
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
}
@media (max-width: 900px) {
    .services__grid { grid-template-columns: 1fr; gap: 64px; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}
.testimonial {
    padding: 52px 36px 36px;
    background: var(--cream-deep);
    border: 1px solid var(--rule);
    position: relative;
    display: flex;
    flex-direction: column;
}
.testimonial--featured {
    grid-column: 1 / -1;
    padding: 56px 44px 40px;
    background:
        linear-gradient(135deg, rgba(112, 105, 147, 0.12) 0%, rgba(242, 234, 219, 0.98) 52%),
        var(--cream-deep);
}
.testimonial::before {
    content: "\201C";
    position: absolute;
    top: -8px;
    left: 24px;
    font-family: var(--serif);
    font-size: 100px;
    color: var(--accent);
    line-height: 1;
    opacity: 0.35;
}
.testimonial blockquote {
    display: grid;
    gap: 18px;
    position: relative;
    z-index: 1;
}
.testimonial blockquote p {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    color: var(--ink);
}
.testimonial--featured blockquote p {
    font-size: 22px;
    line-height: 1.55;
}
.testimonial figcaption {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--rule);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}
.testimonial figcaption a {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
.testimonial figcaption a:hover {
    color: var(--accent-deep);
}
@media (max-width: 900px) {
    .testimonial-grid { grid-template-columns: 1fr; gap: 24px; }
    .testimonial,
    .testimonial--featured { padding: 48px 28px 32px; }
    .testimonial--featured blockquote p { font-size: 20px; }
}

/* ==========================================================================
   Plans
   ========================================================================== */
.plans__grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 28px;
    margin-bottom: 56px;
}
.plan {
    padding: 52px 44px;
    background: var(--cream-deep);
    border: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    position: relative;
}
.plan--partnership {
    background: var(--ink);
    color: var(--cream);
    border: none;
}
.plan__tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}
.plan--partnership .plan__tag { color: var(--sage); }
.plan h3 {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
}
.plan__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rule);
}
.plan--partnership .plan__price { border-color: rgba(250, 245, 235, 0.18); }
.plan__price .price {
    font-family: var(--serif);
    font-size: 46px;
    font-weight: 500;
    line-height: 1;
}
.plan__price .unit {
    font-size: 14px;
    color: var(--muted);
}
.plan--partnership .plan__price .unit { color: rgba(250, 245, 235, 0.6); }
.plan__desc {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 24px;
    color: inherit;
    opacity: 0.9;
}

.plan__options {
    display: grid;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid rgba(250, 245, 235, 0.18);
    border-bottom: 1px solid rgba(250, 245, 235, 0.18);
    margin-bottom: 28px;
}
.plan__options li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 14.5px;
    line-height: 1.55;
}
.plan__options strong { font-weight: 500; }
.plan__or {
    display: flex !important;
    align-items: center;
    gap: 14px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250, 245, 235, 0.55);
    margin: 2px 0;
}
.plan__or::before,
.plan__or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(250, 245, 235, 0.18);
}
.opt-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--sage);
    flex-shrink: 0;
    margin-top: 8px;
}
.opt-meta {
    display: inline-block;
    margin-top: 2px;
    font-size: 16px;
    color: rgba(250, 245, 235, 0.7);
    font-style: italic;
    font-family: var(--serif);
}

.plan__includes-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 14px;
}
.plan__includes {
    display: grid;
    gap: 10px;
    margin-bottom: 36px;
}
.plan__includes li {
    font-size: 13.5px;
    padding-left: 22px;
    position: relative;
    line-height: 1.55;
    opacity: 0.88;
}
.plan__includes li::before {
    content: "";
    position: absolute;
    left: 0; top: 10px;
    width: 12px; height: 1px;
    background: currentColor;
    opacity: 0.55;
}
.plan__cta {
    margin-top: auto;
    align-self: flex-start;
}

.insurance-note {
    background: var(--cream-soft);
    border-left: 2px solid var(--accent);
    padding: 22px 28px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 760px;
    margin: 0 auto;
}
.insurance-note strong {
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.01em;
}

@media (max-width: 900px) {
    .plans__grid { grid-template-columns: 1fr; gap: 20px; }
    .plan { padding: 40px 28px; }
    .plan h3 { font-size: 32px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--cream-deep); }
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 88px;
    align-items: start;
}
.contact__lede {
    margin-top: 24px;
    color: var(--ink-soft);
    font-size: 16.5px;
    line-height: 1.7;
    max-width: 44ch;
}
.contact__meta {
    margin-top: 44px;
    border-top: 1px solid var(--rule);
    padding-top: 28px;
    display: grid;
    gap: 16px;
}
.contact__meta > div {
    display: flex;
    align-items: baseline;
    gap: 16px;
}
.contact__meta dt {
    flex-shrink: 0;
    width: 88px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
}
.contact__meta dd {
    font-size: 14px;
    color: var(--ink-soft);
}

.form {
    background: var(--cream);
    padding: 56px 48px;
    border: 1px solid var(--rule);
}
.hp { position: absolute; left: -9999px; }
.field { margin-bottom: 28px; }
.field label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 12px;
}
.field .opt {
    font-weight: 400;
    color: var(--muted);
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 11px;
    font-style: italic;
}
.field input,
.field textarea {
    width: 100%;
    padding: 12px 0 14px;
    font-size: 16px;
    color: var(--ink);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rule-strong);
    border-radius: 0;
    transition: border-color 0.25s ease;
}
.field input::placeholder,
.field textarea::placeholder {
    color: var(--muted);
    font-style: italic;
    opacity: 0.8;
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-bottom-color: var(--ink);
}
.field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}
.err {
    color: #a4495a;
    font-size: 12px;
    margin-top: 8px;
    display: block;
    min-height: 14px;
    font-style: italic;
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-bottom-color: #a4495a;
}

.form-message {
    margin-top: 24px;
    font-size: 14px;
    text-align: center;
    padding: 12px;
    line-height: 1.5;
}
.form-message.success {
    color: #3a6b4f;
    background: rgba(168, 191, 168, 0.2);
}
.form-message.error {
    color: #a4495a;
    background: rgba(164, 73, 90, 0.08);
}

@media (max-width: 900px) {
    .contact__grid { grid-template-columns: 1fr; gap: 56px; }
    .form { padding: 36px 26px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--rule);
    padding: 56px 0 48px;
    background: var(--cream);
}
.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
}
.footer__name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
}
.footer__name em { color: var(--accent); font-style: italic; }
.footer__meta {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
    letter-spacing: 0.01em;
}
.footer__nav {
    display: flex;
    gap: 28px;
    font-size: 13px;
    color: var(--ink-soft);
}
.footer__nav a:hover { color: var(--accent); }
.copy {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.04em;
    width: 100%;
    padding-top: 32px;
    margin-top: 24px;
    border-top: 1px solid var(--rule);
    text-align: center;
}

@media (max-width: 720px) {
    .footer__inner { flex-direction: column; align-items: flex-start; gap: 28px; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html { scroll-behavior: auto; }
}
