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

/* Login & Signup Forms */
.form-card {
  max-width: 480px;
  margin: 4rem auto;
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--border-hover);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-card h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-card label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
  display: block;
}

.form-card input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-card input:focus {
  border-color: var(--accent);
  outline: none;
}

.btn-primary {
  text-align: center;
}

.form-card .submit-btn {
  background: var(--accent);
  color: #0a0806;
  border: none;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px;
  transition: opacity 0.2s, transform 0.1s;
}

.form-card .submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.form-card .link {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.form-card .link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.form-card .link a:hover {
  color: var(--text);
}

/* End of Login & Signup Forms */
:root {
  --bg: #080808;
  --bg2: #0f0f0f;
  --bg3: #141414;
  --surface: #1a1a1a;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.15);
  --text: #e8e4dc;
  --muted: #888;
  --faint: #444;
  --accent: #c8a96e;
  --accent-dim: rgba(200,169,110,0.15);
  --font-display: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

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

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-cta {
  color: var(--accent) !important;
  border: 1px solid rgba(200,169,110,0.4);
  padding: 6px 16px;
  border-radius: 2px;
}

main { padding-top: 64px; min-height: 100vh; }

/* HERO */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(139,32,32,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(200,169,110,0.06) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.015) 80px, rgba(255,255,255,0.015) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.015) 80px, rgba(255,255,255,0.015) 81px);
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 3rem;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 10ch;
}

.hero h1 span { color: var(--accent); display: block; }

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  right: 3rem;
  bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: right;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 4px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #0a0806;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid var(--border-hover);
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 3rem;
}

.divider {
  width: calc(100% - 6rem);
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--muted);
  max-width: 540px;
  font-size: 15px;
  margin-bottom: 3.5rem;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--bg2);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover { background: var(--bg3); }
.service-card:hover::before { opacity: 1; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.service-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.25rem; }

.tag {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(200,169,110,0.25);
  padding: 3px 8px;
  border-radius: 1px;
}

/* PROCESS */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin-top: 3rem;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hover), var(--border-hover), transparent);
}

.step { padding: 0 1.5rem; }

.step-num {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--accent);
  background: var(--bg);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.step h4 { font-size: 13px; font-weight: 500; margin-bottom: 0.5rem; }
.step p { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* PORTFOLIO */
.portfolio-note {
  text-align: center;
  font-size: 13px;
  color: var(--faint);
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--bg2);
}

.portfolio-note a { color: var(--accent); text-decoration: none; }

/* ABOUT */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.about-body p { color: var(--muted); font-size: 15px; margin-bottom: 1.25rem; line-height: 1.9; }
.about-body p strong { color: var(--text); font-weight: 500; }

.capability-list { list-style: none; border: 1px solid var(--border); }

.capability-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.capability-list li:last-child { border-bottom: none; }
.capability-list li:hover { background: var(--bg3); color: var(--text); }

.capability-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.6;
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.contact-info p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 2rem; }

.contact-detail { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

.contact-detail-item { display: flex; gap: 12px; align-items: flex-start; }

.detail-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--faint);
  min-width: 64px;
  padding-top: 2px;
}

.detail-value { font-size: 13px; color: var(--muted); }
.detail-value a { color: var(--accent); text-decoration: none; }

/* FORM */
.commission-form { display: flex; flex-direction: column; gap: 1rem; }

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

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

.form-field label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-color: var(--bg2);
  padding-right: 32px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: rgba(200,169,110,0.4); }

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

.form-field textarea { min-height: 120px; resize: vertical; }
.form-field select option { background: #111; }

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
}

.form-note { font-size: 11px; color: var(--faint); }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
  border: 1px solid var(--border);
  background: var(--bg2);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.form-success p { font-size: 13px; color: var(--muted); }

.form-error {
  display: none;
  text-align: center;
  padding: 1rem;
  border: 1px solid rgba(200,80,80,0.3);
  background: rgba(200,80,80,0.05);
  color: #c85050;
  font-size: 13px;
  margin-top: 1rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  text-decoration: none;
}

.footer-copy { font-size: 11px; color: var(--faint); }

/* FOOTER SOCIALS */
.footer-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-socials a {
  color: var(--accent) !important;
  display: flex;
  align-items: center;
  transition: color 0.2s, opacity 0.2s;
}

.footer-socials a:hover { opacity: 0.7; }

@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.5rem; }
  .hero-content { padding: 4rem 1.5rem; }
  .hero-stats { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .portfolio-grid { columns: 1; }
  .portfolio-item.featured { grid-column: unset; }
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .step { padding: 0; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.5rem; }

    .back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.08em;
}

.item-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.item-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.item-details h2 {
  margin-top: 0;
}

.item-price {
  font-size: 1.8rem;
  font-family: 'Cinzel', serif;
  color: var(--accent);
  margin: 1.5rem 0;
}
.Marketplace-item {
  text-decoration: none;
  color: inherit;
  display: block; /* add this */
}

@media (max-width: 700px) {
  .item-layout { grid-template-columns: 1fr; }
}
    
}

/* PROFILE STYLES */
.profile-wrapper {
  display: flex;
  min-height: calc(100vh - 64px);
}
.profile-sidebar {
  width: 210px;
  background: var(--bg2);
  padding: 1rem;
  border-right: 1px solid var(--border);
}
.profile-sidebar .tab {
  padding: 0.6rem 0.8rem;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s;
}
.profile-sidebar .tab:hover {
  background: var(--accent-dim);
}
.profile-sidebar .tab.active {
  background: var(--accent-dim);
  border-left: 4px solid var(--accent);
}
.profile-content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}
.profile-content h1 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  .profile-wrapper { flex-direction: column; }
  .profile-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .profile-content { padding: 1rem; }
}
