/* GatherADU 2026 Design System */

/* Google Fonts - Playfair Display for headings, Inter for body */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* Design Tokens */
:root {
  /* Brand Colors */
  --brand-green: 152 42% 21%;
  --brand-green-dark: 152 42% 16%;
  --brand-green-light: 152 30% 35%;
  --brass: 38 45% 63%;
  --brass-light: 38 45% 75%;
  
  /* Neutral Palette */
  --quartz: 30 20% 96%;
  --quartz-dark: 30 15% 92%;
  --charcoal: 152 20% 10%;
  --charcoal-light: 152 10% 25%;
  
  /* Text Colors - for calculator and other pages */
  --text-primary: #1a2e25;
  --text-secondary: #5a6b64;
  --text-muted: #8a9a93;
  
  /* Semantic Colors */
  --background: 30 20% 96%;
  --foreground: 152 20% 10%;
  --card: 0 0% 100%;
  --card-foreground: 152 20% 10%;
  --card-border: 30 10% 88%;
  --popover: 0 0% 100%;
  --popover-foreground: 152 20% 10%;
  --primary: 152 42% 21%;
  --primary-foreground: 0 0% 100%;
  --secondary: 30 15% 92%;
  --secondary-foreground: 152 20% 10%;
  --muted: 30 10% 90%;
  --muted-foreground: 152 10% 40%;
  --accent: 38 45% 63%;
  --accent-foreground: 152 20% 10%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;
  --border: 30 10% 85%;
  --input: 30 10% 80%;
  --ring: 152 42% 21%;
  --radius: 0.5rem;
  
  /* Typography Scale */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
}

.dark {
  --background: 152 15% 8%;
  --foreground: 30 15% 95%;
  --card: 152 15% 12%;
  --card-foreground: 30 15% 95%;
  --card-border: 152 10% 18%;
  --popover: 152 15% 12%;
  --popover-foreground: 30 15% 95%;
  --secondary: 152 10% 18%;
  --secondary-foreground: 30 15% 95%;
  --muted: 152 10% 20%;
  --muted-foreground: 30 10% 60%;
  --border: 152 10% 20%;
  --input: 152 10% 25%;
  --text-primary: #e8ede9;
  --text-secondary: #a8b5af;
  --text-muted: #6a7a72;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

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

/* Typography */
.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }

h1, h2, h3, .heading {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h4, h5, h6 {
  font-family: var(--font-sans);
  line-height: 1.3;
  font-weight: 600;
}

.display-xl {
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.display-lg {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-md {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.text-xl { font-size: 1.5rem; line-height: 1.4; }
.text-lg { font-size: 1.25rem; line-height: 1.5; }
.text-base { font-size: 1rem; line-height: 1.6; }
.text-sm { font-size: 0.875rem; line-height: 1.5; }
.text-xs { font-size: 0.75rem; line-height: 1.4; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.02em; }

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

/* Colors */
.bg-background { background-color: hsl(var(--background)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.bg-accent { background-color: hsl(var(--accent)); }
.bg-brand { background-color: hsl(var(--brand-green)); }
.bg-brand-dark { background-color: hsl(var(--brand-green-dark)); }
.bg-quartz { background-color: hsl(var(--quartz)); }
.bg-charcoal { background-color: hsl(var(--charcoal)); }

.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-accent { color: hsl(var(--accent)); }
.text-brand { color: hsl(var(--brand-green)); }
.text-brass { color: hsl(var(--brass)); }
.text-white { color: #fff; }

.border-border { border-color: hsl(var(--border)); }
.border-card-border { border-color: hsl(var(--card-border)); }

/* Layout */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 3rem; }
}

.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.max-w-prose { max-width: 70ch; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Flexbox & Grid */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* Spacing */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-auto { margin-top: auto; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Sizing */
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-4-3 { aspect-ratio: 4 / 3; }

/* Borders & Radius */
.border { border: 1px solid hsl(var(--border)); }
.border-t { border-top: 1px solid hsl(var(--border)); }
.border-b { border-bottom: 1px solid hsl(var(--border)); }
.border-l { border-left: 1px solid hsl(var(--border)); }
.border-r { border-right: 1px solid hsl(var(--border)); }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.5rem; }
.rounded-lg { border-radius: 0.75rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-2xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Object Fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }

/* Visibility */
.invisible { visibility: hidden; }
.visible { visibility: visible; }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.opacity-100 { opacity: 1; }

/* Transitions */
.transition { transition: all 0.3s ease; }
.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.transition-transform { transition: transform 0.3s ease; }
.transition-opacity { transition: opacity 0.2s ease; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* Transforms */
.scale-100 { transform: scale(1); }
.scale-102 { transform: scale(1.02); }
.scale-105 { transform: scale(1.05); }
.-translate-y-1 { transform: translateY(-0.25rem); }
.translate-y-0 { transform: translateY(0); }

/* Hover States */
.hover\:scale-102:hover { transform: scale(1.02); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:text-foreground:hover { color: hsl(var(--foreground)); }
.hover\:text-brand:hover { color: hsl(var(--brand-green)); }
.hover\:bg-muted:hover { background-color: hsl(var(--muted)); }
.hover\:underline:hover { text-decoration: underline; }

.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:text-brand { color: hsl(var(--brand-green)); }

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.shadow-soft { box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.15); }
.shadow-glow { box-shadow: 0 0 40px rgba(31, 77, 58, 0.15); }

.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: hsl(var(--brand-green));
  color: white;
}

.btn-primary:hover {
  background: hsl(var(--brand-green-dark));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 77, 58, 0.3);
}

.btn-secondary {
  background: white;
  color: hsl(var(--brand-green));
  border: 1px solid hsl(var(--brand-green));
}

.btn-secondary:hover {
  background: hsl(var(--brand-green));
  color: white;
}

.btn-phone {
  background: transparent;
  color: hsl(var(--brand-green));
  border: 2px solid hsl(var(--brand-green));
}

.btn-phone:hover {
  background: hsl(var(--brand-green) / 0.1);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
}

.btn-ghost:hover {
  background: hsl(var(--muted));
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Button Focus States - Accessibility */
.btn:focus-visible {
  outline: 2px solid hsl(var(--brand-green));
  outline-offset: 2px;
}

.btn-primary:focus-visible {
  outline-color: hsl(var(--accent));
}

.btn-outline:focus-visible {
  outline-color: white;
}

/* Global Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid hsl(var(--brand-green));
  outline-offset: 2px;
  border-radius: 0.25rem;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-offset: 0;
  border-color: hsl(var(--brand-green));
}

/* Cards */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--card-border));
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
}

.card-content {
  padding: 1.5rem;
}

.card-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card-image-link {
  display: block;
}

.card-image-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
}

.team-avatar-wrapper {
  padding: 1.5rem 1.5rem 0;
}

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.team-avatar-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  border-radius: 50%;
}

/* Tags/Labels */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.tag-brand {
  background: hsl(var(--brand-green) / 0.1);
  color: hsl(var(--brand-green));
}

.tag-accent {
  background: hsl(var(--brass) / 0.15);
  color: hsl(var(--brass));
}

/* Line clamp */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Divider */
.divider {
  width: 60px;
  height: 3px;
  background: hsl(var(--brass));
  border-radius: 2px;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* Icon containers */
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: hsl(var(--brand-green) / 0.08);
}

.icon-circle-lg {
  width: 5rem;
  height: 5rem;
}

.icon-circle svg {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--brand-green));
}

/* Stats */
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1;
  color: hsl(var(--brand-green));
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

/* Decorative elements */
.pattern-dots {
  background-image: radial-gradient(hsl(var(--brand-green) / 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

.gradient-fade-b {
  background: linear-gradient(to bottom, transparent, hsl(var(--background)));
}

/* Breadcrumb Styles */
.breadcrumb-nav {
  margin-bottom: 1.5rem;
  padding: 0.75rem 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  font-size: 0.875rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumb-separator {
  display: flex;
  align-items: center;
  color: hsl(var(--muted-foreground));
  margin: 0 0.25rem;
}

.breadcrumb-separator svg {
  width: 14px;
  height: 14px;
}

.breadcrumb-link {
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
  padding: 0.25rem 0.5rem;
  margin: -0.25rem -0.5rem;
  border-radius: 0.25rem;
}

.breadcrumb-link:hover {
  color: hsl(var(--foreground));
}

.breadcrumb-link:focus-visible {
  outline: 2px solid hsl(var(--brand-green));
  outline-offset: 0;
}

.breadcrumb-current {
  color: hsl(var(--foreground));
  font-weight: 500;
}

/* Skip Link - Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(var(--brand-green));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid hsl(var(--accent));
  outline-offset: 2px;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(var(--border));
}

body.menu-open {
  overflow: hidden;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 400;
  display: flex;
  align-items: baseline;
}

.logo-gather {
  font-family: var(--font-serif);
  color: hsl(var(--brand-green));
  font-weight: 500;
}

.logo-adu {
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 0.05em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: hsl(var(--brand-green));
  transition: width 0.2s;
}

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

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-content {
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
  min-width: 200px;
}

.nav-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  border-radius: 0.5rem;
  transition: all 0.15s;
}

.nav-dropdown-item:hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.nav-dropdown-item:focus-visible {
  outline: 2px solid hsl(var(--brand-green));
  outline-offset: -2px;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-trigger:focus-visible {
  outline: 2px solid hsl(var(--brand-green));
  outline-offset: 2px;
  border-radius: 0.25rem;
}

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

.header-phone {
  display: none;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--brand-green));
  transition: opacity 0.2s;
}

.header-phone:hover {
  opacity: 0.7;
}

@media (min-width: 768px) {
  .header-phone { display: flex; }
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: hsl(var(--foreground));
  border-radius: 0.5rem;
  transition: background-color 0.2s;
}

.mobile-menu-btn:hover {
  background: hsl(var(--muted));
}

.mobile-menu-btn:focus-visible {
  outline: 2px solid hsl(var(--brand-green));
  outline-offset: 2px;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 5rem;
  bottom: 0;
  background: white;
  z-index: 999;
  padding: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.875rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  border-bottom: 1px solid hsl(var(--border));
  transition: color 0.2s, background-color 0.2s;
}

.mobile-nav-link:hover {
  color: hsl(var(--brand-green));
}

.mobile-nav-link:focus-visible {
  outline: 2px solid hsl(var(--brand-green));
  outline-offset: 2px;
  border-radius: 0.25rem;
}

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

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.mobile-phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--brand-green));
}

.mobile-phone-hint {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
  margin: 0;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: hsl(var(--brand-green-dark));
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-bg.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero::after {
  display: none;
}

.hero-pattern {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: white;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: white;
  margin-bottom: 1rem;
}

.hero-title-accent {
  color: var(--brass);
}

.hero-tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 0.75rem;
}

.hero-tagline-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--brass);
  border-radius: 50%;
  margin: 0 0.5rem;
  vertical-align: middle;
}

@media (max-width: 640px) {
  .hero-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }
  
  .hero-tagline-dot {
    width: 4px;
    height: 4px;
    margin: 0 0.375rem;
  }
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: white;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: hsl(var(--brass));
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 600px;
  margin: 0 auto;
}

/* Testimonials Section */
.testimonials-section {
  background: hsl(var(--card));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.testimonial-card {
  background: hsl(var(--background));
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 1rem;
  color: hsl(var(--brass));
}

.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(var(--foreground));
  flex: 1;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: hsl(var(--primary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.testimonial-info {
  min-width: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: hsl(var(--foreground));
}

.testimonial-location {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

/* Home Benefits Grid */
.benefits-grid-home {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

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

.benefit-card-home {
  text-align: center;
  padding: 2.5rem 2rem;
  background: hsl(var(--primary) / 0.06);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.benefit-card-home:hover {
  transform: translateY(-4px);
  background: hsl(var(--primary) / 0.1);
}

.benefit-icon-home {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary));
  border-radius: 50%;
}

.benefit-icon-home svg {
  width: 2rem;
  height: 2rem;
  stroke: white;
}

.benefit-title-home {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.benefit-desc-home {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Services Grid - Homepage */
.services-grid-home {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.service-card-home {
  text-align: center;
  padding: 2rem 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.service-card-home:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px hsl(var(--brand-green) / 0.15);
  border-color: hsl(var(--primary) / 0.3);
}

.service-icon-home {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsl(var(--brand-green) / 0.15) 0%, hsl(var(--brand-brass) / 0.1) 100%);
  border-radius: 1rem;
}

.service-icon-home svg {
  width: 2rem;
  height: 2rem;
  stroke: hsl(var(--primary));
}

.service-title-home {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.service-desc-home {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* ADU Types Grid */
.adu-types-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.5rem;
}

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

.adu-type-card {
  text-align: center;
  padding: 2rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--card-border));
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.adu-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  border-color: hsl(var(--brand-green) / 0.3);
}

.adu-type-image {
  margin-bottom: 1.5rem;
}

.adu-type-image img {
  max-width: 180px;
  height: auto;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .adu-type-image img {
    max-width: 220px;
  }
}

.adu-type-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.adu-type-desc {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

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

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

.process-card {
  position: relative;
  padding: 2rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--card-border));
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
  border-color: hsl(var(--brand-green) / 0.2);
}

.process-number {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--brand-green));
  color: white;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50%;
}

.process-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--brand-green) / 0.08);
  border-radius: 50%;
  margin: 1rem auto 1.5rem;
}

.process-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: hsl(var(--brand-green));
}

.process-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.process-desc {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

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

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

.project-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--card-border));
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
}

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

.project-image-wrapper {
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.project-location {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Portfolio Page */
.portfolio-hero {
  padding: 4rem 0 2rem;
  background: hsl(var(--card));
}

.portfolio-section {
  padding-top: 2rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

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

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

.portfolio-card {
  position: relative;
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--card-border));
  transition: all 0.3s ease;
  text-decoration: none;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.15);
  border-color: hsl(var(--brand-green) / 0.3);
}

.portfolio-card-featured {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .portfolio-card-featured {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .portfolio-card-featured .portfolio-image-wrapper {
    aspect-ratio: 16/10;
  }
  
  .portfolio-card-featured .portfolio-title {
    font-size: 1.5rem;
  }
}

.portfolio-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.portfolio-card:hover .portfolio-image {
  transform: scale(1.08);
}

.portfolio-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--brand-green) / 0.9) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: white;
  color: hsl(var(--brand-green));
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2rem;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-view-btn {
  transform: translateY(0);
}

.portfolio-content {
  padding: 1.25rem 1.5rem 1.5rem;
}

.portfolio-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.portfolio-location {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.portfolio-location svg {
  flex-shrink: 0;
}

.portfolio-type {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 1rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: hsl(var(--muted-foreground));
}

.empty-state svg {
  margin-bottom: 1rem;
}

/* City Grid */
.city-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

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

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

.city-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--card-border));
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  text-align: center;
  transition: all 0.2s ease;
}

.city-card:hover {
  border-color: hsl(var(--brand-green));
  background: hsl(var(--brand-green) / 0.02);
  color: hsl(var(--brand-green));
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

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

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

.blog-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--card-border));
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
}

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

.blog-image-wrapper {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-image-placeholder {
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-image-placeholder svg {
  stroke: hsl(var(--muted-foreground));
  opacity: 0.5;
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--brass));
  margin-bottom: 0.75rem;
}

.blog-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.blog-excerpt {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* FAQ Accordion */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-grid .faq-list {
  max-width: none;
  margin: 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--card-border));
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: hsl(var(--brand-green));
}

.faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--muted-foreground));
  transition: transform 0.2s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Case Study / Project Page */
.case-study-hero {
  padding: 2rem 0 3rem;
  background: hsl(var(--card));
}

.case-study-hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .case-study-hero-content {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 4rem;
  }
}

.case-study-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.case-study-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.case-study-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.case-study-location svg {
  color: hsl(var(--primary));
}

.case-study-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (min-width: 1024px) {
  .case-study-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    min-width: 200px;
  }
}

.case-study-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: hsl(var(--background));
  border-radius: 0.75rem;
}

@media (min-width: 1024px) {
  .case-study-stat {
    flex-direction: row;
    text-align: left;
    gap: 0.75rem;
  }
}

.case-study-stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary) / 0.1);
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .case-study-stat-icon {
    margin-bottom: 0;
  }
}

.case-study-stat-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.case-study-stat-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-study-stat-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.case-study-gallery {
  padding: 2rem 0;
  background: hsl(var(--background));
}

.case-study-main-image {
  max-width: 1000px;
  margin: 0 auto;
}

.case-study-main-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.15);
}

.case-study-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .case-study-layout {
    grid-template-columns: 1fr 320px;
    gap: 4rem;
  }
}

.case-study-section {
  margin-bottom: 3rem;
}

.case-study-section:last-child {
  margin-bottom: 0;
}

.case-study-section-title {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid hsl(var(--primary) / 0.2);
}

.case-study-lead {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: hsl(var(--foreground));
}

.case-study-prose {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: hsl(var(--foreground));
}

.case-study-prose > * + * {
  margin-top: 1.25em;
}

.case-study-prose h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.case-study-prose ul,
.case-study-prose ol {
  padding-left: 1.5rem;
}

.case-study-prose li {
  margin-bottom: 0.5em;
}

.case-study-process {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.case-study-process-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--card-border));
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.case-study-process-step:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.08);
}

.case-study-process-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary));
  border-radius: 0.5rem;
}

.case-study-process-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.case-study-process-content h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.375rem;
}

.case-study-process-content p {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

.case-study-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .case-study-sidebar {
    position: sticky;
    top: 100px;
  }
}

.case-study-sidebar-card {
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--card-border));
  border-radius: 0.75rem;
}

.case-study-sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.case-study-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-study-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: hsl(var(--foreground));
  border-bottom: 1px solid hsl(var(--border));
}

.case-study-highlights li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.case-study-highlights li:first-child {
  padding-top: 0;
}

.case-study-highlights svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: hsl(var(--primary));
}

.case-study-cta-card {
  background: hsl(var(--primary) / 0.06);
  border-color: hsl(var(--primary) / 0.2);
}

.case-study-cta-card p {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.case-study-cta-phone {
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem !important;
  margin-bottom: 0 !important;
}

.case-study-cta-phone a {
  color: hsl(var(--primary));
  font-weight: 600;
}

.case-study-related {
  margin-top: 0;
}

/* Info Content Section */
.info-content-section {
  padding: 4rem 0;
  color: hsl(var(--foreground));
}

.info-content-section p,
.info-content-section li {
  color: hsl(var(--muted-foreground));
}

.info-content-section h2,
.info-content-section h3,
.info-content-section h4 {
  color: hsl(var(--foreground));
}

.info-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .info-content-grid {
    grid-template-columns: 1fr 340px;
    gap: 3rem;
  }
}

.info-content-main {
  line-height: 1.8;
}

.info-content-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1.25rem;
}

.info-content-main h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 2rem 0 1rem;
}

.info-content-main p {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.info-content-main a {
  color: hsl(var(--primary));
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-content-main a:hover {
  color: hsl(var(--brand-green-dark));
}

.info-content-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.info-content-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
}

.info-content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: hsl(var(--primary));
  border-radius: 50%;
}

.info-content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .info-content-sidebar {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}

.info-sidebar-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.info-sidebar-card h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.info-sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-sidebar-card li {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  padding: 0.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.info-sidebar-card li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-sidebar-cta {
  background: hsl(var(--primary) / 0.08);
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.info-sidebar-cta h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.info-sidebar-cta p {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, hsl(var(--brand-green)) 0%, hsl(var(--brand-green-dark)) 100%);
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

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

.cta-contact {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

.cta-contact a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Footer */
.footer {
  background: hsl(var(--charcoal));
  color: white;
}

.footer-top {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter {
  max-width: 500px;
}

.footer-newsletter-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-newsletter-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: white;
  font-size: 0.9375rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  border-color: hsl(var(--brass));
}

.footer-main {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
}

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

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

.footer-brand-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-top: 1.5rem;
  max-width: 300px;
}

.footer-contact-info {
  margin-top: 1.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--brass));
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: white;
}

.footer-title {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

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

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: white;
}

.footer-disclaimer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.1);
}

.disclaimer-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: hsl(var(--brand-green));
}

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

/* Responsive utilities */
@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\:gap-8 { gap: 2rem; }
  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:text-left { text-align: left; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
}

/* Prose for articles */
.prose {
  color: hsl(var(--foreground));
  max-width: 70ch;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
  font-family: var(--font-serif);
  color: hsl(var(--foreground));
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.prose h1 { font-size: 2.5em; }
.prose h2 { font-size: 1.75em; }
.prose h3 { font-size: 1.5em; }
.prose h4 { font-size: 1.25em; }

.prose p {
  margin-bottom: 1.5em;
  line-height: 1.8;
}

.prose a {
  color: hsl(var(--brand-green));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover {
  text-decoration: none;
}

/* Internal links - subtle styling for SEO internal linking */
.prose a.internal-link {
  color: hsl(var(--brand-green));
  text-decoration: none;
  border-bottom: 1px dotted hsl(var(--brand-green) / 0.5);
  transition: border-color 0.2s, color 0.2s;
}

.prose a.internal-link:hover {
  color: hsl(var(--brand-green-dark));
  border-bottom-style: solid;
  border-bottom-color: hsl(var(--brand-green));
}

.prose a.internal-link:focus-visible {
  outline: 2px solid hsl(var(--brand-green));
  outline-offset: 2px;
  border-radius: 2px;
}

.prose ul, .prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose blockquote {
  border-left: 4px solid hsl(var(--brand-green));
  padding-left: 1.5em;
  margin: 2em 0;
  font-style: italic;
  color: hsl(var(--muted-foreground));
}

.prose img {
  border-radius: 0.75rem;
  margin: 2em 0;
}

.prose code {
  background: hsl(var(--muted));
  padding: 0.125em 0.375em;
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.prose pre {
  background: hsl(var(--charcoal));
  color: white;
  padding: 1.5em;
  border-radius: 0.75rem;
  overflow-x: auto;
  margin: 2em 0;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  color: hsl(var(--foreground));
  transition: all 0.2s;
}

.pagination-link:hover {
  border-color: hsl(var(--brand-green));
  color: hsl(var(--brand-green));
}

.pagination-link.is-current {
  background: hsl(var(--brand-green));
  border-color: hsl(var(--brand-green));
  color: white;
}

/* Avatar */
.avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-lg {
  width: 5rem;
  height: 5rem;
}

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

/* Print */
@media print {
  header, footer, nav, .no-print { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}

/* ============================================
   MEDIUM-STYLE ARTICLE LAYOUT
   Premium reading experience optimized for all devices
   ============================================ */

.article-page {
  background: hsl(var(--background));
  min-height: 100vh;
}

/* Article Container - Centered with optimal reading width */
.article-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .article-container {
    padding: 0 2rem;
  }
}

/* Article Header */
.article-header {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .article-header {
    padding-top: 4rem;
    padding-bottom: 2.5rem;
  }
}

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 1rem;
  background: hsl(var(--brand-green) / 0.1);
  color: hsl(var(--brand-green));
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
  transition: all 0.2s;
}

.article-category:hover {
  background: hsl(var(--brand-green) / 0.15);
}

.article-title {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--foreground));
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.article-subtitle {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* Article Meta */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-meta-item svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: hsl(var(--foreground));
  font-weight: 500;
  transition: color 0.2s;
}

.article-author:hover {
  color: hsl(var(--brand-green));
}

.article-author-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid hsl(var(--border));
}

.article-date {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.article-reading-time {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* Subtle Article Meta (date + author) */
.article-meta-subtle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  opacity: 0.8;
  margin-top: 1rem;
}

.article-meta-subtle time {
  color: hsl(var(--muted-foreground));
}

.article-meta-separator {
  color: hsl(var(--muted-foreground) / 0.6);
}

.article-meta-subtle .article-author {
  font-weight: 400;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

/* Featured Image */
.article-featured-image {
  max-width: 900px;
  margin: 1.5rem auto 2rem;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px hsl(var(--foreground) / 0.08);
}

.article-featured-image figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.875rem;
  font-style: italic;
}

/* Inline Table of Contents */
.article-toc-inline {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
}

@media (max-width: 767px) {
  .article-toc-inline {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid hsl(var(--border));
}

.toc-title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  letter-spacing: 0.02em;
}

.toc-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  border-radius: 0.25rem;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.toc-toggle:hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.toc-toggle.rotated svg {
  transform: rotate(180deg);
}

.toc-toggle svg {
  transition: transform 0.2s ease;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-list.collapsed {
  display: none;
}

.toc-item {
  margin: 0;
  padding: 0;
}

.toc-item + .toc-item {
  margin-top: 0.125rem;
}

.toc-item-nested {
  padding-left: 0.875rem;
}

.toc-link {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
  padding: 0.375rem 0.625rem;
  border-radius: 0.25rem;
  border-left: 2px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
}

.toc-link:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.5);
}

.toc-link.is-active {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.08);
  border-left-color: hsl(var(--primary));
  font-weight: 500;
}

/* TOC with collapsible subheadlines */
.toc-item-header {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.toc-item-header .toc-link {
  flex: 1;
}

.toc-subtoggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: transparent;
  border: none;
  border-radius: 0.25rem;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.toc-subtoggle:hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.toc-subtoggle svg {
  transition: transform 0.2s ease;
}

.toc-item-parent.toc-expanded .toc-subtoggle svg {
  transform: rotate(180deg);
}

.toc-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  padding-left: 0.5rem;
  margin-top: 0.25rem;
  border-left: 1px solid hsl(var(--border));
  margin-left: 0.625rem;
}

.toc-item-parent.toc-expanded .toc-sublist {
  display: block;
}

.toc-sublist .toc-item-nested {
  padding-left: 0.5rem;
}

.toc-sublist .toc-link {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

/* Article Body - Optimized for reading */
.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

@media (max-width: 767px) {
  .article-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Prose Styling - Medium-like Typography */
.article-prose {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.8;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .article-prose {
    font-size: 1.1875rem;
    line-height: 1.85;
  }
}

.article-prose > * + * {
  margin-top: 1.5em;
}

.article-prose h2 {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  color: hsl(var(--foreground));
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .article-prose h2 {
    font-size: 1.875rem;
  }
}

.article-prose h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: hsl(var(--foreground));
}

@media (min-width: 768px) {
  .article-prose h3 {
    font-size: 1.5rem;
  }
}

.article-prose h4 {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 1.75em;
  margin-bottom: 0.5em;
  color: hsl(var(--foreground));
}

.article-prose p {
  margin-top: 0;
  margin-bottom: 0;
}

.article-prose a {
  color: hsl(var(--brand-green));
  text-decoration: underline;
  text-decoration-color: hsl(var(--brand-green) / 0.4);
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.article-prose a:hover {
  text-decoration-color: hsl(var(--brand-green));
}

/* Inline CTA buttons in article content */
.article-prose a.btn,
.article-prose a.btn-primary,
.article-prose a[class*="btn"] {
  color: white !important;
  text-decoration: none;
}

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

.article-prose em {
  font-style: italic;
}

/* Lists */
.article-prose ul,
.article-prose ol {
  padding-left: 1.625em;
}

.article-prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.article-prose li::marker {
  color: hsl(var(--brand-green));
}

.article-prose ul > li {
  list-style-type: disc;
}

.article-prose ol > li {
  list-style-type: decimal;
}

/* Blockquotes */
.article-prose blockquote {
  position: relative;
  margin: 2em 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background: hsl(var(--card));
  border-left: 4px solid hsl(var(--brand-green));
  border-radius: 0 0.5rem 0.5rem 0;
  font-size: 1.125rem;
  font-style: italic;
  color: hsl(var(--foreground) / 0.9);
}

.article-prose blockquote p {
  margin: 0;
}

/* Pull Quote - Larger emphasized quote */
.article-prose .pullquote,
.article-prose blockquote.large {
  margin: 2.5em -1rem;
  padding: 2rem 1.5rem;
  background: transparent;
  border-left: none;
  border-radius: 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  color: hsl(var(--brand-green));
}

@media (min-width: 768px) {
  .article-prose .pullquote,
  .article-prose blockquote.large {
    margin: 2.5em -3rem;
    font-size: 1.75rem;
  }
}

/* Code */
.article-prose code {
  padding: 0.2em 0.4em;
  background: hsl(var(--muted));
  border-radius: 0.25rem;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
  font-size: 0.9em;
}

.article-prose pre {
  margin: 1.5em 0;
  padding: 1.25rem;
  background: hsl(var(--charcoal));
  border-radius: 0.5rem;
  overflow-x: auto;
}

.article-prose pre code {
  padding: 0;
  background: transparent;
  color: hsl(var(--quartz));
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Images in content */
.article-prose img {
  max-width: 100%;
  height: auto;
  margin: 2em auto;
  border-radius: 0.5rem;
}

.article-prose figure {
  margin: 2em 0;
}

.article-prose figure img {
  margin: 0 auto;
}

.article-prose figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
  font-style: italic;
}

/* Tables */
.article-prose table {
  width: 100%;
  margin: 2em 0;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.article-prose th,
.article-prose td {
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  text-align: left;
}

.article-prose th {
  background: hsl(var(--muted));
  font-weight: 600;
}

.article-prose tbody tr:hover {
  background: hsl(var(--muted) / 0.5);
}

/* Horizontal Rule */
.article-prose hr {
  margin: 3em 0;
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, hsl(var(--border)), transparent);
}

/* Article Footer */
.article-footer {
  max-width: 680px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.article-tag {
  display: inline-flex;
  padding: 0.375rem 0.875rem;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 2rem;
  transition: all 0.2s;
}

.article-tag:hover {
  background: hsl(var(--brand-green) / 0.1);
  color: hsl(var(--brand-green));
}

/* Share Section */
.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.article-share-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.article-share-buttons {
  display: flex;
  gap: 0.5rem;
}

.article-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 50%;
  color: hsl(var(--muted-foreground));
  transition: all 0.2s;
}

.article-share-btn:hover {
  background: hsl(var(--brand-green));
  border-color: hsl(var(--brand-green));
  color: white;
  transform: translateY(-2px);
}

.article-share-btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Author Box */
.article-author-box {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  margin-bottom: 3rem;
}

@media (max-width: 480px) {
  .article-author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

.article-author-box-avatar {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid hsl(var(--border));
}

.article-author-box-content {
  flex: 1;
}

.article-author-box-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}

.article-author-box-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.article-author-box-name a {
  transition: color 0.2s;
}

.article-author-box-name a:hover {
  color: hsl(var(--brand-green));
}

.article-author-box-bio {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.article-author-box-social {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 480px) {
  .article-author-box-social {
    justify-content: center;
  }
}

.article-author-box-social a {
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.article-author-box-social a:hover {
  color: hsl(var(--brand-green));
}

.article-author-box-social svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Back Link */
.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(var(--brand-green));
  transition: all 0.2s;
}

.article-back-link:hover {
  gap: 0.75rem;
}

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

/* Related Articles */
.related-articles {
  padding: 4rem 0;
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
}

.related-articles-header {
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .related-articles-header {
    padding: 0;
  }
}

.related-articles-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.related-articles-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

/* Progress Bar (optional) */
.article-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: hsl(var(--brand-green));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1000;
  transition: transform 0.1s;
}

/* Excerpt/Lead paragraph */
.article-excerpt {
  font-size: 1.25rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid hsl(var(--border));
}

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

/* House Plan specific styles */
.house-plan-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
}

@media (min-width: 640px) {
  .house-plan-specs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.house-plan-spec {
  text-align: center;
}

.house-plan-spec-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--brand-green));
  margin-bottom: 0.25rem;
}

.house-plan-spec-label {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Gallery for house plans */
.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}

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

.article-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.article-gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px hsl(var(--foreground) / 0.12);
}

/* ============================================
   CITY PAGE STYLES - REDESIGNED
   Premium layout for ADU regulations by city
   ============================================ */

.city-page {
  background: hsl(var(--background));
  min-height: 100vh;
}

/* City Hero Banner */
.city-hero-banner {
  padding: 2rem 0 3rem;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
}

.city-breadcrumbs {
  margin-bottom: 1.5rem;
}

.city-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .city-hero-grid {
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
  }
}

.city-approved-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--brand-green) / 0.1);
  color: hsl(var(--brand-green));
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.city-approved-badge svg {
  width: 1.125rem;
  height: 1.125rem;
}

.city-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.city-hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.city-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* City Grade Card */
.city-grade-card {
  padding: 1.25rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.city-grade-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.city-grade-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.city-grade-a {
  background: hsl(142 71% 45% / 0.15);
  color: hsl(142 71% 35%);
}

.city-grade-b {
  background: hsl(var(--brand-green) / 0.15);
  color: hsl(var(--brand-green));
}

.city-grade-c {
  background: hsl(var(--brass) / 0.2);
  color: hsl(35 38% 45%);
}

.city-grade-d {
  background: hsl(0 65% 50% / 0.15);
  color: hsl(0 65% 40%);
}

.city-grade-info {
  display: flex;
  flex-direction: column;
}

.city-grade-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.city-grade-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.city-grade-details p {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
  margin: 0;
}

/* City Allowance Card */
.city-allowance-card {
  padding: 1.25rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
}

.city-allowance-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.city-allowance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.city-allowance-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.city-allowance-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.city-allowance-list li:first-child {
  padding-top: 0;
}

.city-allowance-list svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  color: hsl(var(--brand-green));
}

.city-allowance-list li > div {
  display: flex;
  flex-direction: column;
}

.city-allowance-list li strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.city-allowance-list li span {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* City Stats Bar */
.city-stats-bar {
  padding: 1.5rem 0;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}

.city-stats-bar .city-stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .city-stats-bar .city-stats-grid {
    gap: 3rem;
  }
}

.city-stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.city-stat-item .city-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: hsl(var(--brand-green) / 0.1);
  border-radius: 50%;
  color: hsl(var(--brand-green));
  flex-shrink: 0;
}

.city-stat-item .city-stat-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.city-stat-content {
  display: flex;
  flex-direction: column;
}

.city-stat-item .city-stat-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.2;
}

.city-stat-item .city-stat-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* City Main Content Layout */
.city-main-content {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.city-content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .city-content-layout {
    grid-template-columns: 1fr 340px;
    gap: 3rem;
  }
}

.city-content-main {
  min-width: 0;
}

.city-content-section {
  margin-bottom: 2.5rem;
}

.city-content-section:last-child {
  margin-bottom: 0;
}

.city-content-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid hsl(var(--primary) / 0.2);
}

.city-content-title svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--brand-green));
}

.city-content-prose {
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--foreground));
}

.city-content-prose > * + * {
  margin-top: 1em;
}

.city-content-prose ul,
.city-content-prose ol {
  padding-left: 1.5rem;
}

.city-content-prose li {
  margin-bottom: 0.5em;
}

.city-content-prose strong {
  font-weight: 600;
}

/* City Sidebar */
.city-content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .city-content-sidebar {
    position: sticky;
    top: 2rem;
    align-self: start;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    z-index: 10;
  }
}

.city-sidebar-card {
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
}

.city-sidebar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.city-sidebar-cta {
  background: hsl(var(--primary) / 0.06);
  border-color: hsl(var(--primary) / 0.2);
}

.city-sidebar-cta > p {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.city-sidebar-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.city-sidebar-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.city-sidebar-checklist svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: hsl(var(--brand-green));
}

.city-sidebar-phone {
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
}

.city-sidebar-phone a {
  color: hsl(var(--primary));
  font-weight: 600;
}

.city-sidebar-map-container {
  height: 180px;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-top: 0.5rem;
}

.city-sidebar-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.city-sidebar-benefits li {
  padding: 0.75rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.city-sidebar-benefits li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.city-sidebar-benefits li:first-child {
  padding-top: 0;
}

.city-sidebar-benefits strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.city-sidebar-benefits span {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

/* City Mid CTA */
.city-mid-cta {
  padding: 3rem 0;
  background: hsl(var(--background));
}

.city-mid-cta-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, hsl(var(--brand-green) / 0.08) 0%, hsl(var(--brass) / 0.08) 100%);
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .city-mid-cta-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 2.5rem 3rem;
  }
}

.city-mid-cta-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.city-mid-cta-content p {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.city-mid-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .city-mid-cta-actions {
    justify-content: flex-end;
    flex-shrink: 0;
  }
}

.city-mid-cta-actions .btn-outline {
  color: hsl(var(--brand-green));
  border-color: hsl(var(--brand-green));
}

.city-mid-cta-actions .btn-outline:hover {
  background: hsl(var(--brand-green) / 0.1);
}

/* City Blog Section */
.city-blog-section {
  background: hsl(var(--card));
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

/* 6-column blog grid for homepage cornerstone articles */
.blog-grid-6 {
  gap: 1.25rem;
}

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

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

.blog-grid-6 .blog-card {
  background: hsl(var(--background));
}

.blog-grid-6 .blog-image-wrapper {
  aspect-ratio: 16/10;
}

.blog-grid-6 .blog-title {
  font-size: 0.95rem;
  line-height: 1.4;
}

.blog-grid-6 .blog-excerpt {
  font-size: 0.8rem;
  display: none;
}

@media (min-width: 768px) {
  .blog-grid-6 .blog-excerpt {
    display: block;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
}

.blog-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.blog-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: hsl(var(--muted));
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: hsl(var(--muted-foreground));
}

.blog-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary));
  margin-top: auto;
}

.blog-card-link svg {
  transition: transform 0.2s ease;
}

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

/* City Final CTA */
.city-final-cta {
  position: relative;
  background: linear-gradient(135deg, hsl(var(--brand-green)) 0%, hsl(var(--brand-green-dark)) 100%);
  overflow: hidden;
}

/* Leaflet overrides for sidebar map */
.city-sidebar-map-container .leaflet-control-attribution {
  font-size: 9px;
  background: hsl(var(--card) / 0.9);
  padding: 1px 4px;
}

.city-sidebar-map-container .leaflet-control-zoom {
  border: none;
  box-shadow: 0 2px 8px hsl(0 0% 0% / 0.15);
}

.city-sidebar-map-container .leaflet-control-zoom a {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  border: none;
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 14px;
}

.city-sidebar-map-container .leaflet-control-zoom a:hover {
  background: hsl(var(--muted));
}

/* ============================================
   CITY INDEX PAGE STYLES
   Premium city listing with search & pagination
   ============================================ */

.city-index {
  background: hsl(var(--background));
  min-height: 100vh;
}

.city-index-hero {
  padding: 4rem 0;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
}

.city-index-hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.city-index-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.2;
  margin-bottom: 1rem;
}

.city-index-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 2rem;
}

.city-search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .city-search-form {
    flex-direction: row;
  }
}

.city-search-input-wrapper {
  position: relative;
  flex: 1;
}

.city-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--muted-foreground));
  pointer-events: none;
}

.city-search-input {
  width: 100%;
  padding: 0.875rem 3rem 0.875rem 3rem;
  font-size: 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: all 0.2s;
}

.city-search-input:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.city-search-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.city-search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: color 0.2s;
}

.city-search-clear:hover {
  color: hsl(var(--foreground));
}

.city-search-clear svg {
  width: 1rem;
  height: 1rem;
}

.city-index-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .city-index-stats {
    gap: 3rem;
  }
}

.city-index-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.city-index-stat-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: hsl(var(--brand-green));
}

.city-index-stat-label {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.city-index-content {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.city-search-results-header {
  margin-bottom: 1.5rem;
  color: hsl(var(--muted-foreground));
}

.city-search-results-header strong {
  color: hsl(var(--foreground));
}

.city-no-results {
  text-align: center;
  padding: 4rem 2rem;
}

.city-no-results svg {
  width: 4rem;
  height: 4rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.city-no-results h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.city-no-results p {
  color: hsl(var(--muted-foreground));
}

.city-no-results a {
  color: hsl(var(--primary));
  font-weight: 500;
}

/* City Cards Grid */
.city-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

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

.city-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.city-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.city-card-header {
  margin-bottom: 0.75rem;
}

.city-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.city-card-state {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.city-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: hsl(var(--brand-green) / 0.1);
  color: hsl(var(--brand-green));
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 2rem;
  margin-bottom: 1rem;
  width: fit-content;
}

.city-card-badge svg {
  width: 0.875rem;
  height: 0.875rem;
}

.city-card-stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.city-card-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.city-card-stat:last-child {
  border-bottom: none;
}

.city-card-stat-label {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.city-card-stat-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.city-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.75rem;
  background: hsl(var(--primary) / 0.06);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  margin-top: auto;
}

.city-card-cta svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.city-card:hover .city-card-cta svg {
  transform: translateX(4px);
}

/* City Pagination */
.city-pagination {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .city-pagination {
    flex-direction: row;
    justify-content: space-between;
  }
}

.city-pagination-info {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.city-pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.city-pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
}

.city-pagination-btn:hover {
  background: hsl(var(--muted));
  border-color: hsl(var(--primary) / 0.3);
}

.city-pagination-btn svg {
  width: 1rem;
  height: 1rem;
}

.city-pagination-btn-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.city-pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.city-pagination-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.2s;
}

.city-pagination-page:hover {
  background: hsl(var(--muted));
  border-color: hsl(var(--primary) / 0.3);
}

.city-pagination-page-active {
  background: hsl(var(--primary));
  color: white;
  border-color: hsl(var(--primary));
}

.city-pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* City Index CTA */
.city-index-cta {
  position: relative;
  background: linear-gradient(135deg, hsl(var(--brand-green)) 0%, hsl(var(--brand-green-dark)) 100%);
  overflow: hidden;
}

/* ============================================
   FLOOR PLANS PAGE STYLES
   Premium floor plans gallery
   ============================================ */

.floorplans-page {
  background: hsl(var(--background));
}

.floorplans-hero {
  padding: 4rem 0;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  text-align: center;
}

.floorplans-hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.floorplans-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.2;
  margin-bottom: 1rem;
}

.floorplans-hero-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.floorplans-grid-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.floorplans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

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

.floorplan-card {
  display: flex;
  flex-direction: column;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.floorplan-card:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.floorplan-card-image {
  aspect-ratio: 4/3;
  background: hsl(var(--muted) / 0.3);
  overflow: hidden;
}

.floorplan-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
  transition: transform 0.3s ease;
}

.floorplan-card:hover .floorplan-card-image img {
  transform: scale(1.02);
}

.floorplan-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
}

.floorplan-placeholder svg {
  opacity: 0.5;
}

.floorplan-placeholder span {
  font-size: 0.875rem;
  opacity: 0.6;
}

.floorplan-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.floorplan-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.floorplan-card-type {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: hsl(var(--brand-green) / 0.1);
  color: hsl(var(--brand-green));
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 2rem;
  margin-bottom: 1rem;
  width: fit-content;
}

.floorplan-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.floorplan-spec {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.floorplan-spec svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}

.floorplan-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.75rem;
  background: hsl(var(--primary) / 0.06);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.5rem;
  margin-top: auto;
}

.floorplan-card-cta svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.floorplan-card:hover .floorplan-card-cta svg {
  transform: translateX(4px);
}

.floorplans-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: hsl(var(--muted-foreground));
}

.floorplans-empty svg {
  margin-bottom: 1rem;
  opacity: 0.5;
}

.floorplans-empty h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.floorplans-info {
  background: hsl(var(--muted) / 0.3);
}

.floorplans-info-content {
  max-width: 800px;
  margin: 0 auto;
}

.floorplans-info-content p {
  color: hsl(var(--foreground));
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.floorplans-info-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--brand-green));
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.floorplans-info-content strong {
  color: hsl(var(--foreground));
}

.floorplans-cta {
  position: relative;
  background: linear-gradient(135deg, hsl(var(--brand-green)) 0%, hsl(var(--brand-green-dark)) 100%);
  overflow: hidden;
}

/* ============================================
   FLOOR PLAN DETAIL PAGE STYLES
   Individual floor plan product page
   ============================================ */

.floorplan-detail {
  background: hsl(var(--background));
}

.floorplan-detail-hero {
  padding: 2rem 0 3rem;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
}

.floorplan-breadcrumbs {
  margin-bottom: 1.5rem;
}

.floorplan-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .floorplan-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.floorplan-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.floorplan-main-image {
  aspect-ratio: 4/3;
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floorplan-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floorplan-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  opacity: 0.5;
}

.floorplan-thumbnails {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.floorplan-thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border: 2px solid hsl(var(--border));
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  padding: 0;
}

.floorplan-thumbnail:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.floorplan-thumbnail.active {
  border-color: hsl(var(--primary));
}

.floorplan-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.floorplan-detail-info {
  display: flex;
  flex-direction: column;
}

.floorplan-type-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: hsl(var(--brand-green) / 0.1);
  color: hsl(var(--brand-green));
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 2rem;
  margin-bottom: 1rem;
  width: fit-content;
}

.floorplan-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: hsl(var(--foreground));
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.floorplan-specs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  margin-bottom: 1.5rem;
}

.floorplan-spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.floorplan-spec-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--brand-green));
}

.floorplan-spec-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.floorplan-description {
  font-size: 1rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.floorplan-cta-box {
  background: hsl(var(--muted) / 0.3);
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.floorplan-cta-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.floorplan-cta-content p {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.floorplan-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floorplan-cta-buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.floorplan-cta-buttons .btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.floorplan-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.trust-badge svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--brand-green));
}

/* Floor Plan Content Section */
.floorplan-content {
  background: hsl(var(--background));
}

.floorplan-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .floorplan-content-grid {
    grid-template-columns: 1fr 340px;
  }
}

.floorplan-prose {
  color: hsl(var(--foreground));
  line-height: 1.8;
}

.floorplan-prose h2,
.floorplan-prose h3,
.floorplan-prose h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.floorplan-prose h2 { font-size: 1.5rem; }
.floorplan-prose h3 { font-size: 1.25rem; }
.floorplan-prose h4 { font-size: 1.125rem; }

.floorplan-prose p {
  margin-bottom: 1rem;
}

.floorplan-prose ul,
.floorplan-prose ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.floorplan-prose li {
  margin-bottom: 0.5rem;
}

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

.floorplan-content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .floorplan-content-sidebar {
    position: sticky;
    top: 2rem;
    align-self: start;
  }
}

.floorplan-sidebar-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.floorplan-sidebar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.floorplan-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.floorplan-benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.floorplan-benefits-list li:last-child {
  border-bottom: none;
}

.floorplan-benefits-list svg {
  width: 1.125rem;
  height: 1.125rem;
  color: hsl(var(--brand-green));
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.floorplan-benefits-list span {
  font-size: 0.9375rem;
  color: hsl(var(--foreground));
}

.floorplan-sidebar-cta {
  background: hsl(var(--brand-green));
  border-color: hsl(var(--brand-green));
}

.floorplan-sidebar-cta h3 {
  color: white;
}

.floorplan-sidebar-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.floorplan-sidebar-cta .btn {
  background: white;
  color: hsl(var(--brand-green));
  border: none;
}

.floorplan-sidebar-cta .btn:hover {
  background: hsl(var(--brand-brass));
  color: white;
}

/* Floor Plan Options */
.floorplan-options {
  background: hsl(var(--muted) / 0.3);
}

.floorplan-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.floorplan-option-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  overflow: hidden;
}

.floorplan-option-image {
  aspect-ratio: 16/9;
  background: hsl(var(--muted) / 0.3);
}

.floorplan-option-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floorplan-option-content {
  padding: 1.25rem;
}

.floorplan-option-content h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.floorplan-option-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

/* More Floor Plans Section */
.floorplan-more {
  background: hsl(var(--muted) / 0.3);
}

.floorplan-more-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.floorplan-more-card {
  display: block;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.floorplan-more-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px hsl(var(--foreground) / 0.1);
  border-color: hsl(var(--primary) / 0.3);
}

.floorplan-more-image {
  aspect-ratio: 4/3;
  background: hsl(var(--muted) / 0.3);
  overflow: hidden;
}

.floorplan-more-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.floorplan-more-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsl(var(--brand-green) / 0.1) 0%, hsl(var(--brand-brass) / 0.08) 100%);
}

.floorplan-more-placeholder svg {
  stroke: hsl(var(--muted-foreground) / 0.4);
}

.floorplan-more-content {
  padding: 1rem 1.25rem;
}

.floorplan-more-content h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.floorplan-more-specs {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.floorplan-more-footer {
  text-align: center;
  margin-top: 2.5rem;
}

.floorplan-more-footer .btn svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.5rem;
}

/* Floor Plan Final CTA */
.floorplan-final-cta {
  position: relative;
  background: linear-gradient(135deg, hsl(var(--brand-green)) 0%, hsl(var(--brand-green-dark)) 100%);
  overflow: hidden;
}

/* ========================================
   Service Directory Styles
   ======================================== */

/* Service Directory Search */
.services-search-form {
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.services-search-wrapper {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 0.5rem;
  padding: 0.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.services-search-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 1rem;
  stroke: hsl(var(--muted-foreground));
  flex-shrink: 0;
}

.services-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: hsl(var(--foreground));
  outline: none;
}

.services-search-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.services-search-btn {
  background: hsl(var(--brand-green));
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.services-search-btn:hover {
  background: hsl(var(--brand-green-dark));
}

.services-search-results {
  padding: 1rem 0;
  background: hsl(var(--muted) / 0.3);
}

.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.search-results-info {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.search-results-info strong {
  color: hsl(var(--foreground));
}

/* Compact Service Directory Card (no image) */
.service-directory-card-compact {
  flex-direction: column;
}

.service-directory-card-compact .service-directory-content {
  padding: 1rem 1.25rem;
}

.service-directory-card-compact .service-directory-name {
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

.service-directory-card-compact .service-directory-location {
  margin-bottom: 0.5rem;
}

/* Service Directory Grid */
.services-directory-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

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

.service-directory-card {
  display: flex;
  flex-direction: column;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-directory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px hsl(var(--foreground) / 0.1);
  border-color: hsl(var(--primary) / 0.3);
}

.service-directory-image {
  aspect-ratio: 16/10;
  background: hsl(var(--muted) / 0.3);
  overflow: hidden;
}

.service-directory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.service-directory-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsl(var(--brand-green) / 0.1) 0%, hsl(var(--brand-brass) / 0.08) 100%);
}

.service-directory-image-placeholder svg {
  width: 3rem;
  height: 3rem;
  stroke: hsl(var(--muted-foreground) / 0.4);
}

.service-directory-content {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-directory-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.service-directory-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.service-directory-location {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.service-directory-location svg {
  flex-shrink: 0;
}

.service-directory-desc {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.service-directory-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary));
  margin-top: auto;
}

.service-directory-card:hover .service-directory-link {
  gap: 0.625rem;
}

.service-directory-link svg {
  transition: transform 0.2s ease;
}

.service-directory-card:hover .service-directory-link svg {
  transform: translateX(2px);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted) / 0.3);
  border-radius: 50%;
}

.empty-state-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke: hsl(var(--muted-foreground));
}

.empty-state-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.empty-state-text {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
}

/* Individual Service Page Layout */
.service-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .service-page-layout {
    grid-template-columns: 1fr 380px;
  }
}

.service-page-main {
  min-width: 0;
}

.service-page-image {
  margin-bottom: 2rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

.service-page-image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-page-content {
  line-height: 1.8;
  color: hsl(var(--foreground));
}

.service-page-content h2,
.service-page-content h3,
.service-page-content h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.service-page-content h2 { font-size: 1.5rem; }
.service-page-content h3 { font-size: 1.25rem; }
.service-page-content h4 { font-size: 1.125rem; }

.service-page-content p {
  margin-bottom: 1rem;
  color: hsl(var(--muted-foreground));
}

.service-page-content ul,
.service-page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: hsl(var(--muted-foreground));
}

.service-page-content li {
  margin-bottom: 0.5rem;
}

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

.service-page-services {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

.service-page-services h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.service-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-tags-list li {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
}

/* Service Page Sidebar */
.service-page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .service-page-sidebar {
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}

.service-sidebar-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.service-sidebar-card h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.service-sidebar-cta {
  background: hsl(var(--primary) / 0.08);
  border-color: hsl(var(--primary) / 0.2);
}

.service-sidebar-cta p {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.service-sidebar-phone {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}

.service-sidebar-phone span {
  display: block;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.25rem;
}

.service-sidebar-phone a {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--primary));
  text-decoration: none;
}

.service-sidebar-phone a:hover {
  text-decoration: underline;
}

.service-sidebar-info {
  display: flex;
  gap: 0.75rem;
}

.service-sidebar-info svg {
  flex-shrink: 0;
  color: hsl(var(--primary));
  margin-top: 0.125rem;
}

.service-sidebar-info p {
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
  line-height: 1.5;
}

.service-sidebar-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-sidebar-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: hsl(var(--background));
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.service-sidebar-contact:hover {
  background: hsl(var(--muted) / 0.5);
}

.service-sidebar-contact svg {
  flex-shrink: 0;
  color: hsl(var(--primary));
}

.service-sidebar-contact span {
  font-size: 0.9375rem;
  color: hsl(var(--foreground));
  word-break: break-all;
}

.service-sidebar-help {
  background: hsl(var(--muted) / 0.3);
  border-color: hsl(var(--border));
}

.service-sidebar-help p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

/* Hero Breadcrumbs */
.hero-breadcrumbs {
  margin-bottom: 1rem;
}

.hero-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-breadcrumbs li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.hero-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.hero-breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.hero-breadcrumbs a:hover {
  color: white;
  text-decoration: underline;
}

.hero-breadcrumbs span {
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   ADU Glossary Page Styles
   ======================================== */

.page-hero .hero-label {
  display: inline-block;
  padding-top: 2rem;
  margin-bottom: 0.75rem;
}

.glossary-search-form {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 1.5rem;
}

.glossary-search-wrapper {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 0.5rem;
  padding: 0.25rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.glossary-search-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke: hsl(var(--muted-foreground));
  flex-shrink: 0;
}

.glossary-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: hsl(var(--foreground));
  outline: none;
}

.glossary-search-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.glossary-search-count {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  white-space: nowrap;
}

.glossary-nav-section {
  background: hsl(var(--card));
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid hsl(var(--border));
}

.glossary-alpha-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
}

.glossary-alpha-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-decoration: none;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.glossary-alpha-link:hover {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.glossary-content {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.glossary-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.glossary-letter-section {
  scroll-margin-top: 80px;
}

.glossary-letter-heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid hsl(var(--primary) / 0.2);
}

.glossary-terms {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .glossary-terms {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

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

.glossary-term {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.glossary-term:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: 0 4px 12px hsl(var(--foreground) / 0.05);
}

.glossary-term-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.glossary-term-def {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   Homepage Gallery Showcase Styles
   ======================================== */

.gallery-showcase {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

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

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
  }
  
  .gallery-item-featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .gallery-item-featured .gallery-image {
    height: 320px;
  }
}

.gallery-item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  background: hsl(var(--muted));
}

.gallery-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery Filters */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.gallery-filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid hsl(var(--border));
  background: transparent;
  color: hsl(var(--muted-foreground));
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-filter-btn:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--foreground));
}

.gallery-filter-btn.active {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: white;
}

/* Gallery Hidden State */
.gallery-item.gallery-hidden {
  display: none;
}

.gallery-item.gallery-filtered {
  display: none;
}

/* Gallery Load More */
.gallery-load-more {
  text-align: center;
  margin-top: 2rem;
}

.gallery-load-more .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.gallery-load-more .btn-outline {
  color: var(--forest-green);
  border-color: var(--forest-green);
  border-width: 2px;
}

.gallery-load-more .btn-outline:hover {
  background: var(--forest-green);
  color: white;
}

.gallery-load-more.hidden {
  display: none;
}

/* Gallery Item Clickable */
.gallery-item {
  cursor: pointer;
}

/* Lightbox Styles */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gallery-lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox-caption {
  color: white;
  font-size: 1rem;
  margin-top: 1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10001;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Mobile Lightbox */
@media (max-width: 640px) {
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: 5rem;
    transform: none;
  }
  
  .lightbox-prev {
    left: 2rem;
  }
  
  .lightbox-next {
    right: 2rem;
  }
  
  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
  }
  
  .lightbox-caption {
    font-size: 0.875rem;
    padding: 0 1rem;
  }
}

/* Mobile Gallery Optimizations */
@media (max-width: 640px) {
  .gallery-showcase {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  
  .gallery-filters {
    gap: 0.375rem;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .gallery-filter-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .gallery-grid {
    gap: 0.75rem;
  }
  
  .gallery-image {
    height: 180px;
  }
  
  .gallery-item-featured .gallery-image {
    height: 200px;
  }
  
  .gallery-caption {
    padding: 1rem 0.75rem 0.75rem;
    font-size: 0.75rem;
    opacity: 1;
    transform: none;
  }
  
  .gallery-load-more {
    margin-top: 1.5rem;
  }
}

/* Tablet Gallery */
@media (min-width: 641px) and (max-width: 1023px) {
  .gallery-item-featured .gallery-image {
    height: 260px;
  }
}
