/* =====================================================
   WALBROOK SEARCH — STATIC SITE STYLESHEET
   ===================================================== */

/* Custom font */
@font-face {
  font-family: 'CameraPlainVariable';
  src: url('../assets/fonts/CameraPlainVariable.woff2') format('woff2');
  font-display: swap;
}

/* Google Fonts fallback — embedded subset for Playfair Display & Source Sans 3 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

/* =====================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ===================================================== */
:root {
  /* Colors (HSL) */
  --color-background: hsl(220, 20%, 94%);
  --color-foreground: hsl(222, 47%, 11%);
  --color-card: hsl(220, 16%, 97%);
  --color-card-foreground: hsl(222, 47%, 11%);
  --color-primary: hsl(262, 52%, 12%);
  --color-primary-hover: hsl(262, 47%, 20%);
  --color-primary-foreground: hsl(0, 0%, 100%);
  --color-secondary: hsl(220, 18%, 90%);
  --color-muted: hsl(220, 18%, 90%);
  --color-muted-foreground: hsl(215, 16%, 47%);
  --color-accent: hsl(262, 100%, 65%);
  --color-accent-hover: hsl(255, 100%, 60%);
  --color-accent-foreground: hsl(0, 0%, 100%);
  --color-border: hsl(220, 20%, 87%);
  --color-surface-alt: hsl(220, 18%, 90%);
  --color-nav-bg: hsl(262, 52%, 12%);
  --color-text-secondary: hsl(215, 25%, 35%);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  /* Spacing */
  --radius: 0.75rem;

  /* Shadows */
  --shadow-card: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
  --shadow-card-hover: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.06);
  --shadow-elevated: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.06);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--color-border);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-wrap: balance;
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

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

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

ul {
  list-style: none;
}

/* =====================================================
   LAYOUT UTILITIES
   ===================================================== */
.container-wide {
  max-width: 80rem; /* 1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 64rem; /* 1024px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-wide,
  .container-narrow {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

/* =====================================================
   TYPOGRAPHY SCALE
   ===================================================== */
.text-display {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.text-heading-1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-heading-2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.text-heading-3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.text-body {
  font-size: 1rem;
  line-height: 1.6;
}

.text-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .text-display { font-size: 3.25rem; }
  .text-heading-1 { font-size: 2.5rem; }
  .text-heading-2 { font-size: 2rem; }
  .text-heading-3 { font-size: 1.5rem; }
  .text-body { font-size: 1.125rem; }
}

@media (min-width: 1024px) {
  .text-display { font-size: 4rem; }
  .text-heading-1 { font-size: 3rem; }
  .text-heading-2 { font-size: 2.25rem; }
}

@media (min-width: 1280px) {
  .text-display { font-size: 5rem; }
}

/* =====================================================
   NAVBAR
   ===================================================== */
.site-header {
  position: relative;
  z-index: 50;
  background-color: var(--color-nav-bg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .nav-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: -0.75rem;
}

@media (min-width: 768px) {
  .nav-logo { margin-left: -1rem; }
}

.nav-logo img {
  height: 5rem;
  width: auto;
}

@media (min-width: 768px) {
  .nav-logo img { height: 8rem; }
}

.nav-toggle {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 1.75rem;
  height: 1.75rem;
}

.nav-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background-color: var(--color-nav-bg);
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 50;
}

.nav-menu.open {
  display: block;
  animation: slide-down 0.2s ease-out;
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-menu-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: white;
  padding: 0.6rem 0;
  transition: color 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-link:last-child {
  border-bottom: none;
}

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

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-slideshow-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-slideshow-section { min-height: 100vh; }
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
}

.slide {
  position: absolute;
  inset: 0;
  transition: opacity 0.7s ease-in-out;
  opacity: 0;
}

.slide.active { opacity: 1; }

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

.slide-overlay {
  position: absolute;
  inset: 0;
  background-color: hsl(262, 52%, 12%, 0.5);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-eyebrow {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-eyebrow { font-size: 1.375rem; }
}

.hero-title {
  color: white;
  margin-bottom: 1.5rem;
}

.hero-desc {
  color: rgba(255,255,255,0.9);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Animations */
.hero-headline {
  animation: hero-slide-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero-sub {
  animation: hero-fade 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.hero-cta {
  animation: hero-fade 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

@keyframes hero-slide-up {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =====================================================
   PAGE HERO (dark bg, no slideshow)
   ===================================================== */
.page-hero {
  background-color: var(--color-primary);
  padding-top: 8rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: 10rem;
    padding-bottom: 7rem;
  }
}

.page-hero h1 {
  color: var(--color-primary-foreground);
  margin-bottom: 1.5rem;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
}

/* Image hero (market pages) */
.image-hero {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .image-hero {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.image-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 10, 54, 0.8); /* primary/80 */
}

.image-hero-content {
  position: relative;
  z-index: 10;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-hero-outline {
  background-color: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-hero-outline:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-accent-foreground);
  border-color: var(--color-accent);
}
.btn-accent:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-foreground);
  border-color: var(--color-border);
}
.btn-outline:hover {
  background-color: var(--color-muted);
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* =====================================================
   CARDS
   ===================================================== */
.card {
  background-color: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.card-border {
  border: 1px solid var(--color-border);
}

.card-hover {
  transition: box-shadow 0.3s, transform 0.3s;
}
.card-hover:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* =====================================================
   STATS SECTION
   ===================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

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

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

@media (min-width: 768px) {
  .stat-value { font-size: 3rem; }
}

/* =====================================================
   MARKET COVERAGE GRID
   ===================================================== */
.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 1024px) {
  .market-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.market-card {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  text-decoration: none;
}

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

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

.market-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,10,54,0.9) 0%, rgba(26,10,54,0.3) 50%, transparent 100%);
}

.market-card-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem;
}

@media (min-width: 768px) {
  .market-card-content { padding: 1.5rem; }
}

.market-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .market-card-title { font-size: 1rem; }
}

.market-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.market-card:hover .market-card-link {
  opacity: 1;
  transform: translateY(0);
}

.market-card-link svg {
  width: 0.75rem;
  height: 0.75rem;
}

/* =====================================================
   PROMISE / PILLARS GRID
   ===================================================== */
.promise-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .promise-grid { grid-template-columns: repeat(4, 1fr); }
}

.promise-card {
  background-color: var(--color-card);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  height: 100%;
}

.promise-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: rgba(145, 70, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.promise-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-accent);
}

.promise-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}

.promise-card p {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background-color: var(--color-primary-hover);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.stars svg {
  width: 1rem;
  height: 1rem;
  fill: var(--color-accent);
  color: var(--color-accent);
}

.testimonial-quote {
  color: rgba(255,255,255,0.8);
  flex: 1;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-role {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

/* =====================================================
   BENEFITS GRID
   ===================================================== */
.benefits-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

.benefit-card {
  background-color: var(--color-card);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  height: 100%;
}

.benefit-card svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-accent);
  margin: 0 auto 1rem;
}

.benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* =====================================================
   VALUES GRID (candidates page)
   ===================================================== */
.values-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

.value-card {
  background-color: var(--color-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 1.25rem;
  height: 100%;
}

.value-card svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* =====================================================
   DIVERSITY PILLARS
   ===================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

.pillar-card {
  background-color: var(--color-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.pillar-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* =====================================================
   TEAM PROFILES
   ===================================================== */
.profile-card {
  background-color: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}

.profile-card:hover {
  box-shadow: var(--shadow-card-hover);
}

@media (min-width: 1024px) {
  .profile-card { flex-direction: row; }
  .profile-card.reverse { flex-direction: row-reverse; }
}

.profile-photo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .profile-photo-wrap {
    width: 20rem;
    padding: 2rem;
  }
}

.profile-photo {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow-elevated);
}

@media (min-width: 1024px) {
  .profile-photo {
    width: 14rem;
    height: 14rem;
  }
}

.profile-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .profile-content { padding: 2.5rem 3rem; }
}

.profile-content h2 {
  color: var(--color-foreground);
  margin-bottom: 0.25rem;
}

.profile-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.profile-bio {
  color: var(--color-muted-foreground);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.profile-bio p + p { margin-top: 1rem; }

.profile-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--color-foreground);
  transition: color 0.15s;
}

.profile-links a:hover { color: var(--color-accent); }

.profile-links svg {
  width: 1rem;
  height: 1rem;
}

/* =====================================================
   MARKET PAGE SECTIONS
   ===================================================== */
.coverage-grid-2 {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .coverage-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.coverage-grid-3 {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .coverage-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .coverage-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.coverage-card {
  background-color: var(--color-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  height: 100%;
}

.coverage-card h2 {
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.coverage-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.coverage-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.bullet {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: var(--color-accent);
  margin-top: 0.375rem;
  flex-shrink: 0;
}

.mandates-card {
  background-color: var(--color-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .mandates-card { padding: 3rem; }
}

.mandates-card h2 {
  color: var(--color-foreground);
  margin-bottom: 1.5rem;
}

.mandates-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .mandates-grid { grid-template-columns: repeat(2, 1fr); }
}

.mandate-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: rgba(145, 70, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-accent);
}

.contact-item strong {
  display: block;
  font-weight: 600;
  color: var(--color-foreground);
  margin-bottom: 0.25rem;
}

.contact-item span,
.contact-item a {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

.contact-item a:hover { color: var(--color-accent); }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.map-embed iframe {
  display: block;
  width: 100%;
}

/* =====================================================
   PRIVACY PAGE
   ===================================================== */
.prose-content {
  color: var(--color-muted-foreground);
}

.prose-content h2 {
  color: var(--color-foreground);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.prose-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.prose-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose-content li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.prose-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.prose-content strong {
  color: var(--color-foreground);
  font-weight: 600;
}

.prose-fine {
  font-size: 0.875rem;
  color: rgba(0,0,0,0.4);
  margin-top: 2rem;
}

/* =====================================================
   CTA SECTIONS
   ===================================================== */
.cta-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.cta-section.bg-primary {
  background-color: var(--color-primary);
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.cta-box {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-box { padding: 4rem; }
}

.cta-box h2 {
  color: var(--color-foreground);
}

.cta-box p {
  color: var(--color-muted-foreground);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* =====================================================
   PROJECTS / CASE STUDIES
   ===================================================== */
.projects-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

.project-card {
  background-color: var(--color-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s, transform 0.3s;
}

.project-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.project-card h3 {
  color: var(--color-foreground);
  margin-bottom: 1rem;
}

.project-card > p {
  color: var(--color-muted-foreground);
  font-size: 1rem;
  flex: 1;
  margin-bottom: 2rem;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

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

.project-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.project-stat-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-accent);
}

.project-stat-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-foreground);
}

.project-stat-lbl {
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background-color: var(--color-primary);
  color: white;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-logo {
  height: 8rem;
  width: auto;
  margin-bottom: 2rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background-color 0.15s;
  cursor: pointer;
}

.footer-social-btn:hover {
  background-color: rgba(255,255,255,0.1);
}

.footer-social-btn svg {
  width: 1rem;
  height: 1rem;
}

.footer-nav-label {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

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

.footer-nav-list a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}

.footer-nav-list a:hover { color: var(--color-accent); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}

.footer-contact-item a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.15s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

.footer-brand-mark {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 0;
  overflow: hidden;
  text-align: center;
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  user-select: none;
}

@media (min-width: 768px) {
  .footer-brand-mark { font-size: 8rem; }
}

@media (min-width: 1024px) {
  .footer-brand-mark { font-size: 10rem; }
}

/* =====================================================
   SCROLL REVEAL ANIMATION
   ===================================================== */
.reveal-wrap {
  opacity: 0;
}

@keyframes reveal {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.reveal-wrap.revealed {
  animation: reveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* =====================================================
   BACK LINK
   ===================================================== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  transition: text-decoration 0.15s;
}

.back-link:hover { text-decoration: underline; }

.back-link svg {
  width: 1rem;
  height: 1rem;
}

/* =====================================================
   404 PAGE
   ===================================================== */
.not-found-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-muted);
}

.not-found-inner {
  text-align: center;
}

.not-found-inner h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.not-found-inner p {
  font-size: 1.25rem;
  color: var(--color-muted-foreground);
  margin-bottom: 1rem;
}

.not-found-inner a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* =====================================================
   BG COLORS
   ===================================================== */
.bg-background { background-color: var(--color-background); }
.bg-surface-alt { background-color: var(--color-surface-alt); }
.bg-primary { background-color: var(--color-primary); }
.bg-card { background-color: var(--color-card); }

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

/* =====================================================
   UTILITIES
   ===================================================== */
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-16 { margin-top: 4rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-16 > * + * { margin-top: 4rem; }

.max-w-3xl { max-width: 48rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Diversity layout */
.diversity-layout {
  display: grid;
  gap: 4rem;
  align-items: flex-start;
}

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

.diversity-text > * + * { margin-top: 1rem; }
