/* ============================================================
   NOGA ART — Design System
   Light mode default (eggshell white)
   Dark mode via [data-theme="dark"] on <html>
   Fonts: Cormorant Garamond (display) + Inter (body)
   ============================================================ */

/* ── Light mode tokens (default) ── */
:root {
  --bg:          #F2EDE4;
  --bg-2:        #EAE4D9;
  --bg-3:        #E1DACF;
  --surface:     #EDE8DF;
  --border:      #D4CDBF;
  --border-soft: #DDD8CC;

  --gold:        #6B5228;
  --gold-dim:    #543F1C;
  --gold-glow:   rgba(107, 82, 40, 0.10);

  --text:        #0F0C08;
  --text-muted:  #4A4038;
  --text-faint:  #9A9088;

  --modal-backdrop: rgba(190, 183, 172, 0.78);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

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

  --nav-h: 64px;
  --radius-sm: 2px;
  --radius:    6px;
}

/* ── Dark mode tokens ── */
[data-theme="dark"] {
  --bg:          #090909;
  --bg-2:        #111111;
  --bg-3:        #181818;
  --surface:     #141414;
  --border:      #232323;
  --border-soft: #1c1c1c;

  --gold:        #c4a87a;
  --gold-dim:    #9a8060;
  --gold-glow:   rgba(196, 168, 122, 0.08);

  --text:        #f0ede8;
  --text-muted:  #7a7672;
  --text-faint:  #3e3c3a;

  --modal-backdrop: rgba(9, 9, 9, 0.88);
}

/* ── Smooth theme transition ── */
*, *::before, *::after {
  transition:
    background-color 0.35s var(--ease-out),
    border-color     0.35s var(--ease-out),
    color            0.25s var(--ease-out),
    filter           0.25s var(--ease-out);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }

/* ── Utilities ── */
.hidden { display: none !important; }

/* ── Skip link (keyboard accessibility) ── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1.5rem;
  z-index: 9999;
  padding: 0.6rem 1.4rem;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ── Focus-visible rings (keyboard nav only, not mouse) ── */
:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Form inputs: bottom-border style, no ring */
.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--gold);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  transition:
    background 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

/* Right-side group: theme toggle + links */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Nav links + icons are always white when floating on hero */
.nav .nav-links a,
.nav .theme-toggle {
  color: rgba(242, 237, 228, 0.72);
}

/* ── Scrolled: light mode ── */
.nav.scrolled {
  background: rgba(242, 237, 228, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.nav.scrolled .nav-links a,
.nav.scrolled .theme-toggle {
  color: var(--text-muted);
}


/* ── Scrolled: dark mode ── */
[data-theme="dark"] .nav.scrolled {
  background: rgba(9, 9, 9, 0.92);
}
[data-theme="dark"] .nav.scrolled .nav-links a,
[data-theme="dark"] .nav.scrolled .theme-toggle {
  color: var(--text-muted);
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.25s;
}
.nav-logo:hover { opacity: 0.7; }

/* Logo image — SVG rendered white via CSS filter */
.logo-img {
  display: block;
}

/* Unscrolled nav: always on dark hero — white logo */
.nav:not(.scrolled) .logo-img--nav {
  filter: brightness(0) invert(1);
}

/* Scrolled, light mode: dark logo */
.nav.scrolled .logo-img--nav {
  filter: brightness(0) sepia(0.2);
}

/* Scrolled, dark mode: white logo */
[data-theme="dark"] .nav.scrolled .logo-img--nav {
  filter: brightness(0) invert(1);
}

.logo-img--nav {
  height: 26px;
  width: auto;
}

.logo-img--hero {
  height: clamp(48px, 10vw, 96px);
  width: auto;
  filter: brightness(0) invert(1) sepia(0.06);
}

.logo-img--footer {
  height: 22px;
  width: auto;
}

/* Footer logo: tinted in light mode, white in dark */
.logo-img--footer {
  filter: brightness(0) sepia(0.3) opacity(0.5);
}
.footer-logo:hover .logo-img--footer {
  filter: brightness(0) sepia(0.2) opacity(0.85);
}
[data-theme="dark"] .logo-img--footer {
  filter: brightness(0) invert(1) opacity(0.5);
}
[data-theme="dark"] .footer-logo:hover .logo-img--footer {
  filter: brightness(0) invert(1) opacity(0.9);
}

/* ── Nav links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  cursor: pointer;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:hover { color: inherit; opacity: 0.85; }
.nav-links a:hover::after { transform: scaleX(1); }

/* ── Theme toggle button ── */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s, opacity 0.2s, background 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  opacity: 0.85;
}

.theme-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

/* Light mode: show moon (to switch to dark) */
.theme-icon--moon { display: block; }
.theme-icon--sun  { display: none;  }

/* Dark mode: show sun (to switch to light) */
[data-theme="dark"] .theme-icon--moon { display: none;  }
[data-theme="dark"] .theme-icon--sun  { display: block; }

/* ============================================================
   HERO  — always cinematic/dark regardless of theme
   Force bright gold so it reads against the dark video in both modes
   ============================================================ */
.hero {
  --gold:      #c4a87a;
  --gold-dim:  #9a8060;
  --text:      #f0ede8;
  --text-muted: rgba(240, 237, 232, 0.62);
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(9,9,9,0.75) 0%,
      rgba(9,9,9,0.58) 30%,
      rgba(9,9,9,0.58) 70%,
      rgba(9,9,9,0.94) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  animation: heroFadeUp 1.4s var(--ease-out) 0.2s both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero text is always white (on dark video) */
.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 1px 16px rgba(0,0,0,0.9), 0 0 40px rgba(0,0,0,0.5);
}

[data-theme="dark"] .hero-eyebrow { color: var(--gold); }

.hero-title {
  line-height: 1;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(242, 237, 228, 0.62);
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease-out) 1.6s forwards;
  transition: opacity 0.2s;
}
.hero-scroll:hover { opacity: 1 !important; }

@keyframes heroFadeIn { to { opacity: 0.85; } }

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: var(--gold);
  box-shadow: 0 0 6px 1px rgba(196, 168, 122, 0.55);
  animation: scrollPulse 2s ease-in-out 2s infinite;
  transform-origin: top;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1);   opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.5; }
}

.hero-scroll-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow:
    0 1px 8px rgba(0,0,0,0.95),
    0 0 24px rgba(0,0,0,0.8),
    0 0 2px rgba(0,0,0,1);
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 5rem);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--text);
}

.section-title em {
  font-style: italic;
  font-weight: 300;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-section {
  background: var(--bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1200px;
  margin: 0 auto;
}

.products-loading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 4rem 0;
}

.loading-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  animation: dotPulse 1.4s ease-in-out infinite;
}
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40%            { opacity: 1;   transform: scale(1); }
}

.products-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4rem 0;
}
.products-empty code {
  font-size: 0.85em;
  color: var(--gold-dim);
  background: var(--bg-2);
  padding: 0.1em 0.4em;
  border-radius: 2px;
}

/* Product card */
.product-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-sm);
  /* Staggered entrance via --i set in JS */
  --i: 0;
}

/* Stagger card entrance using animation-delay */
@media (prefers-reduced-motion: no-preference) {
  .product-card.visible {
    animation: cardEnter 0.65s var(--ease-out) calc(var(--i) * 55ms) both;
  }
  @keyframes cardEnter {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

.product-card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  /* Explicit dimensions help browser reserve space (prevents CLS) */
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
}

.product-card-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 19, 0);
  transition: background 0.4s var(--ease-out);
}

.product-card:hover .product-card-image-wrap::after {
  background: rgba(28, 24, 19, 0.10);
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), opacity 0.4s var(--ease-out);
  /* Start invisible; JS adds .loaded class when image finishes loading */
  opacity: 0;
}
.product-card img.loaded {
  opacity: 1;
}

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

.product-card-info {
  padding: 1rem 0.1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.product-card-id {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
  position: relative;
  display: inline-block;
}

.product-card-name::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.product-card:hover .product-card-name::after {
  transform: scaleX(1);
}

.product-card-collection {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--modal-backdrop);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: backdropIn 0.3s var(--ease-out);
}

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

.modal-backdrop.closing {
  animation: backdropOut 0.25s var(--ease-in-out) forwards;
}

@keyframes backdropOut { to { opacity: 0; } }

.modal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 860px;
  width: 100%;
  max-height: 90svh;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: modalSlideIn 0.35s var(--ease-out);
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}
.modal-close:hover {
  color: var(--text);
  background: var(--bg-3);
}

.modal-image-wrap {
  overflow: hidden;
  background: var(--bg-2);
}
.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.modal-image.loaded {
  opacity: 1;
}

.modal-body {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  overflow-y: auto;
}

.modal-label {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.modal-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--text);
}

.modal-divider {
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

.modal-description {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.modal-description p + p { margin-top: 0.75em; }

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  min-height: 44px;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.2;
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-line-main {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}
.btn-line-sub {
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  opacity: 0.8;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* ============================================================
   REVIEWS — infinite carousel
   ============================================================ */
.reviews-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

/* Carousel outer wrapper */
.reviews-carousel-outer {
  max-width: 1200px;
  margin: 0 auto;
}

/* Clipping viewport */
.reviews-viewport {
  overflow: hidden;
}

/* Sliding track */
.reviews-track {
  display: flex;
  align-items: stretch;        /* equal heights */
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.reviews-track.no-transition {
  transition: none !important;
}

/* Card */
.review-card {
  flex: 0 0 auto;              /* width set by JS */
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  box-sizing: border-box;
  transition: border-color 0.3s;
}
.review-card:hover { border-color: var(--border); }

/* Quote mark */
.review-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.35;
  margin-bottom: 1.5rem;
  display: block;
  user-select: none;
  flex-shrink: 0;
}

/* Content area grows to fill card — pushes author to bottom */
.review-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Quote text — no opacity reduction */
.review-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text);
}

/* Original language block */
.review-text--original {
  color: var(--text);
}

/* Translation divider + label */
.review-translation-sep {
  width: 1.5rem;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.review-translation-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
}

/* Translation text — slightly more muted */
.review-text--translation {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Spacer pushes author to bottom */
.review-spacer { flex: 1; }

/* Author row */
.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
  flex-shrink: 0;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold-dim);
  flex-shrink: 0;
}

.review-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.review-author-name {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
}

.review-author-detail {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Carousel navigation */
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.carousel-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel-dots {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
  border: none;
}
.carousel-dot:hover   { background: var(--text-faint); }
.carousel-dot.active  {
  background: var(--gold);
  transform: scale(1.5);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--bg);
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.contact-desc {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.field label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  width: 100%;
  resize: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }

.field input:focus,
.field textarea:focus { border-bottom-color: var(--gold); }

.field input.invalid,
.field textarea.invalid { border-bottom-color: #a83228; }

.form-note {
  font-size: 0.78rem;
  color: #a83228;
  min-height: 1.2em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  padding: 3rem clamp(1.5rem, 6vw, 5rem);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}
.footer-nav a {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); }

.footer-copy {
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}

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

  .contact-inner {
    grid-template-columns: 1fr;
  }
  .contact-copy { position: static; }

  .modal {
    grid-template-columns: 1fr;
    max-height: 90svh;
  }
  .modal-image-wrap { max-height: 45vw; min-height: 200px; }
}

@media (max-width: 600px) {
  :root { --nav-h: 56px; }

  .nav-links { display: none; }
  .nav-right  { gap: 0; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .field-row { grid-template-columns: 1fr; }

  .modal {
    grid-template-columns: 1fr;
    margin: 0;
    border-radius: 0;
    max-height: 100svh;
    height: 100svh;
  }
  .modal-image-wrap { max-height: 50vw; }
  .modal-body { padding: 1.5rem; }

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

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

/* ============================================================
   SCROLL REVEAL  (section headers, reviews, contact copy)
   Product cards use cardEnter animation with stagger instead.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.7s var(--ease-out),
      transform 0.7s var(--ease-out);
  }
}
