/* Home page redesign 2026-10-30: "blueprint editorial". Plain CSS (no Tailwind build on host), prefix hm-. */

.hm {
    --hm-orange: #ff632a;
    --hm-orange-d: #e85520;
    --hm-ink: #15191e;
    --hm-ink-2: #1f252c;
    --hm-text: #4b5563;
    --hm-muted: #8a939c;
    --hm-paper: #f6f3ee;
    --hm-line: rgba(21, 25, 30, .1);
    --hm-cond: 'Barlow Condensed', 'Noto Sans Lao', 'Noto Sans SC', sans-serif;
    --hm-ease: cubic-bezier(.2, .7, .2, 1);
}

.hm-wrap {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 640px) { .hm-wrap { padding: 0 2rem; } }

/* ---------- shared bits ---------- */
.hm-label {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 .9rem;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--hm-orange-d);
}

body.antialiased section p.hm-label { font-size: .82rem; line-height: 1.4; }

.hm-label span {
    font-family: var(--hm-cond);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--hm-ink);
    padding-right: .75rem;
    border-right: 2px solid var(--hm-orange);
    line-height: 1;
}

body.antialiased section h2.hm-h2 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--hm-ink);
}

.hm-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--hm-line);
}

body.antialiased section p.hm-head-sub {
    max-width: 26rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--hm-text);
}

@media (max-width: 768px) {
    .hm-head { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
}

.hm-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex: none;
    padding-bottom: .2rem;
    border-bottom: 2px solid var(--hm-orange);
    color: var(--hm-ink);
    font-weight: 700;
    text-decoration: none;
    transition: color .2s, gap .2s;
}

.hm-link svg { width: 1.1rem; height: 1.1rem; color: var(--hm-orange); }
.hm-link:hover { color: var(--hm-orange-d); gap: .8rem; }

.hm-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .95rem 1.6rem;
    border-radius: .35rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .2s var(--hm-ease), box-shadow .2s;
}

.hm-btn svg { width: 1.15rem; height: 1.15rem; transition: transform .2s; }
.hm-btn--solid { background: var(--hm-orange); color: #fff; box-shadow: 0 10px 24px rgba(255, 99, 42, .32); }
.hm-btn--solid:hover { background: var(--hm-orange-d); transform: translateY(-2px); }
.hm-btn:hover svg { transform: translateX(4px); }
.hm-btn--lg { padding: 1.15rem 2rem; font-size: 1.08rem; }

/* reveal on scroll (only hide when JS can bring it back) */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
    .hm-rv { opacity: 0; transform: translateY(28px); }
    .hm-rv.is-in {
        opacity: 1;
        transform: none;
        transition: opacity .8s var(--hm-ease) var(--d, 0s), transform .8s var(--hm-ease) var(--d, 0s);
    }
}

/* ---------- 01 hero ---------- */
.hm-hero { background: var(--hm-ink); overflow: hidden; }

.hm-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hm-hero-blank { background: radial-gradient(120% 90% at 80% 20%, #3a2a22 0, var(--hm-ink) 60%); }

.hm-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(14, 17, 21, .88) 0, rgba(14, 17, 21, .55) 45%, rgba(14, 17, 21, .1) 80%),
        linear-gradient(0deg, rgba(14, 17, 21, .75) 0, transparent 35%);
}

.hm-hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 88px 88px;
    -webkit-mask-image: linear-gradient(90deg, #000 0, transparent 60%);
    mask-image: linear-gradient(90deg, #000 0, transparent 60%);
}

.hm-hero-inner {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 4rem;
}

.hm-hero-copy {
    max-width: 50rem;
    padding-left: 1.75rem;
    border-left: 3px solid var(--hm-orange);
}

body.antialiased .hm-hero p.hm-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: 0 0 1.4rem;
    font-size: .85rem !important;
    line-height: 1.4 !important;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .78);
}

.hm-hero-eyebrow span {
    font-family: var(--hm-cond);
    font-size: 1.05rem;
    letter-spacing: .05em;
    color: var(--hm-orange);
}

.hero-swiper .hm-hero-title {
    margin: 0 0 1.5rem;
    font-size: clamp(2.4rem, 5.6vw, 5rem) !important;
    line-height: 1.12 !important;
    font-weight: 800;
    letter-spacing: -.025em;
    color: #fff;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.hero-swiper p.hm-hero-desc {
    max-width: 38rem;
    margin: 0 0 2.2rem;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem) !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, .78);
}

/* crossfade: drop the outgoing slide's copy fast so two headlines never overlap */
.hm-hero .swiper-slide:not(.swiper-slide-active) .hm-hero-copy { opacity: 0; transition: opacity .25s; }

/* staggered entrance each time a slide becomes active */
@media (prefers-reduced-motion: no-preference) {
    .swiper-slide-active .hm-hero-eyebrow,
    .swiper-slide-active .hm-hero-title,
    .swiper-slide-active .hm-hero-desc,
    .swiper-slide-active .hm-hero-cta { animation: hm-up .9s var(--hm-ease) both; }
    .swiper-slide-active .hm-hero-title { animation-delay: .12s; }
    .swiper-slide-active .hm-hero-desc { animation-delay: .26s; }
    .swiper-slide-active .hm-hero-cta { animation-delay: .4s; }
    .swiper-slide-active .hm-hero-copy { animation: hm-rule 1s var(--hm-ease) both; }
    .swiper-slide-active .hm-hero-media { animation: hm-zoom 7s ease-out both; }
}

@keyframes hm-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hm-rule { from { border-left-color: transparent; } to { border-left-color: var(--hm-orange); } }
@keyframes hm-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* bottom bar: line pagination + square arrows */
.hm-hero-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2.25rem;
    z-index: 4;
}

.hm-hero-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.hm-hero .swiper-pagination {
    position: static;
    display: flex;
    gap: .5rem;
    width: auto;
}

.hm-hero .swiper-pagination-bullet {
    width: 2.5rem;
    height: 3px;
    margin: 0 !important;
    border-radius: 0;
    background: rgba(255, 255, 255, .35);
    opacity: 1;
    transition: background .3s, width .3s;
}

.hm-hero .swiper-pagination-bullet-active { width: 4.5rem; background: var(--hm-orange); }

.hm-hero-nav { display: flex; gap: .5rem; }

.hm-hero .swiper-button-prev,
.hm-hero .swiper-button-next {
    position: static;
    width: 3rem;
    height: 3rem;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: .35rem;
    color: #fff;
    transition: background .2s, border-color .2s;
}

.hm-hero .swiper-button-prev::after,
.hm-hero .swiper-button-next::after { font-size: .9rem; font-weight: 700; }

.hm-hero .swiper-button-prev:hover,
.hm-hero .swiper-button-next:hover { background: var(--hm-orange); border-color: var(--hm-orange); }

.hm-hero-scroll {
    position: absolute;
    right: 2rem;
    top: 50%;
    z-index: 4;
    width: 1px;
    height: 5.5rem;
    background: rgba(255, 255, 255, .25);
    overflow: hidden;
}

.hm-hero-scroll::after {
    content: '';
    position: absolute;
    left: 0;
    top: -40%;
    width: 1px;
    height: 40%;
    background: var(--hm-orange);
    animation: hm-drip 2.2s ease-in-out infinite;
}

@keyframes hm-drip { to { top: 100%; } }

@media (max-width: 1024px) { .hm-hero-scroll { display: none; } }

@media (max-width: 640px) {
    .hm-hero-copy { padding-left: 1.1rem; }
    .hm-hero-inner { align-items: flex-end; padding-bottom: 5rem; }
    .hm-hero-bar { bottom: 2rem; }
    .hero-swiper .hm-hero-title { font-size: clamp(1.9rem, 8vw, 2.4rem) !important; line-height: 1.3 !important; margin-bottom: 1rem; }
    .hero-swiper p.hm-hero-desc { margin-bottom: 1.5rem; }
    .hm-hero .swiper-pagination-bullet { width: 1.6rem; }
    .hm-hero .swiper-pagination-bullet-active { width: 3rem; }
    .hm-hero-grid { background-size: 56px 56px; }
}

/* ---------- 02 intro ---------- */
.hm-intro {
    position: relative;
    padding: 7rem 0;
    background: var(--hm-paper);
    overflow: hidden;
}

.hm-intro::before {
    content: 'KPG';
    position: absolute;
    right: -1rem;
    bottom: -3.5rem;
    font-family: var(--hm-cond);
    font-size: clamp(10rem, 24vw, 22rem);
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(21, 25, 30, .07);
    pointer-events: none;
}

.hm-intro-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 5rem;
    align-items: center;
}

body.antialiased section p.hm-lead {
    margin: 1.5rem 0 2rem;
    font-size: 1.12rem;
    line-height: 1.95;
    color: var(--hm-text);
}

.hm-intro-media { position: relative; padding: 0 0 2rem 2rem; }

.hm-intro-media::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70%;
    height: 75%;
    border: 2px solid var(--hm-orange);
    border-radius: .5rem;
}

.hm-intro-frame {
    position: relative;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(21, 25, 30, .22);
}

.hm-intro-frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hm-intro-ph { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #e2ddd5; font-family: var(--hm-cond); font-size: 4rem; color: #b9b1a5; }

.hm-intro-badge {
    position: absolute;
    right: -1rem;
    top: 2rem;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.3rem;
    border-radius: .4rem;
    background: var(--hm-ink);
    color: #fff;
    box-shadow: 0 18px 40px rgba(21, 25, 30, .3);
}

.hm-intro-badge b { font-family: var(--hm-cond); font-size: 2.6rem; line-height: 1; font-weight: 800; color: var(--hm-orange); }
.hm-intro-badge span { margin-top: .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: rgba(255, 255, 255, .6); }

@media (max-width: 960px) {
    .hm-intro { padding: 4.5rem 0; }
    .hm-intro-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
    .hm-intro-badge { right: .5rem; }
}

/* ---------- 03 stats ---------- */
.hm-stats {
    position: relative;
    padding: 5.5rem 0;
    background: var(--hm-ink);
    color: #fff;
    overflow: hidden;
}

.hm-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(80% 120% at 50% 50%, #000 30%, transparent 100%);
    mask-image: radial-gradient(80% 120% at 50% 50%, #000 30%, transparent 100%);
}

.hm-stats::after {
    content: '';
    position: absolute;
    right: -10rem;
    top: -10rem;
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(255, 99, 42, .22), transparent);
}

.hm-stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-stat {
    position: relative;
    padding: .5rem 1.75rem 0;
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.hm-stat-i {
    display: block;
    margin-bottom: .75rem;
    font-family: var(--hm-cond);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .4);
}

.hm-stat-n {
    font-family: var(--hm-cond);
    font-size: clamp(3.6rem, 7vw, 6.2rem);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
}

.hm-stat-n em { font-style: normal; color: var(--hm-orange); }

body.antialiased section p.hm-stat-l {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 1rem 0 0;
    font-size: .98rem;
    line-height: 1.5;
    font-weight: 600;
    color: rgba(255, 255, 255, .72);
}

.hm-stat-ico { width: 1.15rem; height: 1.15rem; flex: none; color: var(--hm-orange); }

@media (max-width: 900px) {
    .hm-stats { padding: 4rem 0; }
    .hm-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
    .hm-stat { padding: .25rem 1rem 0; }
}

/* ---------- 04 subsidiaries (bento) ---------- */
.hm-subs { padding: 7rem 0; background: #fff; }

.hm-subs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 1px;
    background: var(--hm-line);
    border: 1px solid var(--hm-line);
    border-radius: .6rem;
    overflow: hidden;
}

.hm-sub {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    min-width: 0;
    padding: 2rem 1.6rem 1.6rem;
    background: #fff;
    color: var(--hm-ink);
    text-decoration: none;
    transition: background .3s;
}

.hm-sub--wide { grid-column: span 2; padding: 2.4rem 2.2rem 2rem; background: var(--hm-paper); }

.hm-sub::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: var(--hm-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--hm-ease);
}

.hm-sub:hover { background: #fffaf6; }
.hm-sub:hover::after { transform: scaleX(1); }

.hm-sub-no {
    position: absolute;
    right: 1.2rem;
    top: .9rem;
    font-family: var(--hm-cond);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(21, 25, 30, .18);
    transition: color .3s, -webkit-text-stroke-color .3s;
}

.hm-sub--wide .hm-sub-no { font-size: 4.5rem; }
.hm-sub:hover .hm-sub-no { color: var(--hm-orange); -webkit-text-stroke-color: var(--hm-orange); }

.hm-sub-logo.kpg-sublogo-box {
    width: 3.75rem !important;
    height: 3.75rem !important;
    display: grid;
    place-items: center;
    margin-bottom: .5rem;
    border-radius: .5rem;
    background: #fff;
    border: 1px solid var(--hm-line);
    color: var(--hm-orange);
}

.hm-sub--wide .hm-sub-logo.kpg-sublogo-box { width: 4.75rem !important; height: 4.75rem !important; }
.hm-sub-logo .kpg-sublogo { width: 70% !important; height: 70% !important; object-fit: contain; }
.hm-sub-logo svg { width: 1.8rem; height: 1.8rem; }

body.antialiased section h3.hm-sub-name {
    margin: 0;
    padding-right: 2.5rem;
    font-size: 1.08rem;
    line-height: 1.55;
    font-weight: 800;
    letter-spacing: -.01em;
}

body.antialiased section .hm-sub--wide h3.hm-sub-name { font-size: 1.4rem; padding-right: 4.5rem; }

body.antialiased section p.hm-sub-desc {
    margin: 0;
    font-size: .92rem;
    line-height: 1.7;
    color: var(--hm-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-sub-more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: auto;
    padding-top: .8rem;
    font-size: .88rem;
    font-weight: 700;
    color: var(--hm-orange-d);
}

.hm-sub-more svg { width: 1rem; height: 1rem; transition: transform .2s; }
.hm-sub:hover .hm-sub-more svg { transform: translateX(4px); }

@media (max-width: 1024px) { .hm-subs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 640px) {
    .hm-subs { padding: 4.5rem 0; }
    .hm-subs-grid { grid-template-columns: minmax(0, 1fr); }
    .hm-sub--wide { grid-column: auto; padding: 2rem 1.4rem 1.6rem; }
    .hm-sub--wide .hm-sub-no { font-size: 3rem; }
}

/* ---------- 05 map: align the partial's eyebrow with the numbered labels ---------- */
.hm .lm-eyebrow::before {
    content: '03';
    margin-right: .75rem;
    padding-right: .75rem;
    border-right: 2px solid var(--hm-orange);
    font-family: var(--hm-cond);
    font-size: 1rem;
    color: var(--hm-ink);
}

/* ---------- 06 vision ---------- */
.hm-vision {
    position: relative;
    padding: 6.5rem 0;
    background: var(--hm-orange);
    color: var(--hm-ink);
    overflow: hidden;
}

.hm-vision::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, .07) 46px 47px),
        radial-gradient(70% 120% at 0% 0%, rgba(255, 255, 255, .18), transparent 60%);
}

.hm-vision-in { position: relative; max-width: 64rem; }

.hm-vision-mark {
    display: block;
    height: 4.5rem;
    font-family: var(--hm-cond);
    font-size: 11rem;
    font-weight: 800;
    line-height: 1;
    color: var(--hm-ink);
}

body.antialiased .hm-vision blockquote.hm-vision-q {
    margin: 0;
    font-size: clamp(1.55rem, 3.4vw, 2.7rem);
    line-height: 1.55;
    font-weight: 800;
    font-style: normal;
    letter-spacing: -.01em;
    color: var(--hm-ink);
    overflow-wrap: anywhere;
}

body.antialiased section p.hm-vision-by {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: 2rem 0 0;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.hm-vision-by::before { content: ''; width: 3rem; height: 2px; background: var(--hm-ink); }

@media (max-width: 640px) {
    .hm-vision { padding: 4.5rem 0; }
    .hm-vision-mark { font-size: 7.5rem; height: 3rem; }
}

/* ---------- 07 news ---------- */
.hm-news { padding: 7rem 0; background: var(--hm-paper); }

.hm-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 3rem;
}

.hm-news-feat a { display: block; color: inherit; text-decoration: none; }

.hm-news-img {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: .5rem;
    overflow: hidden;
    background: #e2ddd5;
}

.hm-news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--hm-ease); }
.hm-news-feat a:hover .hm-news-img img { transform: scale(1.05); }

.hm-news-feat-body { padding-top: 1.5rem; }

.hm-news-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 .6rem;
    font-size: .82rem;
    color: var(--hm-muted);
}

body.antialiased section p.hm-news-meta { font-size: .82rem; line-height: 1.4; }
.hm-news-meta time { font-family: var(--hm-cond); font-size: .98rem; font-weight: 600; letter-spacing: .04em; }

.hm-tag {
    padding: .2rem .55rem;
    border-radius: .25rem;
    background: var(--hm-ink);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hm-tag--csr { background: #1f7a4d; }

body.antialiased section h3.hm-news-feat-t {
    margin: 0 0 .75rem;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    line-height: 1.5;
    font-weight: 800;
    color: var(--hm-ink);
    transition: color .2s;
}

.hm-news-feat a:hover h3 { color: var(--hm-orange-d); }

body.antialiased section p.hm-news-ex {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--hm-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-news-list { list-style: none; margin: 0; padding: 0; counter-reset: hm-n; }
.hm-news-list li { border-top: 1px solid var(--hm-line); }
.hm-news-list li:last-child { border-bottom: 1px solid var(--hm-line); }

.hm-news-row {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    padding: 1.15rem 0;
    color: inherit;
    text-decoration: none;
}

.hm-news-thumb {
    flex: none;
    width: 7.5rem;
    aspect-ratio: 4 / 3;
    border-radius: .35rem;
    overflow: hidden;
    background: #e2ddd5;
}

.hm-news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--hm-ease); }
.hm-news-row:hover .hm-news-thumb img { transform: scale(1.08); }
.hm-news-row-txt { min-width: 0; display: flex; flex-direction: column; }
.hm-news-row .hm-news-meta { margin-bottom: .35rem; }

body.antialiased section h3.hm-news-row-t {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 700;
    color: var(--hm-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}

.hm-news-row:hover h3 { color: var(--hm-orange-d); }

@media (max-width: 960px) {
    .hm-news { padding: 4.5rem 0; }
    .hm-news-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

@media (max-width: 480px) { .hm-news-thumb { width: 6rem; } }

/* ---------- 08 partners ---------- */
.hm-partners { padding: 6rem 0; background: #fff; }

.hm-partner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 7.5rem;
    padding: 1.25rem;
    border: 1px solid var(--hm-line);
    border-radius: .5rem;
    background: #fff;
    color: var(--hm-muted);
    font-weight: 700;
    text-align: center;
    transition: border-color .2s;
}

.hm-partner img { max-height: 4.5rem; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.hm-partner:hover { border-color: var(--hm-orange); }
.hm-partner:hover img { filter: none; opacity: 1; }

/* ---------- 09 CTA ---------- */
.hm-cta { padding: 6rem 0; background: #fff; }

.hm-cta-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    padding: 3.5rem 3.5rem;
    border-radius: .75rem;
    background: var(--hm-ink);
    color: #fff;
    overflow: hidden;
}

.hm-cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 36px 36px;
    -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000);
    mask-image: linear-gradient(90deg, transparent 20%, #000);
}

.hm-cta-box::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--hm-orange);
}

.hm-cta-box > * { position: relative; z-index: 1; }

body.antialiased section h2.hm-cta-t {
    margin: 0 0 .6rem;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.3;
    font-weight: 800;
    color: #fff;
}

body.antialiased section p.hm-cta-s { margin: 0; font-size: 1.05rem; line-height: 1.7; color: rgba(255, 255, 255, .7); }

@media (max-width: 768px) {
    .hm-cta { padding: 4rem 0 5rem; }
    .hm-cta-box { flex-direction: column; align-items: flex-start; padding: 2.5rem 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hm-hero-scroll::after { animation: none; }
    .hm-sub, .hm-sub::after, .hm-news-img img, .hm-news-thumb img { transition: none; }
}
