:root {
  --color-black-walnut: #2B2A27;
  --color-smoked-oak: #4E3F32;
  --color-european-beech: #C8A778;
  --color-natural-maple: #E8DCC4;
  --color-cold-steel: #6C7174;
  --color-linen-white: #F4EFE8;
  --color-brass: #D6B55C;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --spacing-xxl: 8rem;
  --font-heading: 'Playfair Display', 'Bodoni Moda', serif;
  --font-body: 'Inter', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 3rem;
  --font-size-4xl: 4rem;
  --font-size-5xl: 5rem;
  --border-thin: 1px solid var(--color-cold-steel);
  --border-brass: 2px solid var(--color-brass);
  --border-radius-sm: 2px;
  --border-radius-md: 4px;
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --shadow-inset: inset 0 2px 4px rgba(43, 42, 39, 0.1);
  --shadow-panel: 0 4px 12px rgba(43, 42, 39, 0.15);
  --shadow-deep: 0 8px 24px rgba(43, 42, 39, 0.2);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-black-walnut);
  background-color: var(--color-linen-white);
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(43, 42, 39, 0.02) 2px,
      rgba(43, 42, 39, 0.02) 4px
    );
  pointer-events: none;
  z-index: 0;
}

body.menu-open::before {
  display: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--color-black-walnut);
}

h1 {
  font-size: var(--font-size-5xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-4xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-smoked-oak);
}

a {
  color: var(--color-black-walnut);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-brass);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}
.header {
  position: relative;
  background-color: var(--color-linen-white);
  border-bottom: var(--border-thin);
  border-bottom-color: var(--color-brass);
  padding: var(--spacing-md) 0;
  transition: all var(--transition-base);
  z-index: 1000;
}

.header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-sm) 0;
  box-shadow: var(--shadow-panel);
  background-color: rgba(244, 239, 232, 0.98);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.logo {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-black-walnut);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color var(--transition-base);
}

.logo:hover {
  color: var(--color-brass);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
  color: var(--color-black-walnut);
  font-size: var(--font-size-2xl);
  transition: color var(--transition-base);
  z-index: 1001;
}

.menu-toggle:hover {
  color: var(--color-brass);
}

.menu-close {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
  color: var(--color-linen-white);
  font-size: var(--font-size-2xl);
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  transition: color var(--transition-base);
  z-index: 1002;
}

.menu-close:hover {
  color: var(--color-brass);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
}

.nav a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-brass);
  transition: width var(--transition-base);
}

.nav a:hover::after {
  width: 100%;
}

.btn-quote {
  padding: var(--spacing-xs) var(--spacing-md);
  background-color: var(--color-black-walnut);
  color: var(--color-linen-white);
  border: none;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--color-brass);
  transition: left var(--transition-base);
}

.btn-quote:hover::before {
  left: 0;
}

.btn-quote span {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--color-linen-white) 0%, var(--color-natural-maple) 100%);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: var(--spacing-xl);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: var(--spacing-lg);
  color: var(--color-black-walnut);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-smoked-oak);
  margin-bottom: var(--spacing-xl);
  font-weight: 300;
}

.measurement-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-brass), transparent);
  transform: translateX(-50%);
  animation: measureLine 3s ease-in-out infinite;
}

@keyframes measureLine {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.material-swatches {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-xl);
}

.swatch {
  width: 80px;
  height: 80px;
  border: var(--border-thin);
  box-shadow: var(--shadow-panel);
  transition: transform var(--transition-base);
  position: relative;
  overflow: hidden;
}

.swatch:hover {
  transform: translateY(-8px) scale(1.05);
}

.swatch-oak { background-color: var(--color-smoked-oak); }
.swatch-beech { background-color: var(--color-european-beech); }
.swatch-maple { background-color: var(--color-natural-maple); }
.swatch-walnut { background-color: var(--color-black-walnut); }
.swatch-steel { background-color: var(--color-cold-steel); }

.grid {
  display: grid;
  gap: var(--spacing-md);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.furniture-slider {
  padding: var(--spacing-xxl) 0;
  background-color: var(--color-natural-maple);
}

.slider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.furniture-card {
  position: relative;
  aspect-ratio: 4/3;
  background-color: var(--color-linen-white);
  border: var(--border-thin);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
}

.furniture-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-european-beech) 0%, var(--color-smoked-oak) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.furniture-card:hover::before {
  opacity: 0.1;
}

.furniture-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.furniture-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}

.furniture-card:hover .furniture-image {
  transform: scale(1.05);
}

.furniture-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  background: linear-gradient(to top, rgba(43, 42, 39, 0.9), transparent);
  color: var(--color-linen-white);
  transform: translateY(100%);
  transition: transform var(--transition-base);
  z-index: 2;
}

.furniture-overlay h3,
.furniture-overlay p {
  color: #ffffff;
}

.furniture-card:hover .furniture-overlay {
  transform: translateY(0);
}
.philosophy {
  background-color: var(--color-linen-white);
  position: relative;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      rgba(108, 113, 116, 0.05) 20px,
      rgba(108, 113, 116, 0.05) 21px
    );
  pointer-events: none;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.philosophy-item {
  padding: var(--spacing-lg);
  border-left: 3px solid var(--color-brass);
  background-color: rgba(255, 255, 255, 0.5);
  position: relative;
}

.philosophy-item h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-sm);
  color: var(--color-black-walnut);
}

.philosophy-icon {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-sm);
  color: var(--color-brass);
}
.material-library {
  background: linear-gradient(135deg, var(--color-smoked-oak) 0%, var(--color-black-walnut) 100%);
  color: var(--color-linen-white);
  padding: var(--spacing-xxl) 0;
}

.material-library h2 {
  color: var(--color-linen-white);
  text-align: center;
}

.material-library p {
  color: var(--color-linen-white);
}

.material-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.material-tile {
  aspect-ratio: 1;
  background-color: var(--color-linen-white);
  border: var(--border-brass);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-linen-white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.material-tile span {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  background: rgba(43, 42, 39, 0.6);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.material-tile:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-deep);
}

.material-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(43, 42, 39, 0.4);
  z-index: 1;
  transition: opacity var(--transition-base);
}

.material-tile:hover::before {
  background: rgba(43, 42, 39, 0.6);
}

.material-tile::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(214, 181, 92, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.material-tile:hover::after {
  opacity: 1;
}
.timeline {
  background-color: var(--color-linen-white);
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.timeline-track {
  position: relative;
  height: 4px;
  background-color: var(--color-cold-steel);
  margin: var(--spacing-xl) 0;
  overflow: visible;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(
    to right,
    var(--color-brass) 0,
    var(--color-brass) 10px,
    transparent 10px,
    transparent 20px
  );
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-xl);
  position: relative;
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: var(--spacing-lg);
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background-color: var(--color-brass);
  border: 3px solid var(--color-linen-white);
  border-radius: 50%;
  box-shadow: var(--shadow-panel);
}

.timeline-icon {
  font-size: var(--font-size-2xl);
  color: var(--color-brass);
  margin-bottom: var(--spacing-sm);
}

.categories {
  background-color: var(--color-natural-maple);
  padding: var(--spacing-xxl) 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.category-card {
  background-color: var(--color-linen-white);
  padding: var(--spacing-lg);
  border: var(--border-thin);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
}

.category-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-xs);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--color-brass), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.category-card:hover::before {
  opacity: 0.2;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
  border-color: var(--color-brass);
}

.category-card:nth-child(even) {
  background-color: var(--color-smoked-oak);
  color: var(--color-linen-white);
}

.category-card:nth-child(even) h3,
.category-card:nth-child(even) p {
  color: var(--color-linen-white);
}
.cta-section {
  background: linear-gradient(135deg, var(--color-black-walnut) 0%, var(--color-smoked-oak) 100%);
  color: var(--color-linen-white);
  padding: var(--spacing-xxl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section h2,
.cta-section p {
  color: var(--color-linen-white);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(214, 181, 92, 0.05) 20px,
      rgba(214, 181, 92, 0.05) 21px
    );
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--color-linen-white);
  font-size: var(--font-size-4xl);
  margin-bottom: var(--spacing-md);
}

.cta-button {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  background-color: var(--color-brass);
  color: var(--color-black-walnut);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--spacing-lg);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--color-linen-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-deep);
}
.footer {
  background-color: var(--color-black-walnut);
  color: var(--color-linen-white);
  padding: var(--spacing-xl) 0;
  border-top: var(--border-brass);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.footer-content p,
.footer-content li {
  color: #ffffff;
}

.footer h3 {
  color: var(--color-brass);
  margin-bottom: var(--spacing-sm);
}

.footer-content > div:first-child h3 {
  font-size: 2rem;
  max-font-size: 2rem;
}

.footer a {
  color: #ffffff;
  opacity: 0.8;
  transition: opacity var(--transition-base);
}

.footer a:hover {
  opacity: 1;
  color: var(--color-brass);
}

.footer-bottom {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--font-size-sm);
  opacity: 0.7;
}
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--color-black-walnut);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--spacing-sm);
  border: var(--border-thin);
  background-color: var(--color-linen-white);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-black-walnut);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-brass);
  box-shadow: 0 0 0 3px rgba(214, 181, 92, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
}

.form-checkbox input {
  margin-top: 4px;
}

.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
  border-color: var(--color-brass);
  box-shadow: 0 0 0 3px rgba(214, 181, 92, 0.1);
}

.form-checkbox.error {
  border-left: 3px solid var(--color-brass);
  padding-left: var(--spacing-xs);
}

.error-message {
  color: var(--color-brass);
  font-size: var(--font-size-sm);
  display: block;
  margin-top: var(--spacing-xs);
  font-weight: 500;
}

.blueprint-bg {
  position: relative;
  background-color: var(--color-linen-white);
}

.blueprint-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 19px,
      rgba(108, 113, 116, 0.1) 19px,
      rgba(108, 113, 116, 0.1) 20px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 19px,
      rgba(108, 113, 116, 0.1) 19px,
      rgba(108, 113, 116, 0.1) 20px
    );
  pointer-events: none;
  z-index: 0;
}

.blueprint-bg > * {
  position: relative;
  z-index: 1;
}
.material-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--spacing-lg);
  background-color: var(--color-linen-white);
}

.material-table th,
.material-table td {
  padding: var(--spacing-sm);
  text-align: left;
  border-bottom: var(--border-thin);
}

.material-table th {
  background-color: var(--color-smoked-oak);
  color: var(--color-linen-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--font-size-sm);
}

.material-table tr:hover {
  background-color: var(--color-natural-maple);
}
.filter-group {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.filter-btn {
  padding: var(--spacing-xs) var(--spacing-md);
  background-color: var(--color-linen-white);
  border: var(--border-thin);
  color: var(--color-black-walnut);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-brass);
  color: var(--color-black-walnut);
  border-color: var(--color-brass);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.service-card {
  background-color: var(--color-linen-white);
  padding: var(--spacing-lg);
  border: var(--border-thin);
  box-shadow: var(--shadow-inset);
  position: relative;
  transition: all var(--transition-base);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--color-brass);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.workshop-card {
  background-color: var(--color-linen-white);
  border: var(--border-thin);
  overflow: hidden;
  transition: all var(--transition-base);
}

.workshop-card:hover {
  box-shadow: var(--shadow-deep);
  transform: translateY(-4px);
}

.workshop-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  background-color: var(--color-smoked-oak);
}

.workshop-content {
  padding: var(--spacing-md);
}
.thank-you {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--color-natural-maple) 0%, var(--color-linen-white) 100%);
  position: relative;
}

.thank-you::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 50px,
      rgba(200, 167, 120, 0.1) 50px,
      rgba(200, 167, 120, 0.1) 51px
    );
  pointer-events: none;
}

.thank-you-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: var(--spacing-xl);
}
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.legal-page {
  max-width: 800px;
  margin: var(--spacing-xl) auto;
  padding: var(--spacing-lg);
  color: #000;
  background-color: #fff;
}

.legal-page h1,
.legal-page h2 {
  color: #000;
  margin-top: var(--spacing-lg);
}

.legal-page p {
  color: #000;
  margin-bottom: var(--spacing-sm);
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 4rem;
    --spacing-xxl: 5rem;
  }
  
  .header-content {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: var(--spacing-sm);
    position: relative;
  }
  
  .menu-toggle {
    display: block;
    order: 2;
    margin-left: auto;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-black-walnut);
    z-index: 1000;
    transition: right var(--transition-base);
    overflow-y: auto;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .menu-close {
    display: block;
  }
  
  .nav {
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md);
  }
  
  .nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav li:last-child {
    border-bottom: none;
  }
  
  .nav a {
    display: block;
    width: 100%;
    padding: var(--spacing-md);
    color: var(--color-linen-white);
    text-align: left;
    font-size: var(--font-size-base);
  }
  
  .nav a:hover {
    color: var(--color-brass);
    background-color: rgba(214, 181, 92, 0.1);
  }
  
  .nav a::after {
    display: none;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  body.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    pointer-events: auto;
  }
  
  .btn-quote {
    width: 100%;
    text-align: center;
    margin-top: var(--spacing-xs);
  }
  
  .hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .workshop-grid {
    grid-template-columns: 1fr;
  }
  
  .slider-grid {
    grid-template-columns: 1fr;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .material-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .material-table {
    font-size: var(--font-size-sm);
    display: block;
    overflow-x: auto;
  }
  
  .filter-group {
    flex-wrap: wrap;
  }
  
  .timeline-steps {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .timeline-track {
    display: none;
  }
  
  .timeline-step::before {
    display: none;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .cta-button {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
  }
  
  .form-group {
    margin-bottom: var(--spacing-sm);
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  h1 { font-size: var(--font-size-3xl); }
  h2 { font-size: var(--font-size-2xl); }
  h3 { font-size: var(--font-size-xl); }
  
  .material-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .swatch {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 320px) {
  :root {
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 2.5rem;
    --font-size-xs: 0.625rem;
    --font-size-sm: 0.75rem;
    --font-size-base: 0.8125rem;
    --font-size-lg: 0.9375rem;
    --font-size-xl: 1.125rem;
    --font-size-2xl: 1.375rem;
    --font-size-3xl: 1.625rem;
    --font-size-4xl: 1.875rem;
    --font-size-5xl: 2.25rem;
  }
  
  .container {
    padding: 0 var(--spacing-xs);
  }
  
  .section {
    padding: var(--spacing-md) 0;
  }
  
  .header {
    padding: var(--spacing-xs) 0;
  }
  
  .header-content {
    padding: 0 var(--spacing-xs);
    flex-direction: row;
    gap: var(--spacing-xs);
  }
  
  .logo {
    font-size: var(--font-size-sm);
    flex: 1;
    min-width: 0;
  }
  
  .menu-toggle {
    font-size: var(--font-size-xl);
    padding: var(--spacing-xs);
  }
  
  .nav-menu {
    width: 85%;
    max-width: 280px;
  }
  
  .menu-close {
    font-size: var(--font-size-xl);
    top: var(--spacing-xs);
    right: var(--spacing-xs);
  }
  
  .nav {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-sm);
  }
  
  .nav a {
    font-size: var(--font-size-sm);
    padding: var(--spacing-sm);
  }
  
  .hero {
    min-height: 60vh;
    padding: var(--spacing-md) 0;
  }
  
  .hero-content {
    padding: var(--spacing-sm);
  }
  
  .hero-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
  }
  
  .material-swatches {
    gap: var(--spacing-xs);
    flex-wrap: wrap;
  }
  
  .swatch {
    width: 40px;
    height: 40px;
  }
  
  h1 { 
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
  }
  h2 { 
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
  }
  h3 { 
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
  }
  h4 { 
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xs);
  }
  
  p {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
  }
  
  .furniture-slider {
    padding: var(--spacing-md) 0;
  }
  
  .slider-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .furniture-card {
    min-height: 200px;
  }
  
  .furniture-overlay {
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .furniture-overlay h3 {
    font-size: var(--font-size-base);
  }
  
  .furniture-overlay p {
    font-size: var(--font-size-xs);
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .philosophy-item {
    padding: var(--spacing-sm);
  }
  
  .philosophy-icon {
    font-size: var(--font-size-2xl);
  }
  
  .material-library {
    padding: var(--spacing-md) 0;
  }
  
  .material-tiles {
    grid-template-columns: 1fr;
    gap: var(--spacing-xs);
  }
  
  .material-tile {
    min-height: 150px;
  }
  
  .material-tile span {
    font-size: var(--font-size-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .timeline {
    padding: var(--spacing-md) 0;
  }
  
  .timeline-steps {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .timeline-step {
    padding-top: var(--spacing-sm);
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
  }
  
  .timeline-icon {
    font-size: var(--font-size-xl);
  }
  
  .categories {
    padding: var(--spacing-md) 0;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .category-card {
    padding: var(--spacing-sm);
  }
  
  .category-card i {
    font-size: var(--font-size-xl) !important;
    margin-bottom: var(--spacing-xs) !important;
  }
  
  .category-card h3 {
    font-size: var(--font-size-base);
  }
  
  .category-card p {
    font-size: var(--font-size-xs);
  }
  
  .cta-section {
    padding: var(--spacing-md) 0;
  }
  
  .cta-content {
    padding: var(--spacing-sm);
  }
  
  .cta-button {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
    width: 100%;
    margin-top: var(--spacing-sm);
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .service-card {
    padding: var(--spacing-sm);
  }
  
  .service-card i {
    font-size: var(--font-size-2xl) !important;
    margin-bottom: var(--spacing-xs) !important;
  }
  
  .workshop-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .workshop-card {
    margin-bottom: var(--spacing-sm);
  }
  
  .workshop-image {
    height: 180px;
  }
  
  .workshop-content {
    padding: var(--spacing-sm);
  }
  
  .workshop-content h4 {
    font-size: var(--font-size-base);
  }
  
  .workshop-content p {
    font-size: var(--font-size-xs);
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .form-group {
    margin-bottom: var(--spacing-sm);
  }
  
  .form-label {
    font-size: var(--font-size-xs);
    margin-bottom: var(--spacing-xs);
  }
  
  .form-input,
  .form-select,
  .form-textarea {
    padding: var(--spacing-xs);
    font-size: var(--font-size-sm);
  }
  
  .form-textarea {
    min-height: 100px;
  }
  
  .form-checkbox {
    gap: var(--spacing-xs);
    font-size: var(--font-size-xs);
  }
  
  .material-table {
    font-size: var(--font-size-xs);
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .material-table th,
  .material-table td {
    padding: var(--spacing-xs);
    font-size: var(--font-size-xs);
  }
  
  .filter-group {
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  .filter-btn {
    width: 100%;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
  }
  
  .footer {
    padding: var(--spacing-md) 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  
  .footer h3 {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xs);
  }
  
  .footer-content > div:first-child h3 {
    font-size: var(--font-size-lg);
  }
  
  .footer p,
  .footer li {
    font-size: var(--font-size-xs);
  }
  
  .footer-bottom {
    font-size: var(--font-size-xs);
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
  }
  
  .thank-you-content,
  .error-404 .thank-you-content {
    padding: var(--spacing-sm);
  }
  
  .thank-you-content i,
  .error-404 .thank-you-content i {
    font-size: var(--font-size-4xl) !important;
  }
  
  .blueprint-bg {
    padding: var(--spacing-sm) 0;
  }
  
  .measurement-line {
    display: none;
  }
}

.text-center { text-align: center; }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.hidden { display: none; }
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

