:root {
  --bg: #0c0b0a;
  --bg-warm: #141210;
  --fg: #e8e2d8;
  --fg-muted: #9a9287;
  --accent: #c9965a;
  --accent-glow: rgba(201, 150, 90, 0.15);
  --river-blue: #2a5d8f;
  --wall-emerald: #2d6b5a;
  --clock-amber: #b8863a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201, 150, 90, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(42, 93, 143, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 70%, rgba(45, 107, 90, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-tag {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.ampersand {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--fg-muted);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.8;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===== PHILOSOPHY ===== */
.philosophy {
  padding: 8rem 2rem;
  background: var(--bg-warm);
  border-top: 1px solid rgba(201, 150, 90, 0.1);
  border-bottom: 1px solid rgba(201, 150, 90, 0.1);
}

.philosophy-inner {
  max-width: 700px;
  margin: 0 auto;
}

.philosophy-label,
.collections-label,
.process-label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.philosophy h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--fg);
}

.philosophy p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 1.2rem;
  line-height: 1.9;
}

/* ===== COLLECTIONS ===== */
.collections {
  padding: 8rem 2rem;
}

.collections-header {
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.collections h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--fg);
}

.collections-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.collection-card {
  background: var(--bg-warm);
  border: 1px solid rgba(232, 226, 216, 0.06);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.collection-card:hover {
  border-color: rgba(201, 150, 90, 0.25);
}

.card-accent {
  height: 4px;
}

.accent-river { background: linear-gradient(90deg, var(--river-blue), #1a3d5f); }
.accent-wall { background: linear-gradient(90deg, var(--wall-emerald), #1a4d3a); }
.accent-clock { background: linear-gradient(90deg, var(--clock-amber), #8a6428); }

.card-content {
  padding: 2.5rem 2rem;
}

.card-content h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--fg);
}

.card-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.card-detail {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ===== PROCESS ===== */
.process {
  padding: 8rem 2rem;
  background: var(--bg-warm);
  border-top: 1px solid rgba(201, 150, 90, 0.1);
  border-bottom: 1px solid rgba(201, 150, 90, 0.1);
}

.process-inner {
  max-width: 800px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201, 150, 90, 0.2);
  line-height: 1;
  min-width: 60px;
}

.step-content h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.step-content p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* ===== CLOSING ===== */
.closing {
  padding: 10rem 2rem;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.closing p {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.closing-email {
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 2rem;
  border-top: 1px solid rgba(232, 226, 216, 0.06);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
}

.footer-loc {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ===== SITE NAV ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(12, 11, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 226, 216, 0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links { display: flex; gap: 2rem; align-items: center; }

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link--active {
  color: var(--accent);
}

/* Hero needs padding-top so content isn't hidden behind fixed nav */
.hero { padding-top: 6rem; }

/* ===== HERO CTA ===== */
.hero-cta-row { margin-top: 2.5rem; }

.hero-cta-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.hero-cta-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ===== COLLECTION CARDS AS LINKS ===== */
.collection-card--link {
  text-decoration: none;
  display: block;
  color: inherit;
  cursor: pointer;
}

/* ===== GALLERY PAGE ===== */
.gallery-hero {
  position: relative;
  padding: 10rem 2rem 5rem;
  text-align: center;
}

.gallery-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(201, 150, 90, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.gallery-hero-content { position: relative; z-index: 1; }

.gallery-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--fg);
  margin-bottom: 1rem;
}

.gallery-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
}

/* ===== FILTER BAR ===== */
.filter-bar {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(232, 226, 216, 0.07);
  position: sticky;
  top: 64px;
  z-index: 50;
  background: var(--bg);
}

.filter-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.45rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-muted);
  border: 1px solid rgba(232, 226, 216, 0.1);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.filter-btn:hover { color: var(--fg); border-color: rgba(232, 226, 216, 0.25); }
.filter-btn--active { color: var(--accent); border-color: var(--accent); }

/* ===== PIECES GRID ===== */
.gallery-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

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

.piece-card {
  background: var(--bg-warm);
  border: 1px solid rgba(232, 226, 216, 0.06);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.piece-card:hover {
  border-color: rgba(201, 150, 90, 0.2);
  transform: translateY(-2px);
}

.piece-card-link { text-decoration: none; color: inherit; display: block; }

.piece-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: rgba(20,18,16,0.8); }

.piece-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.piece-card:hover .piece-img { transform: scale(1.03); }

.piece-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
}

.piece-img-placeholder--large { aspect-ratio: 4/3; }

.piece-img-placeholder-icon {
  font-size: 3rem;
  color: rgba(201, 150, 90, 0.15);
}

.piece-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}

.piece-badge--large { font-size: 0.8rem; padding: 0.4rem 1rem; }
.piece-badge--sold { background: rgba(12,11,10,0.85); color: #c97a7a; border: 1px solid rgba(201, 122, 122, 0.3); }
.piece-badge--unavailable { background: rgba(12,11,10,0.85); color: var(--fg-muted); border: 1px solid rgba(154,146,135,0.3); }

.piece-card-body { padding: 1.5rem; }

.piece-card-meta { margin-bottom: 0.5rem; }

.piece-category-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.piece-card-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--fg);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.piece-card-dims {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.piece-card-price {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
}

.piece-card-price--inquiry { color: var(--fg-muted); font-style: italic; font-size: 0.85rem; }

.gallery-empty {
  text-align: center;
  padding: 6rem 2rem;
  color: var(--fg-muted);
}

.gallery-empty-text { font-size: 1.1rem; margin-bottom: 1.5rem; }
.gallery-empty-link { color: var(--accent); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.05em; }

/* ===== GALLERY CTA ===== */
.gallery-cta {
  padding: 8rem 2rem;
  text-align: center;
  background: var(--bg-warm);
  border-top: 1px solid rgba(201, 150, 90, 0.1);
}

.gallery-cta-inner { max-width: 600px; margin: 0 auto; }

.gallery-cta-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.gallery-cta-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--fg);
  margin-bottom: 1rem;
}

.gallery-cta-sub { font-size: 1rem; color: var(--fg-muted); margin-bottom: 1.5rem; }

.gallery-cta-email {
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ===== PIECE DETAIL ===== */
.piece-detail-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
}

.piece-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.piece-main-img-wrap { position: relative; border-radius: 4px; overflow: hidden; background: var(--bg-warm); }

.piece-main-img { width: 100%; display: block; }

.piece-thumbs { display: flex; gap: 0.75rem; margin-top: 0.75rem; flex-wrap: wrap; }

.thumb-btn {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(232, 226, 216, 0.1);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: var(--bg-warm);
  transition: border-color 0.2s;
}

.thumb-btn--active { border-color: var(--accent); }
.thumb-btn:hover { border-color: rgba(201, 150, 90, 0.4); }
.thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.piece-info-top { margin-bottom: 0.75rem; }

.piece-detail-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1rem;
}

.piece-detail-price {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.piece-detail-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.9;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(232,226,216,0.07);
  padding-top: 1.5rem;
}

.piece-specs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  border-top: 1px solid rgba(232,226,216,0.07);
  padding-top: 1.5rem;
}

.spec-row { display: flex; gap: 1rem; align-items: baseline; }

.spec-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  min-width: 90px;
}

.spec-value { font-size: 0.9rem; color: var(--fg); }

.avail-available { color: #6dbb8a; }
.avail-sold { color: #c97a7a; }
.avail-unavailable { color: var(--fg-muted); }

.piece-inquire-btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s ease;
  margin-bottom: 1.25rem;
  display: block;
  text-align: center;
}

.piece-inquire-btn:hover { background: #b8863a; }

.piece-back-link {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.piece-back-link:hover { color: var(--fg); }

/* ===== ADMIN STYLES ===== */
.admin-body { background: #0e0d0c; min-height: 100vh; }

.admin-header {
  background: var(--bg-warm);
  border-bottom: 1px solid rgba(232,226,216,0.08);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--fg);
  text-decoration: none;
}

.admin-header-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-left: 1rem;
}

.admin-header-actions { display: flex; gap: 1.5rem; align-items: center; }

.admin-header-link {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.admin-header-link:hover { color: var(--fg); }
.admin-header-link--btn { padding: 0; }

.admin-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 6rem;
}

.admin-main--narrow { max-width: 900px; }

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.admin-section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--fg);
}

.admin-flash {
  padding: 0.85rem 1.25rem;
  border-radius: 3px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid;
}

.admin-flash--success { background: rgba(109,187,138,0.1); border-color: #6dbb8a; color: #6dbb8a; }
.admin-flash--error { background: rgba(201,122,122,0.1); border-color: #c97a7a; color: #c97a7a; }

.admin-empty {
  padding: 4rem;
  text-align: center;
  background: var(--bg-warm);
  border-radius: 4px;
  color: var(--fg-muted);
}

/* Admin table */
.admin-table-wrap { overflow-x: auto; border-radius: 4px; border: 1px solid rgba(232,226,216,0.07); }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: rgba(20,18,16,0.5);
  border-bottom: 1px solid rgba(232,226,216,0.07);
}

.admin-table-row td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(232,226,216,0.05);
  vertical-align: middle;
}

.admin-table-row:last-child td { border-bottom: none; }
.admin-table-row:hover td { background: rgba(232,226,216,0.02); }

.admin-thumb-wrap { width: 52px; height: 52px; border-radius: 3px; overflow: hidden; background: var(--bg-warm); }
.admin-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: rgba(201,150,90,0.15); }

.admin-td-title { max-width: 200px; }
.admin-piece-link { color: var(--fg); text-decoration: none; }
.admin-piece-link:hover { color: var(--accent); }

.admin-cat-badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.admin-cat-badge--river-table { background: rgba(42,93,143,0.15); color: #5d9ed4; }
.admin-cat-badge--wall-art { background: rgba(45,107,90,0.15); color: #5db89c; }
.admin-cat-badge--clock { background: rgba(184,134,58,0.15); color: #c9a66a; }
.admin-cat-badge--other { background: rgba(154,146,135,0.1); color: var(--fg-muted); }

.admin-status { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.admin-status--available { color: #6dbb8a; }
.admin-status--sold { color: #c97a7a; }
.admin-status--hidden { color: var(--fg-muted); }

.admin-muted { color: var(--fg-muted); font-size: 0.85rem; }

.admin-td-actions { white-space: nowrap; }

.admin-action-btn {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  margin-right: 0.75rem;
  transition: color 0.2s;
  padding: 0;
}

.admin-action-btn:hover { color: var(--fg); }
.admin-action-btn--danger:hover { color: #c97a7a; }

/* Admin buttons */
.admin-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.2s ease;
}

.admin-btn--primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.admin-btn--primary:hover { background: #b8863a; border-color: #b8863a; }
.admin-btn--ghost { background: transparent; color: var(--fg-muted); border-color: rgba(232,226,216,0.15); }
.admin-btn--ghost:hover { color: var(--fg); border-color: rgba(232,226,216,0.3); }
.admin-btn--full { width: 100%; text-align: center; display: block; }

/* ===== PIECE FORM ===== */
.piece-form { margin-top: 0.5rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.form-required { color: var(--accent); }

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(20,18,16,0.6);
  border: 1px solid rgba(232,226,216,0.1);
  border-radius: 3px;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus { border-color: rgba(201,150,90,0.4); }
.form-input::placeholder { color: rgba(154,146,135,0.5); }

.form-select { cursor: pointer; }
.form-select option { background: #1a1816; }

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

.form-input-prefix-wrap { position: relative; }
.form-input-prefix { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--fg-muted); font-size: 0.9rem; pointer-events: none; }
.form-input--prefixed { padding-left: 1.75rem; }

.form-hint { font-size: 0.75rem; color: var(--fg-muted); margin-top: 0.4rem; line-height: 1.5; }

.form-row-checks { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }

.form-check {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.form-check input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }

/* File upload */
.form-file-wrap { position: relative; margin-top: 0.5rem; }
.form-file { position: absolute; opacity: 0; inset: 0; width: 100%; cursor: pointer; }

.form-file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 2rem;
  border: 1px dashed rgba(232,226,216,0.15);
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.85rem;
  transition: border-color 0.2s, background 0.2s;
}

.form-file-label:hover { border-color: rgba(201,150,90,0.3); background: rgba(201,150,90,0.03); }

.form-file-icon { font-size: 1.5rem; color: var(--accent); }

.preview-wrap { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.preview-img { width: 72px; height: 72px; object-fit: cover; border-radius: 3px; border: 1px solid rgba(201,150,90,0.2); }

/* Existing image grid */
.existing-img-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.existing-img-item { position: relative; }
.existing-img-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 3px; border: 1px solid rgba(232,226,216,0.1); display: block; }

.existing-img-item--removed .existing-img-thumb { opacity: 0.3; }
.existing-img-item--removed .existing-img-remove { background: #c97a7a; }

.existing-img-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(12,11,10,0.7);
  color: var(--fg-muted);
  font-size: 0.55rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  transition: background 0.2s;
}

.existing-img-remove:hover { background: #c97a7a; color: white; }

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232,226,216,0.07);
}

/* ===== ADMIN LOGIN ===== */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201, 150, 90, 0.05) 0%, transparent 70%);
}

.admin-login-box {
  width: 100%;
  max-width: 400px;
  background: var(--bg-warm);
  border: 1px solid rgba(232,226,216,0.08);
  border-radius: 6px;
  padding: 2.5rem;
}

.admin-login-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  color: var(--fg);
  text-align: center;
  margin-bottom: 0.25rem;
}

.admin-login-sub {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: center;
  margin-bottom: 2rem;
}

.admin-login-form { margin-top: 1.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .step {
    flex-direction: column;
    gap: 0.5rem;
  }

  .step-num {
    font-size: 1.8rem;
    min-width: auto;
  }

  .philosophy,
  .collections,
  .process,
  .closing {
    padding: 5rem 1.5rem;
  }

  .hero { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .card-content {
    padding: 1.8rem 1.5rem;
  }

  .closing::before {
    width: 300px;
    height: 300px;
  }
}

/* Gallery + admin responsive overrides */
@media (max-width: 900px) {
  .pieces-grid { grid-template-columns: repeat(2, 1fr); }
  .piece-detail-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 600px) {
  .pieces-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 1rem; }
  .nav-link { font-size: 0.7rem; letter-spacing: 0.08em; }
  .gallery-hero { padding: 8rem 1.5rem 3rem; }
  .filter-bar { top: 56px; }
  .piece-detail-main { padding: 6rem 1.25rem 4rem; }
  .admin-main { padding: 1.5rem 1rem 4rem; }
  .admin-table th:nth-child(3),
  .admin-table td:nth-child(3) { display: none; }
}