/* ────────────────────────────────────────────────────
   0xoty.com — shared design system
   ──────────────────────────────────────────────────── */

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

:root {
  --bg:      #080809;
  --bg2:     #0e0e10;
  --bg3:     #141416;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --text:    #f0ede8;
  --muted:   rgba(240,237,232,0.45);
  --dim:     rgba(240,237,232,0.2);
  --accent:  #c8b89a;
  --accent2: #8c7a62;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  border-bottom: 0.5px solid var(--border);
  background: rgba(8,8,9,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-logo {
  font-family: 'Jost', sans-serif;
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.07em;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 0.5px;
  background: var(--accent);
}

.nav-x {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--dim);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  flex-shrink: 0;
}
.nav-x:hover { color: var(--muted); }
.nav-x svg { width: 13px; height: 13px; fill: currentColor; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0a0908;
  padding: 10px 22px;
  border-radius: 2px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover { background: #d4c5ae; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--muted);
  padding: 10px 22px;
  border-radius: 2px;
  border: 0.5px solid var(--border2);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }
.btn-ghost svg { width: 13px; height: 13px; fill: currentColor; }

.btn-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 7px 14px;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.btn-small.primary { background: var(--accent); color: #0a0908; }
.btn-small.primary:hover { background: #d4c5ae; }
.btn-small.ghost { background: transparent; color: var(--muted); border: 0.5px solid var(--border2); }
.btn-small.ghost:hover { color: var(--text); border-color: var(--muted); }

/* ── Sections ── */
.section {
  padding: 64px 40px;
  border-bottom: 0.5px solid var(--border);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
}

.section-title {
  font-family: 'Jost', sans-serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  margin-top: 8px;
}
.section-title em { font-style: normal; color: var(--accent); }

.section-link {
  font-size: 11px;
  color: var(--dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.section-link:hover { color: var(--muted); }

/* ── Page header ── */
.page-header {
  padding: 72px 40px 56px;
  border-bottom: 0.5px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200,184,154,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 16px;
}
.page-header h1 {
  font-family: 'Jost', sans-serif;
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.page-header h1 em { font-style: normal; color: var(--accent); }
.page-header p {
  color: var(--muted);
  max-width: 480px;
  font-size: 13px;
  line-height: 1.8;
}

/* ── Placeholder card ── */
.photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg2);
}
.photo-placeholder svg {
  width: 26px; height: 26px;
  stroke: var(--dim); fill: none; stroke-width: 1;
}
.photo-placeholder-label {
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,9,0.97);
  z-index: 999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none; border: none;
  color: var(--muted);
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--text); }
.lightbox-caption {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  color: var(--muted);
}

/* ── Footer ── */
footer {
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy { font-size: 11px; color: var(--dim); letter-spacing: 0.04em; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  color: var(--dim);
  font-size: 11px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--muted); }

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

/* ── Responsive base ── */
@media (max-width: 680px) {
  nav { padding: 15px 20px; }
  .nav-links { display: none; }
  .section { padding: 48px 20px; }
  .page-header { padding: 56px 20px 40px; }
  footer { padding: 24px 20px; flex-direction: column; gap: 12px; text-align: center; }
}
