/* ==========================================================================
   OMR PROPERTIES - PREMIUM GLOBAL STYLESHEET (style.css)
   Aesthetic: High-End Luxury Editorial (Louis Vuitton inspired, warm stone tone)
   ========================================================================== */

/* 1. Imports & Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* 2. Custom CSS Variable Tokens */
:root {
  /* --- Brand Color Palette (Official Rebrand Scheme) --- */
  /* Ember Rose Scale */
  --color-primary: #C84030;         /* Ember Rose Brand */
  --color-primary-dark: #9E2B20;    /* Ember Rose Dark */
  --color-primary-light: #FBEDEB;   /* Ember Rose Subtle (mapping to primary-light for badge/shadow hovers) */
  --color-primary-muted: #D9948D;   /* Ember Rose Muted */
  --color-primary-subtle: #FBEDEB;  /* Ember Rose Subtle */
  --color-primary-faint: #FDF6F5;   /* Ember Rose Faint */

  /* Charcoal Scale (Authority text & dark surfaces) */
  --color-charcoal: #1E1E1E;        /* Charcoal Brand */
  --color-charcoal-90: #2D2D2D;
  --color-charcoal-70: #4B4B4B;
  --color-charcoal-50: #767676;
  --color-charcoal-30: #A8A8A8;
  --color-charcoal-15: #D1D1D0;
  --color-charcoal-07: #EAEAE9;
  --color-white: #FFFFFF;

  /* Mist Scale (Light Backgrounds - Always Mist, never pure white for page bg) */
  --color-mist: #F4F2EF;            /* Mist Brand (Page Background) */
  --color-mist-darker: #D9D4CC;
  --color-mist-dark: #E9E6E0;

  /* Stone Scale (Warm Neutrals & Muted Text) */
  --color-stone: #B5A99A;           /* Stone Brand */
  --color-stone-dark: #8A7D6F;
  --color-stone-mid: #A09080;
  --color-stone-light: #CEC6BB;
  --color-stone-subtle: #F0EDE9;

  /* Semantic Colors */
  --color-success: #4F7A5B;
  --color-warning: #C2873A;
  --color-danger: #9E2B20;
  --color-info: #4A6B82;

  /* --- Mapping Variables (Functional Defaults) --- */
  --color-paper: var(--color-white);             /* Default page background is White */
  --color-text-primary: var(--color-charcoal);    /* Primary body text */
  --color-text-secondary: var(--color-stone-dark); /* Muted body text */
  --color-border: rgba(30, 30, 30, 0.08);
  --color-border-dark: rgba(255, 255, 255, 0.08);

  /* Typography Scales */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  --font-label: 'Outfit', sans-serif;

  --text-5xl: clamp(2.5rem, 6.5vw, 5.25rem); /* 84px - Display Hero */
  --text-3xl: clamp(1.8rem, 4vw, 3rem);     /* 48px - Heading 1 */
  --text-2xl: clamp(1.4rem, 3vw, 2.25rem);  /* 36px - Heading 2 */
  --text-xl: 1.5rem;                        /* 24px - Heading 3 */
  --text-md: 1.125rem;                      /* 18px - Lead Body */
  --text-base: 1rem;                        /* 16px - Standard Body */
  --text-sm: 0.875rem;                      /* 14px - Small Body */
  --text-2xs: 0.75rem;                      /* 12px - Eyebrow / Label */

  /* Spacing Grid (4px Base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 80px;
  --space-11: 96px;
  --space-12: 128px;

  /* Border Radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 9999px;

  /* Elevation (Soft Warm Tinted Shadows) */
  --shadow-xs: 0 1px 2px rgba(20, 19, 18, 0.05);
  --shadow-sm: 0 4px 10px rgba(20, 19, 18, 0.03);
  --shadow-md: 0 10px 25px rgba(20, 19, 18, 0.06);
  --shadow-lg: 0 20px 40px rgba(20, 19, 18, 0.1);

  /* Container Widths */
  --container-sm: 640px;
  --container-md: 920px;
  --container-lg: 1180px;
  --container-xl: 1360px;

  /* Navigation Height */
  --header-height: 110px;
  --header-height-shrunk: 74px;
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 3. Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-paper);
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
}

/* Page Navigation transitions if browser supported */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

main {
  min-height: 80vh;
}

/* 4. Typography Rules */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Custom Text Accents */
.brand-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-primary);
}

/* The Ember Rule: 2px preceding all eyebrows */
.ember-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.ember-eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background-color: var(--color-primary);
}

/* The Star Motif Divider */
.star-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-block: var(--space-6);
  width: 100%;
}

.star-divider::before,
.star-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--color-stone);
  opacity: 0.3;
  max-width: 60px;
}

.star-divider img {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

/* 5. Utility Layout Elements */
.container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-5);
  }
}

section {
  padding-block: var(--space-11);
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding-block: var(--space-9);
  }
}

/* Background Variations */
.bg-paper { background-color: var(--color-paper); }
.bg-mist { background-color: var(--color-mist); }
.bg-white { background-color: var(--color-white); }
.bg-charcoal {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  --color-border: var(--color-border-dark);
  --color-text-primary: var(--color-white);
  --color-text-secondary: rgba(255, 255, 255, 0.7);
}
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3, .bg-charcoal h4, .bg-charcoal p {
  color: var(--color-white);
}

.bg-mist-darker {
  background-color: var(--color-mist-darker);
  color: var(--color-charcoal);
  --color-border: var(--color-border);
  --color-text-primary: var(--color-charcoal);
  --color-text-secondary: var(--color-charcoal-70);
}
.bg-mist-darker h1, .bg-mist-darker h2, .bg-mist-darker h3, .bg-mist-darker h4, .bg-mist-darker p {
  color: var(--color-charcoal);
}
.bg-mist-darker .form-label {
  color: var(--color-charcoal-70);
}

/* Editorial Split-Layouts */
.editorial-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-9);
  align-items: center;
}

@media (max-width: 920px) {
  .editorial-grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
}

/* Section Header Editorial style */
.section-header-editorial {
  max-width: var(--container-md);
  margin-bottom: var(--space-9);
}

.section-header-editorial h2 {
  margin-bottom: var(--space-4);
}

.section-header-editorial p {
  font-size: var(--text-md);
  max-width: 650px;
}

/* 6. Buttons & Interactive Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  padding: var(--space-4) var(--space-7); /* Sleeker padding (16px top/bottom, 40px left/right) */
  border-radius: 0; /* Square / Near-Square editorial styling */
  border: 1px solid currentColor;
  background: transparent;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background-color: var(--color-charcoal-90);
  border-color: var(--color-charcoal-90);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background-color: var(--color-charcoal);
  border-color: var(--color-charcoal);
  color: var(--color-white);
}

.btn-dark:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn-outline:hover {
  background-color: var(--color-charcoal);
  border-color: var(--color-charcoal);
  color: var(--color-white);
  transform: translateY(-2px);
}

.bg-charcoal .btn-outline:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-charcoal);
}

.btn-light {
  border-color: var(--color-white);
  color: var(--color-white);
  background-color: transparent;
}

.btn-light:hover {
  background-color: var(--color-white);
  color: var(--color-charcoal);
  transform: translateY(-2px);
}

.btn-ghost {
  border: none;
  background: transparent;
  padding: var(--space-2) 0;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
}

.btn-ghost::after {
  content: ' →';
  transition: transform 0.3s ease;
}

.btn-ghost:hover::after {
  transform: translateX(4px);
}

/* Elegant Text links with underline transition */
.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-charcoal);
  position: relative;
  padding-bottom: var(--space-1);
}

.editorial-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-primary);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.editorial-link:hover::after {
  transform: scaleX(1);
}

.bg-charcoal .editorial-link {
  color: var(--color-white);
}

/* 7. Navigation Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(250, 248, 246, 0.85); /* transparent paper */
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

header.shrunk {
  height: var(--header-height-shrunk);
  background-color: rgba(250, 248, 246, 0.95);
  box-shadow: var(--shadow-xs);
}

header .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-8);
}

@media (max-width: 1024px) {
  header .nav-container {
    padding: 0 var(--space-5);
  }
}

.logo-link img {
  height: 66px;
  width: auto;
  transition: var(--transition-smooth);
}

header.shrunk .logo-link img {
  height: 44px;
}

/* Desktop Navigation Link styles */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-6);
}

.nav-links > li > a {
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-charcoal);
  padding: var(--space-2) 0;
  position: relative;
  display: inline-block;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  transform: scaleX(1);
}

/* Dropdown Sub-menus */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
}

.has-dropdown:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Prevention of mouse gap triggers */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  padding: var(--space-2) var(--space-3);
  display: block;
  border-radius: var(--radius-xs);
  transition: var(--transition-smooth);
}

.dropdown-menu a:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding-left: var(--space-4);
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

@media (max-width: 1024px) {
  .mobile-nav-toggle {
    display: block;
  }
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-charcoal);
  margin-block: 6px;
  transition: var(--transition-smooth);
}

/* Mobile Nav Drawer */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 19, 18, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 360px;
  max-width: 100%;
  height: 100vh;
  background-color: var(--color-paper);
  z-index: 1100;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
  padding: var(--space-9) var(--space-7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-menu-drawer.open {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.close-icon {
  font-family: var(--font-label);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--color-charcoal);
}

.mobile-nav-links {
  list-style: none;
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  overflow-y: auto;
  max-height: calc(100vh - 240px);
}

.mobile-nav-links > li > a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-charcoal);
  display: block;
}

.mobile-dropdown-menu {
  list-style: none;
  padding-left: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
  border-left: 1px solid var(--color-stone);
}

.mobile-dropdown-menu a {
  font-family: var(--font-label);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.mobile-nav-footer {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  color: var(--color-stone);
  letter-spacing: 0.05em;
  line-height: 1.8;
}

/* 8. Hero Section Layout */
.hero-sec {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: 74% 21%;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding-block: var(--space-12);
}

.hero-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 19, 18, 0.85) 0%, rgba(20, 19, 18, 0.5) 100%);
  z-index: 1;
}

.hero-sec .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: var(--space-9);
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  color: var(--color-white);
  font-size: var(--text-5xl);
  margin-bottom: var(--space-5);
  line-height: 1.05;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-md);
  max-width: 600px;
  margin-bottom: var(--space-7);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Performance Metrics overlay grid */
.hero-metrics {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: 100%;
}

.metric-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: var(--space-3);
}

.metric-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.metric-val {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  font-weight: 500;
}

.metric-lbl {
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

/* 9. Brand/Partner showcase */
.brands-banner {
  padding-block: var(--space-7);
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-white);
}

.brands-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.brand-logo {
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-stone);
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.brand-logo:hover {
  opacity: 1;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .brands-grid {
    justify-content: center;
    gap: var(--space-5) var(--space-7);
  }
}

/* 10. Cards styling */
.editorial-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-7);
}

@media (max-width: 920px) {
  .editorial-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .editorial-card-grid {
    grid-template-columns: 1fr;
  }
}

.editorial-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.editorial-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.card-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background-color: var(--color-mist);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.editorial-card:hover .card-media img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background-color: var(--color-charcoal);
  color: var(--color-white);
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-xs);
}

.card-content {
  padding: var(--space-6);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-category {
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-stone);
  margin-bottom: var(--space-2);
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-5);
}

/* 11. Custom Carousel Slider */
.carousel-section {
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-viewport {
  overflow-x: scroll;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: var(--space-6);
  padding-bottom: var(--space-5);
  scrollbar-width: none; /* Firefox */
}

.carousel-viewport::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 300px;
  scroll-snap-align: center;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

@media (max-width: 1024px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .carousel-slide {
    flex: 0 0 100%;
  }
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 1s ease;
}

.carousel-slide:hover img {
  transform: scale(1.04);
}

.carousel-slide-content {
  padding: var(--space-5);
}

.carousel-slide-title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

/* Slider Controls */
.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-5);
}

.carousel-dots {
  display: flex;
  gap: var(--space-2);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-stone);
  opacity: 0.4;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dot.active {
  background-color: var(--color-primary);
  opacity: 1;
  width: 24px;
  border-radius: var(--radius-pill);
}

.carousel-nav-btn {
  background: var(--color-white);
  border: 1px solid var(--color-stone);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-nav-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* 12. Video Section */
.video-section {
  position: relative;
}

.video-container {
  width: 100%;
  max-width: var(--container-lg);
  margin: 0 auto;
  aspect-ratio: 16/9;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background-color: var(--color-charcoal);
  box-shadow: var(--shadow-lg);
}

.video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 2;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-poster::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 19, 18, 0.45);
}

.video-play-btn {
  position: relative;
  z-index: 3;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(250, 248, 246, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.video-play-btn::before {
  content: '';
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--color-charcoal);
  margin-left: 6px;
}

.video-play-btn:hover {
  background-color: var(--color-primary);
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.video-play-btn:hover::before {
  border-color: transparent transparent transparent var(--color-white);
}

.video-container.playing .video-poster {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 13. Testimonials styling */
.testimonials-section {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.testimonial-slide-box {
  max-width: var(--container-md);
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote-text {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--color-charcoal);
  line-height: 1.35;
  margin-bottom: var(--space-5);
}

.testimonial-author-tag {
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-stone);
}

/* 14. Forms & Inputs styling */
.editorial-form {
  width: 100%;
}

.form-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

@media (max-width: 640px) {
  .form-group-grid {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-4);
  position: relative;
}

.form-input, .form-textarea, .form-select {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-stone);
  background-color: var(--color-white);
  border-radius: var(--radius-xs);
  outline: none;
  transition: var(--transition-smooth);
  width: 100%;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #B5A99A;
  opacity: 0.7;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.form-label {
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

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

/* Checkbox alignment styling */
.checkbox-field {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  cursor: pointer;
  user-select: none;
}

.checkbox-input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-stone);
  border-radius: var(--radius-xs);
  outline: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.checkbox-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-input:checked::before {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: bold;
}

/* 15. Timeline/Process styling */
.timeline-container {
  max-width: var(--container-md);
  margin: 0 auto;
  position: relative;
  padding-left: var(--space-7);
  border-left: 2px solid var(--color-stone);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-8);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: calc(var(--space-7) * -1 - 9px);
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 3px solid var(--color-paper);
}

.timeline-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

/* 16. Footer styling */
footer {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding-top: var(--space-11);
  padding-bottom: 0; /* Sit flush with footer-bottom bar */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 0.75fr);
  gap: var(--space-8);
  margin-bottom: var(--space-9);
}

@media (max-width: 920px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-7);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.footer-logo-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.footer-logo-box img {
  height: 110px;
  width: auto;
  filter: brightness(0) invert(1); /* Make logo completely white */
}

.footer-desc {
  font-size: var(--text-sm);
  color: var(--color-white); /* Solid white */
  line-height: 1.6;
}

.footer-title {
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-white); /* White text on red background */
  margin-bottom: var(--space-5);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-white); /* Solid white */
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--color-white);
  opacity: 0.7;
  padding-left: 4px;
}

.footer-contact-item {
  font-size: var(--text-sm);
  color: var(--color-white); /* Solid white */
  margin-bottom: var(--space-2);
}

.footer-bottom {
  background-color: var(--color-charcoal); /* Charcoal background page-wide */
  padding-bottom: var(--space-8); /* Padding below the pill */
  padding-top: 0;
  margin-top: var(--space-9);
}

.footer-bottom .container {
  background-color: var(--color-primary); /* Primary red background (Ember Pill) */
  border-radius: var(--radius-pill); /* Pill shape */
  padding: var(--space-4) var(--space-8); /* Pill padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-2xs);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.footer-bottom p {
  color: var(--color-white);
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--color-white); /* Fully white policy links */
  transition: var(--transition-smooth);
}

.footer-bottom a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-bottom .container {
    border-radius: var(--radius-md); /* Card shape for mobile wrap */
    padding: var(--space-4) var(--space-5);
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: var(--space-2);
  }
}

/* 17. Micro-Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* 18. About/Services custom layout sections */
.editorial-quote-section {
  background-color: var(--color-primary-light);
  padding-block: var(--space-10);
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.team-photo {
  aspect-ratio: 1/1;
  background-color: var(--color-mist);
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: var(--space-4);
  text-align: center;
}

.team-name {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
}

.team-role {
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

/* 19. Contact Specific split screen layout */
.contact-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-10);
}

@media (max-width: 920px) {
  .contact-split {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-detail-block h4 {
  font-family: var(--font-label);
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.contact-detail-block p {
  margin-bottom: 0;
  font-size: var(--text-sm);
}
