/* ============================================
   WHITETAIL STUDIOS — Design System
   Aesthetic: Refined Craftsman Minimal
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors */
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --warm-grey: #F5F3F0;
  --light-border: #E8E4DF;
  --muted-tan: #C4A882;
  --tan-hover: #B09570;
  --body-text: #4A4A4A;
  --heading-text: #1A1A1A;
  --charcoal: #2C2C2C;
  --deep-black: #111111;

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--body-text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--heading-text);
  font-weight: 500;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

h4 {
  font-size: 1.125rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-tan);
}

p {
  max-width: 65ch;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-tan);
  margin-bottom: var(--space-sm);
}

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

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

.section--alt {
  background: var(--warm-grey);
}

.section--dark {
  background: var(--deep-black);
  color: var(--off-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark .eyebrow {
  color: var(--muted-tan);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--charcoal);
  color: var(--white);
  border: 2px solid var(--charcoal);
}

.btn--primary:hover {
  background: var(--muted-tan);
  border-color: var(--muted-tan);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}

.btn--outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--charcoal);
  border: 2px solid var(--white);
}

.btn--white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
}

.btn--tan {
  background: var(--muted-tan);
  color: var(--white);
  border: 2px solid var(--muted-tan);
}

.btn--tan:hover {
  background: var(--tan-hover);
  border-color: var(--tan-hover);
  transform: translateY(-2px);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease-out);
}

.header.scrolled {
  border-bottom-color: var(--light-border);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.header__logo img {
  height: 50px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header__nav a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--body-text);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--muted-tan);
  transition: width 0.4s var(--ease-out);
}

.header__nav a:hover {
  color: var(--heading-text);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__nav a.active {
  color: var(--heading-text);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--heading-text);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1000px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero--short {
  height: 60vh;
  min-height: 400px;
  max-height: 700px;
}

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

.hero__image img,
.hero__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 17, 17, 0.7) 0%,
    rgba(17, 17, 17, 0.3) 50%,
    rgba(17, 17, 17, 0.1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 650px;
}

.hero__content h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero__content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  animation: float 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* --- Product Cards --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.product-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.5s var(--ease-out);
}

.product-card:hover {
  border-color: var(--muted-tan);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.product-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s ease;
}

.product-card:hover .product-card__overlay {
  background: rgba(17, 17, 17, 0.15);
}

.product-card__overlay span {
  padding: 0.75rem 1.5rem;
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease-out);
}

.product-card:hover .product-card__overlay span {
  opacity: 1;
  transform: translateY(0);
}

.product-card__info {
  padding: 1.5rem;
}

.product-card__category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-tan);
  margin-bottom: 0.5rem;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--heading-text);
  margin-bottom: 0.5rem;
}

.product-card__price {
  font-size: 0.9rem;
  color: var(--body-text);
}

.product-card__price span {
  font-weight: 700;
  color: var(--heading-text);
}

/* --- Process Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.process-step {
  padding: var(--space-md);
}

.process-step__number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--muted-tan);
  line-height: 1;
  margin-bottom: var(--space-sm);
  opacity: 0.5;
}

.process-step__image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.process-step__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-step h3 {
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.95rem;
  margin: 0 auto;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.gallery-grid--uniform {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-grid--uniform .gallery-item {
  aspect-ratio: 4/3;
}

.gallery-grid--masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: var(--space-xs);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

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

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

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(17, 17, 17, 0.3);
}

.gallery-item__overlay svg {
  width: 36px;
  height: 36px;
  color: white;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s var(--ease-out);
}

.gallery-item:hover .gallery-item__overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  font-size: 1.5rem;
  transition: opacity 0.3s ease;
}

.lightbox__close:hover {
  opacity: 0.7;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  transform: scale(0.95);
  transition: transform 0.4s var(--ease-out);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  font-size: 1.5rem;
  transition: opacity 0.3s ease;
}

.lightbox__nav:hover {
  opacity: 0.7;
}

.lightbox__nav--prev { left: 2rem; }
.lightbox__nav--next { right: 2rem; }

/* --- Carousel --- */
.carousel {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 2px;
}

.carousel__track {
  display: flex;
  gap: 1rem;
  transition: transform 0.6s var(--ease-out);
}

.carousel__item {
  flex: 0 0 calc(33.333% - 0.667rem);
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.carousel__item:hover img {
  transform: scale(1.05);
}

.carousel__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.carousel__nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: var(--space-md);
}

.carousel__btn {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--charcoal);
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.25rem;
}

.carousel__btn:hover {
  background: var(--charcoal);
  color: var(--white);
}

.carousel__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel__btn:disabled:hover {
  background: var(--white);
  color: var(--charcoal);
}

.carousel__counter {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--body-text);
}

@media (max-width: 768px) {
  .carousel__item {
    flex: 0 0 calc(100% - 0rem);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .carousel__item {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

/* --- Testimonials --- */
.testimonial-slider {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--heading-text);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.testimonial__quote::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 0;
  vertical-align: -0.5em;
  color: var(--muted-tan);
  margin-right: 0.25rem;
}

.testimonial__author {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-tan);
}

/* --- Newsletter --- */
.newsletter {
  text-align: center;
}

.newsletter__form {
  display: flex;
  max-width: 500px;
  margin: var(--space-md) auto 0;
  border: 2px solid var(--charcoal);
}

.newsletter__form input {
  flex: 1;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  background: var(--white);
}

.newsletter__form input::placeholder {
  color: #999;
}

.newsletter__form button {
  padding: 1rem 2rem;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter__form button:hover {
  background: var(--muted-tan);
}

/* Dark variant */
.section--dark .newsletter__form {
  border-color: rgba(255, 255, 255, 0.3);
}

.section--dark .newsletter__form input {
  background: transparent;
  color: var(--white);
}

.section--dark .newsletter__form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.section--dark .newsletter__form button {
  background: var(--muted-tan);
}

/* --- Quote / Contact Form --- */
.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--light-border);
  background: var(--white);
  color: var(--heading-text);
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--muted-tan);
}

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

/* --- Filter Bar --- */
.filter-bar {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  justify-content: center;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--body-text);
  border: 1.5px solid var(--light-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

/* --- Product Detail --- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.product-gallery__main {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__thumbs {
  display: flex;
  gap: 0.5rem;
}

.product-gallery__thumb {
  width: 80px;
  height: 60px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.active {
  border-color: var(--muted-tan);
  opacity: 1;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  margin-bottom: 0.5rem;
}

.product-info__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--heading-text);
  margin-bottom: var(--space-md);
}

.product-info__desc {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.product-info__specs {
  margin-bottom: var(--space-md);
  border-top: 1px solid var(--light-border);
}

.product-info__spec {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light-border);
  font-size: 0.9rem;
}

.product-info__spec-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--body-text);
}

.product-info__spec-value {
  color: var(--heading-text);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-header p {
  margin: var(--space-sm) auto 0;
  color: var(--body-text);
  font-size: 1.05rem;
}

/* --- Divider Line --- */
.divider {
  width: 60px;
  height: 1.5px;
  background: var(--muted-tan);
  margin: var(--space-sm) auto;
}

.divider--left {
  margin-left: 0;
}

/* --- Footer --- */
.footer {
  background: var(--deep-black);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-xl) 0 var(--space-md);
}

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

.footer__brand img {
  height: 45px;
  margin-bottom: var(--space-sm);
  filter: brightness(0) invert(1);
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}

.footer__links a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--muted-tan);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.footer__social a:hover {
  border-color: var(--muted-tan);
  color: var(--muted-tan);
}

/* --- About Page Content --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-content--reverse {
  direction: rtl;
}

.about-content--reverse > * {
  direction: ltr;
}

.about-content__image {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-content__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content__text h2 {
  margin-bottom: var(--space-sm);
}

.about-content__text p {
  margin-bottom: var(--space-sm);
}

/* --- Contact Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-info__item {
  margin-bottom: var(--space-md);
}

.contact-info__item h4 {
  margin-bottom: 0.5rem;
}

.contact-info__item p {
  font-size: 0.95rem;
}

/* --- Page Top Padding (for fixed header) --- */
.page-top {
  padding-top: var(--header-height);
}

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

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .about-content--reverse {
    direction: ltr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 5rem;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.4s var(--ease-out);
  }

  .header__nav.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .gallery-grid,
  .gallery-grid--masonry {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .gallery-item--tall {
    grid-row: span 1;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .hero {
    min-height: 500px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .gallery-grid--masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .filter-bar {
    justify-content: flex-start;
  }
}
