/* =========================================================
   LAKE DISTRICT MORTGAGES — HOME PAGE
   Depends on Switzer + --color-* tokens in header.css.
   Everything is scoped to .ldm-hm-page. Shares its design system
   with the other LDM service pages. No header/footer styles.
========================================================= */

.ldm-hm-page {
    --hm-forest: #142B20;
    --hm-forest-line: rgba(255, 255, 255, .14);
    --hm-green-soft: #A9E6BA;
    --hm-green-mid: #A2D5B0;
    --hm-dark-copy: #D7E3DA;

    /* Accessible text colours (WCAG AA with margin)
       Muted copy: 6.7:1 on white, 6.3:1 on hero grey.
       Small green text uses primary-dark: 7.7:1 on white. */
    --color-text-muted: #525F57;
    --hm-green-text: var(--color-primary-dark, #0C602D);

    /* Pastel section tints */
    --hm-tint-mint: #E8F4EB;
    --hm-tint-pistachio: #F1F6E7;
    --hm-tint-sage: #EDF5EF;
    --hm-muted-on-tint: #4B5850;   /* 6.6:1 on tints, 6.1:1 over the corner glow */
    --hm-border-on-tint: #D3E6D8;
    --hm-radius-lg: 22px;
    --hm-radius: 16px;
    --hm-radius-sm: 10px;
    --hm-ease: cubic-bezier(.22, .61, .36, 1);
    --hm-section: clamp(80px, 9vw, 130px);

    width: 100%;
    overflow-x: clip;
    background: var(--color-white, #fff);
    color: var(--color-text, #354139);
    font-family: var(--font-primary, "Switzer", Arial, sans-serif);
    -webkit-font-smoothing: antialiased;
}

.ldm-hm-page *,
.ldm-hm-page *::before,
.ldm-hm-page *::after { box-sizing: border-box; }

.ldm-hm-page h1,
.ldm-hm-page h2,
.ldm-hm-page h3 { text-wrap: balance; }

.ldm-hm-page p { text-wrap: pretty; }

.ldm-hm-container {
    width: min(100% - 48px, 1280px);
    margin-inline: auto;
}

.ldm-hm-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}


/* ---------- Icons ---------- */

.ldm-hm-icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }

.ldm-hm-page svg:not(.ldm-hm-icon-library) {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ---------- Eyebrow + dot ---------- */

.ldm-hm-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--color-primary, #11823B);
}

.ldm-hm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--hm-green-text);
    font-size: 12px;
    font-weight: var(--font-weight-semibold, 600);
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
}


/* ---------- Headings: green full stop ---------- */

.ldm-hm-title {
    margin: 0;
    color: var(--color-heading, #19251E);
    font-weight: var(--font-weight-semibold, 600);
    letter-spacing: -.055em;
}

.ldm-hm-title {
    font-size: clamp(38px, 4.6vw, 60px);
    line-height: 1.08;
}

.ldm-hm-stop {
    color: var(--color-primary, #11823B);
    letter-spacing: 0;
}

.ldm-hm-lead {
    margin: 0;
    color: var(--color-text-muted, #525F57);
    font-size: 17px;
    line-height: 1.75;
}


/* ---------- Section heading layouts ---------- */

.ldm-hm-head { margin-bottom: clamp(42px, 5vw, 64px); }
.ldm-hm-head .ldm-hm-title { margin-top: 18px; }

.ldm-hm-head--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(32px, 7vw, 110px);
}

.ldm-hm-head--split > div { flex: 1 1 58%; max-width: 720px; }
.ldm-hm-head--split > .ldm-hm-lead { flex: 1 1 42%; max-width: 480px; padding-bottom: 6px; }

.ldm-hm-head--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.ldm-hm-head--center .ldm-hm-lead { max-width: 640px; margin-top: 20px; }


/* ---------- Buttons + links ---------- */

.ldm-hm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 54px;
    padding: 14px 24px;
    border: 1px solid var(--color-primary, #11823B);
    border-radius: 9px;
    background: var(--color-primary, #11823B);
    color: #fff;
    font-size: 15px;
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background var(--transition-base, 250ms ease),
                border-color var(--transition-base, 250ms ease),
                transform var(--transition-base, 250ms ease),
                box-shadow var(--transition-base, 250ms ease);
}

.ldm-hm-button > span { font-size: 18px; font-weight: 400; transition: transform var(--transition-base, 250ms ease); }

.ldm-hm-button:hover {
    background: var(--color-primary-hover, #0D6C31);
    border-color: var(--color-primary-hover, #0D6C31);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(17, 130, 59, .55);
}

.ldm-hm-button:hover > span { transform: translate(2px, -2px); }

.ldm-hm-button--light {
    background: #fff;
    border-color: #fff;
    color: var(--color-heading, #19251E);
}

.ldm-hm-button--light:hover {
    background: var(--color-primary-light, #E9F5ED);
    border-color: var(--color-primary-light, #E9F5ED);
    color: var(--color-heading, #19251E);
    box-shadow: none;
}

.ldm-hm-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-heading, #19251E);
    font-size: 15px;
    font-weight: var(--font-weight-medium, 500);
    text-decoration: none;
    transition: color var(--transition-fast, 150ms ease);
}

.ldm-hm-text-link:hover { color: var(--hm-green-text); }

.ldm-hm-page a:focus-visible,
.ldm-hm-page button:focus-visible,
.ldm-hm-page summary:focus-visible,
.ldm-hm-page [role="tabpanel"]:focus-visible {
    outline: 2px solid var(--color-primary, #11823B);
    outline-offset: 4px;
}


/* ---------- Shared tick list ---------- */

.ldm-hm-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.ldm-hm-list li {
    position: relative;
    padding-left: 32px;
    color: var(--color-text, #354139);
    font-size: 15px;
    line-height: 1.6;
}

.ldm-hm-list li::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: var(--color-primary-light, #E9F5ED) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C602D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.ldm-hm-list strong { color: var(--color-heading, #19251E); font-weight: var(--font-weight-semibold, 600); }


/* =========================================================
   PASTEL SECTION TINTS
   Alternating soft-green bands so each new section is
   easy to spot on a long page. A faint glow sits in one
   corner for depth; text colours are nudged for contrast.
========================================================= */

.ldm-hm-tint {
    --hm-bg: var(--hm-tint-mint);
    --hm-glow: radial-gradient(55% 70% at 100% 0%, rgba(169, 230, 186, .32), transparent 70%);
    --color-text-muted: var(--hm-muted-on-tint);
    --color-border: var(--hm-border-on-tint);
    position: relative;
    background: var(--hm-glow), var(--hm-bg);
}

.ldm-hm-tint--mint { --hm-bg: var(--hm-tint-mint); }

.ldm-hm-tint--pistachio {
    --hm-bg: var(--hm-tint-pistachio);
    --hm-glow: radial-gradient(55% 70% at 0% 100%, rgba(203, 226, 160, .30), transparent 70%);
}

.ldm-hm-tint--sage {
    --hm-bg: var(--hm-tint-sage);
    --hm-glow: radial-gradient(55% 70% at 0% 0%, rgba(169, 230, 186, .30), transparent 70%);
}

/* Elements that used primary-light would vanish on mint */
.ldm-hm-tint .ldm-hm-faq__plus { background: #fff; }
.ldm-hm-tint .ldm-hm-faq__item[open] .ldm-hm-faq__plus { background: var(--color-primary, #11823B); }


/* ---------- Extra button styles (home) ---------- */

/* Outline on dark backgrounds (hero) */
.ldm-hm-button--ghost {
    border-color: rgba(255, 255, 255, .7);
    background: transparent;
    color: #fff;
}

.ldm-hm-button--ghost:hover {
    border-color: #fff;
    background: #fff;
    color: var(--color-heading, #19251E);
    box-shadow: none;
}

/* Outline on light backgrounds */
.ldm-hm-button--outline {
    border-color: var(--color-border, #E4EAE5);
    background: #fff;
    color: var(--color-heading, #19251E);
}

.ldm-hm-button--outline:hover {
    border-color: var(--color-primary, #11823B);
    background: #fff;
    color: var(--hm-green-text);
    box-shadow: none;
}

.ldm-hm-text-link { color: var(--hm-green-text); font-weight: var(--font-weight-semibold, 600); }

.ldm-hm-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    border: 1px solid var(--color-border, #E4EAE5);
    border-radius: 999px;
    background: #fff;
    color: var(--color-heading, #19251E);
    font-size: 13px;
    font-weight: var(--font-weight-medium, 500);
}


/* =========================================================
   01 — VIDEO HERO
========================================================= */

.ldm-hm-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(640px, 100svh, 880px);
    padding: clamp(90px, 10vw, 130px) 0 clamp(130px, 13vw, 170px);
    overflow: hidden;
    background: var(--hm-forest);
    color: #fff;
    isolation: isolate;
}

.ldm-hm-hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.ldm-hm-hero__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
    background: var(--hm-forest);
}

/* Contrast overlay: strongest behind the copy, lighter over the fells */
.ldm-hm-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(14, 33, 23, .9) 0%, rgba(14, 33, 23, .82) 42%, rgba(14, 33, 23, .45) 70%, rgba(14, 33, 23, .2) 100%),
        linear-gradient(0deg, rgba(14, 33, 23, .55) 0%, rgba(14, 33, 23, 0) 38%);
}

.ldm-hm-hero__inner { position: relative; }

.ldm-hm-hero__copy { max-width: 700px; }

/* H1 — keyword tab, same as service pages */
.ldm-hm-kicker {
    display: inline-block;
    margin: 0 0 26px;
    padding: 8px 12px;
    background: #DDEBDE;
    color: var(--color-primary-dark, #0C602D);
    font-size: 13px;
    font-weight: var(--font-weight-semibold, 600);
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: uppercase;
}

/* H2 — main sales heading */
.ldm-hm-hero h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(46px, 5.6vw, 82px);
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.02;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.ldm-hm-hero h2 span { color: var(--hm-green-soft); }

.ldm-hm-hero__lead {
    max-width: 590px;
    margin: 26px 0 0;
    color: #E6EEE8;
    font-size: 18px;
    line-height: 1.7;
}

.ldm-hm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
}

.ldm-hm-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin: 38px 0 0;
    padding: 0;
    list-style: none;
}

.ldm-hm-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #E6EEE8;
    font-size: 14px;
    font-weight: var(--font-weight-medium, 500);
}

.ldm-hm-hero__trust svg {
    width: 18px !important;
    height: 18px !important;
    color: var(--hm-green-soft);
}

/* Entrance — copy rises in once on load */
.ldm-hm-hero__copy > * { animation: ldm-hm-hero-in 760ms var(--hm-ease) both; }
.ldm-hm-hero__copy > :nth-child(2) { animation-delay: 70ms; }
.ldm-hm-hero__copy > :nth-child(3) { animation-delay: 140ms; }
.ldm-hm-hero__copy > :nth-child(4) { animation-delay: 210ms; }
.ldm-hm-hero__copy > :nth-child(5) { animation-delay: 280ms; }

@keyframes ldm-hm-hero-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

/* Video fades in over the poster once it is playing */
.ldm-hm-hero__video { opacity: 1; transition: opacity 900ms ease; }
.ldm-hm-hero__video.is-loading { opacity: .001; }

/* Pause / play control */
.ldm-hm-hero__toggle {
    position: absolute;
    right: clamp(18px, 3vw, 40px);
    bottom: clamp(110px, 11vw, 140px);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: rgba(14, 33, 23, .45);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background var(--transition-base, 250ms ease), border-color var(--transition-base, 250ms ease);
}

.ldm-hm-hero__toggle[hidden] { display: none; }

.ldm-hm-hero__toggle:hover { background: rgba(14, 33, 23, .75); border-color: #fff; }

.ldm-hm-hero__toggle svg { width: 18px !important; height: 18px !important; }
.ldm-hm-hero__toggle-play { display: none !important; fill: currentColor !important; }
.ldm-hm-hero__toggle[aria-pressed="true"] .ldm-hm-hero__toggle-pause { display: none !important; }
.ldm-hm-hero__toggle[aria-pressed="true"] .ldm-hm-hero__toggle-play { display: block !important; }

.ldm-hm-hero a:focus-visible,
.ldm-hm-hero button:focus-visible { outline-color: #fff; }


/* ---------- Service shortcuts bar ---------- */

.ldm-hm-shortcuts {
    position: relative;
    z-index: 3;
    margin-top: clamp(-96px, -8vw, -72px);
}

.ldm-hm-shortcuts__card {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 40px);
    padding: clamp(20px, 2.4vw, 30px) clamp(22px, 3vw, 36px);
    border: 1px solid var(--color-border, #E4EAE5);
    border-radius: var(--hm-radius-lg);
    background: #fff;
    box-shadow: 0 30px 60px -36px rgba(14, 33, 23, .45);
}

.ldm-hm-shortcuts__title {
    flex: 0 0 auto;
    max-width: 170px;
    margin: 0;
    color: var(--color-heading, #19251E);
    font-size: 19px;
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.3;
    letter-spacing: -.03em;
}

.ldm-hm-shortcuts__list {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ldm-hm-shortcuts__list a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    padding: 16px 14px;
    border-radius: 13px;
    background: var(--color-surface, #F5F8F6);
    color: var(--color-heading, #19251E);
    font-size: 14px;
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.3;
    text-decoration: none;
    transition: background var(--transition-base, 250ms ease), color var(--transition-base, 250ms ease), transform var(--transition-base, 250ms ease);
}

.ldm-hm-shortcuts__list svg {
    width: 22px !important;
    height: 22px !important;
    color: var(--color-primary, #11823B);
    transition: color var(--transition-base, 250ms ease);
}

.ldm-hm-shortcuts__list a:hover {
    background: var(--hm-forest);
    color: #fff;
    transform: translateY(-2px);
}

.ldm-hm-shortcuts__list a:hover svg { color: var(--hm-green-soft); }


/* =========================================================
   02 — SERVICES
========================================================= */

.ldm-hm-services { padding: var(--hm-section) 0; background: #fff; scroll-margin-top: 120px; }

.ldm-hm-services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.ldm-hm-service {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 30px 28px;
    border: 1px solid var(--color-border, #E4EAE5);
    border-radius: var(--hm-radius);
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: border-color var(--transition-base, 250ms ease), transform var(--transition-base, 250ms ease), box-shadow var(--transition-base, 250ms ease);
}

.ldm-hm-service:hover {
    border-color: #BFD8C5;
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -22px rgba(20, 43, 32, .3);
}

.ldm-hm-js .ldm-hm-service.is-visible:hover { transition-delay: 0ms; }

.ldm-hm-service--feature {
    grid-column: span 2;
    padding: clamp(30px, 3.4vw, 44px);
    border-color: #D2E7D7;
    background: var(--color-primary-light, #E9F5ED);
}

.ldm-hm-service__icon {
    display: block;
    width: 50px;
    height: 50px;
    margin-bottom: 24px;
    padding: 13px;
    border-radius: 13px;
    background: var(--color-primary-light, #E9F5ED);
    color: var(--color-primary, #11823B);
}

.ldm-hm-service--feature .ldm-hm-service__icon {
    width: 58px;
    height: 58px;
    padding: 15px;
    background: var(--color-primary, #11823B);
    color: #fff;
}

.ldm-hm-service h3 {
    margin: 0 0 10px;
    color: var(--color-heading, #19251E);
    font-size: 21px;
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.25;
    letter-spacing: -.03em;
}

.ldm-hm-service--feature h3 { font-size: clamp(25px, 2.4vw, 32px); letter-spacing: -.04em; }

.ldm-hm-service p {
    margin: 0 0 22px;
    color: var(--color-text-muted, #525F57);
    font-size: 15px;
    line-height: 1.7;
}

.ldm-hm-service--feature p { max-width: 470px; color: var(--color-text, #354139); font-size: 16px; }

.ldm-hm-service__points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.ldm-hm-service__points li {
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--hm-green-text);
    font-size: 13px;
    font-weight: var(--font-weight-medium, 500);
}

.ldm-hm-service__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--hm-green-text);
    font-size: 14px;
    font-weight: var(--font-weight-semibold, 600);
}

.ldm-hm-service__link span { transition: transform var(--transition-base, 250ms ease); }
.ldm-hm-service:hover .ldm-hm-service__link span { transform: translate(2px, -2px); }


/* =========================================================
   03 — WHY LAKE DISTRICT MORTGAGES
========================================================= */

.ldm-hm-why { padding: var(--hm-section) 0; }

.ldm-hm-why__grid {
    display: flex;
    align-items: center;
    gap: clamp(44px, 7vw, 110px);
}

.ldm-hm-why__copy { flex: 1 1 46%; min-width: 0; }
.ldm-hm-why__copy .ldm-hm-title { margin: 18px 0 22px; }
.ldm-hm-why__copy .ldm-hm-lead { max-width: 560px; }
.ldm-hm-why__copy .ldm-hm-lead + .ldm-hm-lead { margin-top: 16px; }
.ldm-hm-why__copy .ldm-hm-text-link { margin-top: 28px; }

.ldm-hm-why__proof {
    display: grid;
    flex: 1 1 54%;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    min-width: 0;
}

.ldm-hm-proof {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 28px 26px;
    border: 1px solid var(--color-border, #E4EAE5);
    border-radius: var(--hm-radius);
    background: #fff;
}

.ldm-hm-proof__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    padding: 11px;
    border-radius: 12px;
    background: var(--color-primary-light, #E9F5ED);
    color: var(--color-primary, #11823B);
}

.ldm-hm-proof strong {
    color: var(--color-heading, #19251E);
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.1;
    letter-spacing: -.045em;
}

.ldm-hm-proof > span:last-child {
    color: var(--color-text-muted, #525F57);
    font-size: 14px;
    line-height: 1.6;
}

.ldm-hm-proof--dark { border-color: var(--hm-forest); background: var(--hm-forest); }
.ldm-hm-proof--dark .ldm-hm-proof__icon { background: rgba(169, 230, 186, .14); color: var(--hm-green-soft); }
.ldm-hm-proof--dark strong { color: var(--hm-green-soft); }
.ldm-hm-proof--dark > span:last-child { color: var(--hm-dark-copy); }


/* =========================================================
   04 — PROCESS (DARK)
========================================================= */

.ldm-hm-process {
    scroll-margin-top: 140px;
    padding: var(--hm-section) 0;
    background: var(--hm-forest);
    color: #fff;
}

.ldm-hm-process .ldm-hm-eyebrow { color: var(--hm-green-soft); }
.ldm-hm-process .ldm-hm-dot { background: #80DA99; }
.ldm-hm-process .ldm-hm-title { color: #fff; }
.ldm-hm-process .ldm-hm-stop { color: var(--hm-green-soft); }
.ldm-hm-process .ldm-hm-lead { color: var(--hm-dark-copy); }

.ldm-hm-process__steps {
    position: relative;
    --hm-gap: clamp(22px, 3vw, 44px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--hm-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Connecting lines between step numbers (drawn on scroll) */
.ldm-hm-process__steps > li:not(:last-child)::before,
.ldm-hm-process__steps > li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 25px;
    left: 52px;
    width: calc(100% - 52px + var(--hm-gap));
    height: 1px;
}

.ldm-hm-process__steps > li:not(:last-child)::before { background: var(--hm-forest-line); }

.ldm-hm-process__steps > li:not(:last-child)::after {
    background: var(--hm-green-soft);
    transform: scaleX(var(--hm-line, 1));
    transform-origin: left;
    transition: transform 700ms var(--hm-ease);
    transition-delay: calc(var(--hm-delay, 0ms) * 3 + 300ms);
}

.ldm-hm-js .ldm-hm-process__steps > li::after { --hm-line: 0; }
.ldm-hm-js .ldm-hm-process__steps.is-drawn > li::after { --hm-line: 1; }

.ldm-hm-process__steps > li { position: relative; min-width: 0; }

.ldm-hm-process__num {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    border: 1px solid rgba(169, 230, 186, .35);
    border-radius: 50%;
    background: var(--hm-forest);
    box-shadow: inset 0 0 0 100px rgba(169, 230, 186, .08);
    color: var(--hm-green-soft);
    font-size: 15px;
    font-weight: var(--font-weight-semibold, 600);
}

.ldm-hm-process__time {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(169, 230, 186, .12);
    color: var(--hm-green-soft);
    font-size: 12px;
    font-weight: var(--font-weight-semibold, 600);
    letter-spacing: .02em;
}

.ldm-hm-process__steps > li:first-child .ldm-hm-process__time {
    background: var(--hm-green-soft);
    color: var(--hm-forest);
}

.ldm-hm-process__steps h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(19px, 1.6vw, 22px);
    font-weight: var(--font-weight-medium, 500);
    line-height: 1.3;
    letter-spacing: -.03em;
}

.ldm-hm-process__steps p {
    max-width: 280px;
    margin: 0;
    color: var(--hm-dark-copy);
    font-size: 15px;
    line-height: 1.75;
}

.ldm-hm-process__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: clamp(52px, 6vw, 76px);
    padding-top: 30px;
    border-top: 1px solid var(--hm-forest-line);
}

.ldm-hm-process__footer p {
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: var(--font-weight-medium, 500);
}

.ldm-hm-process a:focus-visible { outline-color: var(--hm-green-soft); }


/* ---------- Process illustration ----------
   Lakeland line drawing sitting on the bottom edge of the
   dark section. home.js adds .is-ready (lines hidden) and
   .is-drawn when it scrolls into view. Without JS, or with
   reduced motion, it simply shows the finished drawing. */

.ldm-hm-process--art { padding-bottom: 0; }

.ldm-hm-art {
    width: 100%;
    margin-top: clamp(56px, 7vw, 96px);
    overflow: hidden;
    color: var(--hm-green-soft);
}

.ldm-hm-page .ldm-hm-art svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    opacity: .65;
}

.ldm-hm-art.is-ready .ldm-hm-art__soft,
.ldm-hm-art.is-ready .ldm-hm-art__main {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.ldm-hm-art.is-ready .ldm-hm-art__detail { opacity: 0; }

.ldm-hm-art.is-drawn .ldm-hm-art__soft {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1.6s cubic-bezier(.45, .05, .35, 1);
}

.ldm-hm-art.is-drawn .ldm-hm-art__main {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1.9s cubic-bezier(.45, .05, .35, 1) .35s;
}

.ldm-hm-art.is-drawn .ldm-hm-art__detail {
    opacity: 1;
    transition: opacity .8s ease 1.8s;
}


/* =========================================================
   05 — PLAN YOUR NUMBERS
========================================================= */

.ldm-hm-tools { padding: var(--hm-section) 0; background: #fff; }

.ldm-hm-tools__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 20px;
}

.ldm-hm-tools__main {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: clamp(32px, 4vw, 52px);
    overflow: hidden;
    border-radius: var(--hm-radius-lg);
    background:
        radial-gradient(70% 80% at 100% 0%, rgba(169, 230, 186, .18), transparent 70%),
        var(--hm-forest);
    color: #fff;
    text-decoration: none;
}

.ldm-hm-tools__main-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 28px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(169, 230, 186, .14);
    color: var(--hm-green-soft);
}

.ldm-hm-tools__main-eyebrow {
    margin-bottom: 10px;
    color: var(--hm-green-soft);
    font-size: 12px;
    font-weight: var(--font-weight-semibold, 600);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ldm-hm-tools__main h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.1;
    letter-spacing: -.045em;
}

.ldm-hm-tools__main p {
    max-width: 400px;
    margin: 0 0 32px;
    color: var(--hm-dark-copy);
    font-size: 16px;
    line-height: 1.7;
}

.ldm-hm-tools__main .ldm-hm-button { margin-top: auto; }
.ldm-hm-tools__main:hover .ldm-hm-button { background: var(--color-primary-light, #E9F5ED); border-color: var(--color-primary-light, #E9F5ED); }
.ldm-hm-tools__main:focus-visible { outline: 2px solid var(--color-primary, #11823B); outline-offset: 4px; }

.ldm-hm-tools__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ldm-hm-tools__list a {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    height: 100%;
    padding: 20px;
    border-radius: var(--hm-radius);
    background: var(--color-surface, #F5F8F6);
    color: var(--color-text-muted, #525F57);
    font-size: 14px;
    line-height: 1.55;
    text-decoration: none;
    transition: background var(--transition-base, 250ms ease), transform var(--transition-base, 250ms ease);
}

.ldm-hm-tools__list a:hover { background: var(--color-primary-light, #E9F5ED); transform: translateY(-2px); }

.ldm-hm-tools__list strong {
    display: block;
    margin-bottom: 3px;
    color: var(--color-heading, #19251E);
    font-size: 16px;
    font-weight: var(--font-weight-semibold, 600);
    letter-spacing: -.02em;
}

.ldm-hm-tools__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    padding: 11px;
    border-radius: 11px;
    background: #fff;
    color: var(--color-primary, #11823B);
}


/* =========================================================
   06 — MEET THE TEAM
   Card design matches /meet-the-team
========================================================= */

.ldm-hm-team { padding: var(--hm-section) 0; }

.ldm-hm-team__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ldm-hm-team-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 17px;
    background: var(--hm-forest);
    cursor: pointer;
    transition: transform var(--transition-base, 250ms ease), box-shadow var(--transition-base, 250ms ease);
}

.ldm-hm-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(20, 43, 32, .14);
}

.ldm-hm-js .ldm-hm-team-card.is-visible:hover { transition-delay: 0ms; }

.ldm-hm-team-card__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #EDF1ED;
}

.ldm-hm-team-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    transition: transform 500ms ease;
}

.ldm-hm-team-card:hover .ldm-hm-team-card__image img { transform: scale(1.045); }

.ldm-hm-team-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 150px;
    padding: 26px 26px 28px;
    background: var(--hm-forest);
    color: #fff;
}

.ldm-hm-team-card__role {
    margin: 0 0 12px;
    color: #B8D3C0;
    font-size: 12px;
    font-weight: var(--font-weight-medium, 500);
    letter-spacing: .07em;
    line-height: 1.5;
    text-transform: uppercase;
}

.ldm-hm-team-card__name {
    max-width: calc(100% - 55px);
    margin: auto 0 0;
    color: #fff;
    font-size: clamp(24px, 2.2vw, 31px);
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.ldm-hm-team-card__open {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 43px;
    height: 43px;
    margin-top: -43px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: background var(--transition-base, 250ms ease), color var(--transition-base, 250ms ease);
}

.ldm-hm-team-card__open svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 1.6 !important;
    transition: transform var(--transition-base, 250ms ease);
}

/* Whole card is clickable */
.ldm-hm-team-card__open::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}

.ldm-hm-team-card:hover .ldm-hm-team-card__open { background: #fff; color: var(--hm-forest); }
.ldm-hm-team-card:hover .ldm-hm-team-card__open svg { transform: rotate(90deg); }

.ldm-hm-team-card:focus-within { outline: 3px solid var(--color-primary, #11823B); outline-offset: 4px; }
.ldm-hm-team-card__open:focus-visible { outline: none !important; }

.ldm-hm-team__footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}


/* ---------- Team modal (matches /meet-the-team) ---------- */

.ldm-hm-modal {
    box-sizing: border-box;
    width: min(680px, calc(100% - 32px));
    max-width: 680px;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: clamp(28px, 5vw, 52px);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--color-border, #E4EAE5);
    border-radius: 20px;
    background: #fff;
    color: var(--color-text, #354139);
    box-shadow: 0 25px 90px rgba(0, 0, 0, .12);
    font-family: var(--font-primary, "Switzer", Arial, sans-serif);
}

.ldm-hm-modal::backdrop {
    background: rgba(9, 24, 16, .65);
    backdrop-filter: blur(3px);
}

html.ldm-hm-modal-active { overflow: hidden; }

.ldm-hm-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--color-border, #E4EAE5);
    border-radius: 50%;
    background: #fff;
    color: var(--color-heading, #19251E);
    cursor: pointer;
    transition: background var(--transition-fast, 150ms ease), border-color var(--transition-fast, 150ms ease);
}

.ldm-hm-modal__close:hover { background: var(--color-primary-light, #E9F5ED); border-color: #CCE2D1; }
.ldm-hm-modal__close svg { width: 20px; height: 20px; }

.ldm-hm-modal__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ldm-hm-modal__image {
    width: 124px;
    height: 124px;
    margin: 12px 0 28px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--color-surface, #F5F8F6);
}

.ldm-hm-modal__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.ldm-hm-modal__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0 0 17px;
    color: var(--color-primary-dark, #0C602D);
    font-size: 11px;
    font-weight: var(--font-weight-semibold, 600);
    letter-spacing: .12em;
}

.ldm-hm-modal__eyebrow span {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-primary, #11823B);
}

.ldm-hm-modal h2 {
    margin: 0 0 8px;
    color: var(--color-heading, #19251E);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.15;
    letter-spacing: -.045em;
}

.ldm-hm-modal__role {
    margin: 0;
    color: var(--color-primary-dark, #0C602D);
    font-size: 15px;
    font-weight: var(--font-weight-medium, 500);
    line-height: 1.5;
}

.ldm-hm-modal__divider {
    width: 100%;
    height: 1px;
    margin: 30px 0;
    background: var(--color-border, #E4EAE5);
}

.ldm-hm-modal__bio {
    width: 100%;
    max-width: 540px;
    color: #525F57;
    font-size: 16px;
    line-height: 1.8;
}

.ldm-hm-modal__bio p { margin: 0; }
.ldm-hm-modal__bio p + p { margin-top: 20px; }

.ldm-hm-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    margin-top: 34px;
    padding: 13px 22px;
    border-radius: 9px;
    background: var(--color-primary, #11823B);
    color: #fff;
    font-size: 15px;
    font-weight: var(--font-weight-semibold, 600);
    text-decoration: none;
    transition: background var(--transition-fast, 150ms ease);
}

.ldm-hm-modal__cta:hover { background: var(--color-primary-hover, #0D6C31); color: #fff; }

.ldm-hm-modal a:focus-visible,
.ldm-hm-modal button:focus-visible { outline: 2px solid var(--color-primary, #11823B); outline-offset: 4px; }

.ldm-hm-modal[open] { animation: ldm-hm-modal-in 280ms ease both; }
.ldm-hm-modal[open]::backdrop { animation: ldm-hm-backdrop-in 280ms ease both; }
.ldm-hm-modal.is-closing { animation: ldm-hm-modal-out 220ms ease both; }
.ldm-hm-modal.is-closing::backdrop { animation: ldm-hm-backdrop-out 220ms ease both; }

@keyframes ldm-hm-modal-in {
    from { opacity: 0; transform: translateY(20px) scale(.98); }
    to   { opacity: 1; transform: none; }
}

@keyframes ldm-hm-backdrop-in { from { opacity: 0; } to { opacity: 1; } }

@keyframes ldm-hm-modal-out {
    from { opacity: 1; transform: none; }
    to   { opacity: 0; transform: translateY(12px) scale(.98); }
}

@keyframes ldm-hm-backdrop-out { from { opacity: 1; } to { opacity: 0; } }


/* =========================================================
   07 — VISIT US
========================================================= */

.ldm-hm-office { padding: var(--hm-section) 0; background: #fff; }

.ldm-hm-office__card {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    overflow: hidden;
    border: 1px solid var(--color-border, #E4EAE5);
    border-radius: var(--hm-radius-lg);
    background: #fff;
}

.ldm-hm-office__info {
    min-width: 0;
    padding: clamp(32px, 4.5vw, 60px);
}

.ldm-hm-office__info .ldm-hm-title { margin: 24px 0 20px; font-size: clamp(34px, 3.6vw, 50px); }

.ldm-hm-office__address {
    margin: 0;
    color: var(--color-text-muted, #525F57);
    font-size: 16px;
    font-style: normal;
    line-height: 1.8;
}

.ldm-hm-office__contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0 0;
    padding: 28px 0 0;
    border-top: 1px solid var(--color-border, #E4EAE5);
    list-style: none;
}

.ldm-hm-office__contact li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--color-text, #354139);
    font-size: 15px;
    line-height: 1.7;
}

.ldm-hm-office__contact strong {
    display: block;
    color: var(--color-heading, #19251E);
    font-weight: var(--font-weight-semibold, 600);
}

.ldm-hm-office__contact a {
    display: block;
    width: fit-content;
    color: var(--color-text, #354139);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.ldm-hm-office__contact a:hover { color: var(--hm-green-text); text-decoration: underline; text-underline-offset: 3px; }

.ldm-hm-office__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    padding: 11px;
    border-radius: 11px;
    background: var(--color-primary-light, #E9F5ED);
    color: var(--color-primary, #11823B);
}

.ldm-hm-office__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.ldm-hm-office__map {
    position: relative;
    min-height: 420px;
    background: var(--color-surface, #F5F8F6);
}

.ldm-hm-office__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Areas served */
.ldm-hm-areas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 28px;
}

.ldm-hm-areas__title {
    margin: 0;
    color: var(--color-heading, #19251E);
    font-size: 15px;
    font-weight: var(--font-weight-semibold, 600);
}

.ldm-hm-areas__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ldm-hm-areas__list li {
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--color-surface, #F5F8F6);
    color: var(--color-text, #354139);
    font-size: 13px;
    font-weight: var(--font-weight-medium, 500);
}

.ldm-hm-areas__list .ldm-hm-areas__more {
    background: transparent;
    color: var(--hm-green-text);
    font-weight: var(--font-weight-semibold, 600);
}


/* =========================================================
   08 — FAQ
========================================================= */

.ldm-hm-faq { padding: var(--hm-section) 0; }

.ldm-hm-faq__items {
    width: min(100%, 900px);
    margin-inline: auto;
    border-top: 1px solid var(--color-border, #E4EAE5);
}

.ldm-hm-faq__item { border-bottom: 1px solid var(--color-border, #E4EAE5); }

.ldm-hm-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 2px;
    color: var(--color-heading, #19251E);
    font-size: 17px;
    font-weight: var(--font-weight-medium, 500);
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
    transition: color var(--transition-fast, 150ms ease);
}

.ldm-hm-faq__item summary::-webkit-details-marker { display: none; }
.ldm-hm-faq__item summary::marker { content: ""; }
.ldm-hm-faq__item summary:hover { color: var(--hm-green-text); }

.ldm-hm-faq__plus {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: var(--color-primary-light, #E9F5ED);
    transition: background var(--transition-base, 250ms ease);
}

.ldm-hm-faq__plus::before,
.ldm-hm-faq__plus::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-primary, #11823B);
    transform: translate(-50%, -50%);
    transition: transform var(--transition-base, 250ms ease), background var(--transition-base, 250ms ease);
}

.ldm-hm-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }

.ldm-hm-faq__item[open] .ldm-hm-faq__plus { background: var(--color-primary, #11823B); }
.ldm-hm-faq__item[open] .ldm-hm-faq__plus::before,
.ldm-hm-faq__item[open] .ldm-hm-faq__plus::after { background: #fff; }
.ldm-hm-faq__item[open] .ldm-hm-faq__plus::after { transform: translate(-50%, -50%) rotate(0); }

.ldm-hm-faq__answer { overflow: hidden; }

.ldm-hm-faq__answer p {
    max-width: 780px;
    margin: 0;
    padding: 0 2px 26px;
    color: var(--color-text-muted, #525F57);
    font-size: 15px;
    line-height: 1.8;
}

.ldm-hm-faq__answer a {
    color: var(--color-primary-dark, #0C602D);
    font-weight: var(--font-weight-medium, 500);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   RISK WARNING
========================================================= */

.ldm-hm-risk {
    padding: 26px 0;
    border-top: 1px solid var(--color-border, #E4EAE5);
    background: #fff;
}

.ldm-hm-risk p {
    max-width: 1110px;
    margin: 0;
    color: var(--color-text-muted, #525F57);
    font-size: 12px;
    line-height: 1.8;
}

.ldm-hm-risk strong { color: var(--color-heading, #19251E); }


/* =========================================================
   MOTION
========================================================= */

@keyframes ldm-hm-fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

/* Only hidden once JS has confirmed it is running */
.ldm-hm-js [data-hm-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 700ms var(--hm-ease), transform 700ms var(--hm-ease);
    transition-delay: var(--hm-delay, 0ms);
}

.ldm-hm-js [data-hm-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Hover transitions must not inherit the reveal delay */
.ldm-hm-js .ldm-hm-why__item.is-visible:hover { transition-delay: 0ms; }


/* =========================================================
   RESPONSIVE — SMALL DESKTOP
========================================================= */

@media (max-width: 1200px) {
    .ldm-hm-shortcuts__card { flex-direction: column; align-items: stretch; }
    .ldm-hm-shortcuts__title { max-width: none; }

    .ldm-hm-tools__grid { grid-template-columns: 1fr; }
    .ldm-hm-tools__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1024px) {
    .ldm-hm-hero { min-height: clamp(620px, 92svh, 820px); }
    .ldm-hm-hero__overlay {
        background:
            linear-gradient(90deg, rgba(14, 33, 23, .9) 0%, rgba(14, 33, 23, .8) 60%, rgba(14, 33, 23, .5) 100%),
            linear-gradient(0deg, rgba(14, 33, 23, .55) 0%, rgba(14, 33, 23, 0) 40%);
    }

    .ldm-hm-shortcuts__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ldm-hm-shortcuts__list a { flex-direction: row; align-items: center; }

    .ldm-hm-head--split {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .ldm-hm-head--split > div,
    .ldm-hm-head--split > .ldm-hm-lead { flex-basis: auto; max-width: 680px; padding-bottom: 0; }

    .ldm-hm-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ldm-hm-service--feature { grid-column: span 1; }

    .ldm-hm-why__grid { flex-direction: column; align-items: stretch; gap: 40px; }
    .ldm-hm-why__copy .ldm-hm-lead { max-width: 680px; }

    .ldm-hm-process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
    .ldm-hm-process__steps > li::before,
    .ldm-hm-process__steps > li::after { display: none; }
    .ldm-hm-process__steps > li { padding-top: 24px; border-top: 1px solid var(--hm-forest-line); }

    .ldm-hm-tools__list { grid-template-columns: 1fr 1fr; }

    .ldm-hm-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .ldm-hm-office__card { grid-template-columns: 1fr; }
    .ldm-hm-office__map { min-height: 360px; }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 700px) {
    .ldm-hm-page { --hm-section: 72px; }

    .ldm-hm-container { width: min(100% - 36px, 1280px); }

    .ldm-hm-title { font-size: clamp(34px, 9vw, 46px); }
    .ldm-hm-lead { font-size: 16px; }

    .ldm-hm-hero {
        align-items: flex-end;
        min-height: clamp(600px, 92svh, 760px);
        padding: 90px 0 120px;
    }

    .ldm-hm-hero__video { object-position: 62% center; }

    /* Copy spans the full width on phones, so darken evenly */
    .ldm-hm-hero__overlay {
        background:
            linear-gradient(0deg, rgba(14, 33, 23, .9) 0%, rgba(14, 33, 23, .78) 55%, rgba(14, 33, 23, .55) 100%);
    }

    .ldm-hm-kicker { margin-bottom: 22px; font-size: 12px; }
    .ldm-hm-hero h2 { font-size: clamp(40px, 11vw, 54px); }
    .ldm-hm-hero__lead { margin-top: 20px; font-size: 16px; }
    .ldm-hm-hero__actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; }
    .ldm-hm-hero__actions .ldm-hm-button { width: 100%; }
    .ldm-hm-hero__trust { flex-direction: column; gap: 10px; margin-top: 28px; }
    .ldm-hm-hero__trust li { font-size: 13px; }
    .ldm-hm-hero__toggle { top: 18px; right: 18px; bottom: auto; width: 40px; height: 40px; }

    .ldm-hm-shortcuts { margin-top: -64px; }
    .ldm-hm-shortcuts__card { gap: 16px; padding: 20px 16px; border-radius: var(--hm-radius); }
    .ldm-hm-shortcuts__title { font-size: 17px; }
    .ldm-hm-shortcuts__list { grid-template-columns: 1fr 1fr; gap: 8px; }
    .ldm-hm-shortcuts__list a { gap: 10px; padding: 13px 12px; font-size: 13px; }
    .ldm-hm-shortcuts__list svg { width: 20px !important; height: 20px !important; flex: 0 0 20px; }

    .ldm-hm-services__grid { grid-template-columns: 1fr; gap: 14px; }
    .ldm-hm-service { padding: 24px 22px; }
    .ldm-hm-service--feature { padding: 28px 22px; }
    .ldm-hm-service__icon { margin-bottom: 18px; }

    .ldm-hm-why__proof { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ldm-hm-proof { padding: 20px 18px; }
    .ldm-hm-proof__icon { width: 38px; height: 38px; margin-bottom: 12px; padding: 9px; }
    .ldm-hm-proof strong { font-size: 21px; }
    .ldm-hm-proof > span:last-child { font-size: 13px; }

    .ldm-hm-process__steps { grid-template-columns: 1fr; row-gap: 32px; }
    .ldm-hm-process__num { width: 46px; height: 46px; margin-bottom: 18px; }
    .ldm-hm-process__footer { flex-direction: column; align-items: stretch; gap: 20px; }
    .ldm-hm-process__footer .ldm-hm-button { width: 100%; }
    .ldm-hm-art { margin-top: 48px; }
    .ldm-hm-page .ldm-hm-art svg { width: 780px; max-width: none; }

    .ldm-hm-tools__main { padding: 30px 22px; border-radius: var(--hm-radius); }
    .ldm-hm-tools__main .ldm-hm-button { width: 100%; }
    .ldm-hm-tools__list { grid-template-columns: 1fr; gap: 10px; }
    .ldm-hm-tools__list a { padding: 16px; }

    .ldm-hm-team__grid { grid-template-columns: 1fr; gap: 18px; }
    .ldm-hm-team-card__image { aspect-ratio: 1 / .9; }
    .ldm-hm-team-card__content { min-height: 130px; padding: 22px; }

    .ldm-hm-modal { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 42px 24px 30px; border-radius: 16px; }
    .ldm-hm-modal__image { width: 106px; height: 106px; }
    .ldm-hm-modal__bio { font-size: 15px; }

    .ldm-hm-office__card { border-radius: var(--hm-radius); }
    .ldm-hm-office__info { padding: 28px 22px; }
    .ldm-hm-office__actions { flex-direction: column; }
    .ldm-hm-office__actions .ldm-hm-button { width: 100%; }
    .ldm-hm-office__map { min-height: 300px; }
    .ldm-hm-areas { flex-direction: column; align-items: flex-start; }

    .ldm-hm-faq__item summary { padding: 20px 2px; font-size: 16px; }
}

@media (max-width: 380px) {
    .ldm-hm-why__proof { grid-template-columns: 1fr; }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .ldm-hm-page *,
    .ldm-hm-page *::before,
    .ldm-hm-page *::after,
    .ldm-hm-modal,
    .ldm-hm-modal::backdrop {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }

    .ldm-hm-js [data-hm-reveal] { opacity: 1; transform: none; }
    .ldm-hm-js .ldm-hm-process__steps > li::after { --hm-line: 1; }
}


/* =========================================================
   GOOGLE REVIEWS
   Cards are built by home.js from the Google Places API.
   The section stays hidden until the reviews have loaded.
   No slider library: the list scrolls natively with snap points.
========================================================= */

.ldm-hm-reviews { padding: var(--hm-section) 0; scroll-margin-top: 120px; }

/* Padding leaves room for the card hover shadow inside the scroll area */
.ldm-hm-reviews__list {
    display: flex;
    gap: 20px;
    margin: -6px -2px -26px;
    padding: 6px 2px 26px;
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.ldm-hm-reviews__list::-webkit-scrollbar { display: none; }

.ldm-hm-reviews__list:focus-visible {
    outline: 2px solid var(--color-primary, #11823B);
    outline-offset: 4px;
}

.ldm-hm-reviews__item {
    display: flex;
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}


/* ---------- Review card ---------- */

.ldm-hm-review {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 250px;
    padding: 28px 26px;
    border: 1px solid var(--color-border, #E4EAE5);
    border-radius: var(--hm-radius, 16px);
    background: #fff;
    transition: border-color var(--transition-base, 250ms ease), transform var(--transition-base, 250ms ease), box-shadow var(--transition-base, 250ms ease);
}

/* Only cards with a "Read more" button are clickable */
.ldm-hm-review--expandable { cursor: pointer; }

.ldm-hm-review--expandable:hover {
    border-color: #BFD8C5;
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -22px rgba(20, 43, 32, .3);
}

.ldm-hm-review--expandable:focus-within { outline: 2px solid var(--color-primary, #11823B); outline-offset: 4px; }


/* ---------- Review head (shared by the card and the modal) ---------- */

.ldm-hm-review__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.ldm-hm-review__avatar {
    display: block;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    object-fit: cover;
}

.ldm-hm-review__avatar--initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light, #E9F5ED);
    color: var(--color-primary-dark, #0C602D);
    font-size: 18px;
    font-weight: var(--font-weight-semibold, 600);
}

.ldm-hm-review__author {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.ldm-hm-review__name {
    overflow: hidden;
    color: var(--color-heading, #19251E);
    font-size: 16px;
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.3;
    letter-spacing: -.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Sits above the card's click overlay */
.ldm-hm-review__name a {
    position: relative;
    z-index: 3;
    color: inherit;
    text-decoration: none;
}

.ldm-hm-review__name a:hover { color: var(--color-primary-dark, #0C602D); text-decoration: underline; text-underline-offset: 3px; }

.ldm-hm-review__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
}

.ldm-hm-review__stars {
    display: inline-flex;
    gap: 2px;
    color: var(--color-primary, #11823B);
}

.ldm-hm-review__stars svg {
    display: block;
    width: 15px !important;
    height: 15px !important;
    fill: currentColor !important;
    stroke: none !important;
}

.ldm-hm-review__stars svg.is-empty { color: #CBD8CF; }

.ldm-hm-review__date {
    color: var(--color-text-muted, #525F57);
    font-size: 13px;
    line-height: 1.4;
}

.ldm-hm-review__source {
    align-self: flex-start;
    margin-left: auto;
    color: var(--color-text-muted, #525F57);
    font-size: 12px;
    font-weight: var(--font-weight-semibold, 600);
    letter-spacing: .04em;
    line-height: 1.6;
}

.ldm-hm-review__text {
    margin: 0;
    color: var(--color-text, #354139);
    font-size: 15px;
    line-height: 1.7;
}

.ldm-hm-page .ldm-hm-review__more {
    align-self: flex-start;
    margin-top: auto;
    padding: 18px 0 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--hm-green-text, #0C602D);
    font-family: inherit;
    font-size: 14px;
    font-weight: var(--font-weight-semibold, 600);
    line-height: 1.4;
    cursor: pointer;
}

.ldm-hm-page .ldm-hm-review__more:hover,
.ldm-hm-page .ldm-hm-review__more:focus {
    background: none;
    color: var(--color-primary, #11823B);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Whole card opens the full review */
.ldm-hm-review__more::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}

.ldm-hm-page .ldm-hm-review__more:focus-visible { outline: none; }


/* ---------- Footer: Google link + arrows ---------- */

.ldm-hm-reviews__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 24px;
    margin-top: 32px;
}

.ldm-hm-reviews__nav { display: flex; gap: 10px; }

/* Every review already fits on screen */
.ldm-hm-reviews.is-static .ldm-hm-reviews__nav { display: none; }

.ldm-hm-page .ldm-hm-reviews__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--color-border, #E4EAE5);
    border-radius: 50%;
    background: #fff;
    color: var(--color-heading, #19251E);
    cursor: pointer;
    transition: background var(--transition-base, 250ms ease), border-color var(--transition-base, 250ms ease), color var(--transition-base, 250ms ease);
}

.ldm-hm-reviews__arrow svg { width: 20px !important; height: 20px !important; }

.ldm-hm-page .ldm-hm-reviews__arrow:hover,
.ldm-hm-page .ldm-hm-reviews__arrow:focus {
    border-color: var(--hm-forest, #142B20);
    background: var(--hm-forest, #142B20);
    color: #fff;
}

.ldm-hm-page .ldm-hm-reviews__arrow[aria-disabled="true"],
.ldm-hm-page .ldm-hm-reviews__arrow[aria-disabled="true"]:hover,
.ldm-hm-page .ldm-hm-reviews__arrow[aria-disabled="true"]:focus {
    border-color: var(--color-border, #E4EAE5);
    background: #fff;
    color: var(--color-heading, #19251E);
    opacity: .4;
    cursor: default;
}


/* ---------- Review modal (matches the team modal) ---------- */

.ldm-hm-review-modal {
    box-sizing: border-box;
    width: min(620px, calc(100% - 32px));
    max-width: 620px;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: clamp(28px, 5vw, 44px);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--color-border, #E4EAE5);
    border-radius: 20px;
    background: #fff;
    color: var(--color-text, #354139);
    box-shadow: 0 25px 90px rgba(0, 0, 0, .12);
    font-family: var(--font-primary, "Switzer", Arial, sans-serif);
}

.ldm-hm-review-modal *,
.ldm-hm-review-modal *::before,
.ldm-hm-review-modal *::after { box-sizing: border-box; }

.ldm-hm-review-modal::backdrop {
    background: rgba(9, 24, 16, .65);
    backdrop-filter: blur(3px);
}

html:has(.ldm-hm-review-modal[open]) { overflow: hidden; }

.ldm-hm-review-modal .ldm-hm-review-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--color-border, #E4EAE5);
    border-radius: 50%;
    background: #fff;
    color: var(--color-heading, #19251E);
    cursor: pointer;
    transition: background var(--transition-fast, 150ms ease), border-color var(--transition-fast, 150ms ease);
}

.ldm-hm-review-modal .ldm-hm-review-modal__close:hover,
.ldm-hm-review-modal .ldm-hm-review-modal__close:focus {
    border-color: #CCE2D1;
    background: var(--color-primary-light, #E9F5ED);
    color: var(--color-heading, #19251E);
}

.ldm-hm-review-modal__close svg { width: 20px; height: 20px; }

/* Room for the close button; the Google label is not needed here */
.ldm-hm-review-modal .ldm-hm-review__head { margin-bottom: 24px; padding-right: 48px; }
.ldm-hm-review-modal .ldm-hm-review__source { display: none; }
.ldm-hm-review-modal .ldm-hm-review__name { font-size: 20px; letter-spacing: -.03em; }

.ldm-hm-review-modal__text {
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid var(--color-border, #E4EAE5);
    color: #525F57;
    font-size: 16px;
    line-height: 1.8;
    white-space: pre-line;
}

.ldm-hm-review-modal a:focus-visible,
.ldm-hm-review-modal button:focus-visible { outline: 2px solid var(--color-primary, #11823B); outline-offset: 4px; }

.ldm-hm-review-modal[open] { animation: ldm-hm-review-modal-in 280ms ease both; }
.ldm-hm-review-modal[open]::backdrop { animation: ldm-hm-review-backdrop-in 280ms ease both; }

@keyframes ldm-hm-review-modal-in {
    from { opacity: 0; transform: translateY(20px) scale(.98); }
    to   { opacity: 1; transform: none; }
}

@keyframes ldm-hm-review-backdrop-in { from { opacity: 0; } to { opacity: 1; } }


/* ---------- Reviews: responsive ---------- */

@media (max-width: 1024px) {
    .ldm-hm-reviews__item { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 700px) {
    /* One card with the next peeking in, to show it swipes */
    .ldm-hm-reviews__list { gap: 14px; }
    .ldm-hm-reviews__item { flex-basis: 86%; }
    .ldm-hm-review { min-height: 0; padding: 24px 22px; }

    .ldm-hm-review-modal { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 42px 24px 30px; border-radius: 16px; }
    .ldm-hm-review-modal__text { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .ldm-hm-review-modal,
    .ldm-hm-review-modal::backdrop { animation: none !important; }
}