/* ============================================================
   OURSA Fine Jewelry — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Montserrat:wght@300;400;500&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */

:root {
  --color-dark:       #2a3548;
  --color-dark-2:     #233040;
  --color-dark-3:     #1e2b3c;
  --color-cream:      #f5f0eb;
  --color-cream-2:    #ede8e0;
  --color-gold:       #c9a84c;
  --color-gold-muted: #a8895a;
  --color-grey:       #8a8070;
  --color-grey-light: #b5afa6;
  --color-text:       #2c2620;
  --color-text-light: #4a443e;
  --font-serif:       'Cormorant Garamond', Georgia, serif;
  --font-sans:        'Montserrat', sans-serif;
  --max-width:        1200px;
  --text-max:         680px;
  --nav-height:       72px;
  --transition:       0.4s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: 1.4rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.15;
}

h1 {
  font-size: clamp(48px, 6.5vw, 88px);
  font-style: italic;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(34px, 4.5vw, 60px);
  font-style: italic;
}

h3 {
  font-size: clamp(24px, 3vw, 40px);
}

h4 {
  font-size: clamp(20px, 2.2vw, 28px);
}

p {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.85;
  color: inherit;
}

.text-block {
  max-width: var(--text-max);
}

.text-center { text-align: center; }
.text-left   { text-align: left; }

.italic { font-style: italic; }

/* ============================================================
   NAVIGATION
   ============================================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 64px);
  background: rgba(42, 53, 72, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid rgba(201, 168, 76, 0.0);
}

nav.scrolled {
  background: rgba(42, 53, 72, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(201, 168, 76, 0.12);
}

.nav-logo {
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 26px);
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.75);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--color-gold);
  transition: right var(--transition);
}

.nav-links a:hover {
  color: var(--color-cream);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-links a.active {
  color: var(--color-cream);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1100;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-cream);
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-dark);
  z-index: 1050;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.open {
  opacity: 1;
}

.nav-overlay a {
  font-family: var(--font-serif);
  font-size: clamp(28px, 7vw, 44px);
  font-style: italic;
  color: var(--color-cream);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.nav-overlay a:hover {
  color: var(--color-gold);
}

.nav-overlay-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--color-cream);
  font-size: 28px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-dark);
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 0.1s linear;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(42, 53, 72, 0.35) 0%,
    rgba(42, 53, 72, 0.55) 50%,
    rgba(42, 53, 72, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(24px, 5vw, 80px);
  max-width: 900px;
}

.hero-content h1 {
  color: var(--color-cream);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.8rem;
  display: block;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll span {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.5);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* Page hero (shorter) */
.page-hero {
  height: 70vh;
  min-height: 480px;
}

/* ============================================================
   SECTIONS — BASE
   ============================================================ */

section {
  width: 100%;
  position: relative;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) clamp(24px, 5vw, 64px);
}

.section-inner.narrow {
  max-width: 860px;
}

/* Dark section */
.bg-dark {
  background-color: var(--color-dark);
  color: var(--color-cream);
}

.bg-dark p,
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
  color: var(--color-cream);
}

/* Cream section */
.bg-cream {
  background-color: var(--color-cream);
  color: var(--color-text);
}

.bg-cream p,
.bg-cream h1,
.bg-cream h2,
.bg-cream h3,
.bg-cream h4 {
  color: var(--color-text);
}

.bg-cream .label {
  color: var(--color-gold-muted);
}

/* Dark-2 section */
.bg-dark-2 {
  background-color: var(--color-dark-2);
  color: var(--color-cream);
}

.bg-dark-2 p,
.bg-dark-2 h1,
.bg-dark-2 h2,
.bg-dark-2 h3,
.bg-dark-2 h4 {
  color: var(--color-cream);
}

/* ============================================================
   SECTION LINK (quiet arrow link)
   ============================================================ */

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--color-gold);
  margin-top: 2.5rem;
  transition: gap var(--transition), color var(--transition);
}

.section-link:hover {
  gap: 16px;
  color: var(--color-gold-muted);
}

/* ============================================================
   DIVIDER
   ============================================================ */

.divider {
  width: 48px;
  height: 1px;
  background: var(--color-gold);
  margin: 2rem 0;
  opacity: 0.5;
}

.divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   TWO-COLUMN LAYOUT
   ============================================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.two-col-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.two-col-text h2 {
  margin-bottom: 1.5rem;
}

.two-col-text p {
  margin-bottom: 1.2rem;
}

.two-col-text p:last-of-type {
  margin-bottom: 0;
}

.two-col-image {
  position: relative;
  overflow: hidden;
}

.two-col-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 580px;
}

.two-col-image.stacked {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.two-col-image.stacked img {
  max-height: 280px;
}

/* ============================================================
   FULL-BLEED IMAGE SECTION
   ============================================================ */

.full-bleed {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.full-bleed-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.full-bleed-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 53, 72, 0.72);
}

.full-bleed-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(60px, 8vw, 120px) clamp(24px, 5vw, 64px);
  max-width: 800px;
  color: var(--color-cream);
}

.full-bleed-content h2 {
  color: var(--color-cream);
  margin-bottom: 1.5rem;
}

.full-bleed-content p {
  color: rgba(245, 240, 235, 0.85);
  margin-bottom: 1.2rem;
}

/* ============================================================
   PULL QUOTE
   ============================================================ */

.pull-quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(60px, 8vw, 120px) clamp(24px, 5vw, 64px);
}

.pull-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-cream);
}

.pull-quote blockquote.gold {
  color: var(--color-gold);
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */

.collection-header {
  text-align: center;
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 64px) clamp(30px, 4vw, 50px);
  background: var(--color-dark);
  color: var(--color-cream);
}

.collection-header h1 {
  margin-bottom: 1.5rem;
}

.collection-header p {
  max-width: var(--text-max);
  margin: 0 auto;
  color: rgba(245, 240, 235, 0.75);
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 clamp(24px, 5vw, 64px) 40px;
  background: var(--color-dark);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.filter-tab {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-grey);
  padding: 12px 20px;
  cursor: pointer;
  border: none;
  background: none;
  transition: color var(--transition);
  position: relative;
}

.filter-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.filter-tab:hover {
  color: var(--color-cream);
}

.filter-tab.active {
  color: var(--color-gold);
}

.filter-tab.active::after {
  transform: scaleX(1);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-dark-3);
}

.product-card {
  background: var(--color-dark);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background var(--transition);
  overflow: hidden;
}

.product-card:hover {
  background: #222;
}

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

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-dark-3);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s ease;
  padding: 12px;
}

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

.product-info {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--color-cream);
  letter-spacing: 0.02em;
}

.product-material {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.product-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-grey-light);
  margin-top: 4px;
  flex-grow: 1;
}

.product-link {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--color-gold);
  margin-top: 12px;
  transition: color var(--transition), letter-spacing var(--transition);
}

.product-link:hover {
  color: var(--color-gold-muted);
  letter-spacing: 0.03em;
}

/* Section divider image strip */
.collection-divider {
  width: 100%;
  height: 360px;
  overflow: hidden;
  position: relative;
  grid-column: 1 / -1;
}

.collection-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.55);
}

.collection-divider-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-divider-label span {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,240,235,0.6);
}

/* ============================================================
   MATERIALS PAGE
   ============================================================ */

.material-entry {
  padding: clamp(50px, 7vw, 90px) 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.material-entry:last-child {
  border-bottom: none;
}

.material-entry h3 {
  font-size: clamp(30px, 4vw, 52px);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.material-entry p {
  margin-bottom: 1.1rem;
}

.material-entry p:last-child {
  margin-bottom: 0;
}

.materials-section-header {
  text-align: center;
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 64px) clamp(20px, 3vw, 40px);
}

.materials-section-header h2 {
  font-size: clamp(32px, 5vw, 60px);
  letter-spacing: 0.08em;
}

/* ============================================================
   THE HUMAN PAGE — EDITORIAL
   ============================================================ */

.editorial-section {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(50px, 7vw, 90px) clamp(24px, 5vw, 64px);
}

.editorial-section p {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.9;
  margin-bottom: 1.6rem;
  color: rgba(245, 240, 235, 0.88);
}

.editorial-section p:last-child {
  margin-bottom: 0;
}

.contextual-image {
  width: 100%;
  height: clamp(280px, 40vw, 500px);
  overflow: hidden;
  position: relative;
}

.contextual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.75) sepia(0.1);
}

.contextual-image-caption {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.5);
}

/* ============================================================
   CUSTOM DESIGN PAGE
   ============================================================ */

.path-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  gap: 0;
}

.path-section.reverse {
  direction: rtl;
}

.path-section.reverse > * {
  direction: ltr;
}

.path-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 7vw, 100px) clamp(40px, 5vw, 80px);
}

.path-text h2 {
  margin-bottom: 1.5rem;
}

.path-text p {
  margin-bottom: 1.1rem;
}

.path-image {
  overflow: hidden;
  position: relative;
}

.path-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.path-section:hover .path-image img {
  transform: scale(1.03);
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 3rem;
}

.process-step {
  padding: 40px 32px;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  transition: background var(--transition);
}

.process-step:hover {
  background: rgba(255,255,255,0.06);
}

.step-number {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
}

.process-step h4 {
  font-size: 22px;
  font-style: italic;
  color: var(--color-cream);
  margin-bottom: 0.8rem;
}

.process-step p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(245, 240, 235, 0.72);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-page {
  min-height: 100vh;
  background: var(--color-dark);
  display: flex;
  flex-direction: column;
}

.contact-hero {
  position: relative;
  padding: clamp(140px, 18vw, 200px) clamp(24px, 5vw, 80px) clamp(60px, 8vw, 100px);
  text-align: center;
}

.contact-hero h1 {
  color: var(--color-cream);
  margin-bottom: 2rem;
}

.contact-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(245, 240, 235, 0.75);
  line-height: 1.85;
}

.contact-form-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px) clamp(60px, 8vw, 100px);
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  padding: 12px 0;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-cream);
  outline: none;
  width: 100%;
  transition: border-color var(--transition);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(245, 240, 235, 0.45);
}

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

.form-field textarea {
  resize: none;
  height: 160px;
  line-height: 1.7;
}

.form-submit {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-submit {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: transparent;
  border: 1px solid var(--color-gold);
  padding: 16px 40px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn-submit:hover {
  background: var(--color-gold);
  color: var(--color-dark);
}

.contact-info {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px) clamp(60px, 8vw, 100px);
  width: 100%;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  padding-top: 48px;
  margin-top: 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 48px;
}

.contact-info-item .info-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  display: block;
}

.contact-info-item p {
  font-size: 17px;
  color: rgba(245, 240, 235, 0.75);
  line-height: 1.7;
}

.contact-note {
  font-style: italic;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(245, 240, 235, 0.55);
  max-width: 580px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.founder-section {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 64px);
}

/* ============================================================
   HOMEPAGE SELECTED PIECES
   ============================================================ */

.selected-pieces {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 3rem;
}

.selected-piece {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.selected-piece-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-cream-2);
}

.selected-piece-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 16px;
  transition: transform 0.6s ease;
}

.selected-piece:hover .selected-piece-image img {
  transform: scale(1.05);
}

.selected-piece-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--color-text);
}

.selected-piece-material {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-muted);
}

.selected-piece-desc {
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--color-dark-3);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 64px) clamp(32px, 4vw, 52px);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: clamp(32px, 4vw, 64px);
}

.footer-brand p {
  font-family: var(--font-serif);
  font-size: 14px;
  color: rgba(245, 240, 235, 0.6);
  margin-top: 10px;
  line-height: 1.6;
}

.footer-brand img {
  height: 32px;
  width: auto;
  opacity: 0.65;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.footer-nav-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* Reset nav styles that leak from the unqualified `nav` selector */
  position: static;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  height: auto;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-bottom: none;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.55);
  transition: color var(--transition);
  width: fit-content;
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.footer-contact-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 4px;
}

.footer-contact p,
.footer-contact a {
  font-family: var(--font-serif);
  font-size: 15px;
  color: rgba(245, 240, 235, 0.65);
  line-height: 1.6;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--color-cream);
}

.footer-copy {
  grid-column: 1 / -1;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(245, 240, 235, 0.4);
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 16px;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9900;
  background: rgba(0, 0, 0, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  animation: lbFadeIn 0.25s ease;
}

#lightbox.open {
  display: flex;
}

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

.lb-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 88vh;
}

#lightbox img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  display: block;
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(245,240,235,0.7);
  font-size: 26px;
  font-family: var(--font-sans);
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
  z-index: 10;
}

.lb-close:hover {
  color: var(--color-cream);
}

.lb-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,235,0.6);
  white-space: nowrap;
}

.lb-prev,
.lb-nav.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(245,240,235,0.5);
  font-size: 32px;
  cursor: pointer;
  padding: 16px;
  transition: color 0.2s ease;
  display: none;
}

.lb-prev { left: -60px; }

.lb-nav.lb-next { right: -60px; }

.lb-prev:hover,
.lb-nav.lb-next:hover {
  color: var(--color-cream);
}

#lightbox.has-gallery .lb-prev,
#lightbox.has-gallery .lb-nav.lb-next {
  display: block;
}

/* Prevent body scroll when lightbox open */
body.lb-open {
  overflow: hidden;
}

/* ============================================================
   ABOUT PAGE — COLLAGE / GALLERY
   ============================================================ */

.about-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  height: 300px;
}

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

.about-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease, filter 0.3s ease;
  filter: brightness(0.75);
}

.about-collage-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* ============================================================
   MINI CONTACT FORM (Homepage, About, Materials)
   ============================================================ */

.mini-form-section {
  background: var(--color-dark);
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 64px);
  border-top: 1px solid rgba(201,168,76,0.08);
}

.mini-form-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.mini-form-inner h2 {
  margin-bottom: 0.6rem;
}

.mini-form-inner > p {
  color: rgba(245,240,235,0.85);
  margin-bottom: 2.5rem;
}

.mini-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.mini-form .form-field input,
.mini-form .form-field textarea {
  font-size: 17px;
  padding: 12px 0;
}

.mini-form .form-field textarea {
  height: 120px;
}

.mini-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mini-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 4px;
}

.mini-form-or {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(245,240,235,0.6);
  margin-top: 1.5rem;
  text-align: center;
}

.mini-form-or a {
  color: var(--color-gold);
  transition: color var(--transition);
}

.mini-form-or a:hover {
  color: var(--color-gold-muted);
}

/* ============================================================
   COLLECTION — CATEGORY TITLE BARS
   ============================================================ */

.category-title-bar {
  grid-column: 1 / -1;
  padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 40px) clamp(16px, 2vw, 24px);
  background: #0e0e0e;
  border-top: 1px solid rgba(201,168,76,0.12);
  border-bottom: 1px solid rgba(201,168,76,0.06);
}

.category-title-bar .cat-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: 0.6rem;
}

.category-title-bar h2 {
  font-size: clamp(28px, 4vw, 52px);
  color: var(--color-cream);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
}

.category-title-bar.hidden {
  display: none;
}

/* ============================================================
   MATERIALS PAGE — ENTRY IMAGE UNIFORMITY
   ============================================================ */

.entry-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: rgba(0,0,0,0.3);
  padding: 8px;
  max-height: none;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.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; }

/* ============================================================
   UTILITY
   ============================================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col.reverse {
    direction: ltr;
  }

  .path-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .path-section.reverse {
    direction: ltr;
  }

  .path-image {
    height: 400px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .selected-pieces {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .about-collage {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .about-collage-item {
    height: 220px;
  }

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

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-overlay {
    display: flex;
  }

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

  .selected-pieces {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .two-col-image.stacked {
    flex-direction: row;
  }

  .two-col-image.stacked img {
    max-height: 200px;
  }

  .filter-tabs {
    gap: 0;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding-bottom: 0;
  }

  .filter-tab {
    white-space: nowrap;
    padding: 12px 16px;
  }

  .path-image {
    height: 280px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-contact {
    align-items: center;
  }

  .lang-switcher {
    display: none;
  }

  .about-collage {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .about-collage-item {
    height: 180px;
  }

  .collection-divider {
    height: 240px;
  }

  .lb-prev { left: -40px; }
  .lb-nav.lb-next { right: -40px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: clamp(34px, 9vw, 52px);
  }

  .pull-quote blockquote {
    font-size: clamp(22px, 6vw, 32px);
  }

  .about-collage {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-collage-item {
    height: 150px;
  }

  .lb-prev,
  .lb-nav.lb-next {
    display: none !important;
  }
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */

.lang-switcher {
  display: flex;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-left: clamp(14px, 2vw, 28px);
  border-left: 1px solid rgba(201, 168, 76, 0.2);
  padding-left: clamp(14px, 2vw, 28px);
  flex-shrink: 0;
}

.lang-switcher a {
  color: rgba(245, 240, 235, 0.4);
  transition: color var(--transition);
}

.lang-switcher a:hover,
.lang-switcher a.lang-active {
  color: var(--color-gold);
}

/* ============================================================
   RTL OVERRIDES (Hebrew)
   ============================================================ */

[dir="rtl"] body {
  font-family: var(--font-serif);
}

[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .lang-switcher {
  border-left: none;
  padding-left: 0;
  border-right: 1px solid rgba(201, 168, 76, 0.2);
  padding-right: clamp(14px, 2vw, 28px);
  margin-left: 0;
  margin-right: clamp(14px, 2vw, 28px);
}

[dir="rtl"] .two-col {
  direction: rtl;
}

[dir="rtl"] .two-col.reverse {
  direction: ltr;
}

[dir="rtl"] .entry-grid {
  direction: rtl;
}

[dir="rtl"] .entry-grid.flip {
  direction: ltr;
}

[dir="rtl"] .footer-inner {
  direction: rtl;
}

[dir="rtl"] .section-link {
  flex-direction: row-reverse;
}

[dir="rtl"] .divider {
  margin-left: auto;
  margin-right: 0;
}

[dir="rtl"] .divider.center {
  margin-left: auto;
  margin-right: auto;
}

[dir="rtl"] .hero-content {
  direction: rtl;
}

[dir="rtl"] .mini-form-row {
  direction: rtl;
}

[dir="rtl"] .form-field label {
  text-align: right;
}

[dir="rtl"] .process-steps {
  direction: rtl;
}

[dir="rtl"] .filter-tabs {
  direction: rtl;
}
