/* The public page of the consultation (/products/consultation/): mobile first (the design), then a tablet (>= 640px) and a desktop (>= 1024px) layout.
   The signature is a handwritten face (Mrs Saint Delafield, OFL), subset to the Latin letters; only this page loads it. */
@font-face { font-family: "Mrs Saint Delafield"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/mrs-saint-delafield-2c5a0988d5.woff2") format("woff2"); }

.cl { --cl-gap: clamp(2.25rem, 1.6rem + 3vw, 4.5rem); --cl-card: var(--surface); --cl-dark: var(--green-900); overflow-x: clip; padding-bottom: var(--cl-gap); }
.cl-wrap { width: min(100% - 2 * var(--gutter), 1120px); margin: var(--cl-gap) auto 0; }
.cl-h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.75rem); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 1.1rem; }
.cl :where(p) { margin: 0; }
.cl-stats strong, .cl-steps__n, .cl-price .buy-card__price, .cl-repeat strong { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* a photo: the focus (--pos) and the zoom (--zoom) are set per photo in the template, so the face stays in the frame at every width */
.cl img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); transform: scale(var(--zoom, 1)); transform-origin: var(--pos, 50% 30%); }

/* ---- hero ---- */
.cl-hero { display: grid; }
.cl-hero__media { aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--surface-2); }
.cl-hero__body { padding: 1.6rem var(--gutter) 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cl-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 2rem + 3.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.015em; margin: 0 0 1rem; text-wrap: balance; }
.cl-lead { color: var(--ink-soft); font-size: var(--fs-lg); max-width: 34ch; margin-bottom: 1.5rem; }
.cl-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.4rem; padding: .8rem 1.7rem; border-radius: var(--radius-pill); background: var(--cl-dark); color: #fff; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; transition: background .2s, transform .2s; max-width: 100%; }
.cl-btn:hover { background: var(--green-700); transform: translateY(-1px); }
.cl-btn:focus-visible, .cl-link:focus-visible { outline: 3px solid var(--sage-300); outline-offset: 3px; }
.cl-btn .icon { width: 1.15rem; height: 1.15rem; }
.cl-hero__body .buy-personal { margin: 0 0 1.25rem; text-align: left; }
.cl-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; width: 100%; margin: 1.75rem 0 0; padding: 0; }
.cl-stats li { display: flex; flex-direction: column; align-items: center; gap: .3rem; font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.25; }
.cl-stats strong { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; color: var(--ink); line-height: 1.1; }
.cl-stats .icon { width: 1.9rem; height: 1.9rem; color: var(--green-700); transform: none; }

/* ---- photo + cards ---- */
.cl-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); }
.cl-photo--wide { aspect-ratio: 3 / 2; }
.cl-photo--tall { aspect-ratio: 4 / 5; }
.cl-split { display: grid; gap: 1rem; }
.cl-card { background: var(--cl-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem; }
.cl-card .cl-h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.cl-card--text { position: relative; display: flex; flex-direction: column; justify-content: center; gap: .85rem; color: var(--ink-soft); }
.cl-card--text .cl-h2 { margin: 0; color: var(--ink); }
.cl-card--list { align-self: center; }
/* the text blocks lie on the page itself, with no backing card (as in the design) */
.cl .cl-card--text, .cl .cl-card--list { background: none; border: 0; border-radius: 0; padding: 0; }
.cl-price, .cl-repeat { text-align: center; }
.cl-pricing .cl-h2 { text-align: center; }

/* ---- lists ---- */
.cl-topics, .cl-facts, .cl-checks, .cl-approach { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.cl-topics > li { display: grid; grid-template-columns: 2.7rem 1fr; gap: .9rem; align-items: center; padding: .5rem 0; }
.cl-topics > li > .icon, .cl-facts > li > .icon { width: 2.7rem; height: 2.7rem; padding: .65rem; border: 1px solid var(--line); border-radius: 50%; background: var(--cl-card); color: var(--green-700); transform: none; }
.cl-topics strong, .cl-facts strong, .cl-approach strong, .cl-steps strong { display: block; font-weight: 600; font-size: var(--fs-base); line-height: 1.3; }
.cl-topics small, .cl-facts small { display: block; color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; margin-top: .15rem; }
.cl-topics__ask { display: block !important; background: var(--sage-100); border-radius: var(--radius); padding: 1.2rem 1.3rem !important; }
.cl-topics__ask small { font-size: var(--fs-sm); color: var(--ink-soft); margin: .3rem 0 .9rem; }
.cl-link { display: flex; align-items: center; justify-content: space-between; gap: .7rem; width: 100%; font-weight: 600; font-size: var(--fs-sm); line-height: 1.2; color: var(--ink); text-decoration: none; padding: .85rem 1.2rem; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.cl-link:hover { background: #fff; }
.cl-link .icon { width: 1.15rem; height: 1.15rem; flex: none; transform: none; }
.cl-link span { flex: 1; text-align: left; }
.cl-link--auto, .cl-final .cl-link { width: auto; min-width: 0; justify-content: center; align-self: flex-start; }
.cl-link--auto span, .cl-final .cl-link span { flex: none; }
.cl-checks li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .8rem; align-items: start; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.45; }
.cl-checks .icon { width: 1.4rem; height: 1.4rem; color: var(--green-700); margin-top: .05rem; transform: none; }
.cl-facts > li { display: grid; grid-template-columns: 2.7rem 1fr; gap: .9rem; align-items: center; }

/* ---- steps: a vertical line with numbers ---- */
.cl-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; position: relative; }
.cl-steps li { display: grid; grid-template-columns: 3.1rem 1fr; gap: 1rem; position: relative; }
.cl-steps li:not(:last-child)::before { content: ""; position: absolute; left: 1.55rem; top: 3.3rem; bottom: -1.3rem; width: 1px; background: var(--line); }
.cl-steps__n { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; border: 1px solid var(--line); background: var(--cl-card); font-family: var(--font-display); font-size: 1.35rem; }
.cl-steps p { color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.5; margin-top: .25rem; }

/* ---- approach and the quote card ---- */
.cl-approach li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; }
.cl-approach .icon { width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: 50%; background: var(--sage-100); color: var(--green-700); transform: none; }
.cl-approach p { color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.5; margin-top: .3rem; }
.cl-qcard { position: relative; margin: 0; padding: 1.6rem 1.4rem; border-radius: var(--radius); background: var(--surface-2); color: var(--ink-soft); }
.cl-qcard .icon { position: absolute; top: 1rem; right: 1.1rem; width: 2rem; height: 2rem; color: var(--sage-300); transform: none; }
.cl-qcard blockquote { margin: 0; font-size: clamp(1.02rem, .95rem + .4vw, 1.25rem); line-height: 1.55; padding-right: 2.6rem; }

/* ---- full-width photos ---- */
.cl-bleed { position: relative; margin-top: var(--cl-gap); overflow: hidden; background: var(--surface-2); isolation: isolate; }
.cl-bleed--rose { aspect-ratio: 3 / 4.3; background: #3a2418; }
.cl-bleed--rose img { position: absolute; inset: 0; z-index: -2; }
.cl-bleed--rose::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(26, 14, 8, .82) 0%, rgba(26, 14, 8, .5) 34%, rgba(26, 14, 8, 0) 62%); }
.cl-bleed__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--gutter) 1.6rem; color: #fff; max-width: 40rem; }
.cl-bleed__text blockquote { margin: 0; font-size: clamp(1rem, .92rem + .5vw, 1.3rem); line-height: 1.5; font-weight: 500; text-wrap: pretty; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.cl-sign { display: block; margin-top: .7rem; font-family: "Mrs Saint Delafield", "Cormorant Garamond", cursive; font-weight: 400; font-size: clamp(3rem, 2.4rem + 2.4vw, 4.6rem); line-height: .9; letter-spacing: .01em; text-shadow: 0 1px 14px rgba(0, 0, 0, .3); }
.cl-bleed--ear { display: grid; background: transparent; overflow: visible; }
.cl-bleed__photo { aspect-ratio: 3 / 3.6; overflow: hidden; background: var(--surface-2); }
.cl-bleed__card { width: min(100% - 2 * var(--gutter), 1120px); margin: 1.4rem auto 0; }
.cl-bleed--ear .cl-bleed__card.cl-card { background: none; border: 0; border-radius: 0; padding: 0; }
.cl-bleed--forest { aspect-ratio: 3 / 3.6; margin-top: var(--cl-gap); }
.cl-bleed--forest img { position: absolute; inset: 0; }

/* ---- price ---- */
.cl-pricing { display: grid; gap: 1rem; }
.cl-pricing .cl-h2 { margin-bottom: 0; }
.cl-pricing__col { display: grid; gap: 1rem; align-content: start; }
.cl-price { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.cl-price .buy-card__price { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 2.5vw, 3.6rem); line-height: 1; }
.cl-price .buy-card__price s { font-size: .5em; color: var(--muted); }
.cl-price__note, .cl-price__soon { color: var(--muted); font-size: var(--fs-sm); margin-top: -.5rem; }
.cl-price__soon { margin-top: 0; }
.cl-price .cl-btn { width: 100%; }
.cl-repeat h3 { font-family: var(--font-body); font-size: var(--fs-base); font-weight: 600; margin: 0 0 .5rem; }
.cl-repeat h3 strong { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin-left: .35rem; }
.cl-repeat p { color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.5; }
.cl-repeat__note { margin-top: .6rem; color: var(--muted) !important; }
.cl-pricing .buy-card__links { font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.cl .faq { margin-top: var(--cl-gap); padding-block: 0; }

/* ---- the last block ---- */
.cl-final { background: var(--cl-dark); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); display: grid; gap: .6rem; justify-items: start; }
.cl-final .cl-h2 { color: #fff; margin: 0; }
.cl-final p { margin: 0; }
.cl-final .cl-link { margin-top: .4rem; }
@media (min-width: 1024px) {
    .cl-final { grid-template-columns: 1fr auto; column-gap: 2rem; align-items: center; }
    .cl-final .cl-h2, .cl-final p { grid-column: 1; }
    .cl-final .cl-link { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}
.cl-final p { color: rgba(255, 255, 255, .8); max-width: 46ch; }
.cl-final .cl-link { min-width: 0; }
.cl-link--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.cl-link--light:hover { background: rgba(255, 255, 255, .12); }

/* ---- tablet ---- */
@media (min-width: 640px) {
    .cl-hero__media { aspect-ratio: 16 / 10; }
    .cl-split { grid-template-columns: 1fr 1fr; align-items: stretch; }
    .cl-split--rev .cl-split__media { order: 2; }
    .cl-split > .cl-photo { min-height: 20rem; }
    .cl-photo--wide, .cl-photo--tall { aspect-ratio: auto; }
    .cl-topics { grid-template-columns: 1fr 1fr; gap: .4rem 1.6rem; }
    .cl-topics__ask { grid-column: 1 / -1; }
    .cl-steps { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
    .cl-steps li::before { display: none; }
    .cl-approach { grid-template-columns: repeat(3, 1fr); }
    .cl-approach li { grid-template-columns: 1fr; }
    .cl-bleed--rose { aspect-ratio: 16 / 10; }
    .cl-bleed--rose img { --zoom: 1.28 !important; transform-origin: 0 38%; }
    .cl-bleed__text { padding-bottom: 2.2rem; left: max(var(--gutter), calc((100% - 1120px) / 2)); padding-left: 0; right: auto; width: min(34rem, 60%); }
    .cl-bleed--ear { grid-template-columns: 1fr 1fr; align-items: stretch; }
    .cl-bleed__photo { aspect-ratio: auto; min-height: 26rem; }
    .cl-bleed--ear .cl-bleed__card.cl-card { margin: 0; width: auto; align-self: center; padding: 0 2rem; }
    .cl-bleed--forest { aspect-ratio: 16 / 8; }
    .cl-pricing { grid-template-columns: 1fr 1fr; align-items: start; column-gap: 1.5rem; }
    .cl-pricing .cl-h2 { grid-column: 1 / -1; }
    .cl-pricing .buy-card__links { grid-column: 1 / -1; }
    .cl-pricing__col { display: contents; }
}

/* ---- desktop ---- */
@media (min-width: 1024px) {
    .cl-hero { grid-template-columns: 1fr 1fr; align-items: center; width: min(100% - 2 * var(--gutter), 1200px); margin: calc(var(--header-h) * .4) auto 0; gap: clamp(2rem, 4vw, 5rem); }
    .cl-hero__media { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); max-height: 44rem; width: 100%; }
    .cl-hero__body { grid-column: 1; grid-row: 1; padding: 0; text-align: left; align-items: flex-start; }
    .cl-lead { max-width: 30ch; }
    .cl-stats { max-width: 30rem; margin-top: 2.25rem; }
    .cl-stats li { align-items: flex-start; text-align: left; }
    .cl-split { grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
    .cl-split--rev { grid-template-columns: 1fr 1.05fr; }
    .cl-split > .cl-photo { min-height: 0; }
    .cl-split[aria-labelledby="for-title"] { grid-template-columns: .85fr 1fr; align-items: stretch; }
    .cl-split[aria-labelledby="format-title"] { align-items: stretch; }
    .cl-split[aria-labelledby="format-title"] .cl-photo { aspect-ratio: auto; min-height: 0; }
    .cl-topics__ask { grid-column: span 2; display: flex !important; align-items: center; justify-content: space-between; gap: 1.2rem; padding: .7rem 1.3rem !important; }
    .cl-topics__ask > div { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; width: 100%; }
    .cl-topics__ask small { margin: .15rem 0 0; }
    .cl-topics__ask .cl-link { flex: none; width: auto; }
    .cl-split[aria-labelledby="for-title"] .cl-photo { aspect-ratio: auto; min-height: 30rem; }
    .cl-card { padding: 1.9rem 1.8rem; }
    .cl .cl-card--text { padding: 0 1rem; font-size: var(--fs-lg); }
    .cl .cl-split .cl-card--list { padding: 0 1rem; }
    .cl-topics { grid-template-columns: repeat(3, 1fr); gap: .75rem 2rem; }
    .cl-steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
    .cl-steps li { grid-template-columns: 1fr; gap: .9rem; }
    .cl-steps li::before { display: block; left: 3.1rem; right: -1.6rem; top: 1.55rem; bottom: auto; width: auto; height: 1px; }
    .cl-steps li:last-child::before { display: none; }
    /* on a wide screen a full-width crop of a portrait photo is blown up and blurred: the photos stay in the page width, rounded, at their own sharpness */
    .cl-bleed--rose, .cl-bleed--forest, .cl-bleed--ear { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; }
    .cl-bleed--rose, .cl-bleed--forest { border-radius: var(--radius-lg); }
    .cl-bleed--rose { aspect-ratio: 2 / 1; }
    .cl-bleed--rose img { --pos: 50% 41% !important; --zoom: 1.28 !important; transform-origin: 0 38%; }
    .cl-bleed--rose::after { background: linear-gradient(to right, rgba(26, 14, 8, .8) 0%, rgba(26, 14, 8, .45) 36%, rgba(26, 14, 8, 0) 62%); }
    .cl-bleed__text { top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; justify-content: center; width: min(24rem, 36%); padding: 0 0 0 clamp(1.5rem, 4vw, 3.5rem); }
    .cl-bleed__text blockquote { font-size: clamp(1.15rem, .9rem + .7vw, 1.55rem); line-height: 1.45; }
    .cl-bleed--ear { grid-template-columns: 1fr .85fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: center; height: auto; }
    .cl-bleed--ear .cl-bleed__photo { order: 2; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); min-height: 0; }
    .cl-bleed--ear .cl-bleed__card.cl-card { order: 1; padding: 0 1rem; }
    .cl-bleed--forest { aspect-ratio: 21 / 9; height: auto; }
    .cl-bleed--forest img { --pos: 55% 33% !important; }
    .cl-pricing { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) { .cl-btn { transition: none; } }

/* the sign-up button that follows the reader (app/static/js/consult-sticky.js) */
.cl-sticky { position: fixed; inset: auto 0 0; z-index: 30; height: 5.5rem; pointer-events: none; }
.cl-sticky[hidden] { display: none; }
.cl-sticky__btn { position: absolute; bottom: calc(.75rem + env(safe-area-inset-bottom)); left: 50%; width: max-content; max-width: calc(100% - 2rem); min-width: min(18rem, calc(100% - 2rem)); pointer-events: auto; box-shadow: 0 10px 30px rgba(31, 54, 30, .28); transform: translate(-50%, 140%); opacity: 0; transition: transform .3s var(--ease), opacity .3s var(--ease), background .2s; }
.cl-sticky.is-on .cl-sticky__btn { transform: translateX(-50%); opacity: 1; }
.cl-sticky__btn:hover { transform: translate(-50%, -1px); }
.cl-sticky__btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .cl-sticky__btn { transition: none; } }
@media print { .cl-sticky { display: none !important; } }
