/* =============================================
   PORTFOLIO — GLOBAL STYLES
   ============================================= */

:root {
  --bg:       #FFFFFF;
  --bg-card:  #F9F8F6;
  --fg:       #1A1916;
  --muted:    #9E9890;
  --border:   #EBEBEB;
  --white:    #FFFFFF;

  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'DM Sans', sans-serif;

  --nav-h: 60px;
  --pad: 48px;
  --gap: 2px;
  --radius: 0px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, video, iframe { display: block; width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 0.5px solid var(--border);
  background: var(--bg);
  z-index: 100;
}

.nav-logo {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

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

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}

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

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 24px;
  border: 0.5px solid var(--fg);
  background: transparent;
  color: var(--fg);
  transition: background var(--transition), color var(--transition);
}
.btn:hover { background: var(--fg); color: var(--bg); }

.btn-filled { background: var(--fg); color: var(--bg); }
.btn-filled:hover { opacity: 0.75; }

/* ── LABEL ── */
.label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px var(--pad);
  border-bottom: 0.5px solid var(--border);
}

/* ── PAGE WRAPPER ── */
.page { padding-top: var(--nav-h); min-height: 100vh; }

/* ── FOOTER ── */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px var(--pad);
  border-top: 0.5px solid var(--border);
  margin-top: 80px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--fg); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --pad: 20px; }
  .nav-links { gap: 20px; }
}
