/* =========================================================
   EFFICIENT ENGINEERING — PROJECTS (archive + single)
   Uses the global --ee-* tokens from style.css
   Prefix: ep-
========================================================= */

:root {
    --ep-black: var(--ee-bg-dark, #080808);
    --ep-black-soft: var(--ee-bg-dark-soft, #111);
    --ep-gold: var(--ee-gold, #c99a32);
    --ep-gold-light: var(--ee-gold-light, #e3bd67);
    --ep-gold-dark: var(--ee-gold-dark, #9c721d);
    --ep-white: var(--ee-white, #fff);
    --ep-soft: var(--ee-bg-soft, #f7f7f5);
    --ep-cream: #f6f1e6;
    --ep-text: var(--ee-text, #171717);
    --ep-muted: var(--ee-text-soft, #555);
    --ep-line: var(--ee-border, rgba(0, 0, 0, .1));
    --ep-line-dark: var(--ee-border-dark, rgba(255, 255, 255, .12));
    --ep-ease: cubic-bezier(.22, 1, .36, 1);

    --ep-head: 88px;
    --ep-ab: 0px;
}

@media (max-width: 991px) { :root { --ep-head: 76px; } }
@media (max-width: 767px) { :root { --ep-head: 72px; } }
@media (min-width: 783px) { body.admin-bar { --ep-ab: 32px; } }
@media (max-width: 782px) { body.admin-bar { --ep-ab: 46px; } }

.ep { font-family: var(--ee-font-primary, 'Manrope', sans-serif); color: var(--ep-text); }
.ep *, .ep *::before, .ep *::after { box-sizing: border-box; }
.ep img { display: block; max-width: 100%; height: auto; }
.ep :focus-visible { outline: 2px solid var(--ep-gold); outline-offset: 3px; }

.ep-serif { font-family: var(--ee-font-display, 'DM Serif Display', serif); font-weight: 400; letter-spacing: -.01em; }

/* =========================================================
   SECTIONS
========================================================= */

.ep-section { position: relative; padding: clamp(70px, 9vw, 130px) 0; background: var(--ep-white); }
.ep-section--soft { background: var(--ep-soft); }
.ep-section--dark { background: var(--ep-black); color: #fff; }

.ep-h2 {
    margin: 0 0 clamp(28px, 4vw, 52px);
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.04em;
}
.ep-section--dark .ep-h2 { color: #fff; }

.ep-rule { display: block; width: 56px; height: 2px; margin: -14px 0 28px; background: var(--ep-gold); }
.ep-section--dark .ep-rule { background: var(--ep-gold-light); }

.ep-prose { max-width: 62ch; color: var(--ep-muted); font-size: 1.02rem; line-height: 1.85; }
.ep-prose p { font-size: inherit; margin: 0 0 1.2em; }
.ep-prose strong { color: var(--ep-text); }

/* word mask used by data-split */
.ep-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.ep-w > span { display: inline-block; will-change: transform; }
.ep-js .ep-w > span { transform: translateY(112%); }

/* =========================================================
   BUTTONS / LINKS / STATUS
========================================================= */

.ep-btn {
    display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 52px; padding: 0 8px 0 24px;
    color: var(--ep-black); background: var(--ep-gold); border: 1px solid var(--ep-gold);
    font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
    transition: background .3s ease, color .3s ease, border-color .3s ease, transform .45s var(--ep-ease);
}
.ep-btn i {
    width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
    color: #fff; background: var(--ep-black); font-size: .9rem;
    transition: transform .45s var(--ep-ease), background .3s ease, color .3s ease;
}
.ep-btn:hover { color: #fff; background: var(--ep-black-soft); border-color: var(--ep-gold); transform: translateY(-3px); }
.ep-btn:hover i { color: var(--ep-black); background: var(--ep-gold); transform: rotate(45deg); }

.ep-btn--ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .28); }
.ep-btn--ghost i { color: var(--ep-gold-light); background: rgba(255, 255, 255, .08); }
.ep-btn--ghost:hover { color: var(--ep-black); background: #fff; border-color: #fff; }

.ep-btn--dark { color: #fff; background: var(--ep-black); border-color: var(--ep-black); }
.ep-btn--dark i { color: var(--ep-black); background: var(--ep-gold); }
.ep-btn--dark:hover { color: var(--ep-black); background: var(--ep-gold); border-color: var(--ep-gold); }
.ep-btn--dark:hover i { color: #fff; background: var(--ep-black); }

.ep-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ep-text); font-size: .85rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ep-gold); padding-bottom: 3px; }
.ep-link:hover { color: var(--ep-gold-dark); }
.ep-link--light { color: #fff; }
.ep-link--light:hover { color: var(--ep-gold-light); }

.ep-status {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
    color: #fff; background: rgba(8, 8, 8, .72); border: 1px solid rgba(255, 255, 255, .16);
    font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px);
}
.ep-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ep-gold); }
.ep-status--ready::before, .ep-status--completed::before { background: #6fcf97; }
.ep-status--upcoming::before { background: #7fb4ff; }
.ep-status--lg { margin-bottom: 22px; font-size: .74rem; }

/* =========================================================
   HERO — BLACK (shared by archive + single)
========================================================= */

.ep-hero {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column;
    padding-top: calc(var(--ep-head) + var(--ep-ab) + clamp(48px, 8vw, 110px));
    color: #fff; background: var(--ep-black);
}
.ep-hero--archive { min-height: 88vh; min-height: 88svh; }
.ep-hero--single { min-height: 100vh; min-height: 100svh; }

.ep-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.ep-hero__grid {
    position: absolute; inset: 0; opacity: .055;
    background-image: linear-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .25) 1px, transparent 1px);
    background-size: 80px 80px;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
}
.ep-hero__glow {
    position: absolute; top: -280px; right: -200px; width: 720px; height: 720px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 154, 50, .2), rgba(201, 154, 50, .06) 40%, transparent 70%);
    filter: blur(20px);
}
.ep-hero__word {
    position: absolute; left: -2vw; bottom: -.12em; white-space: nowrap;
    font-family: var(--ee-font-display, serif); font-size: clamp(8rem, 26vw, 24rem); line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(201, 154, 50, .18); user-select: none;
}

.ep-mark { overflow: visible; }
.ep-mark__p { stroke: var(--ep-gold); stroke-width: 1.4; stroke-linejoin: miter; vector-effect: non-scaling-stroke; }
.ep-mark--hero { position: absolute; right: max(-4vw, -60px); top: 18%; width: clamp(260px, 44vw, 700px); opacity: .55; }
.ep-mark--static { width: 90px; opacity: .8; }
.ep-mark--static .ep-mark__p { stroke-width: 2; }

.ep-hero__inner { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(40px, 6vw, 80px); }

.ep-hero__kicker { margin: 0 0 22px; color: var(--ep-gold-light); }

.ep-hero__title {
    margin: 0; max-width: 14ch;
    font-size: clamp(2.8rem, 8vw, 7.2rem); font-weight: 500; line-height: 1.02; letter-spacing: -.05em; color: #fff;
}
.ep-hero--single .ep-hero__title { max-width: 16ch; }
.ep-hero__title .ep-serif { color: var(--ep-gold-light); letter-spacing: -.02em; }

.ep-hero__tagline { margin: 18px 0 0; color: var(--ep-gold-light); font-size: clamp(1.3rem, 2.6vw, 2rem); }

.ep-hero__row {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 60px;
    margin-top: clamp(28px, 4vw, 52px);
}
.ep-hero__lead { max-width: 520px; color: var(--ee-text-white-soft, rgba(255, 255, 255, .72)); font-size: 1.05rem; line-height: 1.8; margin: 0; }
.ep-hero__lead p { margin: 0 0 18px; font-size: inherit; }

.ep-hero__meta, .ep-card__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.ep-hero__meta li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); font-size: .86rem; font-weight: 600; }
.ep-hero__meta i { color: var(--ep-gold-light); }

.ep-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ep-hero__stats { display: flex; gap: 44px; margin: 0; }
.ep-hero__stats dt { margin-bottom: 6px; color: rgba(255, 255, 255, .5); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ep-hero__stats dd { margin: 0; font-family: var(--ee-font-display, serif); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: #fff; }

.ep-hero__scroll { position: absolute; right: clamp(20px, 4vw, 50px); bottom: 36px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: rgba(255, 255, 255, .55); font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; writing-mode: vertical-rl; }
.ep-hero__scroll i { width: 1px; height: 54px; background: linear-gradient(var(--ep-gold), transparent); animation: ep-scroll 2s ease-in-out infinite; transform-origin: top; }
@keyframes ep-scroll { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.ep-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font-size: .78rem; font-weight: 600; }
.ep-crumbs a { color: rgba(255, 255, 255, .6); text-decoration: none; }
.ep-crumbs a:hover { color: var(--ep-gold-light); }
.ep-crumbs i { color: var(--ep-gold); font-size: .6rem; }

.ep-js [data-in] { opacity: 0; transform: translateY(24px); }

/* ---- facts strip ---- */
.ep-facts { position: relative; border-top: 1px solid var(--ep-line-dark); background: rgba(8, 8, 8, .6); backdrop-filter: blur(6px); }
.ep-facts__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin: 0; }
.ep-fact { padding: 28px 24px 28px 0; margin-bottom: 28px; }
.ep-fact + .ep-fact { padding-left: 24px; border-left: 1px solid var(--ep-line-dark); }
.ep-fact dt { margin-bottom: 8px; color: rgba(255, 255, 255, .5); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ep-fact dd { margin: 0; color: #fff; font-family: var(--ee-font-display, serif); font-size: clamp(1.4rem, 2.4vw, 1.7rem); line-height: 1.15; }

/* =========================================================
   STAGE IMAGE
========================================================= */

.ep-stage { background: var(--ep-black); padding: 0 0 clamp(40px, 6vw, 80px); }
.ep-stage__frame { position: relative; height: clamp(320px, 78vh, 820px); overflow: hidden; }
.ep-stage__media { position: absolute; inset: -9% 0; }
.ep-stage__media img { width: 100%; height: 100%; object-fit: cover; }
.ep-stage__cap { position: absolute; left: 20px; bottom: 16px; color: rgba(255, 255, 255, .8); font-size: .72rem; font-style: italic; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.ep-js .ep-stage__frame { clip-path: inset(0 10% 0 10%); }

/* =========================================================
   STICKY SUBNAV
========================================================= */

.ep-subnav {
    position: sticky; top: calc(var(--ep-head) + var(--ep-ab)); z-index: 50;
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ep-line);
}
.ep-subnav__inner { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ep-subnav__inner::-webkit-scrollbar { display: none; }
.ep-subnav a {
    position: relative; flex: 0 0 auto; padding: 20px 16px; color: var(--ep-muted);
    font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
    transition: color .3s ease;
}
.ep-subnav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px; background: var(--ep-gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ep-ease); }
.ep-subnav a:hover, .ep-subnav a.is-active { color: var(--ep-text); }
.ep-subnav a.is-active::after, .ep-subnav a:hover::after { transform: scaleX(1); }
.ep-subnav__cta { margin-left: auto; color: var(--ep-gold-dark) !important; }

/* progress bar */
.ep-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 10000; height: 2px; pointer-events: none; }
.ep-progress__bar { display: block; width: 100%; height: 100%; background: var(--ep-gold); transform: scaleX(0); transform-origin: left; }

.ep [id] { scroll-margin-top: calc(var(--ep-head) + var(--ep-ab) + 56px); }

/* =========================================================
   OVERVIEW
========================================================= */

.ep-overview__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.ep-overview__media { position: relative; }
.ep-overview__media::before { content: ""; position: absolute; inset: 28px -22px -22px 28px; border: 1px solid var(--ep-gold); z-index: 0; }
.ep-overview__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

[data-reveal-img] { overflow: hidden; }
.ep-js [data-reveal-img] img, .ep-js [data-reveal-img] iframe { clip-path: inset(100% 0 0 0); }

/* =========================================================
   HIGHLIGHTS
========================================================= */

.ep-hl { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ep-line); border-left: 1px solid var(--ep-line); }
.ep-hl__item { position: relative; overflow: hidden; padding: 42px 34px; border-right: 1px solid var(--ep-line); border-bottom: 1px solid var(--ep-line); background: transparent; transition: background .5s var(--ep-ease), color .5s var(--ep-ease); }
.ep-hl__item::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--ep-gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ep-ease); }
.ep-hl__icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 26px; color: var(--ep-gold-dark); font-size: 1.35rem; border: 1px solid var(--ee-border-gold, rgba(201, 154, 50, .45)); border-radius: 50%; transition: background .4s ease, color .4s ease, transform .6s var(--ep-ease); }
.ep-hl__item h3 { margin: 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.ep-hl__item p { margin: 12px 0 0; color: var(--ep-muted); font-size: .9rem; line-height: 1.7; transition: color .4s ease; }
.ep-hl__item:hover { background: var(--ep-black); color: #fff; }
.ep-hl__item:hover::before { transform: scaleX(1); }
.ep-hl__item:hover .ep-hl__icon { color: var(--ep-black); background: var(--ep-gold); transform: rotate(-12deg) scale(1.06); }
.ep-hl__item:hover p { color: rgba(255, 255, 255, .65); }

/* =========================================================
   GALLERY — horizontal scroll
========================================================= */

.ep-gal { position: relative; background: var(--ep-black); color: #fff; overflow: clip; }
.ep-gal__stage { display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vw, 48px); min-height: 100vh; min-height: 100svh; padding: calc(var(--ep-head) + var(--ep-ab) + 20px) 0 40px; }
.ep-gal__head { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.ep-gal__head .ep-h2 { margin: 0; color: #fff; }
.ep-gal__progress { flex: 0 1 280px; height: 1px; background: var(--ep-line-dark); }
.ep-gal__progress span { display: block; height: 100%; background: var(--ep-gold); transform: scaleX(0); transform-origin: left; }

.ep-gal__track { display: flex; gap: 22px; width: max-content; padding: 0 max(24px, calc((100vw - 1280px) / 2 + 12px)); will-change: transform; }
.ep-gal__item { position: relative; display: block; flex: 0 0 auto; width: clamp(300px, 42vw, 680px); height: clamp(280px, 56vh, 560px); overflow: hidden; background: var(--ep-black-soft); cursor: zoom-in; }
.ep-gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ep-ease); }
.ep-gal__item:hover img { transform: scale(1.06); }
.ep-gal__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: #fff; font-size: .8rem; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }

@media (max-width: 991px) {
    .ep-gal__stage { min-height: 0; padding: 70px 0; }
    .ep-gal__progress { display: none; }
    .ep-gal__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px; scrollbar-width: none; }
    .ep-gal__item { scroll-snap-align: center; width: 82vw; height: 56vw; min-height: 240px; }
}

/* =========================================================
   FLOOR PLANS
========================================================= */

.ep-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.ep-tab { padding: 14px 26px; color: var(--ep-text); background: transparent; border: 1px solid var(--ep-line); font: inherit; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.ep-tab:hover { border-color: var(--ep-gold); }
.ep-tab.is-active { color: var(--ep-gold-light); background: var(--ep-black); border-color: var(--ep-black); }

.ep-panel { display: none; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.ep-panel.is-active { display: grid; }
.ep-panel[hidden] { display: none; }
.ep-panel__img { position: relative; display: block; padding: clamp(16px, 3vw, 40px); background: var(--ep-cream); cursor: zoom-in; }
.ep-panel__img img { width: 100%; max-height: 640px; object-fit: contain; }
.ep-panel__zoom { position: absolute; right: 16px; bottom: 16px; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; color: #fff; background: var(--ep-black); font-size: .7rem; font-weight: 700; letter-spacing: .06em; }
.ep-panel__config { margin: 0 0 8px; color: var(--ep-gold-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ep-panel__area { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; }
.ep-panel__note { max-width: 44ch; margin: 0 0 28px; color: var(--ep-muted); line-height: 1.8; }
.ep-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

/* =========================================================
   SPECIFICATIONS — accordion
========================================================= */

.ep-acc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(30px, 6vw, 90px); align-items: start; }
.ep-acc__item { border-bottom: 1px solid var(--ep-line); }
.ep-acc__item:nth-child(-n + 2) { border-top: 1px solid var(--ep-line); }
.ep-acc__item h3 { margin: 0; }
.ep-acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; color: var(--ep-text); background: none; border: 0; font: inherit; font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; text-align: left; cursor: pointer; transition: color .3s ease; }
.ep-acc__btn:hover, .ep-acc__item.is-open .ep-acc__btn { color: var(--ep-gold-dark); }
.ep-acc__btn i { position: relative; flex: 0 0 14px; height: 14px; }
.ep-acc__btn i::before, .ep-acc__btn i::after { content: ""; position: absolute; background: currentColor; transition: transform .4s var(--ep-ease); }
.ep-acc__btn i::before { left: 0; top: 50%; width: 100%; height: 1px; }
.ep-acc__btn i::after { left: 50%; top: 0; width: 1px; height: 100%; }
.ep-acc__item.is-open .ep-acc__btn i::after { transform: scaleY(0); }
.ep-acc__panel { height: 0; overflow: hidden; }
.ep-acc__item.is-open .ep-acc__panel { height: auto; }
.ep-spec { margin: 0; padding: 0 0 26px; }
.ep-spec > div { display: grid; grid-template-columns: 38% 1fr; gap: 18px; padding: 9px 0; font-size: .9rem; line-height: 1.55; }
.ep-spec dt { color: var(--ep-muted); font-weight: 500; }
.ep-spec dd { margin: 0; font-weight: 600; }
.ep-spec__full { grid-column: 1 / -1; }

/* =========================================================
   PAYMENT — black, sequence
========================================================= */

.ep-pay__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 40px; margin-bottom: clamp(28px, 4vw, 52px); }
.ep-pay__head .ep-h2 { margin: 0; }
.ep-pay__total { margin: 0; color: var(--ep-gold-light); font-family: var(--ee-font-display, serif); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.ep-pay__total span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .5); font-family: var(--ee-font-primary, sans-serif); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }

.ep-pay__list { position: relative; margin: 0; padding: 0 0 0 38px; list-style: none; }
.ep-pay__line { position: absolute; left: 7px; top: 24px; bottom: 24px; width: 1px; background: var(--ep-line-dark); }
.ep-pay__line i { display: block; width: 100%; height: 100%; background: var(--ep-gold); transform: scaleY(0); transform-origin: top; }
.ep-pay__row { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) 70px 100px; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--ep-line-dark); }
.ep-pay__node { position: absolute; left: -38px; top: 50%; width: 15px; height: 15px; margin-top: -7px; border: 1px solid var(--ep-gold); border-radius: 50%; background: var(--ep-black); transition: background .4s ease, box-shadow .4s ease; }
.ep-pay__row.is-on .ep-pay__node { background: var(--ep-gold); box-shadow: 0 0 0 6px rgba(201, 154, 50, .15); }
.ep-pay__name { color: rgba(255, 255, 255, .9); font-size: 1rem; font-weight: 500; }
.ep-pay__bar { height: 3px; background: rgba(255, 255, 255, .08); }
.ep-pay__bar i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--ep-gold-dark), var(--ep-gold-light)); transform: scaleX(1); transform-origin: left; }
.ep-js .ep-pay__bar i { transform: scaleX(0); }
.ep-pay__pct { color: #fff; font-family: var(--ee-font-display, serif); font-size: 1.7rem; text-align: right; }
.ep-pay__cum { color: rgba(255, 255, 255, .45); font-size: .74rem; font-weight: 600; text-align: right; }
.ep-pay__note { margin: 28px 0 0; color: rgba(255, 255, 255, .5); font-size: .85rem; }

/* =========================================================
   LOCATION
========================================================= */

.ep-loc__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.ep-loc__text { max-width: 52ch; margin: 0 0 20px; color: var(--ep-muted); line-height: 1.85; }
.ep-loc__address { display: flex; gap: 12px; margin: 0 0 30px; font-weight: 600; line-height: 1.6; }
.ep-loc__address i { color: var(--ep-gold-dark); }
.ep-near { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ep-line); }
.ep-near li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--ep-line); font-size: .92rem; font-weight: 600; }
.ep-near i { color: var(--ep-gold-dark); }
.ep-near em { color: var(--ep-muted); font-style: normal; font-weight: 500; font-size: .84rem; }
.ep-loc__map { position: sticky; top: calc(var(--ep-head) + var(--ep-ab) + 90px); background: var(--ep-cream); }
.ep-loc__map img, .ep-loc__map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; border: 0; object-fit: cover; }

/* =========================================================
   ENQUIRE
========================================================= */

.ep-enq__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 80px; align-items: end; }
.ep-enq .ep-h2 { margin-bottom: 20px; font-size: clamp(2.2rem, 5vw, 4.2rem); }
.ep-enq__text { max-width: 46ch; margin: 0; color: rgba(255, 255, 255, .62); line-height: 1.8; }
.ep-enq__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ep-legal { margin-top: clamp(50px, 7vw, 90px); padding-top: 26px; border-top: 1px solid var(--ep-line-dark); color: rgba(255, 255, 255, .42); font-size: .74rem; line-height: 1.7; }
.ep-legal p { max-width: 110ch; margin: 0 0 8px; font-size: inherit; line-height: inherit; }
.ep-legal strong { color: var(--ep-gold-light); }

/* =========================================================
   PREV / NEXT
========================================================= */

.ep-adj { display: grid; grid-template-columns: 1fr 1fr; background: var(--ep-black); }
.ep-adj__item { position: relative; display: flex; align-items: flex-end; min-height: 280px; padding: 36px clamp(20px, 5vw, 70px); overflow: hidden; color: #fff; text-decoration: none; border-top: 1px solid var(--ep-line-dark); }
.ep-adj__item:only-child { grid-column: 1 / -1; }
.ep-adj__item--next { justify-content: flex-end; text-align: right; border-left: 1px solid var(--ep-line-dark); }
.ep-adj__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; transition: opacity .6s ease, transform 1.2s var(--ep-ease); }
.ep-adj__item:hover img { opacity: .5; transform: scale(1.05); }
.ep-adj__text { position: relative; z-index: 1; }
.ep-adj__text small { display: block; margin-bottom: 8px; color: var(--ep-gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ep-adj__text strong { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -.03em; }

/* =========================================================
   LIGHTBOX
========================================================= */

.ep-lb { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center; padding: 60px 20px; background: rgba(8, 8, 8, .94); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.ep-lb.is-open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.ep-lb figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; text-align: center; }
.ep-lb img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.ep-lb figcaption { margin-top: 14px; color: rgba(255, 255, 255, .7); font-size: .85rem; }
.ep-lb button { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(201, 154, 50, .5); border-radius: 50%; cursor: pointer; transition: background .3s ease, color .3s ease; }
.ep-lb button:hover { color: var(--ep-black); background: var(--ep-gold); }
.ep-lb__close { top: 18px; right: 18px; }
.ep-lb__prev { left: 18px; top: 50%; margin-top: -23px; }
.ep-lb__next { right: 18px; top: 50%; margin-top: -23px; }

/* =========================================================
   ARCHIVE — FILTER + GRID
========================================================= */

.ep-filter { position: sticky; top: calc(var(--ep-head) + var(--ep-ab)); z-index: 40; background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ep-line); }
.ep-filter__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.ep-filter__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.ep-filter__list::-webkit-scrollbar { display: none; }
.ep-chip { flex: 0 0 auto; padding: 11px 22px; color: var(--ep-text); background: transparent; border: 1px solid var(--ep-line); border-radius: 100px; font: inherit; font-size: .78rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease; }
.ep-chip:hover { border-color: var(--ep-gold); }
.ep-chip.is-active { color: var(--ep-gold-light); background: var(--ep-black); border-color: var(--ep-black); }
.ep-filter__count { margin: 0; color: var(--ep-muted); font-size: .8rem; white-space: nowrap; }
.ep-filter__count strong { color: var(--ep-text); }

.ep-listing { padding-top: clamp(50px, 6vw, 90px); }
.ep-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 5vw, 70px) clamp(20px, 3vw, 40px); }
.ep-card { grid-column: span 6; }
.ep-card[data-span="wide"] { grid-column: span 7; }
.ep-card[data-span="narrow"] { grid-column: span 5; }
.ep-card[hidden] { display: none !important; }
.ep-js .ep-card { opacity: 0; transform: translateY(40px); }

.ep-card__link { display: block; color: inherit; text-decoration: none; }
.ep-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ep-black); }
.ep-card[data-span="wide"] .ep-card__media { aspect-ratio: 16 / 11; }
.ep-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ep-ease), filter .6s ease; }
.ep-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 8, 8, .45), transparent 45%); opacity: 0; transition: opacity .5s ease; }
.ep-card__link:hover .ep-card__media img { transform: scale(1.07); }
.ep-card__link:hover .ep-card__media::after { opacity: 1; }
.ep-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 20%, rgba(201, 154, 50, .18), transparent 55%), var(--ep-black); }
.ep-card .ep-status { position: absolute; left: 18px; top: 18px; z-index: 2; }
.ep-card__arrow { position: absolute; right: 18px; bottom: 18px; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; color: var(--ep-black); background: var(--ep-gold); border-radius: 50%; transform: translateY(20px) scale(.6); opacity: 0; transition: transform .6s var(--ep-ease), opacity .4s ease; }
.ep-card__link:hover .ep-card__arrow, .ep-card__link:focus-visible .ep-card__arrow { transform: none; opacity: 1; }

.ep-card__body { padding-top: 24px; }
.ep-card__cat { display: block; margin-bottom: 10px; color: var(--ep-gold-dark); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ep-card__title { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; }
.ep-card__title span { background: linear-gradient(var(--ep-gold), var(--ep-gold)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ep-ease); }
.ep-card__link:hover .ep-card__title span { background-size: 100% 1px; }
.ep-card__text { max-width: 50ch; margin: 12px 0 0; color: var(--ep-muted); font-size: .95rem; line-height: 1.7; }
.ep-card__meta { margin-top: 16px; }
.ep-card__meta li { display: inline-flex; align-items: center; gap: 8px; color: var(--ep-text); font-size: .84rem; font-weight: 600; }
.ep-card__meta i { color: var(--ep-gold-dark); }

.ep-empty { max-width: 520px; margin: 0 auto; padding: 60px 0; text-align: center; }
.ep-empty .ep-mark { margin: 0 auto 24px; filter: invert(1); }
.ep-empty h2 { margin: 0 0 12px; font-size: 2rem; font-weight: 500; letter-spacing: -.03em; }
.ep-empty p { margin: 0 0 28px; color: var(--ep-muted); }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
    .ep-overview__grid, .ep-loc__grid, .ep-enq__grid, .ep-panel.is-active { grid-template-columns: 1fr; }
    .ep-acc { grid-template-columns: 1fr; }
    .ep-acc__item:nth-child(2) { border-top: 0; }
    .ep-loc__map { position: static; }
    .ep-overview__media::before { inset: 18px -10px -10px 18px; }
    .ep-hero__scroll { display: none; }
    .ep-pay__row { grid-template-columns: 1fr 70px; gap: 8px 16px; }
    .ep-pay__bar { grid-column: 1 / -1; grid-row: 2; }
    .ep-pay__cum { display: none; }
}

@media (max-width: 767px) {
    .ep-grid { display: block; }
    .ep-card + .ep-card { margin-top: 48px; }
    .ep-card[data-span] .ep-card__media { aspect-ratio: 4 / 3; }
    .ep-card__arrow { opacity: 1; transform: none; width: 44px; height: 44px; }
    .ep-hero__stats { gap: 32px; }
    .ep-filter__count { display: none; }
    .ep-adj { grid-template-columns: 1fr; }
    .ep-adj__item--next { border-left: 0; }
    .ep-fact, .ep-fact + .ep-fact { padding: 20px 10px 20px 0; border-left: 0; }
    .ep-hero__title { max-width: none; }
    .ep-mark--hero { top: 12%; opacity: .4; }
    .ep-spec > div { grid-template-columns: 1fr; gap: 2px; }
    .ep-lb__prev { left: 8px; } .ep-lb__next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .ep *, .ep *::before, .ep *::after { transition-duration: .001ms !important; animation: none !important; }
}
