/* ═══════════════════════════════════════════════════════════════════════
   HOMEPAGE
   Colours, fonts and corner shapes come from the business profile
   (--biz-* and --ls-gold, printed by inc/business.php), so the same file
   gives each business its own look.
   ═══════════════════════════════════════════════════════════════════════ */

.lhome {
    --h-brand:   var(--ls-gold, #c9a84c);
    --h-on:      var(--ls-on-gold, #1a1a1a);
    --h-deep:    var(--biz-deep, #1d1a18);
    --h-ink:     var(--biz-ink, #1a1a1a);
    --h-soft:    var(--biz-soft, #f6f3ef);
    --h-paper:   var(--biz-canvas, #fff);
    --h-muted:   #5f5a55;
    --h-line:    rgba(0,0,0,.09);
    --h-display: var(--biz-display, var(--ls-font-heading, Georgia, serif));
    --h-dw:      var(--biz-display-weight, 700);
    --h-body:    var(--biz-body, var(--ls-font-body, system-ui, sans-serif));
    --h-r:       var(--biz-r, 14px);
    --h-r-lg:    var(--biz-r-lg, 22px);
    font-family: var(--h-body);
    color: var(--h-ink);
    background: var(--h-paper);
    overflow-x: clip;
}
.lhome *, .lhome *::before, .lhome *::after { box-sizing: border-box; }
.lhome a:focus-visible, .lhome button:focus-visible { outline: 2.5px solid var(--h-ink); outline-offset: 3px; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.lh-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 52px; padding: 0 28px; border-radius: var(--biz-r-pill, 999px);
    font: 600 .98rem/1 var(--h-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.lh-btn:active { transform: scale(.98); }
.lh-btn--brand { background: var(--h-brand); color: var(--h-on); }
.lh-btn--brand:hover { background: var(--h-ink); color: #fff; }
.lh-btn--ink { background: var(--h-ink); color: #fff; }
.lh-btn--ink:hover { background: var(--h-brand); color: var(--h-on); }
.lh-btn--line { border-color: currentColor; color: var(--h-ink); background: transparent; }
.lh-btn--line:hover { background: var(--h-ink); color: #fff; border-color: var(--h-ink); }
.lh-btn--light { background: #fff; color: var(--h-ink); }
.lh-btn--light:hover { background: var(--h-brand); color: var(--h-on); }

/* ── Type ───────────────────────────────────────────────────────── */
.lh-h2 {
    font-family: var(--h-display); font-weight: var(--h-dw);
    font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -.02em;
    color: var(--h-ink); margin: 0; text-wrap: balance;
}
.lh-lead { margin: 10px 0 0; font-size: 1.05rem; line-height: 1.6; color: var(--h-muted); max-width: 36em; }
.lh-head { margin-bottom: clamp(22px, 3vw, 36px); }
.lh-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.lh-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--h-ink); text-decoration: none; white-space: nowrap; }
.lh-more .lsi { width: 18px; height: 18px; transition: transform .2s ease; }
.lh-more:hover .lsi { transform: translateX(3px); }
.lh-center { text-align: center; margin: clamp(28px, 4vw, 40px) 0 0; }

.lh-sec { padding: clamp(56px, 8vw, 104px) 0; }
.lh-sec--soft { background: var(--h-soft); }

/* ═══════════════ HEADLINE ═══════════════ */
.lh-hero { position: relative; padding-top: var(--ls-nav-height, 64px); }
.lh-hero__media { position: relative; overflow: hidden; background: var(--h-soft); }
.lh-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lh-hero__title {
    font-family: var(--h-display); font-weight: var(--h-dw);
    font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em;
    margin: 0 0 18px; text-wrap: balance;
}
.lh-hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.15rem); line-height: 1.6; margin: 0 0 28px; max-width: 32em; }
.lh-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lh-hero__stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid var(--h-line); }
.lh-hero__stats div { display: flex; flex-direction: column-reverse; }
.lh-hero__stats dd { margin: 0; font-family: var(--h-display); font-weight: var(--h-dw); font-size: 2rem; line-height: 1; color: var(--h-ink); }
.lh-hero__stats dt { font-size: .85rem; color: var(--h-muted); margin-top: 6px; }

/* Layout A — photo with a solid card (Caphix). The words sit on the card,
   never on the photo, so the busy salon picture can't swallow them. */
.lh-hero--card .lh-hero__media { height: clamp(460px, 74vh, 760px); margin: 0 clamp(0px, 2vw, 24px); border-radius: 0 0 var(--h-r-lg) var(--h-r-lg); }
.lh-hero--card .lh-hero__wrap {
    position: relative; max-width: var(--ls-container, 1200px); margin: clamp(-260px, -22vw, -140px) auto 0;
    padding: 0 var(--ls-space-5, 20px); z-index: 2;
}
.lh-hero--card .lh-hero__panel {
    width: min(100%, 640px); padding: clamp(28px, 4vw, 52px);
    background: var(--h-paper); border-radius: var(--h-r-lg);
    box-shadow: 0 30px 80px -40px rgba(0,0,0,.45);
}
.lh-hero--card .lh-hero__panel::before {
    content: ''; display: block; width: 56px; height: 6px; border-radius: 6px; background: var(--h-brand); margin-bottom: 22px;
}
.lh-hero--card .lh-hero__title { color: var(--h-ink); }
.lh-hero--card .lh-hero__sub { color: var(--h-muted); }

/* Layout B — split: words on deep colour, portrait beside (Beauty By Kechi). */
.lh-hero--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(540px, 82vh, 820px); background: var(--h-deep); }
.lh-hero--split .lh-hero__media { order: 2; min-height: 100%; }
.lh-hero--split .lh-hero__wrap { order: 1; display: flex; align-items: center; padding: clamp(40px, 6vw, 96px) clamp(20px, 5vw, 72px); }
.lh-hero--split .lh-hero__panel { max-width: 560px; color: #fff; }
.lh-hero--split .lh-hero__title { color: #fff; }
.lh-hero--split .lh-hero__title em { font-style: italic; color: var(--h-brand); }
.lh-hero--split .lh-hero__sub { color: rgba(255,255,255,.78); }
.lh-hero--split .lh-btn--line { color: #fff; }
.lh-hero--split .lh-btn--line:hover { background: #fff; color: var(--h-ink); border-color: #fff; }
.lh-hero--split .lh-hero__stats { border-color: rgba(255,255,255,.18); }
.lh-hero--split .lh-hero__stats dd { color: var(--h-brand); }
.lh-hero--split .lh-hero__stats dt { color: rgba(255,255,255,.7); }

/* ═══════════════ OUR BRANDS ═══════════════ */
.lh-ways { display: grid; gap: clamp(12px, 1.6vw, 18px); grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(2, clamp(220px, 24vw, 320px)); }
.lh-ways[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: clamp(280px, 34vw, 440px); }
.lh-ways[data-count="2"] { grid-template-columns: 1fr 1fr; grid-template-rows: clamp(320px, 36vw, 480px); }
.lh-ways[data-count="3"] .lh-way.is-lead { grid-row: span 2; }
.lh-way {
    position: relative; display: block; overflow: hidden; isolation: isolate;
    border-radius: var(--h-r-lg); background: var(--h-soft); color: var(--h-ink); text-decoration: none;
}
.lh-way__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.lh-way:hover .lh-way__img { transform: scale(1.04); }
.lh-way__label {
    position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1;
    display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 20px;
    background: var(--h-paper); border-radius: var(--h-r);
    box-shadow: 0 14px 34px -18px rgba(0,0,0,.5);
}
.lh-way__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lh-way__title { font-family: var(--h-display); font-weight: var(--h-dw); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.15; }
.lh-way__desc { font-size: .9rem; line-height: 1.45; color: var(--h-muted); }
.lh-way__go { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--h-brand); color: var(--h-on); }
.lh-way__go .lsi { width: 20px; height: 20px; }
.lh-way.is-lead .lh-way__label { left: 20px; right: 20px; bottom: 20px; padding: 22px 20px 22px 26px; }
.lh-way.is-lead .lh-way__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

/* ═══════════════ SERVICES ═══════════════ */
.lh-arrows { display: flex; gap: 8px; }
.lh-arrows button {
    width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--h-ink); background: transparent; color: var(--h-ink);
    display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.lh-arrows button:hover { background: var(--h-ink); color: #fff; }
.lh-arrows svg { width: 20px; height: 20px; }
.lh-svc {
    display: flex; gap: clamp(12px, 1.6vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; padding-bottom: 4px; outline: none;
}
.lh-svc::-webkit-scrollbar { display: none; }
.lh-svc__card { flex: 0 0 auto; width: clamp(200px, 22vw, 270px); scroll-snap-align: start; text-decoration: none; color: var(--h-ink); }
.lh-svc__media { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--h-r-lg); background: var(--h-paper); }
.lh-svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.lh-svc__card:hover .lh-svc__media img { transform: scale(1.05); }
.lh-svc__ph { position: absolute; inset: 0; display: grid; place-items: center; font: var(--h-dw) 4rem/1 var(--h-display); color: var(--h-brand); }
.lh-svc__name { display: block; margin-top: 12px; font-family: var(--h-display); font-weight: var(--h-dw); font-size: 1.2rem; line-height: 1.2; }

/* ═══════════════ PRODUCTS ═══════════════ */
.lh-prod { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 3vw, 34px) clamp(12px, 1.8vw, 22px); outline: none; }
.lh-prod__item:nth-child(n+9) { display: none; }

/* ═══════════════ ABOUT ═══════════════ */
.lh-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.lh-about__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--h-r-lg); overflow: hidden; background: var(--h-soft); }
.lh-about__media img, .lh-about__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lh-about__media::after { content: ''; position: absolute; inset: auto -1px -1px auto; width: 34%; height: 18%; background: var(--h-brand); border-top-left-radius: var(--h-r-lg); }
.lh-about__text { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.7; color: var(--h-muted); margin: 18px 0 30px; max-width: 34em; }

/* ═══════════════ GALLERY ═══════════════ */
.lh-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 210px); gap: clamp(8px, 1.2vw, 14px); }
.lh-gal__item { position: relative; overflow: hidden; border-radius: var(--h-r); background: var(--h-paper); display: block; }
.lh-gal__item[hidden] { display: none; }
.lh-gal__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.lh-gal__item:hover img { transform: scale(1.05); }
.lh-gal__item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.lh-gal__item:nth-child(7n+5) { grid-row: span 2; }

/* ═══════════════ CLOSING BAND ═══════════════ */
.lh-band { background: var(--h-deep); color: #fff; padding: clamp(56px, 8vw, 104px) 0; }
.lh-band__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.lh-band__title { font-family: var(--h-display); font-weight: var(--h-dw); font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 14px; color: #fff; text-wrap: balance; }
.lh-band__text { font-size: 1.08rem; line-height: 1.6; color: rgba(255,255,255,.76); margin: 0 0 28px; max-width: 32em; }
.lh-band__facts { margin: 0; display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); border: 1px solid rgba(255,255,255,.14); border-radius: var(--h-r-lg); }
.lh-band__facts dt { font-size: .82rem; color: var(--h-brand); font-weight: 600; margin-bottom: 4px; }
.lh-band__facts dd { margin: 0; font-size: 1rem; line-height: 1.55; color: rgba(255,255,255,.9); }
.lh-band__facts a { color: #fff; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1000px) {
    .lh-prod { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lh-prod__item:nth-child(n+7) { display: none; }
}

@media (max-width: 760px) {
    .lh-head--row { align-items: flex-start; flex-direction: column; gap: 12px; }
    .lh-arrows { display: none; }

    .lh-hero--card .lh-hero__media { height: 46vh; min-height: 300px; margin: 0; border-radius: 0; }
    .lh-hero--card .lh-hero__wrap { margin-top: -56px; }
    .lh-hero--card .lh-hero__panel { padding: 26px 22px 28px; border-radius: var(--h-r-lg); }

    .lh-hero--split { grid-template-columns: 1fr; min-height: 0; }
    .lh-hero--split .lh-hero__media { order: 0; height: 52vh; min-height: 300px; }
    .lh-hero--split .lh-hero__wrap { padding: 32px 22px 44px; }

    .lh-hero__actions .lh-btn { flex: 1 1 auto; }

    .lh-ways, .lh-ways[data-count] { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; }
    .lh-ways[data-count="3"] .lh-way.is-lead { grid-row: auto; }
    .lh-way { height: 250px; }
    .lh-way.is-lead { height: 320px; }
    .lh-way__label, .lh-way.is-lead .lh-way__label { left: 10px; right: 10px; bottom: 10px; padding: 14px 14px 14px 16px; }

    .lh-svc { margin: 0 calc(-1 * var(--ls-space-5, 20px)); padding: 0 var(--ls-space-5, 20px) 4px; scroll-padding: 0 var(--ls-space-5, 20px); }
    .lh-svc__card { width: 58vw; }

    .lh-prod {
        display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin: 0 calc(-1 * var(--ls-space-5, 20px)); padding: 0 var(--ls-space-5, 20px) 6px;
        scroll-padding: 0 var(--ls-space-5, 20px);
    }
    .lh-prod::-webkit-scrollbar { display: none; }
    .lh-prod__item, .lh-prod__item:nth-child(n) { display: block; flex: 0 0 auto; width: min(46vw, 220px); scroll-snap-align: start; }

    .lh-about__grid { grid-template-columns: 1fr; }
    .lh-about__media { aspect-ratio: 4 / 3; }

    .lh-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
    .lh-gal__item:nth-child(7n+1) { grid-column: span 2; grid-row: span 1; }
    .lh-gal__item:nth-child(7n+5) { grid-row: span 1; }

    .lh-band__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .lhome * { transition: none !important; animation: none !important; }
    .lh-way:hover .lh-way__img, .lh-svc__card:hover img, .lh-gal__item:hover img { transform: none; }
}
