/*
 * Aizenkai frontend theme
 * Based on the legacy aizenkai.mn design (Colorlib "Nikki" template):
 * Barlow / Work Sans typography, warm gold accent (#d1bb95), white sticky header,
 * thin outlined buttons, light gray alternate sections and a dark footer.
 */

:root {
    --heading: #191919;
    --text: #595959;
    --gold: #d1bb95;
    --gold-dark: #b39c74;
    --gold-soft: #f6f1e7;
    --gray-bg: #f2f4f5;
    --white: #ffffff;
    --dark: #141414;
    --border: #ebebeb;
    --secondary: #a6a6a6;
    --footer: #101010;
    --font-main: 'Barlow', 'Fira Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-alt: 'Work Sans', 'Fira Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .4s ease, background-color .4s ease, border-color .4s ease; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p { margin: 0; }

h1, h2, h3, h4 {
    margin: 0;
    color: var(--heading);
    font-family: var(--font-main);
    font-weight: 500;
    line-height: 1.25;
}
h1 { font-size: clamp(2rem, 3.6vw, 2.65rem); font-weight: 300; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 400; }
h3 { font-size: 1.2rem; }

.wrap { width: min(1170px, calc(100% - 30px)); margin: 0 auto; }
.section { padding: 100px 0; }
.section.alt { background: var(--gray-bg); }
.muted { color: var(--text); }

.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.6;
}

.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text p { margin: 0 0 10px; }
.rich-text ul, .rich-text ol { margin: 10px 0 0; padding-left: 20px; }
.rich-text a { color: var(--gold-dark); font-weight: 600; }
.rich-text a:hover { color: var(--heading); }

/* ---------- Buttons (nikki-btn) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
    height: 50px;
    padding: 0 30px;
    color: var(--heading);
    background: var(--white);
    border: 1px solid var(--heading);
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all .5s ease;
}
.btn:hover, .btn:focus-visible, .btn.active {
    color: var(--white);
    background: var(--gold);
    border-color: var(--gold);
}
.btn.primary { color: var(--white); background: var(--gold); border-color: var(--gold); }
.btn.primary:hover, .btn.primary:focus-visible { background: var(--heading); border-color: var(--heading); }
.btn.dark { color: var(--white); background: var(--heading); border-color: var(--heading); }
.btn.dark:hover, .btn.dark:focus-visible { background: var(--gold); border-color: var(--gold); }
.btn.sm { min-width: 0; height: 40px; padding: 0 20px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 3px 10px 2px rgba(0, 0, 0, .12);
}
.nav {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 170px; max-width: 46vw; height: auto; }
.nav-links { display: flex; align-items: center; gap: 0; margin-left: auto; }
.nav-links a {
    display: block;
    padding: 0 16px;
    line-height: var(--header-h);
    color: var(--heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 22px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .4s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    color: var(--heading);
    border: 1px solid var(--border);
    border-radius: 2px;
    background: transparent;
}

/* ---------- Hero (split slide) ---------- */
.hero {
    position: relative;
    display: flex;
    min-height: min(calc(100vh - var(--header-h)), 720px);
    overflow: hidden;
    background: var(--white);
}
.hero-thumb {
    flex: 0 0 58%;
    position: relative;
    overflow: hidden;
    background: var(--gray-bg);
}
.hero-thumb .hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    animation: heroZoom 24s linear infinite;
}
.hero-content {
    flex: 0 0 42%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 60px 5%;
    background: var(--white);
}
.hero-content h1 { line-height: 1.15; }
.hero-content .lead { font-size: 1.05rem; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.trust { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.trust li { display: flex; gap: 10px; align-items: baseline; color: var(--text); }
.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 10px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}
.hero-stats strong { display: block; color: var(--heading); font-size: 2rem; font-weight: 300; line-height: 1; }
.hero-stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--secondary); }
@keyframes heroZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}

/* ---------- Section headings ---------- */
.section-head {
    display: grid;
    justify-items: center;
    gap: 10px;
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-head h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    margin: 18px auto 0;
    background: var(--gold);
}
.section-head .rich-text { font-size: 1.05rem; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content {
    display: grid;
    gap: 18px;
    padding: 60px;
    background: var(--white);
    border: 1px solid var(--gray-bg);
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, .12);
}
.copy { display: grid; gap: 18px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 8px; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.stat { padding: 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat strong { display: block; color: var(--gold); font-size: 2.1rem; font-weight: 300; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--text); }
.image-frame { position: relative; overflow: hidden; min-height: 460px; background: var(--gray-bg); }
.image-frame img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; transition: transform 1s ease; }
.image-frame:hover img { transform: scale(1.06); }
.caption {
    position: absolute;
    left: 0;
    bottom: 30px;
    max-width: 85%;
    padding: 14px 24px;
    background: var(--white);
    color: var(--heading);
    font-weight: 500;
    border-left: 3px solid var(--gold);
}

/* ---------- Cards / services ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.card {
    position: relative;
    padding: 36px 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 2px;
    transition: box-shadow .5s ease, border-color .5s ease, transform .5s ease;
}
.card:hover { border-color: var(--gold); box-shadow: 0 10px 30px rgba(0, 0, 0, .1); transform: translateY(-4px); }
.card h3 { margin-bottom: 10px; }
.icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.4rem;
    line-height: 1;
    transition: all .5s ease;
}
.card:hover .icon { background: var(--gold); color: var(--white); }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 18px; font-size: 15px; }
.card li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--gold); }
.card li + li { margin-top: 6px; }
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.read-more i { color: var(--gold); transition: margin .3s ease; }
.read-more:hover { color: var(--gold); }
.read-more:hover i { margin-left: 5px; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.why { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.why .icon { margin: 0; }
.why .rich-text { margin-top: 6px; }

/* ---------- Process ---------- */
.process-flow { position: relative; display: flex; align-items: flex-start; gap: 10px; }
.process-flow::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 32px;
    right: 32px;
    border-top: 1px dashed var(--gold);
}
.process-node { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 0 4px; }
.process-icon {
    position: relative;
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gold);
    color: var(--heading);
    font-size: 1.3rem;
    transition: all .5s ease;
}
.process-node:hover .process-icon { background: var(--gold); color: var(--white); }
.process-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--heading);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
}
.process-card .rich-text { color: var(--heading); font-weight: 500; font-size: 15px; line-height: 1.45; }

/* ---------- Portfolio (instagram-style hover) ---------- */
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.work { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--gray-bg); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.work::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .88);
    opacity: 0;
    transition: opacity .5s ease;
}
.work span {
    position: absolute;
    z-index: 2;
    left: 10%;
    right: 10%;
    top: 50%;
    transform: translateY(-40%);
    text-align: center;
    color: var(--heading);
    font-size: 1.15rem;
    font-weight: 500;
    opacity: 0;
    transition: all .5s ease;
}
.work span::after { content: ""; display: block; width: 40px; height: 1px; margin: 12px auto 0; background: var(--gold); }
.work:hover img { transform: scale(1.15); }
.work:hover::after, .work:hover span { opacity: 1; }
.work:hover span { transform: translateY(-50%); }
.portfolio-more { margin-top: 50px; text-align: center; }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 0; }
.check { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.check:first-child { border-top: 1px solid var(--border); }
.check i { color: var(--gold); flex: 0 0 auto; margin-top: 2px; }
.check .rich-text { color: var(--heading); font-weight: 500; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: stretch; }
.contact-box { padding: 40px; background: var(--white); border: 1px solid var(--border); }
.contact-title { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--heading); font-weight: 400; }
.contact-lines { display: grid; gap: 16px; margin-top: 24px; }
.contact-line { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; color: var(--heading); }
.contact-line i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
}
.contact-line a:hover { color: var(--gold); }
.map-frame { margin-top: 28px; overflow: hidden; border: 1px solid var(--border); background: var(--gray-bg); }
.map-frame iframe { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(.6); }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
label { color: var(--heading); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
input, select, textarea {
    width: 100%;
    height: 50px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: var(--white);
    color: var(--heading);
    font-size: 15px;
    transition: border-color .5s ease;
}
textarea { height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--secondary); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
[aria-invalid="true"] { border-color: #c0392b; }
.field-error { color: #c0392b; font-size: .86rem; font-weight: 600; }
.form-alert { padding: 12px 16px; font-weight: 600; border-left: 3px solid; }
.form-alert.success { color: #2f5d34; background: #eef6ee; border-color: #6aa36f; }
.form-alert.error { color: #8a2a20; background: #fbeeec; border-color: #c0392b; }
form .btn { justify-self: start; }

/* ---------- Breadcrumb / page title ---------- */
.page-title {
    position: relative;
    padding: 90px 0;
    text-align: center;
    background: var(--gray-bg);
    background-position: center;
    background-size: cover;
}
.page-title.has-bg::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .86); }
.page-title .wrap { position: relative; display: grid; justify-items: center; gap: 10px; }
.page-title h1::after { content: ""; display: block; width: 60px; height: 2px; margin: 18px auto 0; background: var(--gold); }
.page-title .rich-text { max-width: 680px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 26px 0 0; font-size: 15px; color: var(--secondary); }
.breadcrumb li + li::before { content: "\F285"; font-family: 'bootstrap-icons'; font-size: 11px; margin-right: 8px; color: var(--heading); }
.breadcrumb a { color: var(--heading); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb a i { color: var(--gold); margin-right: 4px; }

/* ---------- Blog-style works list ---------- */
.post-list { padding: 80px 0 100px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 30px; }
.post-row { display: flex; flex-direction: column; }
.post-thumb { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 20px; background: var(--gray-bg); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.post-row:hover .post-thumb img { transform: scale(1.08); }
.post-body { display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; color: var(--gold); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }
.post-body h2 { font-size: 1.35rem; font-weight: 500; line-height: 1.45; transition: color .5s ease; }
.post-row:hover h2 { color: var(--gold); }
.post-excerpt { margin-top: 10px; }
.post-more { margin-top: auto; padding-top: 18px; }

/* ---------- Work detail ---------- */
.project-intro { padding: 60px 0 0; }
.project-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; font-size: 15px; }
.project-meta strong { color: var(--heading); font-weight: 600; }
.project-scope { max-width: 820px; margin: 20px auto 0; text-align: center; }
.slideshow { padding: 40px 0 100px; }
.slide-viewer {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--dark);
}
.slide-viewer img { width: 100%; height: 100%; object-fit: contain; }
.slide-nav {
    position: absolute;
    bottom: 0;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: none;
    background: var(--border);
    color: var(--heading);
    font-size: 1.4rem;
    transition: background .5s ease, color .5s ease;
}
.slide-nav:hover { background: var(--gold); color: var(--white); }
.slide-nav.prev { right: 50px; }
.slide-nav.next { right: 0; }
.slide-counter {
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px 16px;
    background: var(--white);
    color: var(--heading);
    font-size: 15px;
}
.slide-counter small { color: var(--secondary); }
.slide-caption { margin-top: 22px; text-align: center; }
.slide-caption h3 { font-size: 1.25rem; }
.slide-caption p { margin-top: 4px; color: var(--gold); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }
.thumb-strip { display: flex; gap: 10px; overflow-x: auto; padding: 22px 2px 6px; scrollbar-width: thin; }
.thumb-strip button { flex: 0 0 auto; width: 96px; aspect-ratio: 4 / 3; overflow: hidden; padding: 0; border: 2px solid transparent; opacity: .55; background: none; transition: opacity .3s ease, border-color .3s ease; }
.thumb-strip button img { width: 100%; height: 100%; object-fit: cover; }
.thumb-strip button:hover { opacity: .85; }
.thumb-strip button.active { border-color: var(--gold); opacity: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: var(--secondary); }
.footer-top { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .9fr; gap: 40px; }
.footer .brand-logo { width: 190px; padding: 10px 14px; background: var(--white); border-radius: 2px; }
.footer-title { display: block; margin-bottom: 18px; color: var(--white); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer a:hover { color: var(--white); }
.footer .rich-text { color: var(--secondary); }
.footer-social { padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); text-align: center; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; }
.copyright { padding: 18px 0; text-align: center; color: var(--text); font-size: 14px; }

/* ---------- Scroll up ---------- */
.scroll-up {
    position: fixed;
    right: 40px;
    bottom: 0;
    z-index: 90;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    opacity: 0;
    visibility: hidden;
    transition: all .5s ease;
}
.scroll-up.show { opacity: 1; visibility: visible; }
.scroll-up:hover { background: var(--heading); color: var(--white); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .hero-thumb { flex-basis: 50%; }
    .hero-content { flex-basis: 50%; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .about-content { padding: 44px; }
}
@media (max-width: 1080px) {
    .process-flow { flex-direction: column; gap: 24px; }
    .process-flow::before { top: 0; bottom: 0; left: 32px; right: auto; border-top: 0; border-left: 1px dashed var(--gold); }
    .process-node { flex-direction: row; text-align: left; }
}
@media (max-width: 991px) {
    :root { --header-h: 66px; }
    .menu-toggle { display: grid; place-items: center; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 0;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
    }
    .nav-links.open { display: flex; }
    .nav-links a { line-height: 1; padding: 14px 24px; }
    .nav-links a::after { display: none; }
    .nav .btn { display: none; }
    .hero { flex-direction: column; min-height: 0; max-height: none; }
    .hero-thumb { flex: 0 0 auto; height: 320px; }
    .hero-content { padding: 44px 24px 56px; }
    .section { padding: 70px 0; }
    .split, .contact, .footer-grid { grid-template-columns: 1fr; }
    .why-grid, .post-list { grid-template-columns: repeat(2, 1fr); }
    .portfolio { grid-template-columns: repeat(2, 1fr); }
    .image-frame, .image-frame img { min-height: 320px; }
}
@media (max-width: 640px) {
    .brand-logo { width: 150px; }
    .hero-thumb { height: 240px; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { gap: 24px; }
    .about-content, .contact-box { padding: 30px 20px; }
    .stats, .cards, .why-grid, .post-list, .portfolio { grid-template-columns: 1fr; }
    .why { grid-template-columns: 1fr; }
    .work span { opacity: 1; transform: none; top: auto; bottom: 0; left: 0; right: 0; padding: 12px; background: rgba(255, 255, 255, .92); font-size: 1rem; }
    .work span::after { display: none; }
    .page-title { padding: 60px 0; }
    .scroll-up { right: 16px; }
}
/* ---------- Hero slider ---------- */
.hero-slider { display: block; }
.hero-slide { position: absolute; inset: 0; display: flex; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s ease; }
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; min-height: inherit; }
.hero-slider .hero-content h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.hero-controls { position: absolute; z-index: 5; left: 58%; bottom: 0; display: flex; }
.hero-controls .slide-nav { position: static; }
.hero-count { position: absolute; z-index: 5; right: 6%; bottom: 18px; color: var(--heading); font-size: 30px; font-weight: 300; }
.hero-count small { font-size: 16px; color: var(--secondary); }

/* ---------- Activities ---------- */
.activity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.activity-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); transition: box-shadow .5s ease, transform .5s ease, border-color .5s ease; }
.activity-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
.activity-thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-bg); }
.activity-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.activity-card:hover .activity-thumb img { transform: scale(1.08); }
.activity-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.activity-body h3 { font-size: 1.08rem; line-height: 1.45; transition: color .5s ease; }
.activity-card:hover h3 { color: var(--gold-dark); }
.activity-body .read-more { margin-top: auto; padding-top: 16px; }

/* ---------- Albums ---------- */
.album-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.album-grid.boxed { gap: 30px; }
.album { display: block; }
.album span { font-size: 2rem; font-weight: 300; }
.album span small { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark); }
.album span::after { margin-top: 10px; }
/* Album name always visible on a soft bottom gradient; the hover overlay keeps the Nikki look. */
.album::before { content: ""; position: absolute; inset: 45% 0 0; z-index: 1; background: linear-gradient(transparent, rgba(16, 16, 16, .7)); transition: opacity .5s ease; }
.album span { opacity: 1; top: auto; bottom: 22px; transform: none; color: var(--white); }
.album span::after { display: none; }
.album:hover::before { opacity: 0; }
.album:hover span { color: var(--heading); bottom: 50%; transform: translateY(50%); }
.album:hover span::after { display: block; }
.album span small { color: rgba(255, 255, 255, .85); }
.album:hover span small { color: var(--gold-dark); }
.album-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.album-tabs a { padding: 6px 16px; border: 1px solid var(--border); color: var(--heading); font-size: 15px; }
.album-tabs a:hover, .album-tabs a.active { border-color: var(--gold); background: var(--gold); color: var(--white); }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.photo { margin: 0; }
.photo button { display: block; width: 100%; padding: 0; border: 0; background: var(--gray-bg); aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease, opacity .5s ease; }
.photo button:hover img { transform: scale(1.08); opacity: .9; }
.photo figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--text); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 30px; background: rgba(16, 16, 16, .94); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; margin: 0 auto; }
.lightbox figcaption { margin-top: 14px; color: #e5e5e5; }
.lightbox figcaption small { color: var(--secondary); margin-left: 8px; }
.lightbox-nav, .lightbox-close { flex: 0 0 auto; width: 50px; height: 50px; display: grid; place-items: center; border: 0; background: rgba(255, 255, 255, .1); color: var(--white); font-size: 1.4rem; transition: background .3s ease; }
.lightbox-nav:hover, .lightbox-close:hover { background: var(--gold); }
.lightbox-close { position: absolute; top: 20px; right: 20px; }

/* ---------- Partners ---------- */
.partners-section { padding: 80px 0; }
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.partner { display: grid; place-items: center; width: 190px; height: 110px; padding: 16px; border: 1px solid var(--border); background: var(--white); transition: border-color .5s ease, box-shadow .5s ease; }
.partner img { max-height: 76px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .5s ease, opacity .5s ease; }
.partner:hover { border-color: var(--gold); box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.partner:hover img { filter: none; opacity: 1; }
.partner span { color: var(--heading); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band { padding: 70px 0; background: var(--gold-soft); border-top: 1px solid #ece3d1; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { max-width: 720px; margin-top: 6px; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }

/* ---------- Article ---------- */
.article { padding: 70px 0 90px; }
.article-wrap { max-width: 860px; }
.article-lead { margin-bottom: 26px; font-size: 1.15rem; color: var(--heading); }
.article-body { color: var(--text); font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
.article-body::after { content: ""; display: table; clear: both; }
.article-body p { margin: 0 0 18px; }
.article-body img { max-width: 100%; height: auto !important; display: inline-block; }
.article-body img[style*="float: left"] { margin: 6px 24px 12px 0 !important; }
.article-body img[style*="float: right"] { margin: 6px 0 12px 24px !important; }
.article-body img[style*="margin-left: auto"] { display: block; }
.article-body table { width: 100% !important; height: auto !important; border-collapse: collapse; }
.article-body td { padding: 6px !important; vertical-align: top; }
.article-body a { color: var(--gold-dark); font-weight: 600; }
.article-body h2, .article-body h3 { margin: 30px 0 14px; }
.article-footer { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border); }

/* ---------- Pager ---------- */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 100px; }
.pager a, .pager span.disabled { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 22px; border: 1px solid var(--border); color: var(--heading); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.pager a:hover { border-color: var(--gold); color: var(--gold); }
.pager span.disabled { color: var(--secondary); }
.pager-info { color: var(--secondary); }

@media (max-width: 1199px) {
    .activity-grid, .album-grid, .photo-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-controls { left: 50%; }
}
@media (max-width: 991px) {
    .hero-slide { flex-direction: column; }
    .hero-controls { left: auto; right: 0; bottom: auto; top: 270px; }
    .hero-count { display: none; }
    .activity-grid, .album-grid, .photo-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .hero-controls { top: 190px; }
    .activity-grid, .photo-grid { grid-template-columns: 1fr; }
    .album-grid.boxed { gap: 16px; }
    .album span { font-size: 1.4rem; }
    .partner { width: calc(50% - 12px); }
    .lightbox { padding: 60px 8px 20px; gap: 4px; }
    .lightbox-nav { width: 40px; height: 40px; }
}

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