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

:root {
  --bg: #0e0e0d;
  --surface: #161614;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --text-primary: #f0ebe0;
  --text-secondary: #8c8880;
  --text-muted: #4a4844;
  --accent: #c9b99a;
  --accent-dim: rgba(201, 185, 154, 0.12);
  --link-bg: rgba(240, 235, 224, 0.05);
  --link-bg-hover: rgba(240, 235, 224, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'DM Mono', monospace;
  font-weight: 300;
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Card / Layout ─────────────────────────────────── */
.card {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 48px 100px;
  animation: fadeUp 0.7s ease both;
}

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

/* ── Eyebrow ────────────────────────────────────────── */

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  animation: fadeUp 0.7s 0.1s ease both;
}

/* ── Heading ────────────────────────────────────────── */

h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 16px;
  animation: fadeUp 0.7s 0.15s ease both;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

/* ── Tagline ────────────────────────────────────────── */

.tagline {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 40px;
  animation: fadeUp 0.7s 0.2s ease both;
}

/* ── Divider ────────────────────────────────────────── */

.divider {
  width: 40px;
  height: 1px;
  background: var(--border-hover);
  margin-bottom: 24px;
  animation: fadeUp 0.7s 0.25s ease both;
}

/* ── Body Text ──────────────────────────────────────── */

p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 560px;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* ── Links ──────────────────────────────────────────── */

.links {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.35s ease both;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--link-bg);
  color: var(--text-primary);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.link-btn:hover {
  background: var(--link-bg-hover);
  border-color: var(--border-hover);
  color: var(--accent);
}

.link-btn--secondary {
  color: var(--text-secondary);
}

.link-btn--secondary:hover {
  color: var(--accent);
}

.link-btn svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── Projects Section ───────────────────────────────── */
.projects-header {
  text-align: center;
  margin-left: auto;
  margin-top: 2em;
}

.projects-header h1 {
  font-size: 3em;
  color: var(--accent);
}

.projects-header p {
  text-align: center !important;
  margin: auto;
  color: var(--text-primary);
}

.projects {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  gap: 64px;
  animation: fadeUp 0.7s 0.4s ease both;
}

.projects > div {
  border-top: 1px solid var(--border);
  padding: 40px;
  text-align: center;
}

.projects > div:hover {
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  border-color: var(--border-hover);

}

.projects > div > p {
  margin: auto;
}

.projects h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

hr {
  width: 8em;
  margin: auto;
  margin-top: 1em;
  margin-bottom: 1em;
  color: var(--accent);

}

/* ── Project Images ─────────────────────────────────── */

.projects img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  margin-bottom: 20px;
  object-fit: cover;
  transition: border-color 0.2s ease;
}

.projects img:hover {
  border-color: var(--accent);
}

/* ── Slider Controls ────────────────────────────────── */

.slider-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  justify-content: center;
}

.slider-controls p {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--link-bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  user-select: none;
  animation: none;
  max-width: none;
  display: inline-block !important;
}

.slider-controls p:hover {
  color: var(--accent);
  border-color: var(--border-hover);
  background: var(--link-bg-hover);
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 600px) {
  .card {
    padding: 52px 24px 72px;
  }

  .links {
    flex-direction: column;
    align-items: flex-start;
  }
}
