/* ==========================================================
   One Phoenix — Elementor Widgets — Frontend Styles
   ========================================================== */

.op-nav, .op-hero, .op-stat-band, .op-intro, .op-showcase, .op-amenities,
.op-floorplans, .op-district, .op-gallery, .op-cta, .op-footer {
	--op-bg-base: #faf6ee;
	--op-bg-elevated: #f2eadb;
	--op-bg-panel: #ece1cb;
	--op-accent: #b8863f;
	--op-accent-soft: #8c6428;
	--op-sage: #5f7358;
	--op-ink: #241f18;
	--op-ink-muted: #645d50;
	--op-ink-faint: #928a79;
	--op-border: rgba(36,31,24,0.10);
	--op-font-serif: 'Fraunces', serif;
	--op-font-sans: 'Inter', sans-serif;
	font-family: var(--op-font-sans);
	color: var(--op-ink);
	box-sizing: border-box;
}
.op-nav *, .op-hero *, .op-stat-band *, .op-intro *, .op-showcase *, .op-amenities *,
.op-floorplans *, .op-district *, .op-gallery *, .op-cta *, .op-footer * { box-sizing: border-box; }

.op-container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 782px) { .op-container { padding: 0 20px; } }

.op-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--op-accent); margin-bottom: 12px; }
.op-section-head { max-width: 640px; margin-bottom: 48px; }
.op-section-head h2 { font-family: var(--op-font-serif); font-weight: 400; font-size: 34px; margin: 0 0 14px; color: var(--op-ink); }
.op-section-head p { font-size: 16px; line-height: 1.6; color: var(--op-ink-muted); margin: 0; }

.op-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--op-font-sans); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; padding: 16px 32px; border-radius: 2px; border: 1px solid var(--op-accent); text-decoration: none; cursor: pointer; transition: all .25s ease; }
.op-btn-fill { background: var(--op-accent); color: #faf6ee; }
.op-btn-fill:hover { background: var(--op-accent-soft); border-color: var(--op-accent-soft); color: #faf6ee; }
.op-btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.op-btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ---------- NAV ---------- */
.op-nav { position: sticky; top: 0; z-index: 999; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 32px; background: rgba(11,13,16,0.75); backdrop-filter: blur(10px); }
.op-nav-logo { display: flex; align-items: center; gap: 10px; color: var(--op-ink, #f7f0e4); text-decoration: none; }
.op-nav-logo svg { width: 26px; height: 26px; color: var(--op-accent); flex-shrink: 0; }
.op-nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.op-nl-main { font-family: var(--op-font-serif); font-size: 18px; color: #f7f0e4; }
.op-nl-sub { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247,240,228,0.6); }
.op-nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.op-nav-links a { color: rgba(247,240,228,0.8); text-decoration: none; font-size: 12px; font-weight: 500; transition: color .2s; }
.op-nav-links a:hover { color: #f7f0e4; }
.op-nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px; }
.op-nav-toggle span { width: 20px; height: 2px; background: #f7f0e4; }
@media (max-width: 900px) {
	.op-nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #0b0d10; padding: 20px 32px; display: none; gap: 16px; }
	.op-nav-links.op-open { display: flex; }
	.op-nav-cta { display: none; }
	.op-nav-toggle { display: flex; }
}

/* ---------- HERO ---------- */
.op-hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; background: #0b0d10; }
.op-hero-bg { position: absolute; inset: 0; z-index: 0; }
.op-hb-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.op-hb-slide.active { opacity: 1; }
.op-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,13,16,0.35) 0%, rgba(11,13,16,0.55) 60%, rgba(11,13,16,0.85) 100%); z-index: 1; }
.op-hero-content { position: relative; z-index: 2; width: 100%; padding: 0 32px 100px; }
.op-hero-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.op-hero-title { font-family: var(--op-font-serif); font-weight: 400; font-size: 56px; line-height: 1.08; color: #f7f0e4; margin: 0; }
.op-hero-title em { font-style: italic; color: var(--op-accent); }
.op-hero-sub { font-size: 16px; line-height: 1.6; color: rgba(247,240,228,0.85); margin: 0 0 24px; }
.op-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.op-vr-btn { color: #f7f0e4; }
.op-hero-progress { position: absolute; z-index: 2; bottom: 32px; right: 32px; display: flex; gap: 8px; }
.op-hp-dot { width: 24px; height: 3px; background: rgba(247,240,228,0.3); border: none; cursor: pointer; padding: 0; }
.op-hp-dot.active { background: var(--op-accent); }
.op-hero-scroll { position: absolute; z-index: 2; left: 32px; bottom: 32px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(247,240,228,0.7); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; }
.op-hero-scroll-line { width: 1px; height: 40px; background: rgba(247,240,228,0.4); }
@media (max-width: 900px) {
	.op-hero-grid { grid-template-columns: 1fr; }
	.op-hero-title { font-size: 38px; }
}

/* ---------- VR Modal ---------- */
.op-vr-modal { display: none; position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,0.92); align-items: center; justify-content: center; }
.op-vr-modal.op-open { display: flex; }
.op-vr-modal-inner { position: relative; width: 90vw; height: 80vh; max-width: 1400px; }
.op-vr-pano-wrap { width: 100%; height: 100%; overflow: hidden; border-radius: 4px; cursor: grab; }
.op-vr-pano { width: 160%; max-width: none; height: 100%; object-fit: cover; }
.op-vr-close { position: absolute; top: -44px; right: 0; background: none; border: none; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }

/* ---------- STAT BAND ---------- */
.op-stat-band { background: var(--op-bg-elevated); padding: 48px 32px; }
.op-stat-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; text-align: center; }
.op-stat-num { font-family: var(--op-font-serif); font-size: 32px; color: var(--op-accent); }
.op-stat-label { font-size: 12px; color: var(--op-ink-muted); margin-top: 4px; }
@media (max-width: 900px) { .op-stat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .op-stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- INTRO / LWSC ---------- */
.op-intro { background: var(--op-bg-base); padding: 96px 32px; }
.op-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.op-intro-head h2 { font-family: var(--op-font-serif); font-size: 34px; font-weight: 400; margin: 0 0 16px; }
.op-intro-head h2 em { font-style: italic; color: var(--op-accent); }
.op-intro-head p { font-size: 16px; line-height: 1.6; color: var(--op-ink-muted); }
.op-lwsc-list { display: flex; flex-direction: column; gap: 32px; }
.op-lwsc-item { display: flex; gap: 20px; }
.op-lwsc-num { font-family: var(--op-font-serif); font-size: 26px; color: var(--op-accent); flex-shrink: 0; width: 44px; }
.op-lwsc-item h3 { font-family: var(--op-font-serif); font-size: 22px; font-weight: 400; margin: 0 0 6px; }
.op-lwsc-item p { font-size: 15px; color: var(--op-ink-muted); margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .op-intro-grid { grid-template-columns: 1fr; } }

/* ---------- SHOWCASE (rows) ---------- */
.op-showcase { background: var(--op-bg-base); padding: 64px 32px; }
.op-showcase-row { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.op-showcase-row.op-reverse { direction: rtl; }
.op-showcase-row.op-reverse > * { direction: ltr; }
.op-showcase-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; }
.op-showcase-text h2 { font-family: var(--op-font-serif); font-size: 30px; font-weight: 400; margin: 0 0 14px; }
.op-showcase-text p { font-size: 16px; color: var(--op-ink-muted); line-height: 1.6; margin: 0 0 20px; }
.op-check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.op-check-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--op-ink-muted); }
.op-check-list svg { width: 18px; height: 18px; color: var(--op-sage); flex-shrink: 0; }
@media (max-width: 900px) { .op-showcase-row { grid-template-columns: 1fr; } .op-showcase-row.op-reverse { direction: ltr; } }

/* ---------- EXPLORE MODEL ---------- */
.op-explore-model { background: var(--op-bg-base); padding: 96px 0; }
.op-em-stage { max-width: 1320px; margin: 32px auto 0; padding: 0 32px; display: grid; grid-template-columns: 55% 1fr; gap: 32px; }
.op-em-media { position: relative; border-radius: 4px; overflow: hidden; }
.op-em-media img { width: 100%; display: block; }
.op-em-dot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2px solid #fff; background: rgba(184,134,63,0.5); cursor: pointer; padding: 0; }
.op-em-dot-core { display: block; width: 8px; height: 8px; margin: 6px auto; border-radius: 50%; background: #fff; }
.op-em-dot.active { background: var(--op-accent); }
.op-em-panel {
	display: grid;
	grid-template-areas: "stack";
}
.op-em-panel-item {
	grid-area: stack; /* all panels stacked in the same cell so the tallest one sizes the container — no layout jump */
	background: var(--op-bg-elevated);
	padding: 24px;
	border-radius: 4px;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity .45s ease, transform .45s ease;
}
.op-em-panel-item.active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}
.op-em-panel-item h3 { font-family: var(--op-font-serif); font-size: 20px; font-weight: 400; margin: 0 0 8px; }
.op-em-panel-item p { font-size: 14px; color: var(--op-ink-muted); margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .op-em-stage { grid-template-columns: 1fr; } }

/* ---------- AMENITIES ---------- */
.op-amenities { background: var(--op-bg-elevated); padding: 96px 32px; }
.op-amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.op-amenity-card { background: #fff; border: 1px solid var(--op-border); border-radius: 4px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.op-amenity-icon { font-size: 26px; color: var(--op-accent); }
.op-amenity-card h3 { font-family: var(--op-font-serif); font-size: 18px; font-weight: 400; margin: 0 0 6px; }
.op-amenity-card p { font-size: 14px; color: var(--op-ink-muted); margin: 0; line-height: 1.6; }
@media (max-width: 1100px) { .op-amenity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .op-amenity-grid { grid-template-columns: 1fr; } }

/* ---------- FLOOR PLANS COVERFLOW (Swiper.js powered) ---------- */
.op-floorplans { background: var(--op-bg-elevated); padding: 96px 0; }

.op-coverflow { position: relative; display: flex; align-items: center; gap: 16px; padding: 60px 8px 16px; }

.op-swiper {
	flex: 1 1 auto;
	width: 100%;
	overflow: visible; /* let scaled/adjacent slides show past the edges */
	padding: 40px 0;
}
.op-swiper .swiper-wrapper { align-items: center; }

.op-cf-item.swiper-slide {
	position: relative;
	width: 230px;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	border: 1px solid var(--op-border);
	background: #000;
	/* Transform/opacity are driven continuously by JS (Swiper's per-slide
	   progress) — this transition only smooths out the values JS assigns
	   between frames, matching the requested 600–900ms elegant easing. */
	transition: transform .7s cubic-bezier(.22,1,.36,1),
	            opacity .7s cubic-bezier(.22,1,.36,1),
	            filter .7s ease, box-shadow .7s ease;
	will-change: transform, opacity;
}
.op-cf-item.swiper-slide img { width: 100%; height: 390px; object-fit: cover; display: block; }
.op-cf-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,13,16,0.92), transparent 50%); }
.op-cf-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px; z-index: 2; opacity: 0; transition: opacity .5s ease; }
.op-cf-label .op-cf-name { font-family: var(--op-font-serif); font-size: 1.5rem; color: #fff; display: block; }
.op-cf-label .op-cf-meta { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--op-accent-soft); display: block; margin-top: 6px; }
.op-cf-item.op-cf-active .op-cf-label { opacity: 1; }
.op-cf-item.op-cf-active {
	border-color: rgba(36,31,24,0.22);
	box-shadow: 0 40px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(184,134,63,0.15);
}
.op-cf-item.op-cf-active::before {
	content: ''; position: absolute; top: 18px; right: 18px; z-index: 3;
	width: 10px; height: 10px; border-radius: 50%; background: var(--op-accent);
	box-shadow: 0 0 0 4px rgba(184,134,63,0.25);
}

.op-cf-arrow {
	background: rgba(36,31,24,0.05); border: 1px solid var(--op-border);
	color: var(--op-ink); width: 52px; height: 52px; border-radius: 50%;
	font-size: 1.5rem; flex-shrink: 0; z-index: 2; cursor: pointer;
	transition: background .3s, border-color .3s, transform .3s;
}
.op-cf-arrow:hover { background: rgba(184,134,63,0.15); border-color: var(--op-accent); transform: scale(1.08); }

.op-cf-dots.swiper-pagination { position: static; display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.op-cf-dots .swiper-pagination-bullet {
	width: 8px; height: 8px; border-radius: 50%; background: var(--op-border);
	opacity: 1; margin: 0; transition: background .3s ease, transform .3s ease;
}
.op-cf-dots .swiper-pagination-bullet-active { background: var(--op-accent); transform: scale(1.3); }

@media (max-width: 900px) {
	.op-cf-item.swiper-slide { width: 160px; }
	.op-cf-item.swiper-slide img { height: 270px; }
}
@media (max-width: 560px) {
	.op-cf-item.swiper-slide { width: 130px; }
	.op-cf-item.swiper-slide img { height: 220px; }
	.op-cf-arrow { width: 40px; height: 40px; font-size: 1.15rem; }
}

/* ---------- DISTRICT ---------- */
.op-district { background: var(--op-bg-elevated); padding: 96px 32px; }
.op-district-stage { display: grid; grid-template-columns: 60% 1fr; gap: 32px; margin-bottom: 32px; }
.op-district-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.op-dmap-zone { background: var(--op-bg-panel); border: none; border-radius: 4px; padding: 20px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; transition: background .2s; }
.op-dmap-zone:hover, .op-dmap-zone.active { background: var(--op-accent); color: #fff; }
.op-dmap-name { font-size: 14px; font-weight: 500; }
.op-dmap-acres { font-size: 11px; opacity: 0.75; }
.op-district-info { display: grid; grid-template-areas: "stack"; }
.op-di-item {
	grid-area: stack;
	background: #fff;
	border-radius: 4px;
	padding: 32px;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity .45s ease, transform .45s ease;
}
.op-di-item.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.op-di-item h3 { font-family: var(--op-font-serif); font-size: 22px; font-weight: 400; margin: 0 0 10px; }
.op-di-item p { font-size: 15px; color: var(--op-ink-muted); line-height: 1.6; margin: 0; }
.op-district-figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.op-df-num { font-family: var(--op-font-serif); font-size: 24px; color: var(--op-accent); }
.op-df-label { font-size: 13px; color: var(--op-ink-muted); margin-top: 4px; }
@media (max-width: 900px) { .op-district-stage { grid-template-columns: 1fr; } .op-district-figs { grid-template-columns: repeat(2, 1fr); } .op-district-map { grid-template-columns: repeat(2, 1fr); } }

/* ---------- GALLERY ---------- */
.op-gallery { background: var(--op-bg-base); padding: 96px 32px; }
.op-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.op-gallery-item { border-radius: 4px; overflow: hidden; }
.op-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.op-gi-wide { grid-column: span 2; }
.op-gi-tall { grid-row: span 2; }
@media (max-width: 900px) { .op-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } .op-gi-wide { grid-column: span 2; } }

/* ---------- CTA / FORM ---------- */
.op-cta { background: var(--op-bg-base); padding: 96px 32px; }
.op-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.op-cta-text h2 { font-family: var(--op-font-serif); font-size: 30px; font-weight: 400; margin: 0 0 14px; }
.op-cta-text p { font-size: 16px; color: var(--op-ink-muted); line-height: 1.6; margin: 0 0 20px; }
.op-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.op-contact-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.op-contact-list svg, .op-contact-list i { color: var(--op-accent); width: 16px; }
.op-contact-list a { color: var(--op-ink); text-decoration: none; }
.op-cta-form-wrap { background: rgba(36,31,24,0.03); border: 1px solid var(--op-border); border-radius: 4px; padding: 40px; }
.op-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.op-form-field { margin-bottom: 16px; }
.op-form-field label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; color: var(--op-ink-muted); }
.op-form-field input, .op-form-field select, .op-form-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--op-border); border-radius: 2px; font-family: var(--op-font-sans); font-size: 14px; background: #fff; color: var(--op-ink); }
.op-form-submit { width: 100%; justify-content: center; margin-top: 8px; }
.op-form-submit[disabled] { opacity: 0.6; cursor: not-allowed; }
.op-form-message { margin-top: 12px; font-size: 13px; }
.op-form-message.op-success { color: var(--op-sage); }
.op-form-message.op-error { color: #b3372c; }
@media (max-width: 900px) { .op-cta-grid { grid-template-columns: 1fr; } .op-form-row { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.op-footer { background: var(--op-bg-elevated); padding: 64px 32px 32px; }
.op-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--op-border); margin-bottom: 24px; }
.op-footer-logo { font-family: var(--op-font-serif); font-size: 17px; margin-bottom: 12px; }
.op-footer-brand p { font-size: 14px; color: var(--op-ink-muted); line-height: 1.6; margin: 0 0 16px; }
.op-footer-social { display: flex; gap: 12px; }
.op-footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--op-border); display: flex; align-items: center; justify-content: center; color: var(--op-ink); text-decoration: none; }
.op-footer-col h4 { font-size: 13px; font-weight: 600; margin: 0 0 16px; }
.op-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.op-footer-col a { font-size: 14px; color: var(--op-ink-muted); text-decoration: none; }
.op-footer-col a:hover { color: var(--op-accent); }
.op-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.op-footer-bottom span { font-size: 13px; color: var(--op-ink-faint); }
.op-footer-bottom-links { display: flex; gap: 16px; }
.op-footer-bottom-links a { font-size: 13px; color: var(--op-ink-faint); text-decoration: none; }
@media (max-width: 900px) { .op-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .op-footer-grid { grid-template-columns: 1fr; } }
