/* ==========================================================================
   Swadeshi Mushroom — Homepage (Exclusive Dome Signature + Interactive Process)
   ========================================================================== */

@property --hz { syntax: '<number>'; inherits: false; initial-value: 1; }

.hp-wrapper {
    --hp-ink: #112A16;
    --hp-ink-2: #1a2a1a;
    --hp-text: #4d5d49;
    --hp-cream: #FAF9F5;
    --hp-sand: #EFEDE4;
    --hp-line: #DCE4D9;
    --hp-gold: #a89467;
    --hp-gold-soft: #d9c79a;
    --hp-forest: #0d2012;
    --hp-radius: 20px;
    --hp-dome: 999px 999px 18px 18px;
    --hp-shadow: 0 18px 50px rgba(17, 42, 22, .08);
    --hp-pad: clamp(20px, 5vw, 72px);
    --hp-section: clamp(64px, 9vw, 120px);

    font-family: 'Instrument Sans', system-ui, sans-serif;
    background: var(--hp-cream);
    color: var(--hp-ink);
    overflow-x: clip;
}
.hp-wrapper *, .hp-wrapper *::before, .hp-wrapper *::after { box-sizing: border-box; }
.hp-wrapper h1, .hp-wrapper h2, .hp-wrapper h3, .hp-wrapper h4, .hp-wrapper h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    margin: 0;
    letter-spacing: -.015em;
}
.hp-wrapper p { margin: 0; }
.hp-wrapper img { display: block; max-width: 100%; }
.hp-wrapper :focus-visible { outline: 3px solid var(--hp-gold); outline-offset: 3px; border-radius: 4px; }

.hp-container { max-width: 1360px; margin: 0 auto; padding-inline: var(--hp-pad); }

.hp-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: var(--hp-gold); margin-bottom: 18px;
}
.hp-eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hp-hero .hp-eyebrow { margin-bottom: 22px; }
.hp-hero .hp-eyebrow::before { width: 44px; height: 1.5px; }

.hp-h2 { font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.08; color: var(--hp-ink); letter-spacing: -.02em; }
.hp-h2 em { font-style: italic; color: var(--hp-gold); }
.hp-lead { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7; color: var(--hp-text); }

/* Buttons ---------------------------------------------------------------- */
.hp-btn {
    position: relative; overflow: hidden; letter-spacing: .02em;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 28px; border-radius: 4px; font-weight: 600; font-size: .98rem;
    text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hp-btn:hover { transform: translateY(-2px); }
.hp-btn span[aria-hidden] { display: inline-block; transition: transform .3s ease; }
.hp-btn:hover span[aria-hidden] { transform: translateX(5px); }
.hp-btn--solid { background: var(--hp-ink); color: #fff; }
.hp-btn--solid:hover { background: #1b4524; color: #fff; }
.hp-btn--ghost { border-color: var(--hp-ink); color: var(--hp-ink); background: transparent; }
.hp-btn--ghost:hover { background: var(--hp-ink); color: #fff; }
.hp-btn--gold { background: var(--hp-gold); color: var(--hp-forest); }
.hp-btn--gold:hover { background: var(--hp-gold-soft); color: var(--hp-forest); }
.hp-btn--light { border-color: rgba(255,255,255,.4); color: #fff; }
.hp-btn--light:hover { background: #fff; color: var(--hp-ink); }
.hp-btn--solid::after, .hp-btn--gold::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transition: left .7s ease;
}
.hp-btn--solid:hover::after, .hp-btn--gold:hover::after { left: 120%; }

/* 1. HERO (dome + self-playing Ken Burns zoom) --------------------------- */
.hp-hero, .hp-lines {
    background-image:
        radial-gradient(60% 50% at 85% 0%, rgba(217,199,154,.22), transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .16 0 0 0 0 .09 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hp-hero {
    display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 90px);
    max-width: none; margin: 0 auto;
    padding: 96px max(var(--hp-pad), calc((100vw - 1360px) / 2 + var(--hp-pad))) clamp(36px, 4.5vw, 60px);
}
.hp-hero-media {
    max-width: 470px;
    width: 100%;
    margin-left: auto;
}
.hp-hero h1 { font-size: clamp(2.6rem, 4.7vw, 4.5rem); line-height: 1.04; margin-bottom: 26px; color: var(--hp-ink-2); letter-spacing: -.025em; }
.hp-hero h1 em { color: var(--hp-gold); }
.hp-hero .hp-lead { max-width: 540px; margin-bottom: 38px; }
.hp-hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.hp-hero-since {
    display: flex; align-items: center; gap: 14px; margin-top: 44px;
    font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--hp-text);
}
.hp-hero-since::before { content: ""; width: 44px; height: 1px; background: var(--hp-gold); }

/* Hero line-mask entrance */
.js .hp-hero-anim { opacity: 1; transform: none; }
.hp-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hp-line > span { display: block; }
.js .hp-hero-anim .hp-line > span { transform: translateY(112%); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.js .hp-hero-anim.is-in .hp-line > span { transform: none; }
.js .hp-hero-anim.is-in .hp-line:nth-child(2) > span { transition-delay: .14s; }
.js .hp-hero-anim .hp-lead, .js .hp-hero-anim .hp-hero-since {
    opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1);
}
.js .hp-hero-anim.is-in .hp-lead { opacity: 1; transform: none; transition-delay: .25s; }
.js .hp-hero-anim.is-in .hp-hero-since { opacity: 1; transform: none; transition-delay: .4s; }
.hp-hero-buttons { opacity: 1 !important; transform: none !important; }
.js .hp-hero-media.hp-reveal { opacity: 1; transform: none; }

.hp-hero-media { position: relative; }
.js .hp-hero-media.hp-reveal { opacity: 0; transform: none !important; transition: opacity 1.2s cubic-bezier(.16, 1, .3, 1); }
.js .hp-hero-media.hp-reveal.is-in { opacity: 1; transform: none !important; }

.hp-dome {
    position: relative; overflow: hidden; border-radius: var(--hp-dome);
    aspect-ratio: 5 / 6.4; width: 100%; background: var(--hp-sand);
    isolation: isolate; box-shadow: 0 30px 70px -20px rgba(17,42,22,.35);
    perspective: 1000px; -webkit-perspective: 1000px;
    transform: translateZ(0);
}
.hp-dome img {
    position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover;
    object-position: center center;
    transform-origin: 50% 50%;
    transform: perspective(1000px) translate3d(0, 0, 0) scale(1) rotate(0.01deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
    image-rendering: auto;
    transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 1. Cinematic Entrance Zoom ("Apne Aap Hota Hai" on load / appearance) */
.js .hp-hero-media:not(.is-in) .hp-dome img,
.js .hp-reveal:not(.is-in) .hp-dome img {
    transform: perspective(1000px) translate3d(0, 0, 0) scale(1.12) rotate(0.01deg);
}
.js .hp-hero-media.is-in .hp-dome img,
.js .hp-reveal.is-in .hp-dome img {
    transform: perspective(1000px) translate3d(0, 0, 0) scale(1) rotate(0.01deg);
    transition: transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Interactive Luxury Hover Zoom (Smooth, slow, premium) */
.hp-dome:hover img,
.hp-line-card:hover .hp-dome img,
.hp-quality-media:hover .hp-dome img {
    transform: perspective(1000px) translate3d(0, 0, 0) scale(1.06) rotate(0.01deg);
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.hp-dome::after {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
    background: radial-gradient(120% 90% at 50% 10%, transparent 55%, rgba(8,24,12,.28) 100%);
    box-shadow: inset 0 0 0 1px rgba(217,199,154,.35);
    transition: box-shadow .4s ease;
}
.hp-dome:hover::after, .hp-line-card:hover .hp-dome::after {
    box-shadow: inset 0 0 0 1.5px rgba(217,199,154,.75), inset 0 0 20px rgba(217,199,154,.15);
}

.hp-hero-media::before {
    content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: 0;
    border: 1px solid var(--hp-gold); border-radius: var(--hp-dome); opacity: .55;
    transition: opacity 1.2s ease .2s;
}
.js .hp-hero-media:not(.is-in)::before { opacity: 0; }
.hp-hero-media .hp-dome { z-index: 1; }
.hp-hero-badge {
    position: absolute; z-index: 2; left: -26px; bottom: 12%;
    background: var(--hp-ink); color: #fff; border-radius: 16px; padding: 18px 22px;
    box-shadow: var(--hp-shadow); border: 4px solid var(--hp-cream);
}
.hp-hero-badge strong { display: block; font: 500 2.2rem/1 'Playfair Display', serif; color: var(--hp-gold-soft); }
.hp-hero-badge span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }

/* 2. STATS --------------------------------------------------------------- */
.hp-stats {
    max-width: 1360px; margin: 0 auto; padding: 34px var(--hp-pad);
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    border-block: 1px solid var(--hp-line);
}
.hp-stat { display: flex; align-items: center; gap: 16px; }
.hp-stat svg { width: 38px; height: 38px; color: var(--hp-gold); flex-shrink: 0; }
.hp-stat b { display: block; font: 500 1.7rem/1.1 'Playfair Display', serif; color: var(--hp-ink-2); font-variant-numeric: lining-nums tabular-nums; }
.hp-stat div > span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--hp-text); }

/* MARQUEE ---------------------------------------------------------------- */
.hp-marquee { overflow: hidden; background: var(--hp-ink); padding: 22px 0; border-block: 1px solid rgba(217,199,154,.25); }
.hp-marquee-track { display: flex; width: max-content; align-items: center; gap: 34px; animation: hp-marquee 38s linear infinite; }
.hp-marquee span { font: italic 400 clamp(1.4rem, 2.6vw, 2.2rem)/1 'Playfair Display', serif; color: #f3ecd9; white-space: nowrap; }
.hp-marquee i { font-style: normal; color: var(--hp-gold); font-size: .9rem; }
@keyframes hp-marquee { to { transform: translateX(-50%); } }

/* 3. TWO BUSINESS LINES --------------------------------------------------- */
.hp-lines { padding: var(--hp-section) 0; }
.hp-lines-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.hp-lines-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.hp-line-card {
    position: relative; display: grid; grid-template-columns: 1fr; gap: 28px; text-align: center; justify-items: center;
    background: #fff; border: 1px solid rgba(168,148,103,.25); border-radius: var(--hp-radius);
    padding: clamp(28px, 3.2vw, 48px); box-shadow: var(--hp-shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}
.hp-line-card::before {
    content: ""; position: absolute; inset: 10px; border: 1px solid var(--hp-gold); border-radius: calc(var(--hp-radius) - 8px);
    opacity: 0; transform: scale(.985); transition: opacity .6s ease, transform .6s ease; pointer-events: none;
}
.hp-line-card:hover { transform: translateY(-6px); box-shadow: 0 28px 70px rgba(17,42,22,.14); }
.hp-line-card:hover::before { opacity: .55; transform: none; }
.hp-line-card .hp-dome { width: min(100%, 360px); aspect-ratio: 1 / 1.12; }
.hp-line-card .hp-dome img { object-position: center center; }
.hp-line-card h3 { font-size: clamp(1.8rem, 2.4vw, 2.3rem); margin-bottom: 12px; }
.hp-line-card .hp-lead { font-size: .98rem; margin-bottom: 22px; max-width: 460px; margin-inline: auto; }
.hp-ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; }
.hp-line-card .hp-ticks { text-align: left; max-width: 440px; margin-inline: auto; }
.hp-ticks li { position: relative; padding-left: 28px; font-size: .93rem; line-height: 1.45; color: var(--hp-ink-2); }
.hp-ticks li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
    background: var(--hp-sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23112A16' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/11px no-repeat;
}
.hp-link {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--hp-ink); text-decoration: none;
    padding-bottom: 6px; border-bottom: 2px solid var(--hp-gold); transition: gap .2s ease, color .2s ease;
}
.hp-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.hp-link:hover { gap: 14px; color: var(--hp-gold); }

/* 4. WHY CHOOSE US + FULL PASTEL SUPPLY MAP ------------------------------ */
.hp-why {
    position: relative; color: #fff; padding: var(--hp-section) 0; overflow: hidden;
    background: radial-gradient(70% 60% at 85% 20%, rgba(168,148,103,.12), transparent 60%), var(--hp-forest);
}
.hp-why::before {
    content: ""; position: absolute; left: 50%; top: -340px; width: 1100px; height: 700px; transform: translateX(-50%);
    border-radius: 50%; background: radial-gradient(closest-side, rgba(168,148,103,.14), transparent);
    pointer-events: none;
}
.hp-why-grid {
    position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hp-why .hp-h2 { color: #fff; }
.hp-why .hp-h2 em {
    color: #F3E2B8 !important; /* Lighter champagne gold for high readability on dark green */
    font-style: italic;
    text-shadow: 0 0 20px rgba(243, 226, 184, 0.28);
}
.hp-why .hp-lead { color: rgba(255,255,255,.72); margin: 22px 0 34px; max-width: 520px; }
.hp-reasons { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 0; counter-reset: reason; }
.hp-reasons li {
    counter-increment: reason; display: grid; grid-template-columns: 46px 1fr; gap: 6px 14px; align-items: start;
    padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12);
}
.hp-reasons li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.hp-reasons li::before {
    content: counter(reason, decimal-leading-zero); grid-row: span 2;
    font: italic 500 1.5rem/1 'Playfair Display', serif; color: var(--hp-gold);
}
.hp-reasons h4 { font: 600 1.02rem/1.3 'Instrument Sans', sans-serif; color: #fff; letter-spacing: 0; }
.hp-reasons p { font-size: .9rem; line-height: 1.55; color: rgba(255,255,255,.64); }

.hp-map-card {
    position: relative; border-radius: 26px; padding: clamp(14px, 2vw, 26px); color: var(--hp-ink);
    background: radial-gradient(ellipse at 48% 42%, #fff 0%, #fffaff 55%, #f5f7ff 100%);
    border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 40px 90px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(217,199,154,.25);
}
.hp-map-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding: 4px 6px 14px; border-bottom: 1px solid #edf0f5; }
.hp-map-top strong { display: block; font: 600 1.15rem 'Playfair Display', serif; color: var(--hp-ink); }
.hp-map-sub { display: block; font-size: .74rem; color: #68758c; margin-top: 2px; }
.hp-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .74rem; color: #65728a; letter-spacing: .04em; }
.hp-legend span { display: inline-flex; align-items: center; gap: 8px; }
.hp-legend i { width: 10px; height: 10px; border-radius: 50%; background: #365eea; }
.hp-legend i.is-state { border-radius: 3px; background: linear-gradient(135deg, #f7c9d4, #c9e8dc 50%, #cbdcfb); }
.hp-legend i.is-route { width: 18px; height: 0; border-radius: 0; background: none; border-top: 2px dashed #7798e8; }
.hp-map-figure { margin: 0; padding-top: 6px; }
.hp-map-figure svg { width: 100%; height: auto; max-height: 700px; display: block; user-select: none; }
.hp-map-caption { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 12px 6px 2px; border-top: 1px solid #edf0f5; font-size: .78rem; color: #758198; }
.hp-map-caption b { color: var(--hp-ink); font-weight: 700; }

/* Map SVG internals — soft pastel, 100% coverage */
.sm-state { fill: #edf0f6; stroke: #fff; stroke-width: 1.25; stroke-linejoin: round; transition: filter .25s ease; }
.sm-state:hover { filter: brightness(.95) saturate(1.2); }
.sm-route { stroke-width: 1.85; stroke-linecap: round; opacity: .88; stroke-dasharray: 4 7; animation: sm-flow 2.4s linear infinite; animation-delay: var(--d, 0s); pointer-events: none; }
.sm-dot { stroke: #fff; stroke-width: 1.8; }
.sm-region-label { font: 600 13px 'Instrument Sans', sans-serif; fill: #334361; opacity: .82; paint-order: stroke; stroke: rgba(255,255,255,.92); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.sm-hub-core { fill: #365eea; stroke: #fff; stroke-width: 4; }
.sm-hub-in { fill: #fff; }
.sm-hub-pulse { fill: rgba(54,94,234,.32); transform-box: fill-box; transform-origin: center; animation: sm-pulse 2.6s ease-out infinite; }
.sm-hub-label { font: 700 17px 'Instrument Sans', sans-serif; fill: #17243b; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; pointer-events: none; }
@keyframes sm-flow { to { stroke-dashoffset: -22; } }
@keyframes sm-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }

.js .hp-map-card .sm-state.is-covered { opacity: 0; transition: opacity .8s ease, filter .25s ease; }
.js .hp-map-card.is-in .sm-state.is-covered { opacity: 1; }
.js .hp-map-card .sm-routes, .js .hp-map-card .sm-dots, .js .hp-map-card .sm-labels, .js .hp-map-card .sm-hub, .js .hp-map-card .sm-hub-label { opacity: 0; transition: opacity .9s ease 1.1s; }
.js .hp-map-card.is-in .sm-routes, .js .hp-map-card.is-in .sm-dots, .js .hp-map-card.is-in .sm-labels, .js .hp-map-card.is-in .sm-hub, .js .hp-map-card.is-in .sm-hub-label { opacity: 1; }

/* 5. INTERACTIVE PROCESS ------------------------------------------------- */
.hp-process { padding: var(--hp-section) 0; background: var(--hp-sand); }
.hp-process-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 60px; margin-bottom: clamp(32px, 4.5vw, 54px); }

.hp-proc-interactive {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 56px); align-items: stretch;
}
.hp-proc-tabs { display: flex; flex-direction: column; gap: 10px; }
.hp-proc-tab {
    display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px;
    width: 100%; text-align: left; padding: 16px 20px; border-radius: 14px;
    background: rgba(255,255,255,.55); border: 1px solid rgba(17,42,22,.1);
    color: var(--hp-ink); cursor: pointer; font-family: inherit;
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.hp-proc-tab:hover { background: #fff; transform: translateX(4px); }
.hp-proc-tab.is-active {
    background: var(--hp-ink); color: #fff; border-color: var(--hp-ink);
    box-shadow: 0 14px 32px rgba(17,42,22,.16); transform: translateX(6px);
}
.hp-proc-num {
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    font: italic 500 1.05rem 'Playfair Display', serif;
    background: var(--hp-sand); color: var(--hp-ink);
    transition: background-color .25s ease, color .25s ease;
}
.hp-proc-tab.is-active .hp-proc-num { background: var(--hp-gold); color: var(--hp-forest); font-style: normal; font-weight: 700; }
.hp-proc-meta strong { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 3px; }
.hp-proc-meta small { display: block; font-size: .82rem; color: var(--hp-text); line-height: 1.35; }
.hp-proc-tab.is-active .hp-proc-meta small { color: rgba(255,255,255,.74); }

.hp-proc-stage {
    position: relative; background: #fff; border-radius: 22px; overflow: hidden;
    border: 1px solid rgba(168,148,103,.32); box-shadow: var(--hp-shadow);
    display: grid;
}
.hp-proc-slide {
    grid-area: 1 / 1; display: flex; flex-direction: column;
    opacity: 0; pointer-events: none;
    transition: opacity .6s cubic-bezier(.16, 1, .3, 1);
}
.hp-proc-slide.is-active { opacity: 1; pointer-events: auto; z-index: 2; }
.hp-proc-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--hp-forest); }
.hp-proc-media img {
    width: 100%; height: 100%; object-fit: cover;
    transform-origin: center center;
    transform: translate3d(0, 0, 0) scale(1);
    transition: transform 5.5s cubic-bezier(.25, 1, .5, 1);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}
.hp-proc-slide.is-active .hp-proc-media img { transform: translate3d(0, 0, 0) scale(1.06); }
.hp-proc-pill {
    position: absolute; left: 20px; bottom: 18px;
    background: rgba(13,32,18,.88); color: var(--hp-gold-soft);
    padding: 8px 14px; border-radius: 99px; font-size: .75rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(217,199,154,.35);
}
.hp-proc-caption { padding: clamp(22px, 3vw, 34px); flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hp-proc-caption h3 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); color: var(--hp-ink); margin-bottom: 10px; }
.hp-proc-caption p { font-size: .98rem; line-height: 1.65; color: var(--hp-text); }

/* 6. QUALITY ---------------------------------------------------------------- */
.hp-quality { padding: var(--hp-section) 0; }
.hp-quality-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.hp-quality-media { position: relative; max-width: 520px; }
.hp-quality-media .hp-dome { aspect-ratio: 4 / 5; }
.hp-quality-seal {
    position: absolute; z-index: 3; right: -24px; bottom: 36px; width: 120px; height: 120px; border-radius: 50%;
    background: var(--hp-ink); color: #fff; display: grid; place-items: center; text-align: center;
    font-size: .66rem; font-weight: 700; letter-spacing: .16em; line-height: 1.7; border: 5px solid var(--hp-cream);
}
.hp-quality .hp-lead { margin: 22px 0 26px; max-width: 540px; }
.hp-quality .hp-ticks { margin-bottom: 34px; }

/* 7. CTA ---------------------------------------------------------------------- */
.hp-cta { padding: 0 0 var(--hp-section); }
.hp-cta-box {
    position: relative; overflow: hidden; border-radius: 28px; background: var(--hp-ink); color: #fff;
    padding: clamp(44px, 7vw, 96px) clamp(24px, 6vw, 90px); text-align: center;
}
.hp-cta-box::before {
    content: ""; position: absolute; left: 50%; bottom: -60%; width: 90%; aspect-ratio: 1; transform: translateX(-50%);
    border: 1px solid rgba(168,148,103,.35); border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(168,148,103,.05), 0 0 0 130px rgba(168,148,103,.03);
}
.hp-cta-box > * { position: relative; }
.hp-cta-box h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.1; margin-bottom: 16px; }
.hp-cta-box h2 em { color: var(--hp-gold-soft); }
.hp-cta-box p { color: rgba(255,255,255,.72); max-width: 520px; margin: 0 auto 32px; line-height: 1.65; }
.hp-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* 4. OUR STORY / LEGACY — TWO GENERATIONS (COMPACT & PRECISE) -------------------- */
.hp-legacy {
    padding: clamp(40px, 4.5vw, 60px) 0;
    background: #f7f3ea;
    border-top: 1px solid rgba(168,148,103,.2);
    border-bottom: 1px solid rgba(168,148,103,.2);
}
.hp-legacy-head {
    max-width: 720px;
    margin-bottom: clamp(24px, 3vw, 36px);
}
.hp-legacy-head .hp-eyebrow {
    margin-bottom: 8px;
}
.hp-legacy-head .hp-h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.5rem);
    line-height: 1.18;
    margin-bottom: 10px;
    color: var(--hp-ink);
}
.hp-legacy-head .hp-lead {
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--hp-text);
    margin: 0;
}
.hp-legacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(18px, 2.4vw, 28px);
    align-items: stretch;
}
.hp-gen-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(168,148,103,.22);
    padding: clamp(22px, 2.5vw, 30px);
    box-shadow: 0 10px 30px rgba(17,42,22,.06);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}
.hp-gen-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(17,42,22,.1);
}
.hp-gen-top {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(168,148,103,.18);
}
.hp-gen-avatar {
    width: 84px;
    height: 84px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(17,42,22,.12);
    border: 2px solid #fff;
    background: var(--hp-forest);
}
.hp-gen-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.hp-gen-meta {
    flex: 1;
    min-width: 0;
}
.hp-gen-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hp-forest);
    background: var(--hp-sand);
    padding: 4px 10px;
    border-radius: 99px;
    margin-bottom: 6px;
    border: 1px solid rgba(168,148,103,.3);
}
.hp-gen-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--hp-ink);
    margin: 0 0 2px 0;
    line-height: 1.2;
}
.hp-gen-role {
    font-size: .82rem;
    font-weight: 600;
    color: var(--hp-gold);
    display: block;
}
.hp-gen-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hp-gen-body p {
    font-size: .9rem;
    line-height: 1.55;
    color: var(--hp-text);
    margin: 0 0 14px 0;
}
.hp-gen-ticks {
    list-style: none;
    padding: 0;
    margin: auto 0 0 0;
    display: grid;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px dashed rgba(168,148,103,.2);
}
.hp-gen-ticks li {
    font-size: .84rem;
    line-height: 1.4;
    color: var(--hp-ink-2);
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.hp-gen-ticks li svg {
    width: 14px;
    height: 14px;
    color: var(--hp-forest-accent);
    flex-shrink: 0;
    transform: translateY(2px);
}
.hp-legacy-foot {
    margin-top: 24px;
    text-align: center;
}

/* 8. INSTAGRAM CAROUSEL -------------------------------------------------- */
.hp-insta-sec {
    padding: var(--hp-section) 0;
    background: #fff;
    border-top: 1px solid rgba(168,148,103,.2);
}
.hp-insta-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: clamp(32px, 4vw, 48px);
}
.hp-insta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--hp-sand);
    border: 1px solid var(--hp-gold);
    color: var(--hp-ink);
    font-weight: 600;
}
.hp-insta-btn:hover {
    background: var(--hp-ink);
    color: #fff;
    border-color: var(--hp-ink);
}
.hp-insta-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: rgba(13,32,18,.82);
    color: var(--hp-gold-soft);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 99px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(168,148,103,.35);
}
.hp-insta-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 991px) {
    .hp-insta-grid-4 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 16px;
        scrollbar-width: thin;
        scrollbar-color: var(--hp-gold) rgba(168,148,103,.15);
    }
    .hp-insta-grid-4 .hp-insta-card {
        flex: 0 0 clamp(250px, 60vw, 300px);
    }
}
.hp-insta-wrapper { position: relative; }
.hp-insta-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 4px 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--hp-gold) rgba(168,148,103,.15);
}
.hp-insta-track::-webkit-scrollbar { height: 6px; }
.hp-insta-track::-webkit-scrollbar-track { background: rgba(168,148,103,.12); border-radius: 99px; }
.hp-insta-track::-webkit-scrollbar-thumb { background: var(--hp-gold); border-radius: 99px; }
.hp-insta-card {
    flex: 0 0 clamp(240px, 22vw, 300px);
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    box-shadow: 0 12px 32px rgba(17,42,22,.08);
    background: var(--hp-sand);
    display: block;
    text-decoration: none;
}
.hp-insta-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.25,1,.5,1);
}
.hp-insta-card:hover img { transform: scale(1.08); }
.hp-insta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,32,18,.92) 0%, rgba(13,32,18,.4) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
    transition: opacity .35s ease;
}
.hp-insta-card:hover .hp-insta-overlay,
.hp-insta-card:focus .hp-insta-overlay { opacity: 1; }
.hp-insta-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    color: var(--hp-gold-soft);
    backdrop-filter: blur(6px);
}
.hp-insta-caption {
    font-size: .82rem;
    line-height: 1.4;
    color: rgba(255,255,255,.9);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hp-insta-link {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hp-gold-soft);
}
.hp-insta-nav {
    position: absolute;
    top: calc(50% - 24px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(168,148,103,.35);
    box-shadow: 0 8px 24px rgba(17,42,22,.15);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 5;
    color: var(--hp-ink);
    transition: background .2s, color .2s, transform .2s;
}
.hp-insta-nav:hover {
    background: var(--hp-ink);
    color: #fff;
    transform: scale(1.08);
}
.hp-insta-nav svg { width: 18px; height: 18px; }
.hp-insta-nav--prev { left: -22px; }
.hp-insta-nav--next { right: -22px; }

/* Reveal ---------------------------------------------------------------------- */
.js .hp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .hp-reveal.is-in { opacity: 1; transform: none; }
.hp-line-card,
.js .hp-line-card.hp-reveal {
    opacity: 1 !important;
    transform: none !important;
}
.js .hp-hero-media.hp-reveal,
.js .hp-quality-media.hp-reveal {
    transform: none !important;
    transition: opacity 1.1s cubic-bezier(.16, 1, .3, 1);
}

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 1100px) {
    .hp-lines-grid, .hp-proc-interactive { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
    .hp-hero {
        display: flex !important;
        flex-direction: column !important;
        padding-top: 100px;
        gap: 0 !important;
    }
    .hp-hero-copy {
        display: contents !important;
    }
    .hp-hero .hp-eyebrow {
        order: 1 !important;
        margin-bottom: 14px !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .hp-hero h1 {
        order: 2 !important;
        margin-bottom: 18px !important;
    }
    .hp-hero .hp-lead {
        order: 3 !important;
        margin-bottom: 28px !important;
    }
    .hp-hero-media {
        order: 4 !important;
        max-width: 440px;
        width: 100%;
        margin: 0 auto 32px auto !important;
    }
    .hp-hero-badge { left: 8px; }
    .hp-hero-buttons {
        order: 5 !important;
        width: 100%;
        margin-bottom: 24px !important;
    }
    .js .hp-hero-anim .hp-eyebrow,
    .js .hp-hero-anim .hp-lead,
    .js .hp-hero-anim .hp-hero-buttons {
        opacity: 1 !important;
        transform: none !important;
    }
    .hp-stats { grid-template-columns: repeat(2, 1fr); }
    .hp-why-grid, .hp-quality-grid { grid-template-columns: 1fr; }
    .hp-quality-media { margin: 0 auto; width: 100%; }
    .hp-quality-seal { right: 8px; }
    .hp-legacy-grid { grid-template-columns: 1fr; }
    .hp-insta-nav { display: none; }

    /* ALWAYS display map elements on mobile — ZERO opacity delays */
    .js .hp-map-card,
    .js .hp-map-card.hp-reveal,
    .hp-map-card {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
    .js .hp-map-card .sm-state.is-covered,
    .js .hp-map-card.is-in .sm-state.is-covered,
    .js .hp-map-card .sm-routes,
    .js .hp-map-card .sm-dots,
    .js .hp-map-card .sm-labels,
    .js .hp-map-card .sm-hub,
    .js .hp-map-card .sm-hub-label,
    .hp-map-card .sm-state.is-covered,
    .hp-map-card .sm-routes,
    .hp-map-card .sm-dots,
    .hp-map-card .sm-labels,
    .hp-map-card .sm-hub,
    .hp-map-card .sm-hub-label {
        opacity: 1 !important;
        transition: none !important;
        transition-delay: 0s !important;
    }
    .hp-map-card {
        padding: 14px 10px !important;
        border-radius: 20px !important;
        margin-top: 24px;
        box-shadow: 0 15px 45px rgba(0,0,0,0.4) !important;
    }
    .hp-map-figure svg {
        width: 100% !important;
        height: auto !important;
        min-height: 320px;
        max-height: 540px;
        display: block;
    }
    .sm-region-label {
        font-size: 15px !important;
        stroke-width: 4px !important;
        opacity: 0.95 !important;
    }
    .sm-hub-label {
        font-size: 22px !important;
        stroke-width: 6px !important;
    }
    .sm-route {
        stroke-width: 2.2px !important;
    }
    .sm-dot {
        r: 6 !important;
    }
}
@media (max-width: 640px) {
    .hp-hero-buttons .hp-btn, .hp-cta-actions .hp-btn { width: 100%; }
    .hp-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
    .hp-line-card .hp-dome { max-width: 300px; aspect-ratio: 1 / 1.1; margin: 0 auto; }
    .hp-hero-media::before { inset: 10px -8px -10px 8px; }
    .hp-map-card { padding: 10px; border-radius: 18px; }
    .sm-hub-label { font-size: 28px; stroke-width: 7px; }
    .sm-region-label { font-size: 16px; }
    .hp-proc-tab, .hp-proc-tab.is-active { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hp-wrapper *, .hp-wrapper *::before, .hp-wrapper *::after { animation: none !important; transition: none !important; }
    .js .hp-reveal { opacity: 1; transform: none; }
    .hp-dome img { animation: none !important; transform: none !important; }
    .js .hp-hero-anim .hp-line > span, .js .hp-hero-anim .hp-eyebrow, .js .hp-hero-anim .hp-lead,
    .js .hp-hero-anim .hp-hero-buttons, .js .hp-hero-anim .hp-hero-since { opacity: 1 !important; transform: none !important; }
    .js .hp-map-card .sm-state.is-covered, .js .hp-map-card .sm-routes, .js .hp-map-card .sm-dots,
    .js .hp-map-card .sm-labels, .js .hp-map-card .sm-hub, .js .hp-map-card .sm-hub-label { opacity: 1 !important; }
    .hp-marquee-track { animation: none; }
}
