:root {
    --ink: #1E2B27;        /* ירוק-אורן כהה, לכותרות */
    --text: #3E4A45;
    --muted: #7C847E;
    --paper: #F5F2EA;      /* רקע נייר */
    --mist: #EAE5D8;       /* רקע מקטעים */
    --line: #DDD5C3;
    --white: #FFFFFF;
    --brass: #B4893C;      /* צבע הדגשה */
    --brass-dark: #956F2C;
    --pine: #2F5D50;
    --sage: #7A9A7E;
    --terra: #B9674F;

    --radius: 1.5rem;
    --shadow: 0 1px 2px rgba(30, 43, 39, .04), 0 12px 32px -10px rgba(30, 43, 39, .14);
    --shadow-lift: 0 2px 4px rgba(30, 43, 39, .04), 0 20px 44px -12px rgba(30, 43, 39, .2);
    --ease: cubic-bezier(.2, .8, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
    font-family: 'Heebo', sans-serif;
    font-weight: 300;
    color: var(--text);
    background: var(--paper);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

h1, h2, h3 { color: var(--ink); font-weight: 400; line-height: 1.25; }
h1, h2 { font-family: 'Bellefair', serif; letter-spacing: .01em; }
h3 { font-weight: 600; font-size: 1.05rem; }
a { color: inherit; }
svg { width: 1em; height: 1em; }
.sprite { display: none; }
img { max-width: 100%; display: block; }

/* ---------- Accessibility helpers ---------- */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed;
    top: .75rem;
    inset-inline-start: .75rem;
    z-index: 100;
    padding: .6rem 1.2rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-200%);
    transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }

.section { padding: 5.5rem 0; }
.section-tint { background: var(--mist); }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: .75rem; }

.eyebrow {
    display: inline-block;
    color: var(--brass-dark);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .25em;
    margin-bottom: 1rem;
}

.rule { width: 2.5rem; height: 1px; background: var(--brass); opacity: .6; margin: 1.25rem 0; }
.rule-center { margin: .25rem auto 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.8rem;
    border-radius: 999px;
    font: 500 1rem 'Heebo', sans-serif;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: background-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn-sm { padding: .45rem 1.2rem; font-size: .9rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-brass { background: var(--brass); color: var(--white); box-shadow: 0 8px 20px -8px rgba(180, 137, 60, .6); }
.btn-brass:hover { background: var(--brass-dark); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); padding-inline: .5rem; }
.btn-ghost:hover { color: var(--brass-dark); }

/* ---------- Header: full bar at the top, floating glass pill while scrolling ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    pointer-events: none;
}
.header-shell {
    position: relative;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    background: rgba(245, 242, 234, .85);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition:
        max-width .55s var(--ease), margin .55s var(--ease), padding .45s var(--ease),
        border-radius .55s var(--ease), background-color .4s, box-shadow .4s, transform .45s var(--ease);
}
.site-header.is-compact .header-shell {
    max-width: min(60rem, calc(100% - 1.5rem));
    margin-top: .75rem;
    padding: .5rem .6rem .5rem 1.2rem;
    padding-inline-start: 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 14px 34px -14px rgba(30, 43, 39, .35), inset 0 0 0 1px rgba(221, 213, 195, .8);
}
.site-header.is-hidden .header-shell { transform: translateY(calc(-100% - 2rem)); }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark {
    width: auto;
    height: 2.6rem;
    transition: transform .5s var(--ease);
}
.site-header.is-compact .brand-mark { transform: scale(.88); }
.brand-text { font-family: 'Bellefair', serif; font-size: 1.5rem; color: var(--ink); letter-spacing: .02em; }
.brand-text em { font-style: normal; color: var(--brass-dark); }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a:not(.btn) {
    padding: .4rem 1rem;
    border-radius: 999px;
    font-size: .95rem;
    color: var(--muted);
    text-decoration: none;
    transition: background-color .25s, color .25s;
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--ink); background: rgba(221, 213, 195, .5); }
.nav .btn { margin-inline-start: .5rem; }

.header-progress {
    position: absolute;
    bottom: 0;
    inset-inline: 1.75rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(to left, var(--brass), var(--sage));
    transform: scaleX(var(--progress, 0));
    transform-origin: right;
    opacity: 0;
    transition: opacity .4s;
}
.site-header.is-compact .header-progress { opacity: 1; }

.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 9rem 0 4rem; position: relative; overflow: hidden; }
.hero::before {
    content: "";
    position: absolute;
    width: 42rem;
    height: 42rem;
    left: -14rem;
    top: -2rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 137, 60, .16), transparent 65%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1.5rem; text-wrap: balance; }
.hero h1 .accent { display: block; color: var(--pine); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; margin-bottom: 1.75rem; }
.hero-points {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    max-width: 36rem;
    margin-bottom: 2.25rem;
}
.hero-points li {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    padding: 1rem 1rem 1.1rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, .75);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: .92rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.hero-points li:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--brass), var(--shadow); }
.hero-points svg {
    flex-shrink: 0;
    width: 2.3rem;
    height: 2.3rem;
    padding: .5rem;
    border-radius: .8rem;
    color: var(--white);
    background: var(--pine);
    box-shadow: 0 6px 14px -6px rgba(47, 93, 80, .7);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.btn-cta { font-weight: 600; box-shadow: 0 14px 30px -10px rgba(180, 137, 60, .75); }
.btn-cta span { display: inline-block; font-size: 1.2em; line-height: 1; transition: transform .3s var(--ease); }
.btn-cta:hover span { transform: translateX(-5px); }

/* Rate card: the page's signature element */
.rate-card {
    position: relative;
    background: var(--white);
    border-radius: 2rem;
    padding: 1.75rem;
    box-shadow: var(--shadow-lift), -1.1rem 1.1rem 0 var(--mist);
    transform: rotate(-1.5deg);
    transition: transform .6s var(--ease);
}
.rate-card:hover { transform: rotate(0); }
.rate-card-head { display: flex; justify-content: space-between; align-items: center; font-weight: 500; color: var(--ink); margin-bottom: 1.5rem; }
.pill { font-size: .75rem; background: var(--paper); color: var(--muted); padding: .2rem .7rem; border-radius: 999px; }
.rate-row { display: grid; grid-template-columns: 5.5rem 1fr auto; align-items: center; gap: .9rem; margin-bottom: 1rem; font-size: .9rem; }
.rate-label { color: var(--muted); }
.rate-bar { height: .6rem; background: var(--paper); border-radius: 999px; overflow: hidden; }
.rate-bar i { display: block; height: 100%; width: var(--w); background: var(--line); border-radius: inherit; animation: grow 1.4s var(--ease) both; }
.is-ours .rate-bar i { background: linear-gradient(to left, var(--pine), var(--sage)); animation-delay: .3s; }
.rate-val { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.is-ours .rate-val { color: var(--pine); }
.rate-line { display: block; width: 100%; height: 4.5rem; color: var(--brass); margin: .5rem 0 1rem; }
.rate-foot { font-size: .95rem; color: var(--ink); }
.rate-foot strong { color: var(--pine); font-weight: 700; }
.rate-note { display: block; font-size: .7rem; color: var(--muted); margin-top: .35rem; }

@keyframes grow { from { width: 0; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4.5rem; align-items: center; }
.about-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.photo-frame { position: relative; }
.photo-frame::before {
    content: "";
    position: absolute;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    border: 1px solid var(--brass);
    border-radius: 2rem;
    opacity: .5;
}
.photo {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: 2rem;
    background: var(--mist);
    box-shadow: var(--shadow);
}
.about-copy h2 .accent { color: var(--pine); }
.about-copy p + p { margin-top: 1rem; }
.about-lead { font-size: 1.12rem; font-weight: 400; color: var(--ink); }
.about-copy p b { font-weight: 600; color: var(--pine); }
.about-points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.about-points li {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1.15rem 1.2rem;
    border-radius: 1.1rem;
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: .9rem;
    line-height: 1.55;
    color: var(--muted);
}
.about-points b { display: block; margin-bottom: .2rem; font-size: 1rem; font-weight: 600; color: var(--ink); }
.about-points .icon { flex-shrink: 0; width: 2.6rem; height: 2.6rem; border-radius: .8rem; font-size: 1.25rem; }

/* Membership seal on the photo + certificate card */
/* Sits below the photo, clear of the offset brass frame */
.photo-seal {
    display: flex;
    align-items: center;
    gap: .65rem;
    width: fit-content;
    margin: 2.75rem auto 0;
    padding: .55rem 1.1rem .55rem .55rem;
    border-radius: 999px;
    background: var(--white);
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(180, 137, 60, .35);
    font-size: .75rem;
    line-height: 1.35;
    color: var(--muted);
}
.photo-seal b { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); }
.photo-seal-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--white);
    background: linear-gradient(145deg, #D9B46A, var(--brass-dark));
}
.credential {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1rem;
    padding: 1rem;
    padding-inline-end: 1.5rem;
    border-radius: 1.1rem;
    background: var(--white);
    box-shadow: var(--shadow);
}
.credential-thumb {
    position: relative;
    flex-shrink: 0;
    width: 9.5rem;
    padding: 0;
    border: 0;
    border-radius: .5rem;
    background: none;
    cursor: zoom-in;
    transition: transform .35s var(--ease);
}
.credential-thumb img { width: 100%; height: auto; border-radius: .5rem; box-shadow: 0 10px 20px -10px rgba(12, 28, 110, .6); }
.credential-zoom {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    border-radius: .5rem;
    background: rgba(30, 43, 39, .4);
    color: var(--white);
    font-size: 1.4rem;
    opacity: 0;
    transition: opacity .3s;
}
.credential-thumb:hover { transform: translateY(-2px) rotate(-1.5deg); }
.credential-thumb:hover .credential-zoom, .credential-thumb:focus-visible .credential-zoom { opacity: 1; }
.credential-copy { flex: 1; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.credential-eyebrow { display: block; margin-bottom: .15rem; font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--brass-dark); }
.credential-copy b { display: block; margin-bottom: .25rem; font-size: 1rem; font-weight: 600; color: var(--ink); }
.credential-link {
    margin-top: .5rem;
    padding: .2rem 0;
    border: 0;
    background: none;
    border-radius: .4rem;
    font: 500 .9rem 'Heebo', sans-serif;
    color: var(--brass-dark);
    cursor: pointer;
}
.credential-link span { display: inline-block; transition: transform .3s var(--ease); }
.credential-link:hover span { transform: translateX(-4px); }

/* ---------- Cards / Services ---------- */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.75rem;
    transition: transform .35s var(--ease), box-shadow .35s;
}
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.services .card { display: flex; flex-direction: column; padding: 2rem 2rem 1.75rem; }
.services .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.service-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.service-head .icon { flex-shrink: 0; }
.services h3 { font-size: 1.15rem; }
.services p { font-size: .93rem; color: var(--muted); }
.service-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: auto;
    padding-top: 1.25rem;
}
.service-tags li {
    padding: .2rem .8rem;
    border-radius: 999px;
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: .78rem;
    font-weight: 500;
    color: var(--text);
}
.icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 1rem; font-size: 1.5rem; }
.icon-brass { color: var(--brass-dark); background: rgba(180, 137, 60, .12); }
.icon-pine  { color: var(--pine);       background: rgba(47, 93, 80, .1); }
.icon-sage  { color: var(--sage);       background: rgba(122, 154, 126, .14); }
.icon-terra { color: var(--terra);      background: rgba(185, 103, 79, .1); }

/* ---------- Testimonials: scroll-snap carousel + full review dialog ---------- */
.reviews { --gap: 1.25rem; }
.reviews-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
    gap: var(--gap);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: .5rem;
    /* Room for the card shadows, which the scroll box would otherwise clip */
    padding: .75rem .5rem 2.25rem;
    margin: -.75rem -.5rem 0;
    scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:focus-visible { outline: 2px solid var(--pine); outline-offset: -2px; border-radius: var(--radius); }

.review {
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.75rem 1.5rem;
    transition: transform .35s var(--ease), box-shadow .35s;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.review blockquote { display: flex; flex-direction: column; flex: 1; }
.review-mark { display: block; width: 2.1rem; height: 1.6rem; color: var(--brass); opacity: .55; transform: scaleX(-1); }
.review-quote {
    font-family: 'Bellefair', serif;
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--ink);
    margin: 1rem 0 .85rem;
}
.review .review-body {
    font-size: .92rem;
    color: var(--muted);
    max-height: calc(1.7em * 4);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
    mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.review-body p + p, .dialog-body p + p { margin-top: .75rem; }
.review-more {
    align-self: flex-start;
    margin-top: .9rem;
    padding: .3rem 0;
    border: 0;
    background: none;
    font: 500 .92rem 'Heebo', sans-serif;
    color: var(--brass-dark);
    cursor: pointer;
}
.review-more span { display: inline-block; transition: transform .3s var(--ease); }
.review-more:hover span { transform: translateX(-4px); }
.review-by {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}
.review-by cite { display: block; font-style: normal; font-weight: 600; color: var(--ink); line-height: 1.4; }
.review-tag { display: block; font-size: .8rem; color: var(--muted); }
.review-avatar {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    font-family: 'Bellefair', serif;
    font-size: 1.3rem;
}
.tone-0 { color: var(--brass-dark); background: rgba(180, 137, 60, .14); }
.tone-1 { color: var(--pine);       background: rgba(47, 93, 80, .12); }
.tone-2 { color: var(--terra);      background: rgba(185, 103, 79, .12); }
.tone-3 { color: #5B7A5F;           background: rgba(122, 154, 126, .18); }

.reviews-nav { display: flex; justify-content: center; align-items: center; gap: 1.25rem; margin-top: .25rem; }
.reviews.is-static .reviews-nav { display: none; }
.reviews-arrow {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s, opacity .25s;
}
.reviews-arrow:hover:not(:disabled) { background: var(--brass); border-color: var(--brass); color: var(--white); }
.reviews-arrow:disabled { opacity: .35; cursor: default; }
.reviews-arrow.is-prev svg { transform: rotate(180deg); }
.reviews-dots { display: flex; gap: .45rem; }
.reviews-dot {
    width: .55rem;
    height: .55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--line);
    cursor: pointer;
    transition: width .35s var(--ease), background-color .35s;
}
.reviews-dot[aria-current="true"] { width: 1.75rem; background: var(--brass); }

.review-dialog, .cert-dialog {
    width: min(40rem, calc(100% - 2rem));
    max-height: min(88dvh, 48rem);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 1.75rem;
    background: var(--white);
    color: var(--text);
    box-shadow: 0 30px 80px -20px rgba(30, 43, 39, .45);
    overflow: hidden;
}
.review-dialog[open], .cert-dialog[open] { display: flex; flex-direction: column; animation: dialog-in .4s var(--ease); }
.review-dialog::backdrop, .cert-dialog::backdrop { background: rgba(30, 43, 39, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
html:has(.review-dialog[open], .cert-dialog[open]) { overflow: hidden; }
.cert-dialog { width: min(58rem, calc(100% - 2rem)); max-height: 92dvh; }
.cert-dialog .icon { flex-shrink: 0; width: 2.6rem; height: 2.6rem; border-radius: .8rem; font-size: 1.25rem; }
.cert-body { min-height: 0; overflow: auto; padding: 1.5rem; background: var(--paper); }
.cert-body img {
    width: 100%;
    max-height: calc(92dvh - 8rem);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(12, 28, 110, .3));
}
.dialog-head { display: flex; align-items: center; gap: .85rem; padding: 1.25rem 1.75rem; border-bottom: 1px solid var(--line); }
.dialog-name { display: block; font-weight: 600; color: var(--ink); line-height: 1.4; }
.dialog-close {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-inline-start: auto;
    border: 0;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color .25s, color .25s;
}
.dialog-close:hover { background: var(--ink); color: var(--white); }
.dialog-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1.75rem 1.75rem 2rem; }
.dialog-scroll .review-quote { font-size: 1.6rem; margin-top: .75rem; }
.dialog-body { color: var(--text); }
.dialog-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.75rem;
    background: var(--paper);
    font-size: .92rem;
    color: var(--ink);
}

@keyframes dialog-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; padding: 2.5rem; max-width: 960px; margin: 0 auto; }
.calc-fields { display: grid; gap: 1.75rem; align-content: center; }
.calc-fields label span { display: flex; justify-content: space-between; font-weight: 400; color: var(--ink); margin-bottom: .6rem; }
.calc-fields output { font-weight: 600; color: var(--pine); font-variant-numeric: tabular-nums; }
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: .4rem;
    border-radius: 999px;
    background: linear-gradient(to left, var(--brass) var(--fill, 50%), var(--mist) var(--fill, 50%));
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 1.3rem; height: 1.3rem; border-radius: 50%;
    background: var(--white); border: 2px solid var(--brass); box-shadow: var(--shadow);
}
input[type="range"]::-moz-range-thumb {
    width: 1.3rem; height: 1.3rem; border-radius: 50%;
    background: var(--white); border: 2px solid var(--brass); box-shadow: var(--shadow);
}
input[type="range"]:focus-visible { outline: 2px solid var(--pine); outline-offset: 4px; }
.calc-result {
    background: var(--ink);
    color: rgba(255, 255, 255, .7);
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.calc-result .muted { color: rgba(255, 255, 255, .6); font-size: .9rem; }
.calc-result > strong {
    font-family: 'Bellefair', serif;
    font-weight: 400;
    font-size: 2.8rem;
    color: var(--white);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.calc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; padding: 1.25rem 0; border-block: 1px solid rgba(255, 255, 255, .12); }
.calc-split span { display: block; font-size: .8rem; }
.calc-split b { color: var(--white); font-weight: 500; font-variant-numeric: tabular-nums; }
.calc-hint { font-size: .85rem; }
.calc-hint b { color: #D9B46A; font-weight: 600; }
.calc-note {
    display: flex;
    gap: .65rem;
    max-width: 960px;
    margin: 1.25rem auto 0;
    padding: 0 .5rem;
    font-size: .8rem;
    line-height: 1.6;
    color: var(--muted);
}
.calc-note svg { flex-shrink: 0; width: 1.1rem; height: 1.1rem; margin-top: .1rem; color: var(--brass-dark); }
.calc-note b { font-weight: 600; color: var(--text); }
.calc-note a { color: var(--pine); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .9rem; }
.faq details { background: var(--white); border-radius: 1.25rem; box-shadow: var(--shadow); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-lift); }
.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.3rem 1.6rem;
    font-weight: 500;
    color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--paper);
    color: var(--brass-dark);
    transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--brass); color: var(--white); }
.faq details p { padding: 0 1.6rem 1.4rem; color: var(--muted); }
.faq summary:focus-visible { outline: 2px solid var(--pine); outline-offset: -2px; border-radius: 1.25rem; }
.faq-cta {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-top: 2rem;
    padding: 1.4rem 1.6rem;
    border-radius: 1.25rem;
    background: rgba(180, 137, 60, .08);
    box-shadow: inset 0 0 0 1px rgba(180, 137, 60, .35);
}
.faq-cta .icon { flex-shrink: 0; font-size: 1.35rem; background: var(--white); }
.faq-cta p { flex: 1; color: var(--muted); line-height: 1.5; }
.faq-cta b { display: block; font-weight: 600; color: var(--ink); }
.faq-cta .btn { flex-shrink: 0; }

/* ---------- Book a meeting ---------- */
.contact {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 3.5rem;
    align-items: center;
    background: var(--pine);
    color: rgba(255, 255, 255, .78);
    border-radius: 2.25rem;
    padding: 3.5rem;
}
.contact::before {
    content: "";
    position: absolute;
    width: 26rem; height: 26rem;
    left: -8rem; bottom: -12rem;
    border-radius: 50%;
    border: 1px solid rgba(217, 180, 106, .35);
    box-shadow: 0 0 0 3rem rgba(217, 180, 106, .05);
    pointer-events: none;
}
.contact-copy { position: relative; }
.eyebrow-light { color: #D9B46A; letter-spacing: .12em; }
.contact h2 { color: var(--white); font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.contact-copy p { margin-bottom: 1rem; max-width: 32rem; }
.contact-copy .btn { margin-top: 1rem; }
.contact-copy .btn svg { font-size: 1.2rem; }
.meet-steps {
    position: relative;
    list-style: none;
    display: grid;
    gap: 1rem;
    padding: 1.75rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
}
.meet-steps li { display: flex; gap: 1rem; align-items: flex-start; font-size: .92rem; }
.meet-steps li + li { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.meet-steps span {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    border: 1px solid #D9B46A;
    color: #D9B46A;
    font-family: 'Bellefair', serif;
    font-size: 1.05rem;
}
.meet-steps b { display: block; color: var(--white); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .55); padding: 3.5rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-logo { width: 9.5rem; height: auto; margin: -.5rem 0 .75rem -.5rem; }
.footer p { font-size: .9rem; max-width: 22rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: flex-start; font-size: .9rem; }
.footer-links a { text-decoration: none; transition: color .25s; }
.footer-links a:hover { color: #D9B46A; }
.footer-legal { flex-direction: column; gap: .5rem; }
/* Instagram links (contact section + footer) */
.social-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    font-size: 1.15rem;
    transition: background .35s, color .35s, box-shadow .35s;
}
.contact-social, .footer-social {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    transition: color .25s;
}
.contact-social:hover .social-icon, .footer-social:hover .social-icon {
    color: var(--white);
    background: linear-gradient(45deg, #F5B53D, #E1306C 55%, #833AB4);
    box-shadow: 0 0 0 0 transparent;
}
.contact-social { display: flex; width: fit-content; margin-top: 1.5rem; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.contact-social .social-icon { color: #D9B46A; box-shadow: inset 0 0 0 1px rgba(217, 180, 106, .5); }
.contact-social b { font-weight: 500; color: var(--white); }
.contact-social:hover { color: var(--white); }
.footer-social { margin-top: 1.25rem; padding: .3rem; padding-inline-end: 1.1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); font-size: .9rem; }
.footer-social .social-icon { width: 2.1rem; height: 2.1rem; font-size: 1rem; color: #D9B46A; background: rgba(255, 255, 255, .06); }
.footer-social:hover { color: var(--white); }

.footer-bottom { padding-top: 1.75rem; text-align: center; font-size: .75rem; color: rgba(255, 255, 255, .3); }

/* ---------- Legal page ---------- */
.legal-hero { padding-block: 9rem 3rem; text-align: center; }
.legal-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3rem); margin-bottom: .75rem; }
.legal-layout { display: grid; grid-template-columns: 14rem 1fr; gap: 3rem; align-items: start; padding-bottom: 5rem; }
.legal-toc { position: sticky; top: 6.5rem; display: grid; gap: .25rem; }
.legal-toc a {
    padding: .5rem 1rem;
    border-radius: 999px;
    font-size: .92rem;
    color: var(--muted);
    text-decoration: none;
    transition: background-color .25s, color .25s;
}
.legal-toc a:hover { color: var(--ink); background: rgba(221, 213, 195, .5); }
.legal-doc { display: grid; gap: 1.5rem; }
.legal-doc section { padding: 2.5rem; }
.legal-doc h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: .25rem; }
.legal-doc h3 { margin: 1.75rem 0 .5rem; }
.legal-doc p, .legal-doc li { color: var(--text); }
.legal-doc p + p { margin-top: .75rem; }
.legal-doc ul { padding-inline-start: 1.25rem; display: grid; gap: .35rem; margin-top: .5rem; }
.legal-doc a { color: var(--pine); }
.legal-updated { font-size: .85rem; color: var(--muted); }
.legal-contact { margin-top: 1rem; padding: 1rem 1.25rem; border-radius: 1rem; background: var(--paper); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-grid, .about-grid, .calc, .contact { grid-template-columns: 1fr; }
    .hero-grid { gap: 3.5rem; }
    .rate-card { max-width: 26rem; margin: 0 auto; width: 100%; }
    .about-photo { max-width: 18rem; margin: 0 auto 1rem; width: calc(100% - 1.25rem); }
    .reviews-track { grid-auto-columns: calc((100% - var(--gap)) / 2); }
}

@media (max-width: 760px) {
    /* Header: a plain full-width bar on phones; the floating pill is desktop only */
    .header-shell,
    .site-header.is-compact .header-shell {
        flex-wrap: wrap;
        max-width: 100%;
        margin: 0;
        padding: .6rem 1rem;
        border-radius: 0;
    }
    .site-header.is-compact .header-shell {
        background: rgba(255, 255, 255, .9);
        box-shadow: 0 10px 24px -18px rgba(30, 43, 39, .5), inset 0 -1px 0 var(--line);
    }
    .brand-mark { height: 2.2rem; }
    .site-header.is-compact .brand-mark { transform: none; }
    .brand-text { font-size: 1.3rem; }
    .header-progress { inset-inline: 0; }

    .menu-btn {
        display: inline-flex;
        align-items: center;
        gap: .55rem;
        height: 2.75rem;
        padding: 0 .95rem;
        border: 1px solid var(--line);
        border-radius: .75rem;
        background: var(--white);
        color: var(--ink);
        font: 500 .95rem 'Heebo', sans-serif;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        transition: background-color .25s, border-color .25s;
    }
    .menu-btn:active { background: var(--mist); }
    .menu-icon { display: grid; gap: 4px; width: 1.15rem; }
    .menu-icon i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
    .menu-open .menu-btn { border-color: var(--ink); }
    .menu-open .menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-open .menu-icon i:nth-child(2) { opacity: 0; }
    .menu-open .menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .nav {
        display: none;
        order: 3;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100dvh - 4.5rem);
        overflow-y: auto;
        margin-top: .6rem;
        padding: .25rem 0 1rem;
        border-top: 1px solid var(--line);
    }
    .nav a:not(.btn) {
        padding: .95rem .25rem;
        border-radius: 0;
        border-bottom: 1px solid var(--line);
        font-size: 1.05rem;
        color: var(--ink);
    }
    .nav a:not(.btn):hover, .nav a.is-active { background: transparent; color: var(--brass-dark); }
    .nav .btn { margin: 1rem 0 0; padding: .9rem; font-size: 1rem; }
    .menu-open .nav { display: flex; }
    .menu-open .header-shell,
    .site-header.is-compact.menu-open .header-shell { background: var(--white); }
    .menu-open .header-progress { opacity: 0; }
    /* Dimmed backdrop behind the open menu; tapping it closes the menu (script.js) */
    .site-header.menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(30, 43, 39, .35);
        pointer-events: auto;
    }

    .hero { padding: 7rem 0 3rem; }
    .hero-actions { justify-content: center; }
    .hero-actions .btn-brass { flex: 1 1 100%; }
    .rate-card { box-shadow: var(--shadow-lift), -.6rem .6rem 0 var(--mist); }
    .section { padding: 4rem 0; }
    .hero-points { gap: .5rem; }
    .hero-points li { padding: .85rem .7rem .9rem; gap: .55rem; font-size: .82rem; border-radius: 1rem; }
    .hero-points li:hover { transform: none; }
    .hero-points svg { width: 2rem; height: 2rem; padding: .42rem; border-radius: .7rem; }
    .hero-actions .btn-cta { padding-inline: 1.25rem; }

    .about-grid { gap: 2.5rem; }
    .about-points { grid-template-columns: 1fr; gap: .75rem; }
    .about-photo { max-width: 15rem; width: calc(100% - .75rem); margin-bottom: .5rem; }
    .photo-frame::before { inset: .75rem -.75rem -.75rem .75rem; border-radius: 1.5rem; }
    .photo { border-radius: 1.5rem; }
    .photo-seal { margin-top: 2rem; padding-inline-end: .9rem; }
    .credential { flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem 1rem 1.15rem; }
    .credential-thumb { width: 100%; }
    .credential-thumb:hover { transform: none; }
    .cert-body { padding: 1rem; }

    .services { grid-template-columns: 1fr; }
    .services .card { padding: 1.6rem 1.4rem 1.4rem; }
    .reviews { --gap: 1rem; }
    .reviews-track { grid-auto-columns: 86%; }
    .review { padding: 1.75rem 1.4rem 1.35rem; }
    .review:hover { transform: none; }
    .review-quote { font-size: 1.3rem; }
    .dialog-head { padding: 1rem 1.25rem; }
    .dialog-scroll { padding: 1.25rem 1.25rem 1.75rem; }
    .dialog-scroll .review-quote { font-size: 1.4rem; }
    .dialog-foot { padding: .9rem 1.25rem; }
    .calc { padding: 1.5rem; gap: 2rem; }
    .faq-cta { flex-wrap: wrap; padding: 1.25rem; }
    .faq-cta .btn { width: 100%; }
    .contact { padding: 2.5rem 1.5rem; border-radius: 1.75rem; }
    .contact-copy .btn { width: 100%; }
    .meet-steps { padding: 1.25rem; }

    .legal-hero { padding-block: 7rem 2rem; }
    .legal-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: .5rem; }
    .legal-toc a { padding: .45rem .9rem; font-size: .85rem; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
    .legal-doc section { padding: 1.75rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
