/* ==========================================================================
   INQUOTES CORE THEME SYSTEM
   ========================================================================== */

/* Theme Variables */
:root[data-theme="dark"] {
  --bg-primary: #0a2e28;
  --bg-secondary: #113f38;
  --bg-tertiary: #184e45;
  --text-primary: #ffffff;
  --text-secondary: #e6f7f4;
  --text-muted: #8ebcb5;
  --accent-gold: #23B9A3;
  --accent-gold-hover: #40cbb6;
  --accent-gold-rgb: 35, 185, 163;
  --border-color: rgba(35, 185, 163, 0.15);
  --border-hover: rgba(35, 185, 163, 0.3);
  --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  --input-bg: #0e3730;
  --glass-bg: rgba(10, 46, 40, 0.85);
  --glass-border: rgba(35, 185, 163, 0.15);
  --hero-glow: radial-gradient(circle at 70% 30%, rgba(35, 185, 163, 0.15) 0%, transparent 60%);
  --logo-filter: brightness(0) invert(1);
}

:root[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f4fbf9;
  --bg-tertiary: #e8f7f4;
  --text-primary: #115248;
  --text-secondary: #1d6d61;
  --text-muted: #388e82;
  --accent-gold: #23B9A3;
  --accent-gold-hover: #1c9684;
  --accent-gold-rgb: 35, 185, 163;
  --border-color: rgba(35, 185, 163, 0.15);
  --border-hover: rgba(35, 185, 163, 0.3);
  --card-shadow: 0 8px 32px 0 rgba(35, 185, 163, 0.05);
  --input-bg: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(35, 185, 163, 0.15);
  --hero-glow: radial-gradient(circle at 70% 30%, rgba(35, 185, 163, 0.08) 0%, transparent 60%);
  --logo-filter: none;
}

/* Base Reset & Globals */
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

textarea, input, select {
  font-family: inherit;
  color: inherit;
}

/* Typography Custom Rules */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  line-height: 1.25;
}

.italic {
  font-style: italic;
}

.highlight-serif {
  font-family: 'Playfair Display', serif;
  color: var(--accent-gold);
}

.text-glow {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(var(--accent-gold-rgb), 0.2);
}

.text-muted {
  color: var(--text-muted);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Common Layout Elements */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 60px;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.align-center {
  align-items: center;
}

/* Premium Loader Overlay */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.loader-quote-mark {
  color: #d4af37;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1;
}

.loader-bar-container {
  width: 180px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.loader-bar {
  width: 0%;
  height: 100%;
  background-color: #d4af37;
  border-radius: 2px;
}

/* Navigation Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s ease, background-color 0.4s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 38px;
  width: auto;
  filter: var(--logo-filter);
  transition: filter 0.4s ease, transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.02);
}

/* Logo toggling based on theme */
.logo-dark-only {
  display: block;
}
.logo-white-only {
  display: none;
}
[data-theme="dark"] .logo-dark-only {
  display: none !important;
}
[data-theme="dark"] .logo-white-only {
  display: block !important;
}
[data-theme="light"] .logo-dark-only {
  display: block !important;
}
[data-theme="light"] .logo-white-only {
  display: none !important;
}

.nav-menu {
  display: none;
}

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

/* Dropdown Navigation Menu */
.nav-list li {
  position: relative;
}

.nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 260px;
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 8px;
  padding: 12px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--card-shadow);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-list .sub-menu li {
  width: 100%;
  padding: 0;
}

.nav-list .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
  text-align: left;
}

.nav-list .sub-menu a::after {
  display: none !important;
}

.nav-list .sub-menu a:hover {
  background-color: rgba(35, 185, 163, 0.08);
  color: var(--text-primary);
  padding-left: 24px;
}

.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Fallback & dynamic link selectors */
.nav-list a, .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-list a:hover, .nav-link:hover {
  color: var(--text-primary);
}

.nav-list a::after, .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

.nav-list a:hover::after, .nav-link:hover::after {
  width: 100%;
}

.nav-list .nav-cta, .nav-cta, .nav-list .menu-item-type-custom:last-child a {
  display: inline-block;
  color: var(--accent-gold) !important;
  font-weight: 600;
  border: 1px solid rgba(var(--accent-gold-rgb), 0.3);
  padding: 8px 18px;
  border-radius: 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  background-color: rgba(35, 185, 163, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-list .nav-cta::after, .nav-cta::after, .nav-list .menu-item-type-custom:last-child a::after {
  display: none !important;
}

.nav-list .nav-cta:hover, .nav-cta:hover, .nav-list .menu-item-type-custom:last-child a:hover {
  background-color: var(--accent-gold);
  color: var(--bg-primary) !important;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(var(--accent-gold-rgb), 0.25);
}

/* Mobile responsive menu overrides for submenus */
@media (max-width: 767px) {
  .nav-menu.mobile-active .nav-list {
    overflow-y: auto;
    max-height: 80vh;
  }
  .nav-menu.mobile-active .sub-menu {
    position: static;
    transform: none;
    opacity: 0;
    visibility: hidden;
    background: none;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    padding: 0 0 0 20px;
    margin-top: 10px;
    display: none;
    width: auto;
  }
  .nav-menu.mobile-active .sub-menu.sub-menu-open {
    opacity: 1;
    visibility: visible;
    display: flex;
  }
  .nav-menu.mobile-active .sub-menu a {
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    padding: 8px 0;
  }
  .nav-menu.mobile-active .sub-menu a:hover {
    background: none;
    padding-left: 4px;
  }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  background: rgba(35, 185, 163, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.theme-toggle:hover {
  background-color: rgba(35, 185, 163, 0.15);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(35, 185, 163, 0.15);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  z-index: 1001;
}

.menu-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}

/* Mobile Navigation Fullscreen */
.nav-menu.mobile-active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 999;
  padding: 120px 40px;
}

.nav-menu.mobile-active .nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.nav-menu.mobile-active .nav-list a, .nav-menu.mobile-active .nav-link {
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
}

.nav-menu.mobile-active .nav-cta {
  font-size: 1.5rem;
  border: none;
  padding: 0;
  color: var(--accent-gold) !important;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #0a0a0c;
  border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  box-shadow: 0 6px 20px rgba(var(--accent-gold-rgb), 0.25);
}

.btn-secondary {
  background: rgba(35, 185, 163, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background-color: rgba(35, 185, 163, 0.15);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(35, 185, 163, 0.15);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-icon {
  gap: 10px;
}

/* Hero Section Styling */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background-image: var(--hero-glow);
}

.hero-bg-accent {
  position: absolute;
  top: 10%;
  right: -5%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, rgba(var(--accent-gold-rgb), 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero Visual Graphic */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.visual-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
}

.visual-quotes-card {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2;
  transition: box-shadow 0.3s ease;
}

.card-quote-open {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-gold);
  height: 30px;
  margin-top: -20px;
  margin-bottom: 10px;
}

.card-quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 24px;
}

.card-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.author-line {
  width: 24px;
  height: 1px;
  background-color: var(--border-color);
}

.decorative-blob {
  position: absolute;
  bottom: 0%;
  right: 0%;
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg, rgba(var(--accent-gold-rgb), 0.1) 0%, rgba(var(--accent-gold-rgb), 0.01) 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 1;
}

/* Scroll Down Indicator */
.scroll-indicator-container {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-muted);
  transition: all 0.3s;
}

.scroll-indicator:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(4px);
}

.indicator-arrow {
  font-size: 1.2rem;
  line-height: 1;
}

/* Identity Section */
.identity-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.identity-paragraph {
  font-size: 1.05rem;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.identity-bullets {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bullet-item {
  display: flex;
  gap: 20px;
}

.bullet-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bullet-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
}

.bullet-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Metrics Dashboard */
.identity-metrics {
  display: flex;
  align-items: center;
  justify-content: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.metric-card {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 36px 24px;
  border-radius: 8px;
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
  border-color: rgba(var(--accent-gold-rgb), 0.3);
  box-shadow: var(--card-shadow);
}

.metric-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  background-color: rgba(35, 185, 163, 0.08);
  border-color: rgba(var(--accent-gold-rgb), 0.4);
  box-shadow: var(--card-shadow);
}

.service-icon-wrapper {
  margin-bottom: 24px;
  width: 56px;
  height: 56px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  transition: background-color 0.3s;
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.service-card:hover .service-icon-wrapper .service-icon {
  filter: brightness(0.1);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-features {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.service-features li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.service-features li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}

/* Brand Voice Sandbox Section */
.sandbox-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.sandbox-widget {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  box-shadow: var(--card-shadow);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.control-group {
  margin-bottom: 32px;
}

.control-group:last-child {
  margin-bottom: 0;
}

.control-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.sandbox-input {
  width: 100%;
  height: 100px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  resize: none;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.sandbox-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(var(--accent-gold-rgb), 0.1);
}

.char-counter {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 6px;
}

/* Tone Button Grid */
.tone-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tone-btn {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.tone-btn:hover {
  background-color: var(--bg-tertiary);
  border-color: var(--border-hover);
}

.tone-btn.active {
  background-color: var(--accent-gold);
  color: #0a0a0c;
  border-color: var(--accent-gold);
}

.tone-emoji {
  font-size: 1rem;
}

/* Canvas Customizers */
.canvas-customizers {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--bg-secondary);
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.customizer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.theme-options {
  display: flex;
  gap: 10px;
}

.theme-color-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  outline: none;
}

.theme-color-btn.charcoal {
  background-color: #16161a;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.theme-color-btn.gold-glow {
  background: linear-gradient(135deg, #d4af37, #8a6f27);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.theme-color-btn.frosted {
  background-color: #faf9f6;
  border: 2px solid rgba(0, 0, 0, 0.2);
}

.theme-color-btn.neon-edge {
  background: linear-gradient(135deg, #4b0082, #00008b);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.theme-color-btn.active {
  transform: scale(1.2);
  border-color: var(--accent-gold) !important;
}

.font-toggle-container {
  display: flex;
  background-color: var(--bg-tertiary);
  border-radius: 4px;
  padding: 2px;
}

.font-select-btn {
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.font-select-btn.active {
  background-color: var(--accent-gold);
  color: #0a0a0c;
}

/* Sandbox Live Canvas */
.sandbox-display-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sandbox-canvas-wrapper {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1.3;
}

.sandbox-canvas {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.canvas-quotes-icon {
  font-size: 4rem;
  line-height: 0.8;
  height: 20px;
  opacity: 0.15;
  margin-top: -10px;
}

.canvas-text-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  z-index: 1;
}

.quote-preview-text {
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.45;
  font-weight: 500;
  margin: 0;
}

.canvas-brand-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  z-index: 1;
}

.signature-logo {
  height: 24px;
  width: auto;
}

.signature-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.sig-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.sig-label {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

/* Canvas Themes */
.sandbox-canvas.theme-charcoal {
  background-color: #121215;
  color: #faf9f6;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sandbox-canvas.theme-charcoal .canvas-quotes-icon { color: var(--accent-gold); }
.sandbox-canvas.theme-charcoal .sig-name { color: #faf9f6; }
.sandbox-canvas.theme-charcoal .signature-logo { filter: invert(1) brightness(0.95); }

.sandbox-canvas.theme-gold-glow {
  background: linear-gradient(135deg, #d4af37 0%, #a6801e 100%);
  color: #121215;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}
.sandbox-canvas.theme-gold-glow .canvas-quotes-icon { color: #121215; }
.sandbox-canvas.theme-gold-glow .sig-name { color: #121215; }
.sandbox-canvas.theme-gold-glow .signature-logo { filter: none; }

.sandbox-canvas.theme-frosted {
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
}
.sandbox-canvas.theme-frosted .canvas-quotes-icon { color: var(--accent-gold); }
.sandbox-canvas.theme-frosted .sig-name { color: var(--text-primary); }
.sandbox-canvas.theme-frosted .signature-logo { filter: var(--logo-filter); }

.sandbox-canvas.theme-neon-edge {
  background: linear-gradient(135deg, #0d091a 0%, #050508 100%);
  color: #faf9f6;
  border: 1px solid #7b2cbf;
  box-shadow: 0 0 20px rgba(123, 44, 191, 0.3);
}
.sandbox-canvas.theme-neon-edge .canvas-quotes-icon { color: #9d4edd; }
.sandbox-canvas.theme-neon-edge .sig-name { color: #faf9f6; }
.sandbox-canvas.theme-neon-edge .signature-logo { filter: invert(1) brightness(0.95); }

/* Canvas Fonts */
.sandbox-canvas.font-serif .quote-preview-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.sandbox-canvas.font-sans .quote-preview-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.01em;
}

/* Canvas Actions */
.canvas-actions {
  display: flex;
  gap: 12px;
}

.canvas-actions .btn {
  flex: 1;
}

.btn-icon-symbol {
  font-size: 1.1rem;
}

.sandbox-notification {
  height: 20px;
  font-size: 0.8rem;
  color: var(--accent-gold);
  text-align: center;
  margin-top: 12px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sandbox-notification.show {
  opacity: 1;
}

/* Portfolio Section */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.filter-btn {
  background-color: rgba(35, 185, 163, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.filter-btn:hover {
  background-color: rgba(35, 185, 163, 0.15);
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.filter-btn.active {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.project-card {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.project-card.fade-out {
  opacity: 0;
  pointer-events: none;
}

.project-img-wrapper {
  position: relative;
  aspect-ratio: 1.4;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 46, 40, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: #faf9f6;
  border: 1px solid var(--glass-border);
}

:root[data-theme="light"] .project-overlay {
  background-color: rgba(244, 251, 249, 0.9);
  color: var(--text-primary);
}

.project-img-wrapper:hover .project-img {
  transform: scale(1.05);
}

.project-img-wrapper:hover .project-overlay {
  opacity: 1;
}

.project-category {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}

.project-name {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.project-summary {
  font-size: 0.85rem;
  color: #cfced4;
  line-height: 1.5;
  margin-bottom: 24px;
}

.project-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  transition: color 0.2s;
}

.project-link:hover {
  color: #ffffff;
}

.project-info {
  padding: 0 4px;
}

.project-meta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.project-card-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 6px;
}

/* Contact Section & Form */
.contact-section {
  position: relative;
  background-image: var(--hero-glow);
}

.contact-paragraph {
  font-size: 1.05rem;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.contact-info-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 500;
}

.info-icon {
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form-wrapper {
  position: relative;
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-title {
  font-size: 1.6rem;
  margin-bottom: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.form-group {
  position: relative;
  margin-bottom: 28px;
}

/* Floating Labels Styling */
.form-input, .form-textarea {
  width: 100%;
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 16px 14px;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-textarea {
  height: 120px;
  resize: none;
}

.form-label {
  position: absolute;
  left: 14px;
  top: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  background-color: var(--input-bg);
  padding: 0 4px;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
  top: -8px;
  left: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(var(--accent-gold-rgb), 0.1);
}

/* Form Select Styling */
.form-select {
  width: 100%;
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 16px 14px;
  font-size: 0.95rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238d8b94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
  transition: border-color 0.3s;
}

.form-select:focus {
  border-color: var(--accent-gold);
}

/* Validation Styling */
.form-group.invalid .form-input,
.form-group.invalid .form-textarea,
.form-group.invalid .form-select {
  border-color: #ff4d4f;
  background-color: rgba(255, 77, 79, 0.02);
}

.form-group.invalid .form-label {
  color: #ff4d4f;
}

.error-msg {
  display: block;
  font-size: 0.75rem;
  color: #ff4d4f;
  margin-top: 4px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s, height 0.3s;
}

.form-group.invalid .error-msg {
  opacity: 1;
  height: auto;
  margin-bottom: -10px;
}

/* Submit Button & Loader */
#btn-submit-brief {
  position: relative;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(10, 10, 12, 0.2);
  border-top-color: #0a0a0c;
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
  position: absolute;
}

.btn.loading .btn-text {
  visibility: hidden;
}

.btn.loading .btn-loader {
  display: block;
}

/* Success Overlay */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.form-success-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-icon-container {
  width: 72px;
  height: 72px;
  background-color: rgba(var(--accent-gold-rgb), 0.1);
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.success-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.success-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 320px;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Footer Section */
.main-footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 34px;
  width: auto;
  filter: var(--logo-filter);
  margin-bottom: 20px;
}

.footer-description-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}

.footer-links-col h4, .footer-interactive-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-links-col ul li {
  margin-bottom: 12px;
}

.footer-links-col ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links-col ul li a:hover {
  color: var(--accent-gold);
}

/* Quote of Moment Widget */
.footer-quote-widget {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: 8px;
  position: relative;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer-quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-bottom: 16px;
  transition: opacity 0.3s ease;
}

.footer-quote-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.footer-quote-author {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.btn-refresh-quote {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
  border-radius: 4px;
  transition: transform 0.2s;
}

.btn-refresh-quote:hover {
  transform: rotate(180deg);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.copyright-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: var(--accent-gold);
}

/* Page Fallbacks Custom Styles */
.blank-canvas-page {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.blank-canvas-content {
  padding: 0;
  margin: 0;
  width: 100%;
}

/* ==========================================================================
   GUTENBERG BLOCK STYLES & SUBPAGE CONTENT LAYOUTS
   ========================================================================== */
.page-content-container {
  overflow: hidden;
}

.entry-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Image blocks responsive styling */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.entry-content figure {
  margin: 0 0 24px 0;
  max-width: 100%;
}

.entry-content figure figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* Wide and full alignment support */
.alignwide {
  max-width: 1200px !important;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  max-width: 100vw !important;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0 !important;
}

/* Responsive Maps & Video Embeds */
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content video {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

.wp-block-embed {
  margin-bottom: 24px;
}

.wp-block-embed-youtube,
.wp-block-embed-vimeo,
.wp-block-embed-google-maps {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.wp-block-embed-youtube iframe,
.wp-block-embed-vimeo iframe,
.wp-block-embed-google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Styled Lists inside content */
.entry-content ul,
.entry-content ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.entry-content ul li,
.entry-content ol li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.entry-content ul {
  list-style-type: square;
}

.entry-content ul li::marker {
  color: var(--accent-gold);
}

/* Styled Quote Blocks */
.entry-content blockquote,
.wp-block-quote {
  margin: 40px 0;
  padding: 24px 30px;
  border-left: 3px solid var(--accent-gold);
  background: rgba(35, 185, 163, 0.03);
  border-radius: 0 8px 8px 0;
}

.entry-content blockquote p,
.wp-block-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 12px !important;
}

.entry-content blockquote cite,
.wp-block-quote cite {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-style: normal;
  display: block;
}

/* Gutenberg Heading margin spacing */
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: 'Playfair Display', serif;
  color: var(--text-primary);
  font-weight: 700;
  margin: 45px 0 20px 0;
  line-height: 1.3;
}

.entry-content h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.entry-content h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.entry-content h4 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

.entry-content p {
  margin-bottom: 24px;
  line-height: 1.8;
}

/* Gutenberg Columns Block */
.wp-block-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  .wp-block-columns {
    grid-template-columns: 1fr;
  }
}

/* General WP Forms (FluentForms/Contact Form 7 support styling) */
.fluentform,
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="tel"],
.fluentform select,
.fluentform textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 14px 18px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.fluentform input:focus,
.fluentform select:focus,
.fluentform textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--accent-gold);
  outline: none;
  background-color: rgba(255, 255, 255, 0.04);
}

.fluentform button[type="submit"],
.wpcf7-form input[type="submit"] {
  background-color: var(--accent-gold);
  color: #050505;
  border: 1px solid var(--accent-gold);
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.fluentform button[type="submit"]:hover,
.wpcf7-form input[type="submit"]:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  box-shadow: 0 4px 12px rgba(var(--accent-gold-rgb), 0.25);
}

