@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

/* =============================================================================
ALAYA CAPITAL — style.css
Global styles for all pages (homepage, about, services, contact, risk warning)
============================================================================= */

/* =============================================================================
GLOBAL — CSS variables, fonts, colors, and image paths
============================================================================= */
:root {
    --color-bg-dark: #1a1a1a;
    --color-bg-gray: #555555;
    --color-bg-white: #ffffff;
    --color-contact-panel: #2d2d2d;
    --color-contact-content: #2d2d2d;
    --color-brand-gold: #c8a45e;
    --color-brand-gold-bright: #e4c47a;
    --color-brand-gold-soft: rgba(200, 164, 94, 0.35);
    --color-about-bg: #454545;
    --color-about-text: #c4c4c4;

    --font-main: 'Playfair Display', serif;
    --font-text: 'Open Sans', serif;

    --radius-sm: 5px;
    --transition-base: 0.3s ease;
    --section-padding: 20px;
    --img-hero-bg: url(./images/backgroundimage.jpg);
    --img-about-bg: url(./images/aboutmeimage.jpg);
}

/* =============================================================================
GLOBAL — Reset and base element styles
============================================================================= */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* =============================================================================
GLOBAL — Hidden native scrollbars + gold scroll progress indicator
============================================================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    z-index: 12;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.scroll-progress.is-visible {
    opacity: 1;
}

.scroll-progress__fill {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(200, 164, 94, 0.28) 0%,
        rgba(228, 196, 122, 0.62) 55%,
        rgba(200, 164, 94, 0.38) 100%
    );
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

/* =============================================================================
GLOBAL — Page exit fade before internal navigation (all pages)
============================================================================= */
body.page-is-leaving {
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    margin: 0px;
    padding: 0px;
    position: relative;
    z-index: 1;
    background-color: transparent;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* =============================================================================
GLOBAL — Site-wide matte texture and flame watermarks (all pages)
============================================================================= */
html {
    min-height: 100%;
    background-color: var(--color-about-bg);
}

html::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E"),
        linear-gradient(165deg, rgba(255, 255, 255, 0.03) 0%, transparent 42%, rgba(0, 0, 0, 0.06) 100%);
    background-size: 180px 180px, 100% 100%;
}

html::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("./images/logo.png"), url("./images/logo.png");
    background-repeat: no-repeat, no-repeat;
    background-position: -4% center, 104% center;
    background-size: min(32vw, 280px), min(32vw, 280px);
}

@media (max-width: 768px) {
    html::after {
        opacity: 0.025;
        background-size: 45vw, 45vw;
    }
}

/* =============================================================================
HERO NAVIGATION — Fixed top bar on homepage (logo, current page, links, menu)
============================================================================= */
.hero-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 16px 24px 28px;
    text-shadow: none;
}

.hero-nav,
.hero-nav * {
    text-shadow: none;
}

.hero-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.55) 55%,
        transparent 100%
    );
    z-index: -1;
    pointer-events: none;
}

.hero-nav > * {
    position: relative;
    z-index: 1;
}

.hero-nav__logo {
    justify-self: start;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.hero-nav__logo img {
    width: clamp(72px, 12vw, 140px);
    height: auto;
    display: block;
}

.hero-nav__bar {
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: fit-content;
    max-width: min(980px, calc(100vw - 260px));
    padding: 12px 24px;
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-sm);
}

.hero-nav__current {
    margin: 0;
    font-family: var(--font-text);
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
}

.hero-nav__current strong {
    font-weight: 600;
}

.hero-nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hero-nav__links a {
    position: relative;
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 12px;
    font-family: var(--font-main);
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    white-space: nowrap;
}

.hero-nav__links a::after {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 4px;
    height: 2px;
    background-color: #ffffff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.hero-nav__links a:hover::after,
.hero-nav__links a.active::after {
    transform: scaleX(1);
}

.hero-nav__menu-btn {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 9px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.65);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.hero-nav__menu-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-nav__menu-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

/* =============================================================================
RESPONSIVE — Tablet / small laptop (hide inline nav before overflow)
============================================================================= */
@media (max-width: 1100px) {
    .hero-nav__links {
        display: none;
    }

    .hero-nav__bar {
        max-width: min(420px, calc(100vw - 160px));
        justify-content: center;
        gap: 0;
    }

    .hero-nav__current {
        white-space: normal;
        text-align: center;
        line-height: 1.35;
    }

    .nav-links {
        display: none;
    }

    .nav-menu-btn {
        display: flex;
    }
}

.hero-menu-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 4;
    width: 52px;
    height: 52px;
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.55);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero-menu-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.hero-menu-btn:hover {
    background: rgba(26, 26, 26, 0.85);
    border-color: #ffffff;
    transform: scale(1.05);
}

/* =============================================================================
SIDE NAVIGATION — Slide-out mobile menu (all pages)
============================================================================= */
.side-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.side-nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.side-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100vh;
    z-index: 201;
    background-color: var(--color-bg-dark);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.side-nav.is-open {
    transform: translateX(0);
}

.side-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 16px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.side-nav__logo {
    width: 120px;
    height: auto;
    display: block;
}

.side-nav__close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    transition: opacity 0.2s ease;
}

.side-nav__close:hover {
    opacity: 0.7;
}

.side-nav__content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    -webkit-overflow-scrolling: touch;
}

.side-nav__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.side-nav__links a {
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 1.25rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: padding-left 0.25s ease, color 0.25s ease;
}

.side-nav__links a:hover {
    padding-left: 8px;
    color: rgba(255, 255, 255, 0.85);
}

.side-nav__about,
.side-nav__contact {
    margin-bottom: 28px;
}

.side-nav__about h3,
.side-nav__contact h3 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.side-nav__about p,
.side-nav__contact p {
    font-family: var(--font-text);
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 8px;
}

.side-nav__contact a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.side-nav-open {
    overflow: hidden;
}

/* =============================================================================
TOP NAVIGATION BAR — Fixed header on inner pages (About, Services, Contact, etc.)
============================================================================= */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #1a1a1a;
    transform: translateY(0);
    transition: transform 0.3s ease;
    will-change: transform;
}

.nav-bar.nav-hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: auto;
    width: 100px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-links a {
    position: relative;
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 2px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background-color: #ffffff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 7px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.25s ease;
}

.nav-menu-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nav-menu-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

/* =============================================================================
PAGE HERO — Title banner on inner pages (not the homepage hero)
============================================================================= */
.page-hero {
    position: relative;
    height: calc(100vh / 3);
    min-height: 180px;
    padding-top: 96px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("./images/backgroundimage.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(0.7);
    z-index: 0;
}

.page-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #555555;
    font-size: 2.5rem;
    font-family:'GekoFont', sans-serif;
    color: #ffffff;
}

/* =============================================================================
MAIN CONTENT — Default main wrapper on inner pages
============================================================================= */
main {
    padding: 0 0px 20px;
}

/* =============================================================================
RISK WARNING PAGE — Legal disclaimers and compliance text
============================================================================= */
.risk-warning {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 120px);
    margin: 0;
    padding: 96px clamp(20px, 4vw, 48px) 56px;
}

.risk-warning section {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 48px;
}

.risk-warning h2 {
    font-family: var(--font-main);
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: 20px;
}

.risk-warning h3 {
    font-family: var(--font-main);
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    margin: 28px 0 12px;
    color: var(--color-brand-gold);
    text-shadow: none;
}

.risk-warning p {
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.92);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.risk-warning a {
    color: var(--color-brand-gold-bright);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-shadow: none;
}

.risk-warning a:hover {
    color: var(--color-brand-gold);
}

.risk-warning a.risk-warning__back {
    color: #1a1a1a;
    text-decoration: none;
}

.risk-warning ul {
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 16px 1.25rem;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.risk-warning li {
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.risk-warning p.risk-warning__notice {
    color: #ff0000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1rem;
}

.risk-warning__back {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    color: #1a1a1a;
    background: #ffffff;
    border-radius: var(--radius-sm);
    text-decoration: none;
    text-shadow: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.risk-warning__back:hover {
    background: #555555;
    color: #ffffff;
}

/* =============================================================================
FOOTER — Copyright bar at the bottom of every page
============================================================================= */
.homepage-page__divider,
.about-page__divider {
    width: min(620px, 86vw);
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(200, 164, 94, 0.15) 18%,
        rgba(228, 196, 122, 0.75) 50%,
        rgba(200, 164, 94, 0.15) 82%,
        transparent 100%
    );
}

footer,
.about-footer {
    padding: clamp(40px, 5vw, 56px) clamp(20px, 4vw, 48px) 28px;
    background-color: #3a3a3a;
    font-family: var(--font-text);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-align: left;
    color: rgba(255, 255, 255, 0.52);
    text-shadow: none;
}

.about-footer__inner {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
    max-width: 1240px;
    margin: 0 auto 28px;
}

.about-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.about-footer__logo-link {
    display: inline-block;
    width: fit-content;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-footer__logo-link:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.about-footer__logo-link:focus-visible {
    outline: 2px solid var(--color-brand-gold-bright);
    outline-offset: 4px;
}

.about-footer__logo {
    display: block;
    width: min(160px, 100%);
    height: auto;
}

.about-footer__desc {
    margin: 0;
    max-width: 34ch;
    font-size: clamp(0.78rem, 1.1vw, 0.88rem);
    line-height: 1.7;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.58);
}

.about-footer__contact {
    min-width: 0;
}

.about-footer__contact-title {
    margin: 0 0 16px;
    font-family: var(--font-main);
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-brand-gold);
    text-shadow: none;
}

.about-footer__contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
}

.about-footer__contact-grid p {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: clamp(0.78rem, 1.05vw, 0.88rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.58);
}

.about-footer__contact-grid strong {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(200, 164, 94, 0.75);
}

.about-footer__contact-grid a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.25s ease;
}

.about-footer__contact-grid a:hover {
    color: var(--color-brand-gold-bright);
}

.about-footer__address {
    grid-column: 1 / -1;
}

.about-footer__bottom {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}

.about-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 18px;
    margin-bottom: 0;
}

.about-footer__nav a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    letter-spacing: 0.06em;
    transition: color 0.25s ease;
}

.about-footer__nav a:hover {
    color: var(--color-brand-gold-bright);
}

.about-footer__copy {
    margin: 0;
    text-align: right;
}

.about-footer__brand,
.about-footer__contact,
.about-footer__bottom {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-footer__brand {
    transition-delay: 0.05s;
}

.about-footer__contact {
    transition-delay: 0.18s;
}

.about-footer__bottom {
    transition-delay: 0.3s;
}

.about-footer.is-visible .about-footer__brand,
.about-footer.is-visible .about-footer__contact,
.about-footer.is-visible .about-footer__bottom,
.about-footer__brand.is-visible,
.about-footer__contact.is-visible,
.about-footer__bottom.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .about-footer__brand,
    .about-footer__contact,
    .about-footer__bottom {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 992px) {
    .about-footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-footer__desc {
        max-width: 48ch;
    }

    .about-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-footer__copy {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .about-footer__contact-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
============================================================================= */
@media (max-width: 768px) {







    .hero-nav {
        grid-template-columns: auto 1fr auto;
        gap: 8px;
        padding: 12px 16px 20px;
    }

    .hero-nav__logo img {
        width: clamp(64px, 22vw, 100px);
    }

    .hero-nav__bar {
        max-width: calc(100vw - 140px);
        padding: 8px 12px;
        gap: 0;
    }

    .hero-nav__current {
        white-space: normal;
        text-align: center;
        font-size: 0.82rem;
        line-height: 1.35;
    }

    .hero-nav__links {
        display: none;
    }

    .hero-nav__menu-btn {
        width: 52px;
        height: 52px;
        padding: 8px;
    }

    .hero-menu-btn {
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        padding: 7px;
    }

    .nav-bar {
        padding: 12px 16px;
    }

    .nav-logo img {
        width: 72px;
    }

    .nav-links {
        display: none;
    }

    .nav-menu-btn {
        display: flex;
    }

    .page-hero {
        height: auto;
        min-height: 220px;
        padding: 100px 16px 28px;
    }

    .page-hero h1 {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        padding: 0;
    }

    .risk-warning section {
        padding: 24px 16px 40px;
    }

    .risk-warning a {
        overflow-wrap: anywhere;
        word-break: break-word;
    }



























    .side-nav {
        width: min(320px, 92vw);
    }

    section {
        padding: 16px;
        margin: 12px;
    }

    .page-securities__section,
    .insight-page section {
        margin-left: 0;
        margin-right: 0;
        padding-left: clamp(16px, 4vw, 24px);
        padding-right: clamp(16px, 4vw, 24px);
    }
}

/* =============================================================================
HOME PAGE — Landing shell aligned with About / Services / Contact
============================================================================= */
.home-page {
    position: relative;
    margin: 0;
    padding: 0;
    background-color: transparent;
    overflow: hidden;
}

.home-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px clamp(20px, 4vw, 48px) 56px;
    text-align: center;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("./images/welcomeimage.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(0.78);
    animation: homeHeroBreathe 8s ease-in-out infinite;
}

@keyframes homeHeroBreathe {
    0%,
    100% {
        filter: brightness(0.48);
    }
    50% {
        filter: brightness(0.96);
    }
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(26, 24, 22, 0.18) 0%,
        rgba(26, 24, 22, 0.08) 45%,
        rgba(26, 24, 22, 0.28) 100%
    );
}

.home-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 42rem;
}

.home-hero__eyebrow {
    margin: 0 0 14px;
    font-family: var(--font-text);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-brand-gold);
    text-shadow: none;
    opacity: 0;
    animation: aboutLogoReveal 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

.home-hero__title {
    margin: 0;
    font-family: var(--font-main);
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(128deg, #b8944f 0%, #e8d5a8 42%, #c8a45e 78%, #a88440 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    opacity: 0;
    animation: aboutLogoReveal 0.95s cubic-bezier(0.4, 0, 0.2, 1) 0.22s forwards;
}

.home-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: clamp(20px, 4.5vh, 40px);
    z-index: 2;
    font-family: var(--font-text);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    transform: translateX(-50%);
    animation: homeHeroScrollFade 2.4s ease-in-out infinite;
    transition: color 0.25s ease;
}

.home-hero__scroll:hover,
.home-hero__scroll:focus-visible {
    color: #ffffff;
    outline: none;
}

@keyframes homeHeroScrollFade {
    0%, 100% { opacity: 0.25; }
    50% { opacity: 1; }
}

.home-risk-popup {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(88px, 12vh, 120px) 20px 24px;
}

.home-risk-popup[hidden] {
    display: none;
}

.home-risk-popup.is-open {
    display: flex;
}

.home-risk-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.45);
}

.home-risk-popup__box {
    position: relative;
    z-index: 1;
    width: min(480px, 100%);
    padding: 28px 28px 24px;
    border: 1px solid rgba(200, 164, 94, 0.28);
    border-radius: var(--radius-sm);
    background: rgba(26, 24, 22, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
    text-align: left;
    text-shadow: none;
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.home-risk-popup.is-visible .home-risk-popup__box {
    opacity: 1;
    transform: translateY(0);
}

.home-risk-popup__close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: none;
    color: var(--color-brand-gold);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}

.home-risk-popup__title {
    margin: 0 0 12px;
    padding-right: 28px;
    font-family: var(--font-main);
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 700;
    color: var(--color-brand-gold);
}

.home-risk-popup__text {
    margin: 0 0 22px;
    font-family: var(--font-text);
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}

.home-risk-popup__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-risk-popup__link,
.home-risk-popup__continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8.5rem;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font-text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.home-risk-popup__link {
    border: 1px solid rgba(200, 164, 94, 0.35);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
}

.home-risk-popup__link:hover,
.home-risk-popup__link:focus-visible {
    border-color: var(--color-brand-gold-soft);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.home-risk-popup__continue {
    border: 1px solid transparent;
    background: linear-gradient(135deg, #c8a45e 0%, #e4c47a 52%, #c8a45e 100%);
    color: #1a1410;
}

.home-risk-popup__continue:hover,
.home-risk-popup__continue:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(200, 164, 94, 0.28);
    outline: none;
}

body.home-risk-open {
    overflow: hidden;
}

body.home-risk-open .lang-switcher {
    opacity: 0.35;
    pointer-events: none;
}

.home-page__inner {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    padding: 0;
}

.home-page__inner > .page-section-header,
.home-page__section {
    margin: 0;
    padding: clamp(88px, 12vw, 140px) clamp(20px, 4vw, 48px);
    box-sizing: border-box;
}

.home-page__section--about {
    background-color: transparent;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, transparent 40%, rgba(0, 0, 0, 0.04) 100%);
}

.home-page__section--about .page-section-header {
    margin-bottom: 0;
}

.home-page__section--services {
    background-color: rgba(0, 0, 0, 0.12);
    background-image: linear-gradient(165deg, rgba(255, 255, 255, 0.03) 0%, transparent 55%);
}

.home-page__section--contact {
    background-color: transparent;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, transparent 40%, rgba(0, 0, 0, 0.04) 100%);
}

.home-page__section-title {
    margin: 0 auto 36px;
    max-width: 1120px;
    font-family: var(--font-main);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    color: var(--color-brand-gold);
    text-shadow: none;
}

.home-services-split {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(52px, 8vw, 64px);
    --home-services-card-height: 280px;
}

.home-services-split__viewport {
    position: relative;
    width: 100%;
    min-height: 280px;
    overflow: hidden;
}

.home-services-split__track {
    position: relative;
    width: 100%;
    min-height: 280px;
}

.home-services-split__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(200, 164, 94, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-brand-gold);
    font-size: 0;
    line-height: 0;
    appearance: none;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.home-services-split__arrow::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background-color: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-services-split__arrow--prev {
    left: 0;
}

.home-services-split__arrow--prev::before {
    transform: scaleX(-1);
}

.home-services-split__arrow--next {
    right: 0;
}

.home-services-split__arrow:hover,
.home-services-split__arrow:focus-visible {
    background: rgba(200, 164, 94, 0.12);
    border-color: var(--color-brand-gold-soft);
    color: #e4c47a;
    outline: none;
}

.home-services-split__arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.home-services-split__panel {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 36px);
    align-items: stretch;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(0);
    transition:
        transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.55s;
}

.home-services-split__panel.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    z-index: 2;
}

.home-services-split__panel.is-exit-left {
    opacity: 0;
    visibility: visible;
    transform: translateX(-110%);
    z-index: 1;
}

.home-services-split__panel.is-exit-right {
    opacity: 0;
    visibility: visible;
    transform: translateX(110%);
    z-index: 1;
}

.home-services-split__panel.is-enter-left {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    z-index: 2;
    animation: homeServicesEnterFromLeft 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.home-services-split__panel.is-enter-right {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    z-index: 2;
    animation: homeServicesEnterFromRight 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.home-services-split__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    height: var(--home-services-card-height);
    min-height: var(--home-services-card-height);
    max-height: var(--home-services-card-height);
    padding: clamp(18px, 2.4vw, 24px);
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid rgba(200, 164, 94, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    text-shadow: none;
}

.home-services-split__title {
    margin: 0;
    font-family: var(--font-main);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-brand-gold);
}

.home-services-split__text {
    margin: 0;
    font-family: var(--font-text);
    font-size: clamp(0.95rem, 1.35vw, 1.06rem);
    font-weight: 400;
    line-height: 1.65;
    color: var(--color-about-text);
}

.home-services-split__link {
    display: inline-block;
    width: fit-content;
    margin-top: 4px;
    padding: 12px 22px;
    border: 1px solid rgba(200, 164, 94, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    font-family: var(--font-text);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--color-brand-gold);
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.home-services-split__link:hover,
.home-services-split__link:focus-visible {
    background: rgba(200, 164, 94, 0.12);
    border-color: var(--color-brand-gold-soft);
    color: #e4c47a;
    outline: none;
}

.home-services-split__media {
    position: relative;
    align-self: center;
    width: 100%;
    height: var(--home-services-card-height);
    min-height: var(--home-services-card-height);
    max-height: var(--home-services-card-height);
    border: 1px solid rgba(200, 164, 94, 0.14);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.home-services-split__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@keyframes homeServicesEnterFromLeft {
    from {
        opacity: 0;
        transform: translateX(-110%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes homeServicesEnterFromRight {
    from {
        opacity: 0;
        transform: translateX(110%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.home-page__ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.home-page__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 9.5rem;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font-text);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-decoration: none;
    text-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.home-page__cta--primary {
    border: 1px solid transparent;
    background: linear-gradient(135deg, #c8a45e 0%, #e4c47a 52%, #c8a45e 100%);
    color: #1a1410;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.home-page__cta--primary:hover,
.home-page__cta--primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(200, 164, 94, 0.28);
    outline: none;
}

.home-page__cta--secondary {
    border: 1px solid rgba(200, 164, 94, 0.35);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.88);
}

.home-page__cta--secondary:hover,
.home-page__cta--secondary:focus-visible {
    border-color: var(--color-brand-gold-soft);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    outline: none;
}

.home-page__teaser,
.home-page__service-card,
.home-page__contact {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(200, 164, 94, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    text-shadow: none;
    transition:
        background-color 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}

.home-page__teaser {
    max-width: 42rem;
    margin: 0 auto;
    padding: clamp(24px, 3vw, 32px) clamp(22px, 2.8vw, 30px);
}

.home-page__teaser:hover,
.home-page__teaser:focus-visible,
.home-page__service-card:hover,
.home-page__service-card:focus-visible {
    background-color: rgba(255, 255, 255, 0.075);
    border-color: var(--color-brand-gold-soft);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.14);
    outline: none;
}

.home-page__teaser-title,
.home-page__service-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    font-family: var(--font-main);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-brand-gold);
}

.home-page__teaser-icon,
.home-page__service-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 0.2em;
    object-fit: contain;
    opacity: 0.88;
    filter: drop-shadow(0 0 6px rgba(200, 164, 94, 0.25));
}

.home-page__teaser p,
.home-page__service-card p,
.home-page__contact p {
    margin: 0;
    font-family: var(--font-text);
    font-size: clamp(0.95rem, 1.35vw, 1.06rem);
    font-weight: 400;
    line-height: 1.85;
    color: var(--color-about-text);
}

.home-page__teaser-link {
    display: inline-block;
    margin-top: 18px;
    font-family: var(--font-text);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-brand-gold);
}

.home-page__teaser::after,
.home-page__service-card::after {
    content: "";
    display: block;
    width: 32px;
    height: 1px;
    margin-top: 18px;
    background: linear-gradient(90deg, var(--color-brand-gold), transparent);
}

.home-page__contact {
    max-width: 42rem;
    margin: 0 auto;
    padding: clamp(28px, 3.5vw, 40px) clamp(22px, 2.8vw, 32px);
    text-align: center;
}

.home-page__contact-title {
    margin: 0 0 14px;
    font-family: var(--font-main);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-brand-gold);
}

.home-page__contact p {
    margin: 0 auto 24px;
    max-width: 48ch;
}

.home-page__reveal {
    opacity: 0;
    animation: aboutCardReveal 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.home-page__reveal--1 { animation-delay: 0.18s; }
.home-page__reveal--2 { animation-delay: 0.28s; }
.home-page__reveal--3 { animation-delay: 0.38s; }
.home-page__reveal--4 { animation-delay: 0.48s; }
.home-page__reveal--5 { animation-delay: 0.58s; }

@media (max-width: 900px) {
    .home-services-split {
        padding: 0 46px;
        --home-services-card-height: 240px;
    }

    .home-services-split__arrow {
        width: 42px;
        height: 42px;
    }

    .home-services-split__arrow::before {
        width: 11px;
        height: 11px;
    }

    .home-services-split__viewport {
        min-height: 320px;
    }
}

@media (max-width: 600px) {
    .home-hero {
        padding: 100px 18px 48px;
    }

    .home-risk-popup {
        padding-top: 96px;
    }

    .home-risk-popup__box {
        padding: 24px 20px 20px;
    }

    .home-risk-popup__actions {
        flex-direction: column;
    }

    .home-risk-popup__link,
    .home-risk-popup__continue {
        width: 100%;
    }

    .home-page__section {
        padding: clamp(72px, 14vw, 100px) 18px;
    }

    .home-page__ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .home-page__cta {
        width: 100%;
    }

    .home-services-split {
        padding: 0 40px;
        --home-services-card-height: 200px;
    }

    .home-services-split__arrow {
        width: 36px;
        height: 36px;
    }

    .home-services-split__arrow::before {
        width: 10px;
        height: 10px;
    }

    .home-services-split__panel {
        grid-template-columns: 1fr;
    }

    .home-services-split__media {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__eyebrow,
    .home-hero__title,
    .home-page__reveal {
        opacity: 1;
        animation: none;
    }

    .home-hero::before {
        animation: none;
        filter: brightness(0.78);
    }

    .home-hero__scroll {
        transform: translateX(-50%);
        animation: none;
        opacity: 0.85;
    }

    .home-risk-popup__box {
        transition: none;
    }

    .home-services-split__panel,
    .home-services-split__panel.is-enter-left,
    .home-services-split__panel.is-enter-right {
        transition: none;
        animation: none;
    }
}

/* =============================================================================
ABOUT PAGE — Premium grid layout, brand texture, and detail modal
============================================================================= */
.about-page {
    position: relative;
    min-height: calc(100vh - 120px);
    margin: 0;
    padding: 96px clamp(20px, 4vw, 48px) 56px;
    background-color: transparent;
    overflow: hidden;
}

.about-page__inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
}

.page-section-header {
    max-width: 42rem;
    margin: 0 auto clamp(40px, 5vw, 56px);
    text-align: center;
    opacity: 0;
    animation: aboutLogoReveal 0.95s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-section-header__eyebrow {
    margin: 0 0 14px;
    font-family: var(--font-text);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-brand-gold);
    text-shadow: none;
}

.page-section-header__title {
    margin: 0 0 18px;
    font-family: var(--font-main);
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(128deg, #b8944f 0%, #e8d5a8 42%, #c8a45e 78%, #a88440 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.page-section-header__lead {
    margin: 0 auto;
    max-width: 48ch;
    font-family: var(--font-text);
    font-size: clamp(0.98rem, 1.3vw, 1.08rem);
    font-weight: 400;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.78);
    text-shadow: none;
}

.about-page__hero {
    display: flex;
    justify-content: center;
    padding: 8px 0 44px;
}

.about-page__logo {
    display: block;
    width: min(240px, 38vw);
    height: auto;
    opacity: 0;
    animation: aboutLogoReveal 1.1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.about-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px clamp(40px, 6vw, 72px);
    padding-left: clamp(32px, 7vw, 96px);
    padding-right: clamp(48px, 9vw, 128px);
}

.about-card {
    opacity: 0;
    animation: aboutCardReveal 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.about-card--vision { animation-delay: 0.2s; }
.about-card--started { animation-delay: 0.32s; }
.about-card--why { animation-delay: 0.44s; }
.about-card--philosophy { animation-delay: 0.56s; }

.about-card__trigger {
    width: 100%;
    padding: clamp(24px, 3vw, 32px) clamp(22px, 2.8vw, 30px);
    border: 1px solid rgba(200, 164, 94, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    color: inherit;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition:
        background-color 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}

.about-card__trigger:hover,
.about-card__trigger:focus-visible {
    background-color: rgba(255, 255, 255, 0.075);
    border-color: var(--color-brand-gold-soft);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.14);
    outline: none;
}

.about-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: var(--font-main);
    font-size: clamp(1.35rem, 2.1vw, 1.9rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-brand-gold);
    text-shadow: none;
}

.about-card__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.88;
    filter: drop-shadow(0 0 6px rgba(200, 164, 94, 0.25));
}

.about-card__trigger p {
    max-width: 42ch;
    font-family: var(--font-text);
    font-size: clamp(0.95rem, 1.35vw, 1.06rem);
    font-weight: 400;
    line-height: 1.85;
    color: var(--color-about-text);
    text-shadow: none;
}

.about-card__trigger::after {
    content: "";
    display: block;
    width: 32px;
    height: 1px;
    margin-top: 18px;
    background: linear-gradient(90deg, var(--color-brand-gold), transparent);
    opacity: 0.55;
    transition: width 0.45s ease, opacity 0.45s ease;
}

.about-card__trigger:hover::after,
.about-card__trigger:focus-visible::after {
    width: 48px;
    opacity: 0.85;
}


.about-footer {
    text-shadow: none;
}

.about-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.about-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.about-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.about-modal__box {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(80vh, 560px);
    overflow-y: auto;
    padding: 36px 40px;
    background-color: var(--color-bg-dark);
    border: 1px solid rgba(200, 164, 94, 0.2);
    border-radius: var(--radius-sm);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    transform: translateY(24px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-modal.is-open .about-modal__box {
    transform: translateY(0) scale(1);
}

.about-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: none;
    color: var(--color-brand-gold);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    text-shadow: none;
}

.about-modal__box h2 {
    font-family: var(--font-main);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-brand-gold);
    text-shadow: none;
}

.about-modal__box p {
    font-family: var(--font-text);
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 65ch;
    color: var(--color-about-text);
    text-shadow: none;
}

body.about-modal-open {
    overflow: hidden;
}

body.about-modal-open .about-page__inner {
    filter: brightness(0.45);
    pointer-events: none;
}

body.about-modal-open .nav-bar,
body.about-modal-open .hero-nav,
body.about-modal-open .about-footer,
body.about-modal-open .about-page__divider {
    filter: brightness(0.45);
}

body.about-modal-open .services-page .page-section-header {
    filter: brightness(0.45);
    pointer-events: none;
}

@keyframes aboutLogoReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aboutCardReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .about-page {
        padding: 88px 18px 48px;
    }

    .about-page__hero {
        padding-bottom: 28px;
    }

    .about-page__logo {
        width: min(180px, 46vw);
    }

    .about-page__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-left: 0;
        padding-right: 0;
    }

    .about-card__trigger p {
        max-width: 100%;
    }

    .about-footer {
        padding: 32px 16px 24px;
        font-size: 10px;
    }

    .about-modal__box {
        padding: 28px 24px;
    }
}

@media (max-width: 992px) {
    .about-page__grid {
        padding-left: clamp(12px, 3vw, 32px);
        padding-right: clamp(12px, 3vw, 32px);
    }

    .about-card__trigger p {
        max-width: 100%;
    }
}

/* =============================================================================
SERVICES PAGE — Three-column service grid aligned with About page brand language
============================================================================= */
.services-page {
    position: relative;
    min-height: calc(100vh - 120px);
    margin: 0;
    padding: 96px clamp(20px, 4vw, 48px) 56px;
    background-color: transparent;
    overflow: hidden;
}

.services-page__inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

.services-page__hero {
    display: flex;
    justify-content: center;
    padding: 8px 0 48px;
}

.services-page__logo {
    display: block;
    width: min(240px, 38vw);
    height: auto;
    opacity: 0;
    animation: aboutLogoReveal 1.1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.services-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(48px, 7vw, 88px);
    padding-left: clamp(40px, 8vw, 108px);
    padding-right: clamp(56px, 10vw, 140px);
}

.service-card {
    opacity: 0;
    animation: aboutCardReveal 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.service-card--preservation { animation-delay: 0.2s; }
.service-card--bespoke { animation-delay: 0.35s; }
.service-card--advisory { animation-delay: 0.5s; }

.service-card__trigger {
    width: 100%;
    height: 100%;
    padding: clamp(26px, 3vw, 34px) clamp(22px, 2.6vw, 28px);
    border: 1px solid rgba(200, 164, 94, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    color: inherit;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition:
        background-color 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}

.service-card__trigger:hover,
.service-card__trigger:focus-visible {
    background-color: rgba(255, 255, 255, 0.075);
    border-color: var(--color-brand-gold-soft);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.14);
    outline: none;
}

.service-card__title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    font-family: var(--font-main);
    font-size: clamp(1.2rem, 1.75vw, 1.55rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-brand-gold);
    text-shadow: none;
}

.service-card__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 0.2em;
    object-fit: contain;
    opacity: 0.88;
    filter: drop-shadow(0 0 6px rgba(200, 164, 94, 0.25));
}

.service-card__lead {
    max-width: 42ch;
    margin-bottom: 14px;
    font-family: var(--font-text);
    font-size: clamp(0.98rem, 1.25vw, 1.08rem);
    font-weight: 600;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: none;
}

.service-card__trigger p:not(.service-card__lead) {
    max-width: 42ch;
    margin-bottom: 0;
    font-family: var(--font-text);
    font-size: clamp(0.93rem, 1.2vw, 1.02rem);
    font-weight: 400;
    line-height: 1.85;
    color: var(--color-about-text);
    text-shadow: none;
}

.service-card__trigger::after {
    content: "";
    display: block;
    width: 32px;
    height: 1px;
    margin-top: 20px;
    background: linear-gradient(90deg, var(--color-brand-gold), transparent);
    opacity: 0.55;
    transition: width 0.45s ease, opacity 0.45s ease;
}

.service-card__trigger:hover::after,
.service-card__trigger:focus-visible::after {
    width: 48px;
    opacity: 0.85;
}

body.about-modal-open .services-page__inner {
    filter: brightness(0.45);
    pointer-events: none;
}

@media (max-width: 992px) {
    .services-page {
        padding: 88px 16px 44px;
    }

    .services-page__hero {
        padding-bottom: 36px;
    }

    .services-page__logo {
        width: min(200px, 58vw);
    }

    .services-page__grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .service-card__lead,
    .service-card__trigger p:not(.service-card__lead) {
        max-width: 100%;
    }
}

/* =============================================================================
CONTACT PAGE — Asymmetric interactive layout with glass cards and inquiry form
============================================================================= */
.contact-page {
    position: relative;
    min-height: calc(100vh - 100px);
    padding: 100px clamp(20px, 4vw, 56px) 64px;
    overflow: hidden;
    background: linear-gradient(148deg, #383838 0%, #4a4744 38%, #3f3f3f 68%, #363636 100%);
}

.contact-page__ambient {
    position: absolute;
    inset: -6%;
    pointer-events: none;
    transition: transform 0.35s ease-out;
    will-change: transform;
}

.contact-page__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 12% 18%, rgba(200, 164, 94, 0.14) 0%, transparent 62%),
        radial-gradient(ellipse 50% 40% at 88% 72%, rgba(200, 164, 94, 0.09) 0%, transparent 58%);
}

.contact-page__flame {
    position: absolute;
    width: min(36vw, 320px);
    height: min(36vw, 320px);
    background: url("./images/logo.png") center / contain no-repeat;
    opacity: 0.04;
    animation: contactFlameFloat 14s ease-in-out infinite;
}

.contact-page__flame--left {
    top: 8%;
    left: -6%;
    animation-delay: 0s;
}

.contact-page__flame--right {
    bottom: 6%;
    right: -5%;
    animation-delay: -7s;
}

.contact-page__inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

.contact-page__split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.contact-page__editorial {
    padding-top: clamp(12px, 3vw, 32px);
    padding-right: clamp(0px, 2vw, 24px);
}

.contact-page__eyebrow {
    margin-bottom: 18px;
    font-family: var(--font-text);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-brand-gold);
    text-shadow: none;
}

.contact-page__title {
    margin-bottom: 28px;
    font-family: var(--font-main);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    background: linear-gradient(128deg, #b8944f 0%, #e8d5a8 42%, #c8a45e 78%, #a88440 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.contact-page__intro {
    max-width: 36ch;
    margin-bottom: 22px;
    font-family: var(--font-text);
    font-size: clamp(1.02rem, 1.5vw, 1.14rem);
    font-weight: 400;
    line-height: 2;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: none;
}

.contact-page__note {
    max-width: 32ch;
    font-family: var(--font-text);
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--color-about-text);
    text-shadow: none;
}

.contact-page__map {
    margin-top: clamp(28px, 4vw, 40px);
    max-width: 100%;
}

.contact-page__map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.22);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

.contact-page__map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-page__panel {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2.5vw, 24px);
}

.contact-card {
    display: block;
    padding: clamp(22px, 2.8vw, 28px) clamp(22px, 3vw, 30px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.45s ease,
        background-color 0.45s ease;
}

.contact-card:hover,
.contact-card:focus-within {
    transform: scale(1.03) translateY(-5px);
    border-color: rgba(228, 196, 122, 0.35);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

a.contact-card:focus-visible {
    outline: 2px solid var(--color-brand-gold-bright);
    outline-offset: 3px;
}

.contact-card__label {
    display: inline-block;
    position: relative;
    margin-bottom: 10px;
    font-family: var(--font-text);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-brand-gold);
    text-shadow: none;
}

.contact-card__label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--color-brand-gold-bright), transparent);
    transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover .contact-card__label::after,
.contact-card:focus-within .contact-card__label::after {
    width: 100%;
}

.contact-card__value {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-main);
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    font-weight: 600;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: none;
}

.contact-card__value--link {
    position: relative;
    width: fit-content;
    color: #ffffff;
    transition: color 0.35s ease;
}

.contact-card__value--link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 1px;
    background: var(--color-brand-gold-bright);
    transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover .contact-card__value--link {
    color: var(--color-brand-gold-bright);
}

.contact-card:hover .contact-card__value--link::after,
.contact-card:focus-within .contact-card__value--link::after {
    width: 100%;
}

.contact-card__hint {
    font-family: var(--font-text);
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--color-about-text);
    text-shadow: none;
}

.contact-card--form {
    margin-top: 4px;
    position: relative;
}

.contact-form__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.contact-form__optional {
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.42);
}

.contact-form__field input,
.contact-form__field textarea,
.contact-form__field select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    color: #ffffff;
    font-family: var(--font-text);
    font-size: 0.98rem;
    line-height: 1.5;
    text-shadow: none;
    transition:
        border-color 0.35s ease,
        background-color 0.35s ease,
        box-shadow 0.35s ease,
        opacity 0.45s ease;
}

.contact-form__field select {
    appearance: none;
    cursor: pointer;
    padding-right: 40px;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(200, 164, 94, 0.75) 50%),
        linear-gradient(135deg, rgba(200, 164, 94, 0.75) 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% + 2px),
        calc(100% - 16px) calc(50% + 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.contact-form__field select option {
    color: #1a1a1a;
    background: #f5f5f5;
}

.contact-form__field.is-invalid input,
.contact-form__field.is-invalid textarea,
.contact-form__field.is-invalid select {
    border-color: rgba(200, 164, 94, 0.45);
    box-shadow: 0 0 0 2px rgba(200, 164, 94, 0.1);
}

.contact-form__field-error {
    min-height: 0;
    margin-top: 6px;
    font-family: var(--font-text);
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: none;
}

.contact-form__recaptcha {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.contact-form.is-clearing .contact-form__field input,
.contact-form.is-clearing .contact-form__field textarea,
.contact-form.is-clearing .contact-form__field select {
    opacity: 0;
}

.contact-form__title {
    margin-bottom: 8px;
    font-family: var(--font-main);
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 700;
    color: var(--color-brand-gold);
    text-shadow: none;
}

.contact-form__subtitle {
    margin-bottom: 22px;
    font-family: var(--font-text);
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-about-text);
    text-shadow: none;
}

.contact-form__field {
    margin-bottom: 16px;
}

.contact-form__field label {
    display: block;
    margin-bottom: 7px;
    font-family: var(--font-text);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    text-shadow: none;
}

.contact-form__field textarea {
    resize: vertical;
    min-height: 108px;
    scrollbar-width: thin;
    scrollbar-color: rgba(200, 164, 94, 0.5) rgba(0, 0, 0, 0.22);
}

.contact-form__field textarea::-webkit-scrollbar {
    width: 6px;
}

.contact-form__field textarea::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.22);
    border-radius: 4px;
}

.contact-form__field textarea::-webkit-scrollbar-thumb {
    background: rgba(200, 164, 94, 0.48);
    border-radius: 4px;
}

.contact-form__field textarea::-webkit-scrollbar-thumb:hover {
    background: rgba(228, 196, 122, 0.62);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    outline: none;
    border-color: var(--color-brand-gold-bright);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.15);
}

.contact-form__field select:focus {
    outline: none;
    border-color: var(--color-brand-gold-bright);
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.15);
}

.contact-form__submit {
    width: 100%;
    margin-top: 6px;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #2a2218;
    cursor: pointer;
    background: linear-gradient(135deg, #c8a45e 0%, #e4c47a 50%, #c8a45e 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    transition:
        background-position 0.55s ease,
        transform 0.35s ease,
        box-shadow 0.35s ease;
    text-shadow: none;
}

.contact-form__submit:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(200, 164, 94, 0.28);
}

.contact-form__submit:active {
    transform: translateY(0);
}

.contact-form__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-form__submit:disabled:hover {
    background-position: 0% 50%;
    transform: none;
    box-shadow: none;
}

.contact-form__success {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    font-family: var(--font-text);
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--color-brand-gold-bright);
    text-align: center;
    text-shadow: none;
    transition:
        max-height 0.55s ease,
        opacity 0.55s ease,
        margin-top 0.55s ease;
}

.contact-form__success.is-visible {
    max-height: 120px;
    margin-top: 16px;
    opacity: 1;
}

.contact-form__error {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    font-family: var(--font-text);
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    text-shadow: none;
    transition:
        max-height 0.55s ease,
        opacity 0.55s ease,
        margin-top 0.55s ease;
}

.contact-form__error.is-visible {
    max-height: 120px;
    margin-top: 14px;
    opacity: 1;
}

.contact-form__recaptcha-note {
    margin-top: 14px;
    font-family: var(--font-text);
    font-size: 0.68rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.32);
    text-align: center;
    text-shadow: none;
}

.contact-form__recaptcha-note a {
    color: rgba(200, 164, 94, 0.65);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-form__recaptcha-note a:hover {
    color: var(--color-brand-gold-bright);
}

.contact-page .grecaptcha-badge {
    visibility: hidden;
}

.contact-reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: contactReveal 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.contact-reveal--1 { animation-delay: 0.08s; }
.contact-reveal--2 { animation-delay: 0.18s; }
.contact-reveal--3 { animation-delay: 0.3s; }
.contact-reveal--4 { animation-delay: 0.42s; }
.contact-reveal--map { animation-delay: 0.5s; }
.contact-reveal--5 { animation-delay: 0.6s; }
.contact-reveal--6 { animation-delay: 0.72s; }
.contact-reveal--7 { animation-delay: 0.84s; }
.contact-reveal--8 { animation-delay: 0.96s; }

@keyframes contactFlameFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(1.5deg);
    }
}

@keyframes contactReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .contact-page {
        padding: 92px 16px 48px;
    }

    .contact-page__split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-page__editorial {
        padding-right: 0;
    }

    .contact-page__intro,
    .contact-page__note {
        max-width: 100%;
    }

    .contact-page__map-frame {
        aspect-ratio: 16 / 11;
    }

    .contact-page__title {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page__ambient {
        transition: none;
    }

    .contact-page__flame {
        animation: none;
    }

    .contact-reveal {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .contact-card:hover,
    .contact-card:focus-within {
        transform: none;
    }}

/* =============================================================================
LANGUAGE SWITCHER — Fixed bottom-right, current language + upward slide-out
============================================================================= */
.lang-switcher {
    position: fixed;
    right: clamp(12px, 2.5vw, 24px);
    bottom: clamp(12px, 2.5vw, 24px);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-shadow: none;
}

.lang-switcher__toggle {
    position: relative;
    z-index: 2;
    min-width: 7.5rem;
    padding: 10px 14px;
    border: 1px solid rgba(200, 164, 94, 0.35);
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #c8a45e 0%, #e4c47a 52%, #c8a45e 100%);
    color: #1a1410;
    font-family: var(--font-text);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lang-switcher__toggle:hover,
.lang-switcher__toggle:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(200, 164, 94, 0.28);
    outline: none;
}

.lang-switcher.is-open .lang-switcher__toggle {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.lang-switcher__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% - 1px);
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(200, 164, 94, 0.28);
    border-bottom: none;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: rgba(26, 24, 22, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition:
        opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-switcher.is-open .lang-switcher__panel[hidden] {
    display: flex;
}

.lang-switcher.is-visible .lang-switcher__panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-switcher__link {
    display: block;
    min-width: 7.5rem;
    padding: 8px 12px;
    font-family: var(--font-text);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid transparent;
    border-radius: calc(var(--radius-sm) - 2px);
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.lang-switcher__link:hover,
.lang-switcher__link:focus-visible {
    color: #ffffff;
    background: rgba(200, 164, 94, 0.12);
    border-color: rgba(200, 164, 94, 0.35);
    outline: none;
}

.lang-switcher__link.is-active {
    color: #1a1410;
    background: linear-gradient(135deg, #c8a45e 0%, #e4c47a 52%, #c8a45e 100%);
    border-color: transparent;
}

body.about-modal-open .lang-switcher,
body.side-nav-open .lang-switcher {
    opacity: 0.35;
    pointer-events: none;
}

@media (max-width: 600px) {
    .lang-switcher {
        right: 10px;
        bottom: 10px;
    }

    .lang-switcher__toggle,
    .lang-switcher__link {
        min-width: 6.5rem;
        padding: 8px 10px;
        font-size: 0.72rem;
    }

    .lang-switcher__panel {
        padding: 6px;
        gap: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lang-switcher__panel,
    .lang-switcher__toggle {
        transition: none;
    }
}
