/* ============================================================
   SHARED STYLES — mihaelcudic.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Mono:wght@300;400;500&display=swap');

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

:root {
  --black:   #0e0e0e;
  --white:   #f5f3ee;
  --accent:  #b83a1a;
  --mid:     #555;
  --light:   #e6e3db;
  --border:  1.5px solid #0e0e0e;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Mono', monospace;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  height: 56px;
  background: var(--white);
  border-bottom: var(--border);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--black);
  white-space: nowrap;
}

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

.nav-links li a {
  display: block;
  padding: 0 1.25rem;
  height: 56px;
  line-height: 56px;
  text-decoration: none;
  color: var(--mid);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-left: var(--border);
  transition: color 0.15s, background 0.15s;
}

.nav-links li:last-child a { border-right: var(--border); }
.nav-links li a:hover { color: var(--black); background: var(--light); }
.nav-links li a.active { color: var(--accent); background: var(--light); }

/* ── PAGE WRAPPER ─────────────────────────────────────────── */
.page {
  margin-top: 56px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── PAGE HEADER STRIP ────────────────────────────────────── */
.page-header {
  border-bottom: var(--border);
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  margin-top: auto;
  border-top: var(--border);
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ── UTILITIES ────────────────────────────────────────────── */
.accent { color: var(--accent); }

a { color: inherit; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links li a { padding: 0 0.75rem; font-size: 0.65rem; }
  .page-header { padding: 1rem 1.25rem; }
  footer { padding: 1rem 1.25rem; flex-direction: column; gap: 0.25rem; text-align: center; }
}
