body.ahad-homepage {
    --ahad-hacs-section-bg: #f4ddd7;
    --ahad-hacs-surface: #a33c27;
    --ahad-hacs-surface-hover: #8d301e;
    --ahad-hacs-border: rgba(255, 255, 255, 0.24);
    --ahad-hacs-copy: rgba(98, 41, 29, 0.84);
    --ahad-hacs-rail-width: clamp(48px, 4vw, 60px);
    --ahad-hacs-active-min-width: clamp(320px, 34vw, 500px);
}

body.ahad-homepage .ahad-hacs-section {
    position: relative;
    overflow: hidden;
    padding: clamp(92px, 10vw, 140px) 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 32%),
        linear-gradient(180deg, #f8ebe7 0%, var(--ahad-hacs-section-bg) 100%);
}

body.ahad-homepage .ahad-hacs-section .container {
    position: relative;
}

body.ahad-homepage .ahad-hacs-intro {
    max-width: 980px;
    margin: 0 auto clamp(44px, 5vw, 58px);
    text-align: center;
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition:
        opacity 0.75s ease,
        transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}

body.ahad-homepage .ahad-hacs-section.is-revealed .ahad-hacs-intro {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

body.ahad-homepage #accommodation-rooms .ahad-hacs-kicker {
    margin: 0 0 12px;
    color: #a33c27 !important;
    font-family: var(--body-font), Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

body.ahad-homepage .ahad-hacs-title {
    margin: 0;
    color: #000000;
    font-family: var(--title-font), Georgia, "Times New Roman", serif;
    font-size: clamp(2.85rem, 4.7vw, 5.4rem);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: -0.045em;
}

body.ahad-homepage .ahad-hacs-copy {
    max-width: 900px;
    margin: 24px auto 0;
    color: #000000;
    font-family: var(--body-font), Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
}

body.ahad-homepage .ahad-hacs-copy p {
    margin: 0;
}

body.ahad-homepage .ahad-hacs-copy p + p {
    margin-top: 10px;
}

body.ahad-homepage .ahad-hacs-anchor-list {
    position: absolute;
    inset: 0 auto auto 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

body.ahad-homepage .ahad-hacs-anchor {
    position: absolute;
    inset: 0 auto auto 0;
    width: 1px;
    height: 1px;
}

body.ahad-homepage .ahad-hacs-desktop {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: clamp(520px, 74vh, 760px);
    overflow: hidden;
    background: var(--ahad-hacs-surface);
    box-shadow: 0 30px 80px rgba(97, 33, 22, 0.2);
}

body.ahad-homepage .ahad-hacs-panel {
    position: relative;
    flex: 0 0 var(--ahad-hacs-collapsed-width);
    min-width: var(--ahad-hacs-rail-width);
    overflow: hidden;
    background: var(--ahad-hacs-surface);
    transition:
        flex-basis 1.05s cubic-bezier(0.19, 1, 0.22, 1),
        background-color 0.5s ease;
}

body.ahad-homepage .ahad-hacs-section.is-revealed .ahad-hacs-panel {
    animation: ahadHacsPanelRise 0.9s cubic-bezier(0.19, 1, 0.22, 1) both;
}

body.ahad-homepage .ahad-hacs-section.is-revealed .ahad-hacs-panel:nth-child(2) {
    animation-delay: 0.05s;
}

body.ahad-homepage .ahad-hacs-section.is-revealed .ahad-hacs-panel:nth-child(3) {
    animation-delay: 0.1s;
}

body.ahad-homepage .ahad-hacs-section.is-revealed .ahad-hacs-panel:nth-child(4) {
    animation-delay: 0.15s;
}

body.ahad-homepage .ahad-hacs-section.is-revealed .ahad-hacs-panel:nth-child(5) {
    animation-delay: 0.2s;
}

body.ahad-homepage .ahad-hacs-panel.is-active {
    flex-basis: var(--ahad-hacs-expanded-width);
    min-width: var(--ahad-hacs-active-min-width);
    background: rgba(163, 60, 39, 0);
}

body.ahad-homepage .ahad-hacs-panel-media,
body.ahad-homepage .ahad-hacs-panel-shade {
    position: absolute;
    inset: 0;
}

body.ahad-homepage .ahad-hacs-panel-media {
    opacity: 0;
    transition: opacity 0.55s ease;
}

body.ahad-homepage .ahad-hacs-panel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transform-origin: center center;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

body.ahad-homepage .ahad-hacs-panel-shade {
    opacity: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.18) 40%, rgba(0, 0, 0, 0.7) 100%);
    transition: opacity 0.55s ease;
}

body.ahad-homepage .ahad-hacs-panel.is-active .ahad-hacs-panel-media,
body.ahad-homepage .ahad-hacs-panel.is-active .ahad-hacs-panel-shade {
    opacity: 1;
}

body.ahad-homepage .ahad-hacs-panel.is-active .ahad-hacs-panel-media img {
    transform: scale(1.01);
}

body.ahad-homepage .ahad-hacs-panel-copy {
    position: absolute;
    right: calc(var(--ahad-hacs-rail-width) + clamp(18px, 2vw, 30px));
    bottom: clamp(28px, 4vw, 44px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    max-width: min(64%, 620px);
    text-align: right;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity 0.45s ease,
        transform 0.95s cubic-bezier(0.19, 1, 0.22, 1),
        visibility 0s linear 0.95s;
}

body.ahad-homepage .ahad-hacs-panel.is-active .ahad-hacs-panel-copy {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.14s, 0.14s, 0s;
}

body.ahad-homepage .ahad-hacs-panel-title {
    margin: 0;
    color: #ffffff;
    font-family: var(--title-font), Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 4.5vw, 1.9rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.05em;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

body.ahad-homepage .ahad-hacs-panel-meta {
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-family: var(--body-font), Arial, sans-serif;
    font-size: 1.06rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

body.ahad-homepage .ahad-hacs-panel-btn,
body.ahad-homepage .ahad-hacs-mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 26px;
    border-radius: 999px;
    background: #ffffff;
    color: #a33c27;
    font-family: var(--body-font), Arial, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 14px 30px rgba(97, 33, 22, 0.18);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        background-color 0.28s ease,
        color 0.28s ease;
}

body.ahad-homepage .ahad-hacs-panel-btn:hover,
body.ahad-homepage .ahad-hacs-panel-btn:focus-visible,
body.ahad-homepage .ahad-hacs-mobile-btn:hover,
body.ahad-homepage .ahad-hacs-mobile-btn:focus-visible {
    background: #f7dfda;
    color: #842b1d;
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 18px 34px rgba(97, 33, 22, 0.22);
}

body.ahad-homepage .ahad-hacs-rail {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: var(--ahad-hacs-rail-width);
    height: 100%;
    margin-left: auto;
    padding: clamp(28px, 4vh, 42px) 0 clamp(26px, 4vh, 38px);
    border: 0;
    border-left: 1px solid var(--ahad-hacs-border);
    background: rgba(163, 60, 39, 0.96);
    color: #ffffff;
    cursor: pointer;
    transition:
        background-color 0.5s ease,
        color 0.5s ease,
        opacity 0.5s ease,
        border-color 0.5s ease;
}

body.ahad-homepage .ahad-hacs-panel.is-active .ahad-hacs-rail {
    background: rgba(163, 60, 39, 0);
    color: rgba(255, 255, 255, 0);
}

body.ahad-homepage .ahad-hacs-panel:not(.is-active):hover .ahad-hacs-rail,
body.ahad-homepage .ahad-hacs-panel:not(.is-active) .ahad-hacs-rail:focus-visible {
    background: rgba(141, 48, 30, 0.98);
    border-color: rgba(255, 255, 255, 0.34);
}

body.ahad-homepage .ahad-hacs-rail:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.86);
    outline-offset: -6px;
}

body.ahad-homepage .ahad-hacs-rail-title {
    position: absolute;
    inset: clamp(28px, 4vh, 42px) 0 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--body-font), Arial, sans-serif;
    font-size: clamp(0.78rem, 0.82vw, 0.98rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: inherit;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    transform: rotate(180deg);
    white-space: nowrap;
    pointer-events: none;
    transition:
        opacity 0.36s ease,
        letter-spacing 0.42s ease;
}

body.ahad-homepage .ahad-hacs-rail-number {
    position: absolute;
    inset: auto auto clamp(26px, 4vh, 38px) 50%;
    display: block;
    font-family: var(--body-font), Arial, sans-serif;
    font-size: clamp(1.05rem, 1.18vw, 1.65rem);
    font-weight: 700;
    line-height: 1;
    color: inherit;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    transform: translateX(-50%);
    pointer-events: none;
    transition:
        opacity 0.36s ease,
        transform 0.42s ease;
}

body.ahad-homepage .ahad-hacs-panel:not(.is-active) .ahad-hacs-rail-title,
body.ahad-homepage .ahad-hacs-panel:not(.is-active) .ahad-hacs-rail-number {
    opacity: 0.82;
}

body.ahad-homepage .ahad-hacs-panel:not(.is-active):hover .ahad-hacs-rail-title,
body.ahad-homepage .ahad-hacs-panel:not(.is-active) .ahad-hacs-rail:focus-visible .ahad-hacs-rail-title,
body.ahad-homepage .ahad-hacs-panel:not(.is-active):hover .ahad-hacs-rail-number,
body.ahad-homepage .ahad-hacs-panel:not(.is-active) .ahad-hacs-rail:focus-visible .ahad-hacs-rail-number {
    opacity: 1;
}

body.ahad-homepage .ahad-hacs-panel:not(.is-active):hover .ahad-hacs-rail-title,
body.ahad-homepage .ahad-hacs-panel:not(.is-active) .ahad-hacs-rail:focus-visible .ahad-hacs-rail-title {
    letter-spacing: 0.11em;
}

body.ahad-homepage .ahad-hacs-panel:not(.is-active):hover .ahad-hacs-rail-number,
body.ahad-homepage .ahad-hacs-panel:not(.is-active) .ahad-hacs-rail:focus-visible .ahad-hacs-rail-number {
    transform: translateX(-50%) scale(1.05);
}

body.ahad-homepage .ahad-hacs-mobile {
    display: none;
}

@media screen and (max-width: 1199px) {
    body.ahad-homepage .ahad-hacs-panel-title {
        font-size: clamp(1.7rem, 4.5vw, 1.9rem);
    }

    body.ahad-homepage .ahad-hacs-panel-meta {
        font-size: 0.98rem;
    }
}

@media screen and (max-width: 991px) {
    body.ahad-homepage .ahad-hacs-section {
        padding: 84px 0;
    }

    body.ahad-homepage .ahad-hacs-intro {
        margin-bottom: 34px;
    }

    body.ahad-homepage .ahad-hacs-copy {
        font-size: 1rem;
        line-height: 1.65;
    }

    body.ahad-homepage .ahad-hacs-desktop {
        display: none;
    }

    body.ahad-homepage .ahad-hacs-mobile {
        display: block;
    }

    body.ahad-homepage .ahad-hacs-mobile-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    body.ahad-homepage .ahad-hacs-mobile-track::-webkit-scrollbar {
        display: none;
    }

    body.ahad-homepage .ahad-hacs-mobile-slide {
        position: relative;
        flex: 0 0 100%;
        min-width: 100%;
        height: clamp(440px, 72vw, 560px);
        overflow: hidden;
        scroll-snap-align: start;
        background: var(--ahad-hacs-surface);
        box-shadow: 0 24px 64px rgba(97, 33, 22, 0.2);
    }

    body.ahad-homepage .ahad-hacs-mobile-media,
    body.ahad-homepage .ahad-hacs-mobile-shade {
        position: absolute;
        inset: 0;
    }

    body.ahad-homepage .ahad-hacs-mobile-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    body.ahad-homepage .ahad-hacs-mobile-shade {
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.2) 32%, rgba(0, 0, 0, 0.74) 100%);
    }

    body.ahad-homepage .ahad-hacs-mobile-number {
        position: absolute;
        left: 24px;
        bottom: 24px;
        z-index: 2;
        color: #ffffff;
        font-family: var(--body-font), Arial, sans-serif;
        font-size: 2rem;
        font-weight: 700;
        line-height: 1;
    }

    body.ahad-homepage .ahad-hacs-mobile-copy {
        position: absolute;
        right: 24px;
        bottom: 24px;
        left: 24px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
        text-align: right;
    }

    body.ahad-homepage .ahad-hacs-mobile-title {
        margin: 0;
        color: #ffffff;
        font-family: var(--title-font), Georgia, "Times New Roman", serif;
        font-size: clamp(1rem, 3.6vw, 1.45rem);
        font-style: italic;
        font-weight: 400;
        line-height: 1.08;
        letter-spacing: -0.04em;
    }

    body.ahad-homepage .ahad-hacs-mobile-meta {
        margin: 0;
        color: rgba(255, 255, 255, 0.92);
        font-family: var(--body-font), Arial, sans-serif;
        font-size: 0.98rem;
        font-weight: 600;
        letter-spacing: 0.03em;
    }

    body.ahad-homepage .ahad-hacs-mobile-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-top: 18px;
    }

    body.ahad-homepage .ahad-hacs-mobile-nav {
        width: 52px;
        height: 52px;
        border: 1px solid rgba(163, 60, 39, 0.18);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.92);
        color: #a33c27;
        font-size: 1.35rem;
        line-height: 1;
        transition:
            background-color 0.25s ease,
            color 0.25s ease,
            border-color 0.25s ease,
            opacity 0.25s ease;
    }

    body.ahad-homepage .ahad-hacs-mobile-nav:hover,
    body.ahad-homepage .ahad-hacs-mobile-nav:focus-visible {
        background: #a33c27;
        color: #ffffff;
        border-color: #a33c27;
    }

    body.ahad-homepage .ahad-hacs-mobile-nav:disabled {
        opacity: 0.4;
        cursor: default;
    }

    body.ahad-homepage .ahad-hacs-mobile-dots {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    body.ahad-homepage .ahad-hacs-mobile-dot {
        width: 12px;
        height: 12px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: rgba(163, 60, 39, 0.2);
        transition:
            width 0.28s ease,
            background-color 0.28s ease,
            opacity 0.28s ease;
    }

    body.ahad-homepage .ahad-hacs-mobile-dot.is-active {
        width: 40px;
        background: #a33c27;
    }
}

@media screen and (max-width: 575px) {
    body.ahad-homepage .ahad-hacs-section {
        padding: 72px 0;
    }

    body.ahad-homepage .ahad-hacs-title {
        font-size: clamp(2.3rem, 11vw, 3.25rem);
    }

    body.ahad-homepage .ahad-hacs-copy {
        font-size: 0.96rem;
    }

    body.ahad-homepage .ahad-hacs-mobile-slide {
        height: min(118vw, 500px);
    }

    body.ahad-homepage .ahad-hacs-mobile-number {
        left: 18px;
        bottom: 18px;
        font-size: 1.75rem;
    }

    body.ahad-homepage .ahad-hacs-mobile-copy {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    body.ahad-homepage .ahad-hacs-mobile-btn {
        min-height: 48px;
        padding: 0 22px;
        font-size: 0.8rem;
    }

    body.ahad-homepage .ahad-hacs-mobile-controls {
        gap: 12px;
    }

    body.ahad-homepage .ahad-hacs-mobile-nav {
        width: 46px;
        height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.ahad-homepage .ahad-hacs-intro,
    body.ahad-homepage .ahad-hacs-panel,
    body.ahad-homepage .ahad-hacs-panel-media,
    body.ahad-homepage .ahad-hacs-panel-media img,
    body.ahad-homepage .ahad-hacs-panel-shade,
    body.ahad-homepage .ahad-hacs-panel-copy,
    body.ahad-homepage .ahad-hacs-panel-btn,
    body.ahad-homepage .ahad-hacs-mobile-btn,
    body.ahad-homepage .ahad-hacs-rail,
    body.ahad-homepage .ahad-hacs-mobile-nav,
    body.ahad-homepage .ahad-hacs-mobile-dot {
        animation: none !important;
        transition: none !important;
    }

    body.ahad-homepage .ahad-hacs-mobile-track {
        scroll-behavior: auto;
    }
}

@keyframes ahadHacsPanelRise {
    from {
        opacity: 0;
        transform: translate3d(0, 36px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
