/* =====================================================================
   ABLEFIND — Luxe theme (med spa & aesthetics)
   Loads after style.css. Soft ivory and blush, espresso ink, champagne
   hairlines, an editorial serif. Remove this file's <link> in
   _src/head.html to return to the brutalist base.
   ===================================================================== */

:root {
  --ink: #3b2f2b;             /* espresso */
  --paper: #fcfaf7;           /* soft ivory */
  --grey-1: #f6efe9;          /* blush cream */
  --grey-2: #e9ded5;
  --grey-3: #8e7c73;          /* warm taupe */
  --cite: #f0d9ce;            /* blush: still only where a brand is found */
  --gold: #b08e6f;            /* champagne */
  --line: #e8ddd3;            /* hairline */
  --deep: #4a3a35;            /* mocha, for dark sections */

  --rule: 1px solid var(--line);
  --rule-thin: 1px solid var(--line);
  --shadow: 0 30px 60px -34px rgba(74, 58, 53, .28);
  --shadow-sm: 0 16px 34px -22px rgba(74, 58, 53, .30);
  --radius: 22px;

  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: var(--font-body);

  --t-fast: 260ms;
  --ease: cubic-bezier(.25, .8, .25, 1);
}

body { font-family: var(--font-body); font-weight: 400; font-size: 16.5px; line-height: 1.7; color: var(--ink); background: var(--paper); }
:focus-visible { outline: 2px solid var(--gold); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; font-stretch: normal; letter-spacing: -0.01em; line-height: 1.08; }
h1 { letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.4rem, 2.1vw, 1.8rem); line-height: 1.15; }
h1 em, h2 em, h3 em, .script { font-style: italic; font-weight: 400; color: var(--gold); }
.lede { font-weight: 300; line-height: 1.65; max-width: 44ch; }
.hl { background: linear-gradient(transparent 58%, var(--cite) 58%); padding: 0 .08em; }

.label, .section--ink .label {
  border: 0; background: transparent; padding: 0; color: var(--gold);
  font-size: .7rem; font-weight: 500; letter-spacing: .28em;
  display: inline-flex; align-items: center; gap: 12px;
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.label--fill, .label--cite { background: var(--cite); color: var(--ink); padding: 6px 14px; border-radius: 999px; }
.label--fill::before, .label--cite::before, .tier .flag::before { display: none; }
.num { color: var(--gold); letter-spacing: .2em; font-size: .72rem; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body); font-weight: 500; font-size: .78rem; letter-spacing: .18em;
  border: 1px solid var(--ink); border-radius: 999px; box-shadow: none;
  background: transparent; color: var(--ink); padding: 15px 26px;
}
.btn:hover, .btn:active { transform: translateY(-1px); box-shadow: var(--shadow-sm); background: var(--grey-1); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--cite); color: var(--ink); border-color: var(--cite); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--lg { padding: 19px 34px; font-size: .82rem; }
.btn .arrow { font-family: var(--font-body); font-weight: 300; }
.section--ink .btn { border-color: var(--paper); color: var(--paper); }
.section--ink .btn--primary { background: var(--paper); color: var(--ink); }
.section--ink .btn--primary:hover { background: var(--cite); border-color: var(--cite); }

/* ---------- Header / nav ---------- */
.site-header { background: rgba(252, 250, 247, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.logo { font-family: var(--font-display); font-weight: 500; font-stretch: normal; letter-spacing: .01em; font-size: 1.6rem; }
.logo .mark { color: var(--gold); }
.nav a:not(.btn) { font-size: .74rem; letter-spacing: .2em; border: 0; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-color: var(--gold); background: transparent; color: var(--ink); }
.nav-toggle { border: 1px solid var(--line); border-radius: 999px; box-shadow: none; }

/* ---------- Sections & grids ---------- */
.section--grey { background: var(--grey-1); }
.section--ink { background: var(--deep); color: var(--paper); }
.section--ink .label { color: #d9bfa7; }
.section--ink h2 em { color: #e6c9b5; }
.cells { border: 0; background: transparent; gap: clamp(14px, 1.6vw, 22px); }
.cells > *, .section--ink .cells > * { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.section--ink .cells { background: transparent; }
.section--ink .cells > * { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.card { border-radius: var(--radius); border: 1px solid var(--line); }
.services-list { gap: 14px; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(ellipse 70% 60% at 85% 10%, #f5e3da 0%, transparent 60%), radial-gradient(ellipse 50% 50% at 0% 100%, #f3ebe2 0%, transparent 70%), var(--paper); }
.wordmark { font-family: var(--font-display); font-weight: 400; font-stretch: normal; text-transform: none; letter-spacing: -0.035em; line-height: .9; }
.wordmark .find { font-style: italic; color: var(--gold); }
.wordmark .find::after { height: 0.025em; background: var(--gold); }
.wordmark .cursor { display: none; }
.hero-title { font-style: italic; font-weight: 400; position: relative; top: -.26em; }
.hero-note { color: var(--grey-3); letter-spacing: .04em; }

/* ---------- Be found. Be booked. (replaces the ticker) ---------- */
.engines-band { padding-block: clamp(36px, 5vw, 64px); background: var(--paper); border-block: 1px solid var(--line); }
.engines-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.engines-band h2 { font-size: clamp(3.4rem, 6.8vw, 5.8rem); margin-bottom: 14px; }
.engines-band p { margin: 0; max-width: 40ch; font-weight: 300; color: var(--grey-3); }
.engines-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px) 12px; }
.engines-row li { display: grid; justify-items: center; gap: 14px; text-align: center; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-3); }
.engines-row .engine-mark { width: 64px; height: 64px; fill: var(--ink); }
@media (max-width: 900px) { .engines-band .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .engines-row .engine-mark { width: 44px; height: 44px; } }

/* ---------- Explainer widgets ---------- */
.chat, .answer, .scan, .bot, .money, .tiles { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper); }
.money, .tiles, .logos { background: var(--line); gap: 1px; }
.stamp { border: 1px solid var(--gold); border-radius: 999px; color: var(--ink); font-weight: 500; letter-spacing: .18em; }
.stamp.cite { background: var(--cite); border-color: var(--cite); }
.bmsg.user { border-radius: 16px 16px 4px 16px; }
.bmsg.ai > div { border-radius: 4px 16px 16px 16px; background: var(--grey-1); border-color: transparent; }
.bmsg .av { border-radius: 50%; background: var(--gold); }
.money .bar { border-radius: 99px; }
.money .v, .proof .big, .tiles .t-name, .stat .v, .tier .price, .result .big { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }
.proof .big em { font-style: italic; background: none; color: var(--gold); }
.cta-block h2 em { font-style: italic; background: none; padding: 0; color: #e6c9b5; }

/* ---------- Testimonials, tiers, FAQ, forms ---------- */
.testimonial .headshot { border-radius: 50%; overflow: hidden; }
.testimonial blockquote { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; line-height: 1.45; }
.tier.featured { background: var(--grey-1); box-shadow: var(--shadow); }
.tier .flag { border-radius: 999px; border: 0; padding: 6px 14px; }
.tier li::before, .service li::before { color: var(--gold); }
.faq { border: 0; background: transparent; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.faq summary::after { font-weight: 300; color: var(--gold); }
.faq details[open] summary { background: transparent; color: var(--ink); }
input, select, textarea { border-radius: 14px !important; border: 1px solid var(--line) !important; background: var(--paper) !important; box-shadow: none !important; font-family: var(--font-body) !important; }
.section--ink input, .section--ink select, .section--ink textarea { color: var(--ink); }
.form-success { border-radius: var(--radius); }
input[type="range"] { accent-color: var(--gold); border: 0 !important; }
table.compare { border-radius: var(--radius); overflow: hidden; }

::selection { background: var(--cite); color: var(--ink); }

/* ---------- Free audit + example audit PDF card (home) ---------- */
#free-audit .wrap { display: grid; gap: clamp(36px, 5vw, 64px); }
.audit-intro { max-width: 780px; width: 100%; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: 18px; }
.audit-intro .lede { max-width: 58ch; margin: 0; }
.audit-inline { width: 100%; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 8px; }
.audit-inline input { width: 100%; min-width: 0; padding: 16px 20px; font-size: 1rem; }
.audit-intro .form-success { width: 100%; border-radius: var(--radius); }
.audit-intro > .fine { margin: 0; font-size: .76rem; letter-spacing: .1em; color: var(--grey-3); }
.audit-sample { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(22px, 4vw, 48px); align-items: center; width: 100%; max-width: 820px; margin-inline: auto; padding: clamp(20px, 3vw, 34px); background: var(--grey-1); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.audit-sample:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.audit-sample img { width: 100%; height: auto; border-radius: 6px; box-shadow: 9px 9px 0 -1px var(--paper), 9px 9px 0 0 var(--line), var(--shadow-sm); transform: rotate(-2deg); transition: transform var(--t-fast) var(--ease); }
.audit-sample:hover img { transform: rotate(0) scale(1.02); }
.audit-sample h3 { margin: 10px 0 12px; }
.audit-sample ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; font-size: .95rem; line-height: 1.5; }
.audit-sample li::before { content: "✦"; margin-right: 10px; font-size: .6rem; color: var(--gold); vertical-align: middle; }
.audit-sample:hover .btn { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) { .audit-inline { grid-template-columns: 1fr; } .audit-inline .btn { justify-content: center; } }
@media (max-width: 640px) { .audit-sample { grid-template-columns: 1fr; } .audit-sample img { max-width: 170px; margin-inline: auto; } }

/* Slogan: "The answer is you." with a script-lettered "you" */
.slogan { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.2rem); color: var(--ink); margin: .35em 0 .6em; letter-spacing: .01em; }
.you { font-family: "Pinyon Script", "Cormorant Garamond", cursive; font-style: normal; color: var(--gold); font-size: 1.55em; line-height: 0; padding: 0 .06em; position: relative; top: .06em; }
/* Explainer rows/list items also use .you as a state class; keep their normal type */
.scan-row.you, .answer li.you { color: inherit; line-height: inherit; top: 0; }
.scan-row.you { font-family: var(--font-mono); font-size: .82rem; padding: 10px 14px; }
.answer li.you { font-family: inherit; font-size: inherit; padding: 0; }


/* Testimonials: ivory cards with a champagne floral sprig in two corners */
.testimonial {
  --sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='none' stroke='%23b08e6f' stroke-linecap='round'%3E %3Cpath d='M6 62C6 30 30 6 62 6' stroke-width='1.1'/%3E %3Cpath d='M62 6c5 0 8 3 6 6c-1.5 2-4.5 1-3.5-1.5M6 62c0 5 3 8 6 6c2-1.5 1-4.5-1.5-3.5' stroke-width='.9'/%3E %3Cg fill='%23b08e6f' fill-opacity='.35' stroke-width='.7'%3E %3Cpath transform='translate(9 42) rotate(55)' d='M0 0C4-4 10-4 13 0C10 4 4 4 0 0Z'/%3E%3Cpath transform='translate(7 53) rotate(72)' d='M0 0C4-4 10-4 13 0C10 4 4 4 0 0Z'/%3E %3Cpath transform='translate(42 9) rotate(35)' d='M0 0C4-4 10-4 13 0C10 4 4 4 0 0Z'/%3E%3Cpath transform='translate(53 7) rotate(18)' d='M0 0C4-4 10-4 13 0C10 4 4 4 0 0Z'/%3E %3C/g%3E %3Cg transform='translate(22 22)' fill='%23b08e6f' fill-opacity='.45' stroke-width='.6'%3E %3Cellipse cx='3.8' rx='3.4' ry='2.1' transform='rotate(-81)'/%3E%3Cellipse cx='3.8' rx='3.4' ry='2.1' transform='rotate(-9)'/%3E%3Cellipse cx='3.8' rx='3.4' ry='2.1' transform='rotate(63)'/%3E%3Cellipse cx='3.8' rx='3.4' ry='2.1' transform='rotate(135)'/%3E%3Cellipse cx='3.8' rx='3.4' ry='2.1' transform='rotate(207)'/%3E %3Ccircle r='1.5' fill-opacity='1'/%3E%3C/g%3E %3Cg fill='%23b08e6f' stroke='none'%3E%3Ccircle cx='31' cy='13' r='1.1'/%3E%3Ccircle cx='13' cy='31' r='1.1'/%3E%3C/g%3E%3C/svg%3E");
  position: relative; background: var(--paper); border: var(--rule); border-radius: var(--radius);
  padding: 48px 38px 34px; box-shadow: var(--shadow-sm);
}
.testimonial::before, .testimonial::after {
  content: ""; position: absolute; width: 84px; height: 84px; opacity: .8; pointer-events: none;
  background: var(--sprig) no-repeat center / contain;
}
.testimonial::before { top: 8px; left: 8px; }
.testimonial::after { bottom: 8px; right: 8px; transform: rotate(180deg); }

/* Split page hero (contact): headline left, lede set off on the right with a champagne rule */
@media (min-width: 900px) {
  .page-hero--split .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
  .page-hero--split .lede { justify-self: end; max-width: 34ch; margin: 0 0 .5em; padding-left: clamp(20px, 2.4vw, 32px); border-left: 1px solid var(--gold); }
}

/* Centered stacked headline (services): script phrase big on its own middle line */
.page-hero--center { text-align: center; }
.page-hero--center h1 { margin-inline: auto; }
.page-hero--center h1 .you { display: block; font-size: clamp(3.4rem, 11vw, 8rem); line-height: 1.05; top: 0; padding: .08em 0 .02em; }
.page-hero--center h1 .h1-line { display: block; }

/* Single-column section head so a short headline stays on one line */
.section-head--wide { grid-template-columns: 1fr !important; }

/* Free audit: pitch on the left, form + example audit on the right */
.audit-side { display: grid; gap: 18px; width: 100%; }
.audit-side > .fine { margin: 0; font-size: .76rem; letter-spacing: .1em; color: var(--grey-3); text-align: center; }
.audit-side .form-success { border-radius: var(--radius); }
.audit-side .audit-inline { margin-top: 0; grid-template-columns: 1fr 1fr; }
.audit-side .audit-inline .btn { grid-column: 1 / -1; justify-content: center; }
.audit-side .audit-sample { max-width: none; grid-template-columns: 150px minmax(0, 1fr); }
@media (min-width: 900px) {
  #free-audit .wrap { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
  #free-audit .audit-intro { margin: 0; text-align: left; justify-items: start; }
}
@media (max-width: 760px) { .audit-side .audit-inline { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .audit-side .audit-sample { grid-template-columns: 1fr; } }
#free-audit .audit-intro h2 { font-size: clamp(2.8rem, 6vw, 5.4rem); }

/* ---- Booking: the walkthrough is how the audit gets delivered ---- */
.booker { display: grid; gap: 16px; width: 100%; }
.booker:not(.booker--bare) { padding: clamp(20px, 3vw, 30px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.booker-head { display: grid; gap: 8px; }
.booker-head h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; margin: 0; color: var(--ink); }
.booker-head p { margin: 0; color: var(--grey-3); font-size: .95rem; }
.booker-frame { min-height: 560px; border-radius: calc(var(--radius) * .7); overflow: hidden; background: var(--grey-1); }
.booker-frame iframe { display: block; width: 100%; height: 100%; min-height: 560px; border: 0; }
.booker-frame.is-placeholder { display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 28px; border: 1px dashed var(--gold); }
.booker-frame.is-placeholder b { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; }
.booker-frame.is-placeholder p { margin: 0; max-width: 36ch; font-size: .84rem; color: var(--grey-3); }
.booker-fine { margin: 0; font-size: .76rem; letter-spacing: .1em; color: var(--grey-3); text-align: center; }
@media (max-width: 640px) { .booker-frame, .booker-frame iframe { min-height: 640px; } }
