/* ==========================================================================
   LEONARDO GULLI - FINE CUSTOM WOODWORKING
   Deep Earth Green & Ocean Blue (1.5x Darker) Luxury Design System
   Tighter Bevel Radius Controlled via Master Variable
   ========================================================================== */

:root {
  /* Master Bevel Radius Controller - change this one value to adjust bevel radius site-wide */
  --radius-base: 3px;
  --radius-sm: var(--radius-base);                           /* 3px */
  --radius-md: calc(var(--radius-base) * 1.5);               /* 4.5px */
  --radius-lg: calc(var(--radius-base) * 2);                 /* 6px */
  --radius-xl: calc(var(--radius-base) * 3);                 /* 9px */
  --radius-full: 9999px;

  /* 1.5x Darker Hard Earth Green & Deep Ocean Blue Palette */
  --bg-base: #040806;
  --bg-surface: #070f0b;
  --bg-card: #0a1510;
  --bg-card-hover: #0f2019;
  --bg-elevated: #13271f;
  
  --earth-green-300: #49a57c;
  --earth-green-400: #2d825c;
  --earth-green-500: #1d6645;
  --earth-green-600: #134830;
  
  --ocean-blue-300: #4a8ca9;
  --ocean-blue-400: #267497;
  --ocean-blue-500: #16587c;
  --ocean-blue-600: #0d3e5a;
  
  --accent-gradient: linear-gradient(135deg, #2d825c 0%, #1d6645 35%, #16587c 70%, #0d3e5a 100%);
  --accent-gradient-rev: linear-gradient(135deg, #16587c 0%, #1d6645 60%, #2d825c 100%);
  --earth-glow: rgba(45, 130, 92, 0.16);
  --earth-glow-strong: rgba(45, 130, 92, 0.32);
  --blue-glow: rgba(22, 88, 124, 0.18);
  
  --text-pure: #ffffff;
  --text-primary: #e6ede9;
  --text-secondary: #9cb1a6;
  --text-muted: #61796e;
  --text-accent: #3da878;
  --text-blue: #3695bf;

  --border-subtle: rgba(45, 130, 92, 0.16);
  --border-medium: rgba(38, 116, 151, 0.28);
  --border-strong: rgba(45, 130, 92, 0.45);
  --border-glass: rgba(255, 255, 255, 0.05);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-max: 1360px;
  --header-height: 70px;

  /* Transitions */
  --trans-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  background-color: var(--bg-base);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Dark Earth Green & Deep Blue Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 10% 20%, rgba(29, 102, 69, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 40%, rgba(22, 88, 124, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(45, 130, 92, 0.06) 0%, transparent 45%);
  pointer-events: none;
  z-index: -1;
}

/* Links & Typography */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--trans-fast);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-pure);
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(4, 8, 6, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: background var(--trans-smooth), border-color var(--trans-smooth);
}

.site-header.scrolled {
  background: rgba(3, 6, 5, 0.98);
  border-bottom: 1px solid var(--border-medium);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand-emblem {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #0e2018, #06110c);
  border: 1px solid var(--earth-green-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ocean-blue-300);
  box-shadow: 0 0 12px var(--earth-glow);
  flex-shrink: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-pure);
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--earth-green-300);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .site-header {
    height: 62px;
  }

  .header-cta-group .btn {
    display: none;
  }

  .brand-logo {
    gap: 0.6rem;
  }

  .brand-emblem {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    display: none;
  }
}

.nav-links {
  display: none;
  align-items: center;
  list-style: none;
  gap: 1.85rem;
}

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

.nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--trans-smooth);
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--trans-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #f0f7f4;
  border-color: var(--earth-green-400);
  box-shadow: 0 3px 14px var(--earth-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 22px var(--earth-glow-strong);
  filter: brightness(1.15);
}

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

.btn-outline:hover {
  border-color: var(--earth-green-400);
  color: var(--earth-green-300);
  background: rgba(45, 130, 92, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.42rem 0.95rem;
  font-size: 0.75rem;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 7px;
  color: var(--text-primary);
}

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

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--trans-fast), opacity var(--trans-fast);
}

.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: rgba(4, 8, 6, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-medium);
  padding: 1.75rem 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 999;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-link {
  font-size: 1.05rem;
}

/* ==========================================================================
   Hero Section - Compact & Tight
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 1.25rem);
  padding-bottom: 2rem;
  background: radial-gradient(circle at 50% 30%, #0b1a13 0%, #040806 80%);
  overflow: hidden;
}

.hero-background-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: repeating-linear-gradient(45deg, #2d825c 0, #2d825c 1px, transparent 0, transparent 40px);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.32rem 0.85rem;
  background: rgba(45, 130, 92, 0.12);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--earth-green-300);
  margin: 0 auto 0.85rem auto;
  line-height: 1.4;
  max-width: 100%;
}

.hero-title-main {
  font-size: clamp(2rem, 7.5vw, 3.8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-pure);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 0.25rem;
}

.hero-title-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 3.5vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
}

.hero-description {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 1.25rem auto;
}

.hero-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

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

/* ==========================================================================
   Section Headers & Common
   ========================================================================== */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
}

.section-pretitle {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ocean-blue-300);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.accent-divider {
  width: 50px;
  height: 2px;
  background: var(--accent-gradient);
  margin: 1rem auto 0 auto;
}

/* ==========================================================================
   Portfolio & Dynamic Gallery Section (Square 1:1 Thumbnails)
   ========================================================================== */
.gallery-section {
  padding-top: 2rem;
  background: linear-gradient(180deg, var(--bg-base) 0%, #06110c 50%, var(--bg-base) 100%);
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--trans-smooth);
}

.filter-btn:hover {
  color: var(--text-pure);
  border-color: var(--ocean-blue-400);
  background: rgba(22, 88, 124, 0.12);
}

.filter-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: var(--earth-green-400);
  font-weight: 600;
  box-shadow: 0 2px 12px var(--earth-glow);
}

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

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

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

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth), box-shadow var(--trans-smooth);
  cursor: pointer;
  position: relative;
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--earth-green-400);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 18px var(--earth-glow);
}

/* Default square 1:1 image thumbnail */
.gallery-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #060d09;
}

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

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

.gallery-overlay-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(4, 8, 6, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean-blue-300);
  z-index: 2;
}

.gallery-hover-indicator {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(4, 8, 6, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-pure);
  opacity: 0;
  transform: scale(0.85);
  transition: all var(--trans-smooth);
  z-index: 2;
}

.gallery-card:hover .gallery-hover-indicator {
  opacity: 1;
  transform: scale(1);
  border-color: var(--earth-green-400);
  color: var(--earth-green-300);
}

.gallery-card-body {
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(180deg, var(--bg-card) 0%, #07100b 100%);
}

.gallery-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  font-size: 0.74rem;
  color: var(--earth-green-300);
}

.gallery-card-wood {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.gallery-card-year {
  color: var(--text-muted);
}

.gallery-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
  color: var(--text-pure);
  line-height: 1.25;
}

.gallery-card-desc {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-glass);
}

.gallery-explore-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ocean-blue-300);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--trans-fast);
}

.gallery-card:hover .gallery-explore-link {
  gap: 0.55rem;
  color: var(--earth-green-300);
}

.gallery-dim-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Empty State */
.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   About & Craftsmanship Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.about-story {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-quote {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--text-pure);
  border-left: 3px solid var(--earth-green-400);
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

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

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  transition: transform var(--trans-smooth), border-color var(--trans-smooth);
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--earth-green-400);
}

.pillar-title {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 0.25rem;
}

.pillar-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

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

/* Square 1:1 image frame */
.about-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  background: var(--bg-card);
}

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

.artisan-badge {
  position: absolute;
  bottom: -12px;
  right: 12px;
  background: rgba(7, 15, 11, 0.96);
  border: 1px solid var(--earth-green-400);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--earth-green-300);
  line-height: 1;
}

.badge-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.3;
}

/* ==========================================================================
   Specialty Artistry Section (3 Distinct Sections: Furniture, Instruments, Inlays)
   Square 1:1 Thumbnails
   ========================================================================== */
.specialty-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

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

.specialty-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth), box-shadow var(--trans-smooth);
}

.specialty-card:hover {
  transform: translateY(-5px);
  border-color: var(--ocean-blue-400);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 22px var(--blue-glow);
}

/* Square 1:1 image thumbnail for specialty */
.specialty-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #040806;
}

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

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

.specialty-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(4, 8, 6, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean-blue-300);
}

.specialty-body {
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.specialty-title {
  font-size: 1.3rem;
  color: var(--text-pure);
  margin-bottom: 0.65rem;
}

.specialty-desc {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.specialty-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-glass);
}

.specialty-feature-item {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.specialty-feature-item span.bullet {
  color: var(--earth-green-300);
  font-weight: bold;
}

/* ==========================================================================
   Constant Progress Ethos Banner (DYNAMIC SIZE as requested)
   ========================================================================== */
.philosophy-banner {
  background: radial-gradient(circle at 50% 50%, #0d1e16 0%, #040806 90%);
  border-top: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.philosophy-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .philosophy-inner {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.philosophy-quote-box h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  color: var(--text-pure);
  margin-bottom: 0.85rem;
}

.philosophy-quote-box p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* Dynamic size container for Constant Progress */
.philosophy-media-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--earth-green-400);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85), 0 0 20px var(--earth-glow);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #040806;
}

.philosophy-media-box img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   Commission Journey Process
   ========================================================================== */
.process-section {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

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

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.35rem;
  position: relative;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--ocean-blue-400);
}

.process-step-num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: rgba(45, 130, 92, 0.3);
  line-height: 1;
  margin-bottom: 0.75rem;
  transition: color var(--trans-fast);
}

.process-card:hover .process-step-num {
  color: var(--earth-green-300);
}

.process-title {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
  color: var(--text-pure);
}

.process-desc {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================================
   Contact & Commission Section
   ========================================================================== */
.contact-section {
  position: relative;
  background: radial-gradient(circle at 50% 50%, #0b1a13 0%, #040806 80%);
}

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

@media (min-width: 992px) {
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-direct-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.contact-direct-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--accent-gradient);
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--earth-green-300);
  margin-bottom: 0.5rem;
}

.contact-email-display {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  font-weight: 600;
  color: var(--text-pure);
  word-break: break-all;
  margin-bottom: 1.25rem;
  display: block;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.contact-detail-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(45, 130, 92, 0.1);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--earth-green-300);
  flex-shrink: 0;
}

.contact-detail-content h4 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-pure);
  margin-bottom: 0.15rem;
}

.contact-detail-content p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.commission-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.commission-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: rgba(4, 8, 6, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--earth-green-400);
  box-shadow: 0 0 10px var(--earth-glow);
}

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

/* ==========================================================================
   Massive Wide-Screen Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 4, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--trans-smooth);
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-container {
  width: 96vw;
  max-width: 1560px;
  height: 92vh;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 30px var(--blue-glow);
}

@media (min-width: 992px) {
  .lightbox-container {
    grid-template-columns: 1.85fr 1fr;
  }
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(4, 8, 6, 0.9);
  border: 1px solid var(--border-medium);
  color: var(--text-pure);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all var(--trans-fast);
}

.lightbox-close-btn:hover {
  background: var(--earth-green-400);
  color: #ffffff;
}

.lightbox-media-pane {
  position: relative;
  background: #020504;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 52vh;
  padding: 1rem;
}

@media (min-width: 992px) {
  .lightbox-media-pane {
    height: 100%;
    padding: 2rem;
  }
}

.lightbox-main-image {
  max-width: 96%;
  max-height: 94%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.9);
  transition: transform var(--trans-smooth);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(7, 16, 12, 0.88);
  border: 1px solid var(--border-medium);
  color: var(--text-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--earth-green-400);
  color: #ffffff;
  box-shadow: 0 0 18px var(--earth-glow-strong);
}

.lightbox-nav-prev {
  left: 1.25rem;
}

.lightbox-nav-next {
  right: 1.25rem;
}

.lightbox-details-pane {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--bg-card);
  border-left: 1px solid var(--border-subtle);
}

.lightbox-category-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocean-blue-300);
  margin-bottom: 0.4rem;
}

.lightbox-title {
  font-size: 1.7rem;
  margin-bottom: 0.85rem;
  color: var(--text-pure);
}

.lightbox-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  margin: 0.85rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.spec-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.lightbox-description {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.lightbox-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.lightbox-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.lightbox-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #020504;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 0 1.75rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-bottom: 2.75rem;
}

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

.footer-brand p {
  font-size: 0.85rem;
  max-width: 340px;
  margin-top: 0.85rem;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--earth-green-300);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--ocean-blue-300);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--earth-green-400);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  color: var(--text-pure);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  animation: slideInRight 0.3s ease-out;
}

.toast-icon {
  color: var(--earth-green-300);
}

/* Keyframes */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
