/* =============================================================================
   RIVORA DESIGN STUDIO — LUXURY ARCHITECTURAL DESIGN SYSTEM
   Inspired by Bloom 3D Studio (Ultra-Modern Dark Luxury UI / UX)
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600&family=Syne:wght@400;500;600;700;800&family=Work+Sans:wght@300;400;500&display=swap');

:root {
  --ink: #080706;
  --ink-2: #0f0d0b;
  --ink-3: #161411;
  --ink-card: #12100e;
  --ivory: #f5f0e8;
  --ivory-dim: #9e988f;
  --ivory-muted: #6e6860;
  --brass: #b8925a;
  --brass-light: #dcb87e;
  --brass-dim: #8c6e43;
  --brass-glow: rgba(184, 146, 90, 0.18);
  --line: rgba(255, 255, 255, 0.08);
  --line-brass: rgba(184, 146, 90, 0.25);
  --line-strong: rgba(184, 146, 90, 0.45);
  --font-display: 'Syne', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Work Sans', sans-serif;
  --font-accent: 'Jost', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media screen and (min-width: 1921px) {
  html { font-size: 18px; }
}

body {
  background-color: var(--ink);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--brass);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.wrap, .u-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.u-container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  position: relative;
}

/* ---------- TYPOGRAPHY UTILITIES ---------- */
.u-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.u-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ivory);
}

.u-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ivory);
}

.u-h4 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ivory);
}

.u-subheading-l {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 500;
}

.u-subheading-m {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  font-weight: 500;
}

.u-subheading-xl {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  font-family: var(--font-accent);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 8px var(--brass);
  display: inline-block;
}

/* ---------- BLOOM SIGNATURE ROLL-UP BUTTONS (.u-btn) ---------- */
.u-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 9999px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
  vertical-align: middle;
}

.u-btn:hover {
  border-color: var(--brass-light);
  box-shadow: 0 0 20px rgba(184, 146, 90, 0.2);
}

.u-btn-front, .u-btn-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.u-btn-back {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
}

.u-btn:hover .u-btn-front {
  transform: translateY(-100%);
}

.u-btn:hover .u-btn-back {
  transform: translateY(-100%);
}

.u-btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.u-btn:hover .u-btn-icon {
  transform: translate(2px, -2px);
}

/* Button Themes */
.u-btn-white {
  background: #ffffff;
  color: #080706;
}

.u-btn-black {
  background: #151311;
  color: #f5f0e8;
  border: 1px solid rgba(184, 146, 90, 0.3);
}

.u-btn-glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #ffffff;
}

.u-btn-brass {
  background: linear-gradient(135deg, #dcb87e 0%, #b8925a 100%);
  color: #080706;
  border: none;
}

/* ---------- LUXURY PRELOADER ---------- */
.u-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.8s ease;
}

.u-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.preloader-logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.25em;
  color: var(--ivory);
}

.preloader-line {
  width: 140px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.preloader-progress {
  position: absolute;
  inset: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  animation: preloaderSlide 1.6s infinite ease-in-out;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; filter: drop-shadow(0 0 12px rgba(184, 146, 90, 0.45)); }
}

@keyframes preloaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ---------- FLOATING NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
  background: rgba(8, 7, 6, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.navbar_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar_logo_wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar_logo_wrapper:hover .brand-logo-img {
  transform: scale(1.06);
}

.brand-type {
  display: flex;
  flex-direction: column;
}

.brand-type .r-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--ivory);
  line-height: 1;
}

.brand-type .r-sub {
  font-family: var(--font-accent);
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass-light);
  line-height: 1.4;
  margin-top: 2px;
}

.navbar_nav_wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar_nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.navbar_nav_item {
  position: relative;
}

.navbar_nav_link {
  font-family: var(--font-accent);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: color 0.3s ease;
  padding: 6px 0;
  display: inline-block;
}

.navbar_nav_link:hover, .navbar_nav_link.active {
  color: #ffffff;
}

.navbar_nav_link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--brass);
}

/* Nav Dropdown */
.nav_dd {
  position: relative;
}

.nav_dd_toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav_dd_toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.nav_dd:hover .nav_dd_toggle svg {
  transform: rotate(180deg);
}

.nav_dd_menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: rgba(18, 16, 14, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.nav_dd:hover .nav_dd_menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav_dd_item {
  font-family: var(--font-accent);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 8px 10px;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav_dd_item:hover {
  background: rgba(184, 146, 90, 0.12);
  color: var(--brass-light);
}

.navbar_cta_group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.burger_btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.burger_btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Menu */
.mobile_menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 6, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 40px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile_menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile_menu_link {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ivory);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.mobile_menu_link:hover {
  color: var(--brass-light);
}

/* ---------- HERO SECTION (.section_hero) ---------- */
.section_hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

.hero_bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero_bg img, .hero_bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s ease-out;
}

.hero_overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center, rgba(8, 7, 6, 0.45) 0%, rgba(8, 7, 6, 0.88) 75%, rgba(8, 7, 6, 0.98) 100%),
              linear-gradient(180deg, rgba(8, 7, 6, 0.3) 0%, rgba(8, 7, 6, 0.9) 100%);
}

.hero_content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1020px;
  margin: 0 auto;
}

.hero_tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-brass);
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
}

.hero_heading {
  margin-bottom: 24px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.hero_subtext {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ivory-dim);
  max-width: 720px;
  margin: 0 auto 38px;
  line-height: 1.75;
}

.hero_btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- SECTION HEADINGS ---------- */
.section_head_bloom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}

.section_head_bloom .title_group {
  max-width: 680px;
}

/* ---------- FEATURED PROJECTS (.section_portfolio) ---------- */
.section_portfolio {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.portfolio_filter_bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter_btn {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter_btn:hover, .filter_btn.active {
  color: #ffffff;
  border-color: var(--brass-light);
  background: rgba(184, 146, 90, 0.12);
}

.portfolio_grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

.portfolio_project {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  grid-column: span 6;
  text-decoration: none;
  cursor: pointer;
}

.portfolio_project.wide {
  grid-column: span 12;
  aspect-ratio: 21/9;
}

.portfolio_project.tall {
  grid-column: span 4;
  aspect-ratio: 4/5;
}

.portfolio_project_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.portfolio_project:hover .portfolio_project_img {
  transform: scale(1.05);
}

.portfolio_project_overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.1) 0%, rgba(8, 7, 6, 0.75) 60%, rgba(8, 7, 6, 0.95) 100%);
  transition: opacity 0.4s ease;
}

.portfolio_project_info {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.project_title_box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.portfolio_project_cat {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.portfolio_project_title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.2;
}

.project_view_tag {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
  transition: transform 0.3s ease, color 0.3s ease;
}

.portfolio_project:hover .project_view_tag {
  transform: translateX(4px);
  color: #ffffff;
}

/* ---------- SERVICES SHOWCASE & CAROUSEL (.section_services) ---------- */
.section_services {
  padding: 110px 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.services_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.services_card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  padding: 36px 28px;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: var(--ink-card);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.services_card:hover {
  transform: translateY(-8px);
  border-color: var(--brass-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.services_card_bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.services_card:hover .services_card_bg {
  opacity: 0.42;
  transform: scale(1.06);
}

.services_card_gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 13, 11, 0.2) 0%, rgba(15, 13, 11, 0.85) 60%, rgba(15, 13, 11, 0.98) 100%);
}

.services_card_top {
  position: relative;
  z-index: 2;
}

.services_card_num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--brass);
  line-height: 1;
}

.services_card_content {
  position: relative;
  z-index: 2;
}

.services_card_title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 12px;
}

.services_card_desc {
  font-size: 0.88rem;
  color: var(--ivory-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.services_btn_text {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- STUDIO NUMBERS & ABOUT (.section_about) ---------- */
.section_about {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.about_statement {
  max-width: 960px;
  margin-bottom: 60px;
}

.about_statement h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ivory);
}

.about_nums_bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about_num_item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about_num_title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--brass-light);
  line-height: 1;
}

.about_num_label {
  font-family: var(--font-accent);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

/* ---------- WHY WORK WITH US? / ADVANTAGES (.section_advantages) ---------- */
.section_advantages {
  padding: 110px 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}

.advantages_layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.advantages_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.advantage_item {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--ink-card);
  padding: 24px 28px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.advantage_item.active, .advantage_item:hover {
  border-color: var(--brass);
  background: rgba(184, 146, 90, 0.05);
}

.advantage_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.advantage_title_box {
  display: flex;
  align-items: center;
  gap: 18px;
}

.advantage_num {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--brass);
  font-weight: 700;
}

.advantage_heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ivory);
}

.advantage_icon {
  width: 18px;
  height: 18px;
  color: var(--brass-light);
  transition: transform 0.3s ease;
}

.advantage_item.active .advantage_icon {
  transform: rotate(45deg);
}

.advantage_body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.advantage_item.active .advantage_body {
  max-height: 200px;
  margin-top: 14px;
}

.advantage_body p {
  font-size: 0.92rem;
  color: var(--ivory-dim);
  line-height: 1.7;
}

.advantages_visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.advantages_visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.8s ease;
}

/* ---------- TESTIMONIALS SLIDER (.section_testimonials) ---------- */
.section_testimonials {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.testi_carousel_wrapper {
  position: relative;
  overflow: hidden;
}

.testi_track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.testi_slide {
  min-width: 100%;
  padding: 44px 50px;
  border-radius: 4px;
  background: var(--ink-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.testi_quote_mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--brass);
  line-height: 0.8;
}

.testi_quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-style: italic;
  color: var(--ivory);
  line-height: 1.6;
}

.testi_author_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.testi_author_info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ivory);
}

.testi_author_info p {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.testi_controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi_btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testi_btn:hover {
  border-color: var(--brass);
  background: var(--brass);
  color: var(--ink);
}

/* ---------- FAQ SECTION (.section_faq) ---------- */
.section_faq {
  padding: 110px 0;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}

.faq_layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
}

.faq_list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq_item {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--ink-card);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq_item.active {
  border-color: var(--brass);
}

.faq_item_header {
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
}

.faq_item_title {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ivory);
}

.faq_icon {
  width: 18px;
  height: 18px;
  color: var(--brass-light);
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.faq_item.active .faq_icon {
  transform: rotate(45deg);
}

.faq_item_body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  padding: 0 26px;
}

.faq_item.active .faq_item_body {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq_item_text {
  font-size: 0.92rem;
  color: var(--ivory-dim);
  line-height: 1.7;
}

/* ---------- CTA BANNER & ENQUIRY FORM (.section_cta & .section_enquiry) ---------- */
.section_cta {
  padding: 130px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.cta_bg_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.cta_overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(8, 7, 6, 0.7) 0%, rgba(8, 7, 6, 0.96) 100%);
}

.cta_content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.cta_heading {
  margin-bottom: 24px;
}

.cta_text {
  font-size: 1.1rem;
  color: var(--ivory-dim);
  margin-bottom: 36px;
}

.section_enquiry {
  padding: 80px 0 110px;
  background: var(--ink-card);
  border-top: 1px solid var(--line);
}

.enquiry_card {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px;
  border-radius: 6px;
  background: var(--ink-3);
  border: 1px solid var(--line);
}

.form_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form_grid .full_width {
  grid-column: span 2;
}

.field_group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field_group label {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.field_group input, .field_group select, .field_group textarea {
  background: var(--ink-card);
  border: 1px solid var(--line);
  color: var(--ivory);
  padding: 13px 16px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field_group input:focus, .field_group select:focus, .field_group textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 12px rgba(184, 146, 90, 0.15);
}

.form_status_msg {
  display: none;
  padding: 14px 18px;
  border-radius: 4px;
  margin-top: 20px;
  font-size: 0.9rem;
}

.form_status_msg.success {
  display: block;
  background: rgba(72, 89, 76, 0.4);
  border: 1px solid #48594c;
  color: #c9e2cd;
}

/* ---------- MULTI-COLUMN LUXURY FOOTER (.section_footer) ---------- */
.section_footer {
  padding: 90px 0 40px;
  background: #040404;
  border-top: 1px solid var(--line);
}

.footer_grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 70px;
}

.footer_brand_col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer_brand_desc {
  font-size: 0.9rem;
  color: var(--ivory-dim);
  max-width: 320px;
  line-height: 1.7;
}

.footer_col_title {
  font-family: var(--font-accent);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 20px;
}

.footer_links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer_links a {
  font-size: 0.88rem;
  color: var(--ivory-dim);
  transition: color 0.3s ease;
}

.footer_links a:hover {
  color: #ffffff;
}

.footer_socials {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.footer_social_icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  transition: all 0.3s ease;
}

.footer_social_icon:hover {
  background: var(--brass);
  color: var(--ink);
  border-color: var(--brass);
}

.footer_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--ivory-muted);
  font-size: 0.8rem;
}

/* ---------- STANDALONE PAGES & PROJECT DETAIL SUPPORT ---------- */
.page-hero {
  padding: 160px 0 60px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  max-width: 18ch;
}

.page-hero p {
  margin-top: 22px;
  color: var(--ivory-dim);
  font-size: 1.05rem;
  max-width: 58ch;
  line-height: 1.75;
}

.project-header-hero {
  padding: 140px 0 50px;
  border-bottom: 1px solid var(--line);
}

.project-hero-back {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.project-hero-back:hover {
  transform: translateX(-4px);
}

.project-hero-top h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ivory);
}

.project-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--brass-light);
  margin-top: 8px;
}

.project-story-p {
  color: var(--ivory-dim);
  font-size: 1.05rem;
  max-width: 68ch;
  line-height: 1.8;
  margin-top: 18px;
}

.specs-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-label {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.spec-val {
  font-size: 0.95rem;
  color: var(--ivory);
  font-weight: 500;
}

.project-gallery-sec {
  padding: 70px 0 100px;
}

.gallery-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  position: relative;
  aspect-ratio: 16/11;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-card:hover img {
  transform: scale(1.06);
}

/* Lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.96);
  backdrop-filter: blur(14px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-container {
  max-width: 88vw;
  max-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-container img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 2px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.lightbox-caption-bar {
  margin-top: 16px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ivory-dim);
}

.lightbox-btn {
  position: absolute;
  background: rgba(22, 20, 17, 0.8);
  border: 1px solid var(--line-strong);
  color: var(--ivory);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  z-index: 3;
}

.lightbox-btn:hover {
  background: var(--brass);
  color: var(--ink);
}

.lightbox-close { top: 24px; right: 28px; }
.lightbox-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 28px; top: 50%; transform: translateY(-50%); }

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .services_grid { grid-template-columns: repeat(2, 1fr); }
  .about_nums_bar { grid-template-columns: repeat(2, 1fr); }
  .advantages_layout { grid-template-columns: 1fr; }
  .faq_layout { grid-template-columns: 1fr; }
  .footer_grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-bar { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .navbar_nav_wrapper { display: none; }
  .burger_btn { display: flex; }
  .portfolio_project { grid-column: span 12; aspect-ratio: 16/11; }
  .portfolio_project.tall { grid-column: span 12; aspect-ratio: 16/11; }
  .services_grid { grid-template-columns: 1fr; }
  .about_nums_bar { grid-template-columns: 1fr 1fr; }
  .footer_grid { grid-template-columns: 1fr; }
  .form_grid { grid-template-columns: 1fr; }
  .form_grid .full_width { grid-column: span 1; }
  .enquiry_card { padding: 28px 20px; }
  .specs-bar { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
}


/* =============================================================================
   SUBPAGE & LEGACY COMPATIBILITY STYLES (DARK LUXURY BLOOM 3D THEME)
   ============================================================================= */

#siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

#siteHeader.scrolled {
  padding: 14px 0;
  background: rgba(8, 7, 6, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.navwrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brandmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-type {
  display: flex;
  flex-direction: column;
}

.r-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ivory);
  line-height: 1;
}

.r-sub {
  font-family: var(--font-accent);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-top: 3px;
}

.links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.links a {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ivory-dim);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
  position: relative;
}

.links a:hover, .links a.active {
  color: #ffffff;
}

.links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--brass);
}

.nav-cta {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 9999px;
  background: var(--brass);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta:hover {
  background: var(--brass-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 146, 90, 0.3);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: all 0.3s ease;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 6, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open, .mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ivory);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--brass-light);
}

/* Subpage Work Grid & Cards */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

.work-card {
  grid-column: span 6;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/11;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.work-card.wide {
  grid-column: span 12;
  aspect-ratio: 21/9;
}

.work-card.tall {
  grid-column: span 4;
  aspect-ratio: 4/5;
}

.work-card .tile {
  position: relative;
  width: 100%;
  height: 100%;
}

.work-card .tile-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.work-card:hover .tile-img {
  transform: scale(1.06);
}

.work-card .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.1) 0%, rgba(8, 7, 6, 0.75) 60%, rgba(8, 7, 6, 0.95) 100%);
}

.work-card .meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
}

.work-card .cat {
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 6px;
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.25;
}

.work-card .loc {
  font-size: 0.85rem;
  color: var(--ivory-muted);
  margin-top: 6px;
}

/* Contact Page Grid */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details .item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.98rem;
  color: var(--ivory);
}

.contact-details .label {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.contact-details a {
  color: var(--ivory);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--brass-light);
}

.contact-form {
  background: var(--ink-card);
  padding: 44px;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form label {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.contact-form input, .contact-form select, .contact-form textarea {
  background: var(--ink-3);
  border: 1px solid var(--line);
  color: var(--ivory);
  padding: 13px 16px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 12px rgba(184, 146, 90, 0.15);
}

.submit-btn {
  font-family: var(--font-accent);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 9999px;
  background: var(--brass);
  color: var(--ink);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background: var(--brass-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(184, 146, 90, 0.35);
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Footer Compatibility */
footer {
  padding: 80px 0 40px;
  background: #040404;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--ivory-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social a {
  color: var(--brass-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #ffffff;
}

.footer-copy {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--ivory-muted);
  text-align: center;
}

@media (max-width: 900px) {
  .links { display: none; }
  .burger { display: flex; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .work-card { grid-column: span 12; aspect-ratio: 16/11; }
  .work-card.tall { grid-column: span 12; aspect-ratio: 16/11; }
}
