:root {
  /* Colors - Warm Luxury */
  --color-bg: #000000;
  /* Warm inviting cream */
  --color-text: #ffffff;
  /* Soft espresso/charcoal */
  --color-accent: #e0e0e0;
  /* Warm taupe/burnt sienna for subtle touches */
  --color-border: #333333;
  --color-white: #ffffff;

  /* Typography */
  --font-heading: 'Anton', 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-xxl: 12rem;

  /* Layout */
  --max-width: 1600px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  /* Lighter weight for high-fashion feel */
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.03em;
}

/* Massive display typography */
.display-huge {
  font-size: clamp(4rem, 12vw, 14rem);
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.05em;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
  margin-bottom: var(--space-md);
  font-size: clamp(1rem, 1.25vw, 1.35rem);
  color: #333;
  max-width: 60ch;
  font-weight: 300;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.5;
}

ul {
  list-style: none;
}

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

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Theme Utilities */
.theme-dark {
  background-color: var(--color-bg) !important;
  color: var(--color-text) !important;
}

.theme-light {
  background-color: var(--color-white) !important;
  color: var(--color-bg) !important;
}

.theme-dark h1,
.theme-dark h2,
.theme-dark h3,
.theme-dark h4,
.theme-dark h5,
.theme-dark h6,
.theme-dark p,
.theme-dark .subheading,
.theme-dark .wp-block-heading {
  color: var(--color-text) !important;
}

.theme-light h1,
.theme-light h2,
.theme-light h3,
.theme-light h4,
.theme-light h5,
.theme-light h6,
.theme-light p,
.theme-light .subheading,
.theme-light .wp-block-heading {
  color: var(--color-bg) !important;
}

.section {
  padding: var(--space-xxl) 0;
}

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

.subheading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-bottom: var(--space-md);
  display: block;
  opacity: 0.7;
}

/* Base Util Additions */
.bg-dark {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.text-white {
  color: var(--color-bg) !important;
}

.text-white h2,
.text-white h3,
.text-white p,
.text-white .subheading {
  color: var(--color-bg);
}

.mb-lg {
  margin-bottom: var(--space-lg) !important;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--color-text);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: var(--color-text);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

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

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-text);
}

.btn-primary::after {
  background-color: var(--color-bg);
  height: 100%;
}

.btn-primary:hover::after {
  height: 0%;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
}

.btn-outline:hover {
  color: var(--color-bg);
}

.btn-outline::after {
  background-color: var(--color-text);
}

.btn-outline:hover::after {
  height: 100%;
}

/* Desktop overrides */
@media (min-width: 768px) {
  .section {
    padding: calc(var(--space-xxl) * 1.2) 0;
  }
}

/* App specific overrides if needed, mostly handled by index.css */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--space-lg) 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  background-color: transparent;
  color: var(--color-text) !important;
}

.navbar.scrolled {
  padding: var(--space-md) 0;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  color: var(--color-text) !important;
  border-bottom: 1px solid var(--color-border);
}

.navbar a,
.navbar .wp-block-site-title a,
.navbar .wp-block-navigation a {
  color: var(--color-text) !important;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text) !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text) !important;
}

/* Mobile Menu */
.mobile-only {
  display: none;
}

.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-bg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  color: var(--color-text);
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
  padding: var(--space-xs) 0;
  text-transform: uppercase;
}

/* Cinematic Hero Section */
.hero-cinematic {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--space-xxl);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.2) brightness(0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12, 12, 14, 0.8) 0%, rgba(12, 12, 14, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-bg);
  padding-left: 5vw;
}

.hero-content .display-huge {
  color: var(--color-bg);
  margin-bottom: var(--space-md);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--space-lg);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
}

/* Philosophy Editorial */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.editorial-text {
  padding: var(--space-md) 0;
}

.pull-quote {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-style: italic;
  margin-bottom: var(--space-lg);
  position: relative;
}

.pull-quote::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: -2rem;
  font-size: 6rem;
  color: var(--color-border);
  opacity: 0.5;
  font-family: var(--font-heading);
  z-index: -1;
}

.editorial-image {
  position: relative;
}

.editorial-image img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1);
}

/* Manifesto List */
.manifesto-list {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.manifesto-item {
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-sm);
}

.manifesto-num {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  margin-right: var(--space-md);
  color: #888;
}

.manifesto-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-transform: uppercase;
}

/* Services / What We Build */
.services-editorial {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.2);
}

.service-row h3 {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

/* Assessment */
.assessment-section {
  padding: calc(var(--space-xxl) * 1.5) 0;
  position: relative;
  overflow: hidden;
}

/* Floating Assessment Card */
.assessment-card {
  background-color: var(--color-bg);
  color: var(--color-text);
  border-radius: 0 !important;
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

@keyframes floatCard {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.assessment-card {
  background-color: #0c0c0e !important;
}

.assessment-card h2,
.assessment-card p,
.assessment-card .wp-block-heading,
.assessment-card .has-text-color,
.assessment-card * {
  color: #ffffff !important;
}

.assessment-card .wp-block-button__link {
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  border-radius: 0 !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.assessment-card .wp-block-button__link:hover {
  background-color: #ffffff !important;
  color: #0c0c0e !important;
}

.assessment-content {
  position: relative;
  z-index: 1;
}

/* Footer */
.footer {
  background-color: var(--color-text);
  color: var(--color-bg);
  padding-top: var(--space-xl);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xxl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h2 {
  color: var(--color-bg);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 3rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-bg);
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--color-bg);
  margin-bottom: var(--space-sm);
  font-size: 1rem;
  font-weight: 300;
}

.footer-bottom {
  padding: var(--space-md) var(--space-md);
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}

@media (min-width: 769px) {
  .editorial-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
  }

  .editorial-grid.reverse {
    direction: rtl;
  }

  .editorial-grid.reverse>* {
    direction: ltr;
  }

  .service-row {
    grid-template-columns: 100px 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer-container {
    grid-template-columns: 1fr 2fr;
  }

  .footer-links {
    justify-content: flex-end;
  }
}