/* ==========================================================================
   YELLOW WALLS REALTY - MODERN LIGHT THEME DESIGN SYSTEM
   Vanilla CSS3 - High Performance, Responsive, Accessible
   ========================================================================== */

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

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Color Palette */
  --color-primary: #f5a623;             /* Warm Sunbeam Gold / Brand Yellow */
  --color-primary-light: #fef8eb;       /* Soft Yellow Tint */
  --color-primary-hover: #e59716;       /* Deep Gold Accent */
  --color-primary-glow: rgba(245, 166, 35, 0.25);

  /* Neutrals & Surfaces */
  --bg-body: #faf8f5;                  /* Warm Architectural Off-White */
  --bg-surface: #ffffff;               /* Pure White Card Canvas */
  --bg-surface-alt: #f3efe6;           /* Subtle Stone Grey-Beige */
  --bg-surface-elevated: #ffffff;
  --bg-dark-accent: #111417;           /* Deep Charcoal Noir for Contrast Elements */
  
  /* Text & Inks */
  --text-main: #14171a;                /* Near-Black Editorial Charcoal */
  --text-muted: #535c68;               /* Refined Secondary Text */
  --text-subtle: #87929d;              /* Captions and Timestamps */
  --text-inverse: #ffffff;             /* Crisp White */

  /* Borders & Hairlines */
  --border-subtle: rgba(20, 23, 26, 0.08);
  --border-light: #e8e3d8;
  --border-dark: #22262a;

  /* Typography Scale */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Spacing Scale */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4.5rem;   /* 72px */
  --space-4xl: 6rem;     /* 96px */

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12);

  /* Layout */
  --container-max: 1240px;
  --container-narrow: 900px;
  --header-height: 84px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* --- Typography Helpers --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.font-serif {
  font-family: var(--font-serif);
}

.text-gradient-sun {
  background: linear-gradient(135deg, #14171a 30%, #a66a00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-hover);
  margin-bottom: var(--space-md);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--color-primary-light);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-hover);
}

.eyebrow-pill .dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.lead-text {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 400;
}

/* --- Layout Grid & Containers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  position: relative;
}

.section-sm {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

.section-white {
  background-color: var(--bg-surface);
}

.section-dark {
  background-color: var(--bg-dark-accent);
  color: #f0f0f0;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}

.section-dark .text-muted {
  color: #a0a6b0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

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

/* --- Buttons & Action Links --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  line-height: 1.2;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #1a1505;
  box-shadow: 0 4px 14px var(--color-primary-glow);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.35);
}

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

.btn-outline:hover {
  border-color: var(--text-main);
  background: var(--text-main);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

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

.btn-sm {
  padding: 10px 18px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.9375rem;
}

.link-arrow svg {
  transition: transform var(--transition-fast);
}

.link-arrow:hover {
  color: var(--color-primary-hover);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* --- Global Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  height: 74px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 20, 23, 0.6);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background: var(--bg-surface);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay.open .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
}

.mobile-drawer-close {
  background: var(--bg-surface-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-links .nav-link {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* --- Hero Section (Page Top) --- */
.page-top-offset {
  padding-top: var(--header-height);
}

.hero-home {
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.12) 0%, rgba(250, 248, 245, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-home .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-2xl);
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-media-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(245, 166, 35, 0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
}

.hero-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-hover);
  flex-shrink: 0;
}

.hero-badge-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.hero-badge-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Page Header Banner for Inner Pages */
.page-hero {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  background: linear-gradient(180deg, var(--bg-surface-alt) 0%, var(--bg-body) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.page-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.page-intro {
  font-size: 1.1875rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.65;
}

/* --- Developer Marquee Section --- */
.marquee-container {
  overflow: hidden;
  position: relative;
  padding: var(--space-md) 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  min-width: 170px;
  height: 76px;
  transition: all var(--transition-fast);
}

.marquee-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.marquee-item img {
  max-height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all var(--transition-fast);
}

.marquee-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --- Cards & Feature Grids --- */
.card-premium {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-premium:hover {
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.card-premium h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.card-premium p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* --- Cities Operating Section --- */
.cities-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}

.city-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.city-card.primary-hub {
  background: linear-gradient(145deg, #ffffff 0%, var(--color-primary-light) 100%);
  border-color: rgba(245, 166, 35, 0.5);
  box-shadow: var(--shadow-md);
}

.city-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.city-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #1a1505;
  margin-bottom: var(--space-sm);
}

.city-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.city-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Brand Philosophy Interactive / Cards --- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.philosophy-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.philosophy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border-light);
  transition: background var(--transition-fast);
}

.philosophy-card:hover::before {
  background: var(--color-primary);
}

.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.philosophy-symbol {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: inline-block;
}

.philosophy-card h3 {
  font-size: 1.1875rem;
  margin-bottom: var(--space-xs);
}

.philosophy-card .sub {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-primary-hover);
  margin-bottom: var(--space-sm);
}

.philosophy-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- Process Timeline / Workflow --- */
.process-stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
  position: relative;
  margin-top: var(--space-2xl);
}

.process-stepper::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: var(--border-light);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-main);
  transition: all var(--transition-base);
}

.process-step:hover .step-number {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #1a1505;
  transform: scale(1.1);
  box-shadow: 0 4px 12px var(--color-primary-glow);
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.process-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- Leadership / Directors Editorial Layout --- */
.founder-story-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--border-light);
}

.founder-story-row:last-child {
  border-bottom: none;
}

.founder-story-row.reversed {
  grid-template-columns: 1.2fr 1fr;
}

.founder-story-row.reversed .founder-image-col {
  order: 2;
}

.founder-story-row.reversed .founder-content-col {
  order: 1;
}

.founder-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface-alt);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.founder-image-box img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.founder-image-box:hover img {
  transform: scale(1.03);
}

.founder-meta-chip {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.founder-content-col h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 6px;
}

.founder-designation {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary-hover);
  margin-bottom: var(--space-lg);
  display: block;
}

.founder-bio {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.founder-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-lg);
}

.pillar-tag {
  background: var(--bg-surface-alt);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
}

.founder-quote {
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-md);
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--text-main);
  margin-top: var(--space-md);
}

/* --- Customer Stories / Moments Gallery --- */
.story-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.story-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(245, 166, 35, 0.4);
}

.story-image {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--bg-surface-alt);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.story-card:hover .story-image img {
  transform: scale(1.05);
}

.story-city-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(18, 20, 23, 0.75);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.story-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-body h4 {
  font-size: 1.125rem;
  margin-bottom: 6px;
}

.story-body .moment-type {
  font-size: 0.8125rem;
  color: var(--color-primary-hover);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.story-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

/* --- Awards & Recognition --- */
.award-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.award-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.award-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.award-badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(245, 166, 35, 0.3);
}

.award-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.award-org {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.award-year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-hover);
  background: var(--bg-surface-alt);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.award-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Careers Page Components --- */
.culture-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

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

.job-accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.job-accordion-item:hover {
  border-color: var(--color-primary);
}

.job-header {
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: var(--bg-surface);
}

.job-title-group h3 {
  font-size: 1.1875rem;
  margin-bottom: 4px;
}

.job-tags {
  display: flex;
  gap: 8px;
}

.job-tag {
  font-size: 0.75rem;
  padding: 3px 8px;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-xs);
  color: var(--text-muted);
  font-weight: 500;
}

.job-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.job-accordion-item.active .job-toggle-icon {
  transform: rotate(180deg);
  background: var(--color-primary);
  color: #1a1505;
}

.job-details {
  display: none;
  padding: 0 var(--space-xl) var(--space-xl);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.job-accordion-item.active .job-details {
  display: block;
  padding-top: var(--space-lg);
}

/* --- Forms & Inputs --- */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-main);
  transition: all var(--transition-fast);
  font-size: 0.9375rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

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

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-feedback {
  display: none;
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-feedback.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-feedback.error {
  display: block;
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* --- Contact & Location Elements --- */
.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  height: 400px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Editorial / Legal Content Page --- */
.legal-content-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-sm);
}

.legal-content-wrap h2 {
  font-size: 1.5rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content-wrap h3 {
  font-size: 1.1875rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content-wrap p {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.legal-content-wrap ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

.legal-content-wrap li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* --- Final CTA Section Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #181b1f 0%, #22272e 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-2xl);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.22) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: var(--space-md);
}

.cta-banner p {
  color: #b0b7c3;
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

/* --- Footer --- */
.site-footer {
  background: #111417;
  color: #8c96a3;
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-2xl);
  border-top: 1px solid #22262a;
  font-size: 0.9375rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand p {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
  line-height: 1.65;
  color: #9ba4b0;
  max-width: 340px;
}

.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.footer-brand .footer-logo img {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #8c96a3;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-office-info p {
  color: #b0b8c4;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.8125rem;
}

.footer-legal-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal-links a {
  color: #727c88;
}

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

/* --- Responsive Media Queries --- */
@media (max-width: 1080px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-collage {
    grid-template-columns: repeat(2, 1fr);
  }
  .award-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }
  .process-stepper {
    grid-template-columns: repeat(3, 1fr);
    row-gap: var(--space-xl);
  }
  .process-stepper::before {
    display: none;
  }
}

@media (max-width: 868px) {
  .nav-menu, .header-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .founder-story-row, .founder-story-row.reversed {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .founder-story-row.reversed .founder-image-col {
    order: 1;
  }
  .founder-story-row.reversed .founder-content-col {
    order: 2;
  }
  .founder-image-box img {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
  .grid-3, .grid-4, .cities-grid, .story-collage, .award-grid, .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .process-stepper {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .hero-floating-badge {
    position: static;
    margin-top: var(--space-md);
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track {
    animation: none;
    overflow-x: auto;
  }
}
