/* ============================================================
   PRO MEDIA SIGNS — Main Stylesheet
   ============================================================ */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Brand Colors — monochrome */
  --color-primary: #e0e0e0;
  --color-primary-dark: #b0b0b0;
  --color-primary-light: #f0f0f0;
  --color-secondary: #111111;
  --color-secondary-light: #1a1a1a;
  --color-accent: #9e9e9e;
  --color-accent-dark: #757575;

  /* Hero palette — monochrome */
  --hero-bg: #0b0b0b;
  --hero-surface: #141414;
  --hero-border: rgba(255,255,255,0.08);
  --hero-text-primary: #f5f5f5;
  --hero-text-muted: rgba(255,255,255,0.38);
  --hero-text-subtle: rgba(255,255,255,0.2);

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-off-white: #FAFBFC;
  --color-gray-50: #F8F9FA;
  --color-gray-100: #F1F3F5;
  --color-gray-200: #E9ECEF;
  --color-gray-300: #DEE2E6;
  --color-gray-400: #CED4DA;
  --color-gray-500: #ADB5BD;
  --color-gray-600: #868E96;
  --color-gray-700: #495057;
  --color-gray-800: #343A40;
  --color-gray-900: #212529;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #3a3a3a 0%, #5a5a5a 50%, #888888 100%);
  --gradient-hero: linear-gradient(160deg, #0b0b0b 0%, #111111 100%);
  --gradient-dark: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  --gradient-glow: linear-gradient(135deg, #555555 0%, #aaaaaa 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06));

  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes (fluid) */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --fs-sm: clamp(0.8125rem, 0.75rem + 0.3125vw, 0.9375rem);
  --fs-base: clamp(0.9375rem, 0.875rem + 0.3125vw, 1.0625rem);
  --fs-md: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  --fs-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.75rem);
  --fs-3xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
  --fs-hero: clamp(2.5rem, 1.75rem + 3.75vw, 4.5rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 10rem;
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 5px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.08), 0 10px 20px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 30px rgba(255,255,255,0.08);
  --shadow-glow-accent: 0 0 30px rgba(255,255,255,0.06);

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 200ms var(--ease-out);
  --transition-base: 350ms var(--ease-out);
  --transition-slow: 500ms var(--ease-out);

  /* Z-index scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* Header height */
  --header-height: 168px;
  --header-height-compact: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gray-900);
}

::selection {
  background-color: #444444;
  color: #ffffff;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: #333333;
  color: #ffffff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: var(--z-toast);
  font-weight: 600;
}
.skip-link:focus {
  top: var(--space-md);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-section) 0;
}

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gray-600);
  background: var(--color-gray-100);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-gray-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(11,11,11,0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
  background: rgba(11,11,11,0.96);
  border-bottom-color: rgba(255,255,255,0.09);
  box-shadow: 0 1px 24px rgba(0,0,0,0.5);
}

.navbar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.site-header.scrolled .navbar {
  height: var(--header-height-compact);
}

.nav-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-2xl);
}

.nav-logo {
  width: 260px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: var(--z-sticky);
  transition: opacity var(--transition-fast);
}
.nav-logo:hover {
  opacity: 0.75;
}
.nav-logo-img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 120px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 1;
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* Scrolled state: hide logo image, show text */
.site-header.scrolled .nav-logo-img {
  opacity: 0;
  transform: translateY(-50%) scale(0.85);
  pointer-events: none;
}
.site-header.scrolled .nav-logo-text {
  opacity: 1;
  transform: translateX(0);
}

.nav-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
}

.nav-link {
  display: block;
  padding: 0.45rem 1.1rem;
  font-size: 0.775rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border-radius: 0;
  position: relative;
  transition: color var(--transition-fast);
}
.nav-link:hover {
  color: rgba(255,255,255,0.95);
}
/* Thin vertical dividers between items */
.nav-link + .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.nav-link--etsy {
  background: transparent;
  color: rgba(255,255,255,0.75) !important;
  font-weight: 500;
  padding: 0.45rem 1.25rem 0.45rem 1.1rem;
  border-radius: 0;
  margin-left: 0;
  letter-spacing: 0.07em;
  transition: color var(--transition-fast);
}
.nav-link--etsy:hover {
  background: transparent !important;
  color: #ffffff !important;
  transform: none;
  box-shadow: none;
}

.nav-cta-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

/* Shared base for both nav CTA buttons */
.nav-cta-contact,
.nav-cta-etsy {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
.nav-cta-contact::before,
.nav-cta-etsy::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.38s var(--ease-out);
  z-index: -1;
}
.nav-cta-contact:hover::before,
.nav-cta-etsy:hover::before {
  transform: scaleX(1);
}

/* Contact — dark filled */
.nav-cta-contact {
  background: #ffffff;
  color: #0b0b0b;
  border: 1px solid #ffffff;
}
.nav-cta-contact::before {
  background: #0b0b0b;
}
.nav-cta-contact:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.6);
}

/* Etsy — light outlined */
.nav-cta-etsy {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.5);
}
.nav-cta-etsy::before {
  background: #ffffff;
}
.nav-cta-etsy:hover {
  color: #0b0b0b;
  border-color: rgba(255,255,255,0.5);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  z-index: var(--z-sticky);
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,0.8);
  border-radius: 0;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}
.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: calc(var(--z-dropdown) - 1);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-overlay.active {
  opacity: 1;
}
@media (max-width: 768px) {
  .nav-overlay {
    display: block;
    pointer-events: none;
  }
  .nav-overlay.active {
    pointer-events: auto;
  }
  .site-header.scrolled .nav-overlay {
    top: var(--header-height-compact);
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background: var(--hero-bg);
  opacity: 1;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    /* Very faint grid lines */
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-gradient::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to top, var(--color-gray-50) 0%, transparent 100%);
}

.hero-particles {
  display: none;
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  text-align: center;
  padding: var(--space-3xl) var(--space-xl) var(--space-4xl);
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.4rem 1.1rem;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: var(--space-3xl);
}
.badge-flag-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-shadow: none;
  margin-bottom: var(--space-2xl);
}

.gradient-text {
  display: block;
  font-size: clamp(1.75rem, 1.4rem + 1.75vw, 2.75rem);
  font-weight: 200;
  font-style: italic;
  letter-spacing: -0.01em;
  margin-top: var(--space-lg);
  color: rgba(255,255,255,0.45);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: rgba(255,255,255,0.45);
  animation: none;
}

.hero-subtitle {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-lg);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  margin: 0 auto 50px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.55rem 1.4rem;
}
.hero-location svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.82);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-5xl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: 0;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Sweep fill layer — expands from center outward */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.38s var(--ease-out);
  z-index: -1;
}
.btn:hover::before {
  transform: scaleX(1);
}

/* Ensure text + icon stay above sweep */
.btn span,
.btn svg {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: #ffffff;
  color: #0b0b0b;
  border: 1px solid #ffffff;
  box-shadow: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 1rem 2.25rem;
  min-width: 200px;
  justify-content: center;
}
.btn-primary::before {
  background: #0b0b0b;
}
.btn-primary:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 1rem 2.25rem;
  text-transform: uppercase;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  min-width: 200px;
  justify-content: center;
}
.btn-secondary::before {
  background: #ffffff;
}
.btn-secondary:hover {
  color: #0b0b0b;
  border-color: rgba(255,255,255,0.35);
}

.btn-glow::after {
  display: none;
}

.btn-icon {
  transition: transform var(--transition-fast);
}
.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Hero Scroll Indicator — removed */

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products {
  background: var(--color-gray-50);
  position: relative;
}

.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gray-200), transparent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.product-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  cursor: default;
}

/* Scan sweep line — sweeps top to bottom on hover */
.product-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -4px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.9) 40%, rgba(255,255,255,0.9) 60%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.product-card:hover {
  border-color: var(--color-gray-400);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.product-card:hover::after {
  animation: cardScan 0.55s var(--ease-out) forwards;
  opacity: 1;
}

.product-card-inner {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Corner brackets — top-left and bottom-right */
.product-card-inner::before,
.product-card-inner::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  opacity: 0;
  transition: opacity var(--transition-base), transform var(--transition-base);
  pointer-events: none;
  z-index: 2;
}
.product-card-inner::before {
  top: 10px;
  left: 10px;
  border-top: 1.5px solid var(--color-gray-800);
  border-left: 1.5px solid var(--color-gray-800);
  transform: translate(-4px, -4px);
}
.product-card-inner::after {
  bottom: 10px;
  right: 10px;
  border-bottom: 1.5px solid var(--color-gray-800);
  border-right: 1.5px solid var(--color-gray-800);
  transform: translate(4px, 4px);
}
.product-card:hover .product-card-inner::before,
.product-card:hover .product-card-inner::after {
  opacity: 1;
  transform: translate(0, 0);
}

.product-card-glow {
  display: none;
}

.product-card::before {
  display: none;
}

.product-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-100);
  border-radius: 0;
  margin-bottom: var(--space-lg);
  color: var(--color-gray-600);
  transition: background var(--transition-base), color var(--transition-base);
}
.product-card:hover .product-icon {
  background: var(--color-gray-900);
  color: var(--color-white);
}
.product-card:hover .product-icon svg {
  animation: iconSpin 0.5s var(--ease-spring) forwards;
}

.product-title {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  transition: transform var(--transition-base);
}
.product-card:hover .product-title {
  transform: translateX(4px);
}

.product-desc {
  font-size: var(--fs-sm);
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-gray-500);
  transition: color var(--transition-fast), gap var(--transition-fast);
}
.product-card:hover .product-link {
  color: var(--color-gray-900);
  gap: var(--space-md);
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-us {
  position: relative;
  background: var(--color-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

/* Stagger the fill sweep speed per card */
.why-card:nth-child(1)::before { transition-duration: 0.38s; }
.why-card:nth-child(2)::before { transition-duration: 0.45s; }
.why-card:nth-child(3)::before { transition-duration: 0.32s; }

.why-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  border-radius: 0;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  isolation: isolate;
}

/* Dark fill that sweeps from bottom on hover */
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-gray-900);
  transform: translateY(100%);
  transition: transform 0.45s var(--ease-out);
  z-index: 0;
  will-change: transform;
}
.why-card:hover::before {
  transform: translateY(0);
}
.why-card:hover {
  border-color: var(--color-gray-800);
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}

/* Ensure all children sit above the fill layer */
.why-card > * {
  position: relative;
  z-index: 1;
}

.why-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.why-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-100);
  border-radius: 50%;
  color: var(--color-gray-800);
  position: relative;
  z-index: 1;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.why-card:hover .why-icon {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  transform: scale(1.08);
}

.why-icon-ring {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 1px dashed rgba(0,0,0,0.12);
  border-radius: 50%;
  animation: spin-slow 20s linear infinite;
  transition: border-color 0.4s var(--ease-out), border-style 0.4s;
}
.why-card:hover .why-icon-ring {
  border-color: rgba(255,255,255,0.2);
  border-style: solid;
  animation-duration: 4s;
}

.why-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
  transition: color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.why-card:hover h3 {
  color: var(--color-white);
  transform: translateY(-3px);
}

.why-card p {
  font-size: var(--fs-sm);
  color: var(--color-gray-600);
  line-height: 1.7;
  transition: color 0.35s var(--ease-out);
}
.why-card:hover p {
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery {
  background: var(--color-gray-50);
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.gallery-item {
  cursor: pointer;
}

.gallery-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.gallery-item:hover .gallery-img-wrapper {
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  color: var(--color-white);
  transition: transform var(--transition-base);
}
.gallery-item:hover .gallery-zoom-icon {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: var(--space-lg);
  color: var(--color-white);
  font-weight: 600;
  font-size: var(--fs-sm);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}
.lightbox[hidden] {
  display: flex;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox.active[hidden] {
  display: flex;
}

.lightbox-content {
  max-width: 85vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform var(--transition-base);
}

.lightbox-caption {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-sm);
  margin-top: var(--space-lg);
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background var(--transition-fast);
  cursor: pointer;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-close {
  top: var(--space-xl);
  right: var(--space-xl);
}
.lightbox-prev {
  left: var(--space-xl);
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: var(--space-xl);
  top: 50%;
  transform: translateY(-50%);
}

/* ============================================================
   PROCESS / HOW IT WORKS
   ============================================================ */
.process {
  background: var(--color-white);
  position: relative;
}

.process-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.process-line {
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-gray-200);
  border-radius: var(--radius-full);
}

.process-line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, #333333, #aaaaaa);
  border-radius: inherit;
  transition: height 0.8s var(--ease-out);
}

.process-step {
  display: flex;
  gap: var(--space-xl);
  padding: var(--space-xl) var(--space-lg) var(--space-xl) 0;
  position: relative;
  border-radius: 0;
  isolation: isolate;
}

.step-number {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--color-white);
  background: var(--color-gray-900);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
  transition: transform 0.15s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

/* Stamp bounce: squash down, then snap back */
.process-step:hover .step-number {
  animation: stampPress 0.45s var(--ease-out) forwards;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Ripple ring that expands out from the number */
.step-number::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--color-gray-900);
  opacity: 0;
  transform: scale(1);
  pointer-events: none;
}
.process-step:hover .step-number::after {
  animation: stampRipple 0.55s var(--ease-out) forwards;
}

.step-content {
  padding-top: var(--space-md);
  flex: 1;
  transition: transform 0.35s var(--ease-out);
}
.process-step:hover .step-content {
  transform: translateX(6px);
}

.step-content h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
  position: relative;
  display: inline-block;
}

/* Underline that draws across the heading */
.step-content h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 1.5px;
  width: 0;
  background: var(--color-gray-900);
  transition: width 0.35s 0.1s var(--ease-out);
}
.process-step:hover .step-content h3::after {
  width: 100%;
}

.step-content p {
  font-size: var(--fs-sm);
  color: var(--color-gray-600);
  line-height: 1.7;
}

/* ============================================================
   QUOTE / CONTACT FORM
   ============================================================ */
.quote {
  background: var(--color-white);
  position: relative;
}

.quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gray-200), transparent);
}

.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.quote-info {
  padding-top: var(--space-xl);
}

.quote-info .section-title {
  text-align: left;
}

.quote-info p {
  font-size: var(--fs-md);
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.quote-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.quote-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-gray-700);
}
.quote-feature svg {
  flex-shrink: 0;
  color: var(--color-gray-500);
}

/* Form */
.quote-form-container {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: var(--space-xs);
}

.form-input {
  width: 100%;
  padding: 0.875rem var(--space-md);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--color-gray-800);
  background: var(--color-gray-50);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gray-600);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.07);
  background: var(--color-white);
}

.form-input.error {
  border-color: var(--color-gray-700);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.form-input.success {
  border-color: var(--color-gray-400);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23868E96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.form-error {
  display: block;
  font-size: var(--fs-xs);
  color: var(--color-gray-700);
  margin-top: var(--space-xs);
  min-height: 1.2em;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: var(--fs-base);
  background: var(--color-gray-900);
  color: var(--color-white);
  border: 1px solid var(--color-gray-900);
  cursor: pointer;
}
.btn-submit::before {
  background: #ffffff;
}
.btn-submit:hover {
  color: #0b0b0b;
  border-color: var(--color-gray-900);
}
.btn-submit:active {
  transform: translateY(0);
}

.btn-loading .spinner {
  animation: spin 1s linear infinite;
}

.form-status {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.form-status.success {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
  border: 1px solid var(--color-gray-300);
}
.form-status.error {
  background: var(--color-gray-100);
  color: var(--color-gray-800);
  border: 1px solid var(--color-gray-300);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0d0d0d;
  color: rgba(255,255,255,0.55);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-logo {
  height: 120px;
  width: auto;
  margin-bottom: var(--space-xl);
  display: block;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 300px;
}

.site-footer .footer-heading {
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.site-footer ul a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.site-footer ul a:hover {
  color: rgba(255,255,255,0.9);
  padding-left: var(--space-xs);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: var(--fs-xs);
}

.footer-maple-leaf {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-left: 2px;
}

.footer-credit {
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222222;
  color: var(--color-white);
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-sticky);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base), background var(--transition-fast);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #333333;
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }

  .nav-container {
    justify-content: space-between;
  }

  .nav-cta-wrapper {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-sm) 0 var(--space-md);
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    gap: 0;
    z-index: var(--z-dropdown);
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Adjust dropdown top when header is compact */
  .site-header.scrolled .nav-menu {
    top: var(--header-height-compact);
  }

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

  .nav-link {
    width: 100%;
    font-size: 0.85rem;
    padding: var(--space-md) var(--space-xl);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-radius: 0;
    display: block;
  }
  .nav-logo-img {
    height: 60px;
  }

  .nav-link + .nav-link::before {
    display: none;
  }

  .nav-link--etsy {
    margin-left: 0;
    margin-top: var(--space-sm);
    text-align: center;
    justify-content: center;
    width: 100%;
    display: flex;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .why-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .quote-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .quote-info {
    text-align: center;
  }
  .quote-info .section-title {
    text-align: center;
  }
  .quote-features {
    align-items: center;
  }

  .process-line {
    left: 35px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand p,
  .footer-brand .footer-logo {
    max-width: none;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-brand .footer-logo {
    margin-bottom: var(--space-xl);
  }
  .site-footer ul a {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-location {
    font-size: 0.65rem;
    padding: 0.45rem 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  .lightbox-prev {
    left: var(--space-sm);
  }
  .lightbox-next {
    right: var(--space-sm);
  }
  .lightbox-close {
    top: var(--space-md);
    right: var(--space-md);
  }

  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .process-line {
    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;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .hero-particles,
  .back-to-top,
  .nav-toggle,
  .lightbox {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
  .hero {
    min-height: auto;
    padding: 2rem;
  }
  .hero-gradient {
    opacity: 0.3;
  }
}
