@import url('https://fonts.googleapis.com/css2?family=Syne:wght@800&family=Montserrat:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --noir-black: #1A1A1C;
  --paper-white: #EEEFF4;
  --ultra-light: #F5F5F7;
  --cyan-ink: #00A6FB;
  --magenta-neon: #FF2D55;
  --yellow-gold: #FFD400;
  --mint-green: #00C48A;
  --cardboard-beige: #E8E2DB;
  --metal-silver: #B7B9C1;
  --spot-gold: #D0A96A;
  --font-heading: 'Syne', sans-serif;
  --font-subheading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --shadow-card: 0 8px 32px rgba(26, 26, 28, 0.12);
  --shadow-elevated: 0 16px 48px rgba(26, 26, 28, 0.2);
  --glass-blur: blur(20px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--noir-black);
  background-color: var(--paper-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
  font-family: var(--font-subheading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
}

p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(26, 26, 28, 0.8);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(238, 239, 244, 0.95);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(26, 26, 28, 0.1);
  padding: var(--spacing-sm) var(--spacing-md);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--noir-black);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--spacing-xs) 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-ink), var(--magenta-neon));
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--noir-black);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cyan-ink) 0%, var(--magenta-neon) 50%, var(--yellow-gold) 100%);
  background-size: 400% 400%;
  animation: cmykGradient 15s ease infinite;
}

@keyframes cmykGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-content {
  text-align: center;
  z-index: 2;
  color: var(--paper-white);
  padding: var(--spacing-xl) var(--spacing-md);
}

.hero h1 {
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 20px rgba(26, 26, 28, 0.3);
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: var(--spacing-lg);
  color: rgba(238, 239, 244, 0.95);
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-subheading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--noir-black);
  color: var(--paper-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 26, 28, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--paper-white);
  border: 2px solid var(--paper-white);
}

.btn-secondary:hover {
  background: var(--paper-white);
  color: var(--noir-black);
}

.floating-cards {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  width: 200px;
  height: 300px;
  background: var(--paper-white);
  border-radius: 8px;
  box-shadow: var(--shadow-elevated);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
}

.floating-card:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 5s;
}

.floating-card:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) rotate(5deg);
  }
  50% {
    transform: translateY(-60px) rotate(-5deg);
  }
  75% {
    transform: translateY(-30px) rotate(3deg);
  }
}

section {
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto;
}

section.full-width {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

section.centered {
  text-align: center;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-ink), var(--magenta-neon));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.service-card {
  background: var(--paper-white);
  border-radius: 12px;
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-ink), var(--magenta-neon), var(--yellow-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}

.service-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--noir-black);
}

.service-card p {
  font-size: 1rem;
  color: rgba(26, 26, 28, 0.7);
}

.finishes-preview {
  background: var(--ultra-light);
  padding: var(--spacing-xl) var(--spacing-md);
  border-radius: 24px;
  margin: var(--spacing-xl) 0;
}

.finish-switcher {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.finish-btn {
  padding: 0.75rem 1.5rem;
  background: var(--paper-white);
  border: 2px solid var(--noir-black);
  font-family: var(--font-subheading);
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.finish-btn.active,
.finish-btn:hover {
  background: var(--noir-black);
  color: var(--paper-white);
}

.finish-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.finish-card {
  background: var(--paper-white);
  border-radius: 12px;
  padding: var(--spacing-md);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.finish-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.finish-card:hover::after {
  animation: glossySweep 1.5s ease;
}

@keyframes glossySweep {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    opacity: 0;
  }
}

.finish-card:hover {
  transform: rotateY(5deg) scale(1.02);
  box-shadow: var(--shadow-elevated);
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-ink), var(--magenta-neon), var(--yellow-gold), var(--mint-green));
  z-index: 0;
}

.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--paper-white);
  padding: var(--spacing-md);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.process-step h4 {
  font-family: var(--font-subheading);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
  color: var(--noir-black);
}

.process-step p {
  font-size: 0.95rem;
  color: rgba(26, 26, 28, 0.7);
}

.portfolio-filters {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 2px solid var(--noir-black);
  font-family: var(--font-subheading);
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--noir-black);
  color: var(--paper-white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--cyan-ink), var(--magenta-neon));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.portfolio-item:hover::before {
  opacity: 0.8;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  background: rgba(26, 26, 28, 0.9);
  color: var(--paper-white);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  z-index: 2;
}

.portfolio-item:hover .portfolio-item-title {
  transform: translateY(0);
}

.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  min-height: 60vh;
}

.split-screen.reverse {
  grid-template-columns: 1fr 1fr;
}

.split-screen.reverse .split-content {
  order: 2;
}

.split-screen.reverse .split-image {
  order: 1;
}

.split-content h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: var(--spacing-md);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.split-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.split-image img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-section {
  background: var(--ultra-light);
  padding: var(--spacing-xl) var(--spacing-md);
  border-radius: 24px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.cmyk-ribbon {
  height: 100%;
  background: linear-gradient(135deg, var(--cyan-ink), var(--magenta-neon), var(--yellow-gold), var(--mint-green));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
}

.cmyk-ribbon h3 {
  color: var(--paper-white);
  text-align: center;
}

.contact-form {
  background: var(--paper-white);
  padding: var(--spacing-lg);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  font-family: var(--font-subheading);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--noir-black);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(26, 26, 28, 0.1);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan-ink);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

footer {
  background: var(--noir-black);
  color: var(--paper-white);
  padding: var(--spacing-xl) var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.footer-section h4 {
  font-family: var(--font-subheading);
  margin-bottom: var(--spacing-md);
  color: var(--paper-white);
}

.footer-section p,
.footer-section a {
  color: rgba(238, 239, 244, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-section a:hover {
  color: var(--paper-white);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  border-top: 1px solid rgba(238, 239, 244, 0.1);
  color: rgba(238, 239, 244, 0.6);
}

.thank-you-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xl);
}

.stamp-effect {
  display: inline-block;
  padding: var(--spacing-lg) var(--spacing-xl);
  border: 4px solid var(--magenta-neon);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--magenta-neon);
  animation: stampPrint 0.8s ease;
  transform-origin: center;
}

@keyframes stampPrint {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.error-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--cardboard-beige);
  position: relative;
  overflow: hidden;
}

.error-404::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(26, 26, 28, 0.03) 10px, rgba(26, 26, 28, 0.03) 20px);
  opacity: 0.5;
}

.error-404 h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.error-404 p {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  position: relative;
  z-index: 1;
}

.legal-page {
  max-width: 800px;
  margin: var(--spacing-xl) auto;
  padding: var(--spacing-xl) var(--spacing-md);
  font-family: var(--font-body);
  line-height: 1.8;
  color: var(--noir-black);
}

.legal-page h1 {
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-md);
}

.legal-page h2 {
  font-family: var(--font-subheading);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  font-size: 1.5rem;
}

.legal-page p {
  margin-bottom: var(--spacing-sm);
}

.comparison-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: var(--spacing-lg) auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.comparison-slider {
  position: relative;
  width: 100%;
  height: 400px;
}

.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--paper-white);
  cursor: ew-resize;
  z-index: 10;
  box-shadow: 0 0 10px rgba(26, 26, 28, 0.3);
}

.comparison-handle::before {
  content: '◄►';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--noir-black);
  color: var(--paper-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .split-screen {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .split-content h2 {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }
  
  .split-image {
    min-height: 300px;
  }
  
  .split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: center;
  }
  
  .cmyk-ribbon {
    width: 100%;
    max-width: 100%;
  }
  
  .contact-form {
    width: 100%;
    max-width: 100%;
  }
  
  .process-timeline {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  section {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .finish-cards {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .finish-switcher {
    flex-wrap: wrap;
    gap: var(--spacing-xs);
  }
  
  .finish-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .comparison-container {
    max-width: 100%;
  }
  
  .comparison-slider {
    height: 300px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    text-align: center;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .hero-content {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  .hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
  }
  
  .hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
  }
  
  .contact-section {
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  .legal-page {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .staggered-grid {
    grid-template-columns: 1fr;
  }
  
  .staggered-item:nth-child(odd) {
    margin-top: 0;
  }
  
  .angle-divider {
    height: 60px;
    margin: var(--spacing-md) 0;
  }
  
  .finishes-preview {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .full-width {
    padding-left: 0;
    padding-right: 0;
  }
  
  .full-width .finish-cards {
    padding: 0 var(--spacing-sm);
  }
  
  h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  
  h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }
  
  h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
  }
  
  p {
    font-size: 1rem;
  }
}

.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.hidden {
  display: none;
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

.grain-overlay {
  position: relative;
}

.grain-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.3;
  mix-blend-mode: overlay;
}

.acrylic-card {
  background: rgba(238, 239, 244, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: var(--spacing-lg);
  box-shadow: 
    0 8px 32px rgba(26, 26, 28, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.acrylic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--cyan-ink) 0%, 
    var(--magenta-neon) 25%, 
    var(--yellow-gold) 50%, 
    var(--mint-green) 75%, 
    var(--cyan-ink) 100%);
  background-size: 200% 100%;
  animation: cmykSlide 3s linear infinite;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.acrylic-card:hover::before {
  transform: scaleX(1);
}

@keyframes cmykSlide {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.acrylic-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 16px 48px rgba(26, 26, 28, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.paper-fold {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.paper-fold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(26, 26, 28, 0.1) 0%, 
    rgba(26, 26, 28, 0.05) 100%);
  transform-origin: left center;
  transform: rotateY(-5deg);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  pointer-events: none;
}

.paper-fold:hover {
  transform: perspective(1000px) rotateY(-2deg);
}

.paper-fold:hover::before {
  transform: rotateY(-15deg);
}

.ink-spread {
  position: relative;
  overflow: hidden;
}

.ink-spread::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, 
    rgba(0, 166, 251, 0.4) 0%, 
    rgba(255, 45, 85, 0.3) 30%,
    transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.8s ease-out, height 0.8s ease-out, opacity 0.8s ease-out;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.ink-spread:hover::after {
  width: 400px;
  height: 400px;
  opacity: 1;
}

.cmyk-bars {
  display: flex;
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
}

.cmyk-bar {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.cmyk-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  animation: slideBar 2s infinite;
}

.cmyk-bar.cyan { background: var(--cyan-ink); }
.cmyk-bar.magenta { background: var(--magenta-neon); }
.cmyk-bar.yellow { background: var(--yellow-gold); }
.cmyk-bar.key { background: var(--noir-black); }

@keyframes slideBar {
  0% { left: -100%; }
  100% { left: 100%; }
}

.embossed {
  position: relative;
}

.embossed::before {
  content: attr(data-text);
  position: absolute;
  top: 2px;
  left: 2px;
  color: rgba(255, 255, 255, 0.3);
  z-index: -1;
}

.embossed::after {
  content: attr(data-text);
  position: absolute;
  bottom: -2px;
  right: -2px;
  color: rgba(26, 26, 28, 0.2);
  z-index: -1;
}

.staggered-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  grid-auto-rows: auto;
}

.staggered-item:nth-child(odd) {
  margin-top: var(--spacing-lg);
}

.angle-divider {
  position: relative;
  height: 100px;
  overflow: hidden;
  margin: var(--spacing-xl) 0;
}

.angle-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    var(--cyan-ink) 0%, 
    var(--magenta-neon) 50%, 
    var(--yellow-gold) 100%);
  transform: skewY(-2deg);
  transform-origin: top left;
}

@media (max-width: 768px) {
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(238, 239, 244, 0.98);
    backdrop-filter: blur(20px);
    padding: var(--spacing-md);
    box-shadow: 0 8px 32px rgba(26, 26, 28, 0.1);
    border-top: 1px solid rgba(26, 26, 28, 0.1);
    z-index: 999;
  }
  
  .nav-links.active li {
    margin: var(--spacing-xs) 0;
  }
  
  .nav-links.active a {
    display: block;
    padding: var(--spacing-sm);
    border-bottom: 1px solid rgba(26, 26, 28, 0.05);
  }
  
  .portfolio-filters {
    flex-wrap: wrap;
    gap: var(--spacing-xs);
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .cmyk-bars {
    height: 6px;
  }
  
  .service-card img {
    height: 200px;
  }
  
  .finish-card {
    padding: var(--spacing-md);
  }
  
  .contact-wrapper {
    gap: var(--spacing-md);
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 0.95rem;
  }
}

@media (max-width: 320px) {
  html {
    font-size: 14px;
  }
  
  body {
    font-size: 0.875rem;
  }
  
  header {
    padding: var(--spacing-xs) var(--spacing-sm);
  }
  
  .logo {
    font-size:0.9rem;
  }
  
  .mobile-menu-toggle {
    font-size: 1.25rem;
  }
  
  .nav-links.active {
    padding: var(--spacing-sm);
  }
  
  .nav-links.active a {
    padding: var(--spacing-xs);
    font-size: 0.875rem;
  }
  
  section {
    padding: var(--spacing-sm) var(--spacing-xs);
  }
  
  .section-title {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    margin-bottom: var(--spacing-sm);
    padding: 0 var(--spacing-xs);
  }
  
  .section-title::after {
    width: 60px;
    height: 3px;
  }
  
  h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  
  h2 {
    font-size: clamp(1.25rem, 5vw, 2rem);
  }
  
  h3 {
    font-size: clamp(1rem, 4vw, 1.5rem);
  }
  
  h4 {
    font-size: clamp(0.875rem, 3vw, 1.25rem);
  }
  
  p {
    font-size: 0.875rem;
    line-height: 1.6;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .hero-content {
    padding: var(--spacing-md) var(--spacing-xs);
  }
  
  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 3rem);
    margin-bottom: var(--spacing-sm);
  }
  
  .hero p {
    font-size: clamp(0.875rem, 3vw, 1.125rem);
    margin-bottom: var(--spacing-md);
  }
  
  .hero-cta {
    gap: var(--spacing-xs);
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)) !important;
    gap: var(--spacing-sm);
  }
  
  .service-card {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .service-card img {
    height: 150px;
    margin-bottom: var(--spacing-sm);
  }
  
  .finish-cards {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: var(--spacing-sm);
  }
  
  .finish-card {
    padding: var(--spacing-sm);
  }
  
  .finish-switcher {
    gap: 0.25rem;
    padding: 0 var(--spacing-xs);
  }
  
  .finish-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: var(--spacing-sm);
  }
  
  .staggered-grid {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  }
  
  section[style*="background: var(--ultra-light)"] {
    padding: var(--spacing-md) var(--spacing-sm) !important;
    margin: var(--spacing-md) auto !important;
    border-radius: 16px !important;
  }
  
  section[style*="background: var(--ultra-light)"] .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(295px, 1fr)) !important;
    gap: var(--spacing-sm) !important;
    margin-top: var(--spacing-md) !important;
  }
  
  section[style*="background: var(--ultra-light)"] .service-card img {
    height: 150px !important;
    margin-bottom: var(--spacing-sm) !important;
  }
  
  section[style*="background: var(--ultra-light)"] .service-card {
    padding: var(--spacing-md) var(--spacing-sm) !important;
  }
  
  section[style*="background: var(--ultra-light)"] .service-card h3 {
    font-size: clamp(1rem, 4vw, 1.5rem) !important;
    margin-bottom: var(--spacing-xs) !important;
  }
  
  section[style*="background: var(--ultra-light)"] .service-card p {
    font-size: 0.875rem !important;
    line-height: 1.6 !important;
  }
  
  .portfolio-item {
    min-height: 200px;
  }
  
  .portfolio-filters {
    gap: 0.25rem;
    padding: 0 var(--spacing-xs);
  }
  
  .filter-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .comparison-container {
    margin: var(--spacing-sm) 0;
  }
  
  .comparison-slider {
    height: 250px;
  }
  
  .comparison-handle {
    width: 3px;
  }
  
  .comparison-handle::before {
    width: 30px;
    height: 30px;
    font-size: 0.625rem;
  }
  
  .split-screen {
    gap: var(--spacing-sm);
  }
  
  .split-image {
    min-height: 250px;
  }
  
  .split-content h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: var(--spacing-sm);
  }
  
  .process-timeline {
    gap: var(--spacing-sm);
  }
  
  .process-step {
    padding: var(--spacing-sm);
    min-width: auto;
  }
  
  .process-step h4 {
    font-size: 1rem;
  }
  
  .process-step p {
    font-size: 0.8125rem;
  }
  
  .cmyk-bars {
    height: 4px;
    margin: var(--spacing-sm) auto;
  }
  
  .contact-section {
    padding: var(--spacing-md) var(--spacing-xs);
  }
  
  .contact-wrapper {
    max-width: 100%;
    margin: var(--spacing-md) auto;
  }
  
  .cmyk-ribbon {
    padding: var(--spacing-md) var(--spacing-sm);
    max-width: 100%;
    margin-bottom: var(--spacing-md);
  }
  
  .cmyk-ribbon h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .cmyk-ribbon p {
    font-size: 0.875rem;
  }
  
  .contact-form {
    padding: var(--spacing-md) var(--spacing-sm);
    max-width: 100%;
  }
  
  .contact-form h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .form-group {
    margin-bottom: var(--spacing-sm);
  }
  
  .form-group label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.625rem;
    font-size: 0.875rem;
  }
  
  .form-group textarea {
    min-height: 100px;
  }
  
  .footer-content {
    padding: var(--spacing-md) var(--spacing-sm);
    gap: var(--spacing-sm);
  }
  
  .footer-section h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .footer-section p,
  .footer-section a {
    font-size: 0.8125rem;
  }
  
  .footer-bottom {
    padding-top: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    font-size: 0.75rem;
  }
  
  .legal-page {
    padding: var(--spacing-sm) var(--spacing-xs);
  }
  
  .legal-page h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: var(--spacing-sm);
  }
  
  .legal-page h2 {
    font-size: 1.125rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
  }
  
  .legal-page p {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
  }
  
  .legal-page ul,
  .legal-page ol {
    padding-left: var(--spacing-md);
    font-size: 0.875rem;
  }
  
  .angle-divider {
    height: 40px;
    margin: var(--spacing-sm) 0;
  }
  
  .finishes-preview {
    padding: var(--spacing-md) var(--spacing-xs);
  }
  
  .full-width {
    padding-left: 0;
    padding-right: 0;
  }
  
  .full-width .finish-cards {
    padding: 0 var(--spacing-xs);
  }
  
  .stamp-effect {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    border-width: 3px;
  }
  
  .error-404 h1 {
    font-size: clamp(3rem, 12vw, 6rem);
  }
  
  .error-404 p {
    font-size: clamp(1rem, 4vw, 1.5rem);
  }
  
  .text-center {
    padding: 0 var(--spacing-xs);
  }
  
  .thank-you-section {
    padding: var(--spacing-md) var(--spacing-xs);
  }
  
  .thank-you-section h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  
  .thank-you-section p {
    font-size: 0.875rem;
    padding: 0 var(--spacing-xs);
  }
}

.print-texture {
  position: relative;
}

.print-texture::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(0deg, 
      transparent, 
      transparent 2px, 
      rgba(26, 26, 28, 0.02) 2px, 
      rgba(26, 26, 28, 0.02) 4px),
    repeating-linear-gradient(90deg, 
      transparent, 
      transparent 2px, 
      rgba(26, 26, 28, 0.02) 2px, 
      rgba(26, 26, 28, 0.02) 4px);
  pointer-events: none;
  opacity: 0.5;
}

.elevation-stack {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  perspective: 1000px;
}

.elevation-card {
  background: var(--paper-white);
  border-radius: 12px;
  padding: var(--spacing-lg);
  box-shadow: 
    0 4px 16px rgba(26, 26, 28, 0.08),
    0 8px 32px rgba(26, 26, 28, 0.04);
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.elevation-card:nth-child(1) {
  transform: translateZ(0px) translateY(0px);
  z-index: 3;
}

.elevation-card:nth-child(2) {
  transform: translateZ(-20px) translateY(10px);
  z-index: 2;
  opacity: 0.9;
}

.elevation-card:nth-child(3) {
  transform: translateZ(-40px) translateY(20px);
  z-index: 1;
  opacity: 0.8;
}

.elevation-card:hover {
  transform: translateZ(40px) translateY(-10px) scale(1.02);
  box-shadow: 
    0 16px 48px rgba(26, 26, 28, 0.2),
    0 32px 64px rgba(26, 26, 28, 0.1);
  z-index: 10;
}

.swipe-finish {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: grab;
}

.swipe-finish:active {
  cursor: grabbing;
}

.swipe-finish-track {
  display: flex;
  transition: transform 0.3s ease;
}

.swipe-finish-item {
  min-width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--paper-white);
}

.portfolio-item {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item.filtering {
  opacity: 0;
  transform: scale(0.8);
}

.portfolio-item.filtering.show {
  opacity: 1;
  transform: scale(1);
  animation: portfolioReveal 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes portfolioReveal {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


