/* ============================================
   PSP Carpentry - Peach State Precision
   Static Site Stylesheet
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Fonts */
  --font-sans: 'Montserrat', sans-serif;
  --font-serif: 'Playfair Display', serif;

  /* Primary Brand */
  --color-peach-50: hsl(12, 100%, 98%);
  --color-peach-100: hsl(12, 100%, 95%);
  --color-peach-400: hsl(9, 80%, 70%);
  --color-peach-500: hsl(9, 73%, 62%);
  --color-peach-600: hsl(9, 73%, 62%); /* #E56A55 */
  --color-peach-900: hsl(30, 4%, 28%); /* #4B4845 - Taupe */

  /* Warm Grey/Slate Palette */
  --color-slate-50: hsl(30, 14%, 98%);
  --color-slate-100: hsl(30, 10%, 96%);
  --color-slate-200: hsl(30, 8%, 90%);
  --color-slate-300: hsl(30, 6%, 80%);
  --color-slate-400: hsl(30, 6%, 65%);
  --color-slate-500: hsl(30, 5%, 50%);
  --color-slate-600: hsl(30, 5%, 40%);
  --color-slate-700: hsl(30, 5%, 30%);
  --color-slate-800: hsl(30, 4%, 20%);
  --color-slate-900: hsl(30, 4%, 15%);
  --color-slate-950: hsl(30, 4%, 10%);

  /* Semantic */
  --color-background: hsl(30, 10%, 98%);
  --color-foreground: hsl(30, 5%, 20%);
  --color-border: hsl(30, 10%, 91%);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

body ::selection {
  background-color: var(--color-peach-100);
  color: var(--color-peach-900);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

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

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

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

/* --- Navbar --- */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 50;
  top: 0;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(var(--color-slate-200), 0.5);
  padding: 0.75rem 0;
  border-bottom: 1px solid hsl(30, 8%, 90%, 0.5);
}

.navbar .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar .logo img {
  width: 8rem;
  height: auto;
  transition: all 0.3s ease;
  filter: brightness(100) invert(1);
}

@media (min-width: 768px) {
  .navbar .logo img { width: 11rem; }
}

.navbar.scrolled .logo img {
  width: 7rem;
  filter: invert(0.2) sepia(0.2) saturate(0.2) hue-rotate(200deg) brightness(0.3) contrast(0.9);
}

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

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

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

.navbar .nav-links a {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  color: rgba(255, 255, 255, 1);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--color-slate-700);
}

.navbar .nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-peach-600);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.navbar .nav-links a:hover::after {
  transform: scaleX(1);
}

.navbar .nav-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-peach-600);
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.3s ease;
}

@media (min-width: 768px) {
  .navbar .nav-cta { display: inline-flex; }
}

.navbar .nav-cta:hover {
  background: var(--color-peach-400);
}

.navbar .nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: white;
  border-radius: 0.25rem;
}

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

.navbar.scrolled .mobile-menu-btn {
  color: var(--color-slate-900);
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--color-slate-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu .mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu .mobile-menu-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu .mobile-logo {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 12rem;
}

.mobile-menu .mobile-logo img {
  width: 100%;
  height: auto;
}

.mobile-menu .mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.mobile-menu .mobile-nav-links a {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.mobile-menu .mobile-nav-links a:hover {
  color: white;
  transform: scale(1.05);
}

.mobile-menu .mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-peach-600);
  color: white;
  padding: 1rem 2rem;
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2rem;
  transition: background 0.3s ease;
}

.mobile-menu .mobile-cta:hover {
  background: var(--color-peach-400);
}

/* --- Hero Section (Home) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6rem;
  padding-bottom: 3rem;
  overflow: hidden;
  background: var(--color-slate-900);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1.05); }
}

.hero-bg .overlay-mobile {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .hero-bg .overlay-mobile { background: transparent; }
}

.hero-bg .overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-slate-900), rgba(30, 28, 25, 0.2), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  margin-top: -4rem;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .hero-content { margin-top: -5rem; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: white;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out both;
}

@media (min-width: 768px) {
  .hero-badge { margin-bottom: 2rem; }
}

.hero-badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #facc15;
  fill: #facc15;
  flex-shrink: 0;
}

.hero-badge span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 4.5rem; margin-bottom: 2rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 6rem; }
}

.hero h1 .italic {
  font-style: italic;
  color: var(--color-slate-300);
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  font-weight: 400;
  color: #d9d8d7;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.25rem; margin-bottom: 2.5rem; }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; width: auto; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-peach-600);
  color: white;
  border: 1px solid var(--color-peach-600);
  padding: 0.875rem 2rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  min-width: 180px;
}

.btn-primary:hover {
  background: var(--color-peach-400);
  border-color: var(--color-peach-400);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  min-width: 180px;
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 1s ease-out 1s both;
}

.scroll-indicator span {
  display: none;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
}

@media (min-width: 768px) {
  .scroll-indicator span { display: block; }
}

.scroll-indicator svg {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  animation: bounceDown 1.5s ease-in-out infinite;
}

/* --- Services Section --- */
.services-section {
  padding: 4rem 0;
  background: white;
  border-bottom: 1px solid var(--color-slate-100);
}

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

.services-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
}

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

.services-header .left { max-width: 42rem; }

.services-header .right {
  color: var(--color-slate-500);
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.75;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .services-header .right { margin-top: 0; }
}

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

.services-header h2 {
  font-size: 2.25rem;
  color: var(--color-peach-900);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .services-header h2 { font-size: 3rem; }
}

.services-header h2 .italic {
  font-style: italic;
  color: var(--color-slate-500);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--color-slate-200);
  border: 1px solid var(--color-slate-200);
  border-radius: 2px;
  overflow: hidden;
}

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

.service-card {
  background: white;
  padding: 2.5rem;
  transition: background 0.5s ease;
}

.service-card:hover { background: var(--color-slate-50); }

.service-card .icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: background 0.3s ease;
}

.service-card:hover .icon-wrap { background: var(--color-peach-100); }

.service-card .icon-wrap svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-slate-700);
  transition: color 0.3s ease;
}

.service-card:hover .icon-wrap svg { color: var(--color-peach-600); }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-peach-900);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-slate-500);
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-card ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-slate-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card ul li svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--color-peach-600);
}

/* --- Gallery Section (Home) --- */
.gallery-section {
  padding: 6rem 0;
  background: var(--color-slate-50);
}

.gallery-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.gallery-section .section-header h2 {
  font-size: 2.25rem;
  color: var(--color-peach-900);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .gallery-section .section-header h2 { font-size: 3rem; }
}

.gallery-section .section-header h2 .italic {
  font-style: italic;
  color: #868079;
}

.gallery-section .section-header p {
  color: var(--color-slate-500);
  font-size: 0.875rem;
  line-height: 1.75;
}

.gallery-grid-home {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-peach-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(229, 106, 85, 0.3);
  padding-bottom: 0.25rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.gallery-link:hover {
  color: var(--color-peach-900);
  border-color: var(--color-peach-900);
}

.gallery-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

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

/* --- About Section (Home) --- */
.about-section {
  padding: 6rem 0;
  background: white;
  position: relative;
  overflow: hidden;
}

.about-section .decorative-text {
  position: absolute;
  top: 2.5rem;
  left: 0;
  font-size: 6.25rem;
  font-family: var(--font-serif);
  color: var(--color-slate-50);
  opacity: 0.03;
  user-select: none;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

@media (min-width: 768px) {
  .about-section .decorative-text { font-size: 12.5rem; }
}

.about-section .about-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .about-section .about-inner { flex-direction: row; }
}

.about-section .about-image {
  width: 100%;
}

@media (min-width: 1024px) {
  .about-section .about-image { width: 50%; }
}

.about-section .about-image .img-wrap {
  position: relative;
}

@media (min-width: 768px) {
  .about-section .about-image .img-wrap { margin: -3rem 0; }
}

.about-section .about-image img {
  width: 100%;
  border-radius: 2px;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-section .about-text {
  width: 100%;
}

@media (min-width: 1024px) {
  .about-section .about-text { width: 50%; }
}

.about-section .about-text h2 {
  font-size: 2.25rem;
  color: var(--color-peach-900);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .about-section .about-text h2 { font-size: 3rem; }
}

.about-section .about-text h2 .italic {
  font-style: italic;
  color: var(--color-slate-500);
}

.about-section .about-text .text-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--color-slate-600);
  font-size: 0.875rem;
  line-height: 2;
}

.about-section .stats {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-slate-100);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-section .stats .stat-value {
  display: block;
  font-size: 1.875rem;
  font-family: var(--font-serif);
  color: var(--color-peach-600);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.about-section .stats .stat-label {
  font-size: 0.75rem;
  color: var(--color-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Instagram Feed Section --- */
.instagram-section {
  padding: 6rem 0;
  background: var(--color-slate-50);
}

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

.instagram-section .section-header h2 {
  font-size: 1.875rem;
  color: var(--color-slate-900);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .instagram-section .section-header h2 { font-size: 2.25rem; }
}

.instagram-section .section-header p {
  color: var(--color-slate-500);
  font-size: 0.875rem;
  max-width: 36rem;
  margin: 0 auto;
}

.instagram-section .behold-wrap {
  min-height: 300px;
}

.instagram-section .follow-link {
  text-align: center;
  margin-top: 2rem;
}

.instagram-section .follow-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-peach-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  transition: color 0.3s ease;
}

.instagram-section .follow-link a:hover { color: var(--color-peach-900); }
.instagram-section .follow-link svg { width: 1rem; height: 1rem; }

/* --- Contact Section --- */
.contact-section {
  padding: 4rem 0;
  position: relative;
}

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

.contact-section.dark { background: var(--color-slate-900); }
.contact-section.light { background: var(--color-slate-50); }

.contact-section .contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .contact-section .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

.contact-section .info h2 {
  font-size: 2.25rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .contact-section .info h2 { font-size: 3rem; }
}

.contact-section.dark .info h2 { color: white; }
.contact-section.light .info h2 { color: var(--color-slate-900); }

.contact-section .info h2 .italic { font-style: italic; }
.contact-section.dark .info h2 .italic { color: var(--color-slate-300); }
.contact-section.light .info h2 .italic { color: #868079; }

.contact-section .info .subtitle {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 3rem;
  max-width: 28rem;
}

.contact-section.dark .info .subtitle { color: var(--color-slate-400); }
.contact-section.light .info .subtitle { color: var(--color-slate-600); }

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-info-item .icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-section.dark .contact-info-item .icon { background: var(--color-slate-800); }
.contact-section.light .contact-info-item .icon { background: var(--color-peach-100); }
.contact-info-item .icon svg { width: 1.25rem; height: 1.25rem; color: var(--color-peach-600); }

.contact-info-item h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.contact-section.dark .contact-info-item h4 { color: white; }
.contact-section.light .contact-info-item h4 { color: var(--color-slate-900); }

.contact-info-item .detail {
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.contact-section.dark .contact-info-item .detail { color: var(--color-slate-400); }
.contact-section.light .contact-info-item .detail { color: var(--color-slate-500); }
.contact-info-item .detail:hover { color: var(--color-peach-600); }

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-section.dark .social-links a { border-color: var(--color-slate-700); color: var(--color-slate-500); }
.contact-section.light .social-links a { border-color: var(--color-slate-200); color: var(--color-slate-400); }

.social-links a:hover {
  background: var(--color-peach-600);
  color: white;
  border-color: var(--color-peach-600);
}

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

/* Contact Form */
.contact-form-card {
  background: white;
  border-radius: 2px;
  padding: 2rem;
  color: var(--color-slate-900);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .contact-form-card { padding: 2.5rem; }
}

.contact-form-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-slate-500);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-slate-200);
  border-radius: 4px;
  background: var(--color-slate-50);
  color: var(--color-foreground);
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-peach-600);
  box-shadow: 0 0 0 3px rgba(229, 106, 85, 0.1);
}

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

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

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

.form-group .error-message {
  color: hsl(0, 84%, 60%);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Project Type Buttons */
.project-type-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-type-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border: 1px solid var(--color-slate-200);
  background: white;
  color: var(--color-slate-500);
}

.project-type-btn:hover {
  border-color: var(--color-slate-300);
  background: var(--color-slate-50);
}

.project-type-btn.active {
  background: #4B4845;
  color: white;
  border-color: #4B4845;
}

.btn-submit {
  width: 100%;
  background: var(--color-peach-600);
  color: white;
  font-weight: 600;
  padding: 1rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: none;
}

.btn-submit:hover {
  background: var(--color-peach-400);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.btn-submit svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.btn-submit:hover svg { transform: translateX(4px); }

/* Success State */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.form-success .icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--color-peach-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.form-success .icon-wrap svg { width: 2rem; height: 2rem; color: var(--color-peach-600); }
.form-success h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.form-success p { color: var(--color-slate-500); margin-bottom: 2rem; max-width: 24rem; }

.btn-outline {
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--color-slate-200);
  border-radius: 4px;
  color: var(--color-slate-700);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-outline:hover { background: var(--color-slate-50); }

/* --- Footer --- */
.footer {
  background: var(--color-slate-950);
  color: var(--color-slate-400);
  padding: 3rem 0;
  border-top: 1px solid var(--color-slate-900);
}

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

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

.footer .footer-logo img {
  height: 1.5rem;
  width: auto;
  opacity: 0.7;
  filter: brightness(0) invert(1);
}

.footer .footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer .footer-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

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

.footer .footer-copy,
.footer .footer-copyright {
  font-size: 10px;
  color: var(--color-slate-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

@media (min-width: 768px) {
  .footer .footer-copy,
  .footer .footer-copyright { text-align: right; }
}

.footer .footer-copy a,
.footer .footer-copyright a {
  transition: color 0.3s ease;
}

.footer .footer-copy a:hover,
.footer .footer-copyright a:hover { color: white; }

/* --- Page Hero (Subpages) --- */
.page-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  padding-top: 8rem;
  background: var(--color-slate-900);
  color: white;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: 0;
    align-items: flex-end;
    padding-bottom: 5rem;
  }
}

.page-hero .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero .bg .bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  opacity: 0.4;
}

.page-hero .bg .bg-image.bg-fixed {
  background-attachment: fixed;
}

.page-hero .bg .overlay-mobile {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .page-hero .bg .overlay-mobile { background: transparent; }
}

.page-hero .bg .overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-slate-900), rgba(30, 28, 25, 0.8), transparent);
}

.page-hero .hero-text {
  position: relative;
  z-index: 10;
  max-width: 56rem;
}

.page-hero .hero-tag {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out both;
}

.page-hero .hero-tag .line {
  height: 1px;
  width: 3rem;
  background: var(--color-peach-500);
}

.page-hero .hero-tag span {
  color: var(--color-peach-400);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (min-width: 768px) {
  .page-hero h1 { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .page-hero h1 { font-size: 4.5rem; }
}

.page-hero h1 .italic {
  font-style: italic;
  color: var(--color-slate-400);
  font-weight: 300;
}

.page-hero .hero-subtitle {
  color: var(--color-slate-300);
  font-size: 1rem;
  font-weight: 300;
  max-width: 42rem;
  line-height: 1.75;
  margin-top: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@media (min-width: 768px) {
  .page-hero .hero-subtitle { font-size: 1.25rem; }
}

/* --- Gallery Page --- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 4rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  border: 1px solid var(--color-slate-200);
  background: white;
  color: var(--color-slate-500);
}

.filter-btn:hover {
  background: white;
  color: var(--color-slate-900);
  border-color: var(--color-slate-300);
}

.filter-btn.active {
  background: #4B4845;
  color: white;
  border-color: #4B4845;
}

.masonry-grid {
  columns: 1;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .masonry-grid { columns: 2; }
}

@media (min-width: 1024px) {
  .masonry-grid { columns: 3; }
}

.masonry-grid .masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.masonry-grid .masonry-item .item-wrap {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-slate-200);
}

.masonry-grid .masonry-item .item-wrap .aspect-box {
  position: relative;
  width: 100%;
}

.masonry-grid .masonry-item .item-wrap .aspect-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.masonry-grid .masonry-item .item-wrap:hover img { transform: scale(1.05); }

/* Aspect ratios */
.aspect-16-9 { padding-top: 56.25%; }
.aspect-3-4 { padding-top: 133.33%; }
.aspect-4-3 { padding-top: 75%; }
.aspect-square { padding-top: 100%; }

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox .lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  color: white;
  transition: background 0.3s ease;
}

.lightbox .lightbox-close:hover { background: rgba(0, 0, 0, 0.7); }
.lightbox .lightbox-close svg { width: 1.5rem; height: 1.5rem; }

.lightbox .lightbox-prev,
.lightbox .lightbox-next {
  position: absolute;
  z-index: 50;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.lightbox .lightbox-prev:hover,
.lightbox .lightbox-next:hover { background: rgba(0, 0, 0, 0.5); }
.lightbox .lightbox-prev:active,
.lightbox .lightbox-next:active { transform: scale(0.95); }

.lightbox .lightbox-prev { left: 0.5rem; }
.lightbox .lightbox-next { right: 0.5rem; }

@media (min-width: 768px) {
  .lightbox .lightbox-prev { left: 1rem; }
  .lightbox .lightbox-next { right: 1rem; }
}

.lightbox .lightbox-prev svg,
.lightbox .lightbox-next svg {
  width: 2rem;
  height: 2rem;
}

.lightbox img {
  max-height: 80vh;
  max-width: 95vw;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

/* --- About Page Specific --- */
.mission-section {
  padding: 6rem 0;
  background: white;
}

.mission-section .mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

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

.mission-section h2 {
  font-size: 1.875rem;
  color: var(--color-slate-900);
  margin-bottom: 1.5rem;
}

.mission-section p {
  color: var(--color-slate-600);
  line-height: 1.75;
  font-size: 1.125rem;
}

.mission-section strong { font-weight: 700; }

.mission-box {
  background: var(--color-slate-50);
  padding: 2rem;
  border-left: 4px solid var(--color-peach-600);
  border-radius: 0 2px 2px 0;
  margin-top: 2rem;
}

.mission-box h3 {
  font-size: 1.25rem;
  color: var(--color-slate-900);
  margin-bottom: 1rem;
}

.mission-box p {
  color: var(--color-slate-600);
  line-height: 1.75;
  font-size: 0.875rem;
}

.mission-section .image-wrap {
  position: relative;
}

.mission-section .image-wrap .decorative-corner {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 8rem;
  height: 8rem;
  background: var(--color-peach-100);
  border-radius: 0 1.5rem 0 0;
  z-index: -1;
}

.mission-section .image-wrap img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Quote Section */
.quote-section {
  padding: 5rem 0;
  background: var(--color-peach-600);
  color: white;
  text-align: center;
}

.quote-section blockquote {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-style: italic;
  line-height: 1.3;
  margin-bottom: 2rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .quote-section blockquote { font-size: 2.25rem; }
}

.quote-section cite {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-style: normal;
  opacity: 0.8;
}

/* Meet Chad Section */
.chad-section {
  padding: 6rem 0;
  background: var(--color-slate-50);
}

.chad-section .chad-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .chad-section .chad-grid { grid-template-columns: 4fr 8fr; }
}

.chad-section .chad-photo {
  position: relative;
}

.chad-section .chad-photo img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  aspect-ratio: 3/4;
}

.chad-section .chad-nameplate {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 1rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chad-section .chad-nameplate h3 {
  font-size: 1.25rem;
  color: var(--color-slate-900);
}

.chad-section .chad-nameplate span {
  font-size: 0.75rem;
  color: var(--color-peach-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.chad-section .chad-bio {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--color-slate-600);
  line-height: 1.75;
}

.chad-section .chad-bio h2 {
  font-size: 2.25rem;
  color: var(--color-slate-900);
  margin-bottom: 0.5rem;
}

.chad-section .chad-credentials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .chad-section .chad-credentials { grid-template-columns: 1fr 1fr; }
}

.chad-section .credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chad-section .credential svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
  fill: var(--color-peach-600);
  flex-shrink: 0;
}

.chad-section .credential span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-700);
}

.chad-section .chad-family {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--color-slate-500);
  padding-top: 1rem;
  border-top: 1px solid var(--color-slate-200);
  margin-top: 1rem;
}

/* --- Services Page --- */
.services-list { padding: 6rem 0; background: white; }

.services-list .service-block {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .services-list .service-block { flex-direction: row; }
  .services-list .service-block.reverse { flex-direction: row-reverse; }
}

.services-list .service-block + .service-block {
  margin-top: 8rem;
}

.services-list .service-block .image-side {
  width: 100%;
  position: relative;
}

@media (min-width: 1024px) {
  .services-list .service-block .image-side { width: 50%; }
}

.services-list .service-block .image-side .deco-circle {
  position: absolute;
  top: -1.5rem;
  width: 8rem;
  height: 8rem;
  background: rgba(255, 241, 235, 0.5);
  border-radius: 50%;
  z-index: -1;
}

.services-list .service-block .image-side img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.services-list .service-block .text-side { width: 100%; }

@media (min-width: 1024px) {
  .services-list .service-block .text-side { width: 50%; }
}

.services-list .service-block .text-side h2 {
  font-size: 2.25rem;
  color: var(--color-slate-900);
  margin-bottom: 1rem;
}

.services-list .service-block .text-side .desc {
  color: var(--color-slate-500);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.services-list .service-block .text-side .items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.services-list .service-block .text-side .items .item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.services-list .service-block .text-side .items .item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-peach-600);
  flex-shrink: 0;
}

.services-list .service-block .text-side .items .item span {
  color: var(--color-slate-700);
  font-weight: 500;
  font-size: 1.125rem;
}

.services-list .service-block .text-side .cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-peach-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  margin-top: 2rem;
  transition: color 0.3s ease;
}

.services-list .service-block .text-side .cta-link:hover { color: var(--color-peach-900); }

.services-list .service-block .text-side .cta-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.services-list .service-block .text-side .cta-link:hover svg { transform: translateX(4px); }

/* Services CTA Section */
/* --- Answer Capsules (GEO) --- */
.answer-capsule {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-slate-600);
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--color-peach-400);
}

/* --- FAQ Section --- */
.faq-section {
  padding: 5rem 0;
  background: var(--color-slate-50);
}

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

.faq-section h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-slate-900);
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .faq-section h2 { font-size: 2.5rem; }
}

.faq-grid {
  display: grid;
  gap: 2rem;
}

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

.faq-item {
  background: white;
  padding: 1.75rem;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.faq-item h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-slate-900);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.faq-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-slate-600);
}

.services-cta {
  padding: 6rem 0;
  background: var(--color-peach-900);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-cta .bg-pattern {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.services-cta .container {
  position: relative;
  z-index: 1;
}

.services-cta h2 {
  font-size: 2.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .services-cta h2 { font-size: 3rem; }
}

.services-cta p {
  color: var(--color-slate-300);
  max-width: 42rem;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
}

.services-cta .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: hsl(9, 73%, 62%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: none;
  opacity: 1;
}

.services-cta .cta-button:hover {
  background: var(--color-peach-400);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Intersection Observer animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.from-left {
  transform: translateX(-30px);
}

.animate-on-scroll.from-left.visible {
  transform: translateX(0);
}

.animate-on-scroll.from-right {
  transform: translateX(30px);
}

.animate-on-scroll.from-right.visible {
  transform: translateX(0);
}

.animate-on-scroll.scale-in {
  transform: scale(0.95);
}

.animate-on-scroll.scale-in.visible {
  transform: scale(1);
}

/* Staggered delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* --- Responsive helpers --- */
.text-center { text-align: center; }
.flex-center { display: flex; justify-content: center; }

/* ============================================
   CSS Class Aliases
   Bridge between HTML class names and CSS styles
   ============================================ */

/* --- Hero Overlay (index.html uses single .hero-overlay) --- */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-slate-900), rgba(30, 28, 25, 0.4), rgba(0, 0, 0, 0.5));
}

@media (min-width: 768px) {
  .hero-overlay {
    background: linear-gradient(to top, var(--color-slate-900), rgba(30, 28, 25, 0.2), transparent);
  }
}

/* --- Services Section Header (index.html) --- */
.services-section .section-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .services-section .section-header { flex-direction: row; align-items: flex-end; }
}

.services-section .section-header-left { max-width: 42rem; }

.services-section .section-header h2 {
  font-size: 2.25rem;
  color: var(--color-peach-900);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .services-section .section-header h2 { font-size: 3rem; }
}

.services-section .section-header h2 .italic {
  font-style: italic;
  color: var(--color-slate-500);
}

.services-section .section-header-right {
  color: var(--color-slate-500);
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.75;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .services-section .section-header-right { margin-top: 0; }
}

/* --- Service Icon (index.html uses .service-icon instead of .icon-wrap) --- */
.service-card .service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: background 0.3s ease;
}

.service-card:hover .service-icon { background: var(--color-peach-100); }

.service-card .service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-slate-700);
  transition: color 0.3s ease;
}

.service-card:hover .service-icon svg { color: var(--color-peach-600); }

/* --- Service Features (index.html uses .service-features/.service-feature) --- */
.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-slate-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-feature svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--color-peach-600);
}

/* --- Section Header Center (gallery, instagram on index.html) --- */
.section-header-center {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.section-header-center h2 {
  font-size: 2.25rem;
  color: var(--color-peach-900);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-header-center h2 { font-size: 3rem; }
}

.section-header-center h2 .italic {
  font-style: italic;
  color: #868079;
}

.section-header-center p {
  color: var(--color-slate-500);
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 36rem;
  margin: 0 auto;
}


/* --- Section Link / Link Arrow (gallery + instagram on index.html) --- */
.section-link {
  text-align: center;
  margin-top: 2rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-peach-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(229, 106, 85, 0.3);
  padding-bottom: 0.25rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.link-arrow:hover {
  color: var(--color-peach-900);
  border-color: var(--color-peach-900);
}

.link-arrow svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

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

/* --- About Section Aliases (index.html) --- */
.about-section .about-decoration {
  position: absolute;
  top: 2.5rem;
  left: 0;
  font-size: 6.25rem;
  font-family: var(--font-serif);
  color: var(--color-slate-50);
  opacity: 0.03;
  user-select: none;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

@media (min-width: 768px) {
  .about-section .about-decoration { font-size: 12.5rem; }
}

.about-section .about-grid {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .about-section .about-grid { flex-direction: row; }
}

.about-section .about-content {
  width: 100%;
}

@media (min-width: 1024px) {
  .about-section .about-content { width: 50%; }
}

.about-section .about-content h2 {
  font-size: 2.25rem;
  color: var(--color-peach-900);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .about-section .about-content h2 { font-size: 3rem; }
}

.about-section .about-content h2 .italic {
  font-style: italic;
  color: var(--color-slate-500);
}

.about-section .about-content p {
  color: var(--color-slate-600);
  font-size: 0.875rem;
  line-height: 2;
  margin-bottom: 1rem;
}

/* --- About Stats (index.html) --- */
.about-stats {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-slate-100);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-stat { display: flex; flex-direction: column; }

.about-stat-number {
  display: block;
  font-size: 1.875rem;
  font-family: var(--font-serif);
  color: var(--color-peach-600);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.about-stat-label {
  font-size: 0.75rem;
  color: var(--color-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Instagram Feed (index.html uses .instagram-feed) --- */
.instagram-feed {
  min-height: 300px;
}

.instagram-section .section-header-center {
  margin-bottom: 3rem;
}

.instagram-section .section-header-center h2 {
  font-size: 1.875rem;
  color: var(--color-slate-900);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .instagram-section .section-header-center h2 { font-size: 2.25rem; }
}

/* --- Contact Info Aliases (index.html uses different class names) --- */
.contact-section .contact-info h2 {
  font-size: 2.25rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .contact-section .contact-info h2 { font-size: 3rem; }
}

.contact-section.dark .contact-info h2 { color: white; }
.contact-section.light .contact-info h2 { color: var(--color-slate-900); }
.contact-section .contact-info h2 .italic { font-style: italic; }
.contact-section.dark .contact-info h2 .italic { color: var(--color-slate-300); }
.contact-section.light .contact-info h2 .italic { color: #868079; }

.contact-subtitle {
  font-size: 0.875rem;
  line-height: 1.75;
  margin-bottom: 3rem;
  max-width: 28rem;
}

.contact-section.dark .contact-subtitle { color: var(--color-slate-400); }
.contact-section.light .contact-subtitle { color: var(--color-slate-600); }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-section.dark .contact-item-icon { background: var(--color-slate-800); }
.contact-section.light .contact-item-icon { background: var(--color-peach-100); }
.contact-item-icon svg { width: 1.25rem; height: 1.25rem; color: var(--color-peach-600); }

/* Contact item text - supports both <strong> and <h4> */
.contact-item strong,
.contact-item h4 {
  font-size: 1.125rem;
  font-family: var(--font-serif);
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-section.dark .contact-item strong,
.contact-section.dark .contact-item h4 { color: white; }
.contact-section.light .contact-item strong,
.contact-section.light .contact-item h4 { color: var(--color-slate-900); }

.contact-item span,
.contact-item a {
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.contact-section.dark .contact-item span,
.contact-section.dark .contact-item a { color: var(--color-slate-400); }
.contact-section.light .contact-item span,
.contact-section.light .contact-item a { color: var(--color-slate-500); }
.contact-item a:hover { color: var(--color-peach-600); }

/* --- Contact Socials (index.html uses .contact-socials) --- */
.contact-socials {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.contact-socials a {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-section.dark .contact-socials a { border-color: var(--color-slate-700); color: var(--color-slate-500); }
.contact-section.light .contact-socials a { border-color: var(--color-slate-400); color: var(--color-slate-500); }

.contact-socials a:hover {
  background: var(--color-slate-900);
  color: white;
  border-color: var(--color-slate-900);
}

.contact-socials a svg { width: 1.25rem; height: 1.25rem; }

/* --- Submit Button Full Width (index.html uses .btn.btn-primary.btn-full) --- */
.btn-full {
  width: 100%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-full:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* --- Footer Links (index.html, contact.html use .footer-links) --- */
.footer .footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer .footer-links a {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

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

/* Footer logo invert helper */
.invert { filter: brightness(0) invert(1); }

/* --- Page Hero Aliases (about.html, services.html, contact.html) --- */
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay-mobile,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .page-hero-overlay-mobile,
  .page-hero-overlay { background: transparent; }
}

.page-hero-overlay-gradient,
.page-hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right, var(--color-slate-900), rgba(30, 28, 25, 0.8), transparent);
}

.page-hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
}

.page-hero-subtitle {
  color: var(--color-slate-300);
  font-size: 1rem;
  font-weight: 300;
  max-width: 42rem;
  line-height: 1.75;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .page-hero-subtitle { font-size: 1.25rem; }
}

/* Hero tag line element */
.hero-tag-line {
  display: inline-block;
  height: 1px;
  width: 3rem;
  background: var(--color-peach-500);
  vertical-align: middle;
  margin-right: 1rem;
}

.hero-tag {
  color: var(--color-peach-400);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --- Services Page: Service Block Aliases --- */
.services-list .service-block-image {
  width: 100%;
  position: relative;
}

@media (min-width: 1024px) {
  .services-list .service-block-image { width: 50%; }
}

.services-list .service-block-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.services-list .service-block-content {
  width: 100%;
}

@media (min-width: 1024px) {
  .services-list .service-block-content { width: 50%; }
}

.services-list .service-block-content h2 {
  font-size: 2.25rem;
  color: var(--color-slate-900);
  margin-bottom: 1rem;
}

.services-list .service-block-desc {
  color: var(--color-slate-500);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.services-list .service-block-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.services-list .service-block-items li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-slate-700);
  font-weight: 500;
  font-size: 1.125rem;
}

.services-list .service-block-items li svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-peach-600);
  flex-shrink: 0;
}

.services-list .service-block-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-peach-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  margin-top: 2rem;
  transition: color 0.3s ease;
}

.services-list .service-block-cta:hover { color: var(--color-peach-900); }

.services-list .service-block-cta svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.services-list .service-block-cta:hover svg { transform: translateX(4px); }

.services-list .service-block-decorative-circle {
  position: absolute;
  width: 8rem;
  height: 8rem;
  background: rgba(255, 241, 235, 0.5);
  border-radius: 50%;
  z-index: -1;
}

/* Services page h1 em (uses <em> instead of <span class="italic">) */
.page-hero h1 em {
  font-style: italic;
  color: var(--color-slate-400);
  font-weight: 300;
}

/* --- About Page: Mission Section Aliases --- */
.mission-section .mission-text { /* text column */ }

.mission-section .mission-image {
  position: relative;
}

.mission-section .mission-image .decorative-corner {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 8rem;
  height: 8rem;
  background: var(--color-peach-100);
  border-radius: 0 1.5rem 0 0;
  z-index: -1;
}

.mission-section .mission-image img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* --- About Page: Credential Item (uses .credential-item not .credential) --- */
.chad-section .credential-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chad-section .credential-item svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.chad-section .credential-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-700);
}

/* --- About Page Footer (missing .footer-inner wrapper) --- */
.footer > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

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

/* --- Semantic HTML resets --- */
address { font-style: normal; }
dl, dd { margin: 0; }

/* --- Background utility classes (used inline on page heroes) --- */
.bg-fixed { background-attachment: fixed; }
.bg-cover { background-size: cover; }
.bg-center { background-position: center; }

/* --- Italic utility (already defined in context, ensure global) --- */
.italic { font-style: italic; }

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 8px 16px;
  background: hsl(30, 20%, 15%);
  color: #fff;
  border-radius: 0 0 4px 4px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* --- Sticky Mobile CTA --- */
.sticky-mobile-cta {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  background: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.sticky-cta-btn {
  display: block;
  text-align: center;
  background: var(--color-peach-600);
  color: white;
  padding: 0.875rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sticky-cta-btn:hover {
  background: var(--color-peach-400);
}

@media (min-width: 768px) {
  .sticky-mobile-cta { display: none; }
}

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

/* --- Focus Visible --- */
:focus-visible {
  outline: 2px solid var(--color-peach-600);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}
