@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --ink:       #1c1a14;
  --ink-mid:   #4a4436;
  --ink-mute:  #857d72;
  --linen:     #f7f4ef;
  --cream:     #fdfbf8;
  --rule:      #e0dbd3;
  --amber:     #b8760a;
  --amber-lt:  #e8a82a;
  --amber-bg:  #fdf5e4;
  --sage:      #4d7057;
  --sage-lt:   #7aaa87;
  --sage-bg:   #eef4ee;
  --night:     #16202a;
  --night-mid: #1e2d3d;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 60px;
  background: rgba(22,32,42,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-name {
  font-family: 'Lora', serif;
  font-size: 0.9rem; font-weight: 500;
  color: rgba(255,255,255,0.95);
  text-decoration: none; letter-spacing: 0.02em;
}

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

.nav-links a {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.78); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: rgba(255,255,255,1); }

.nav-links a.nav-support {
  color: var(--amber-lt);
  border: 1px solid rgba(232,168,42,0.35);
  padding: 0.3rem 0.75rem; border-radius: 2px;
}
.nav-links a.nav-support:hover { background: rgba(232,168,42,0.1); }

.nav-links a.nav-cv {
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.45);
  padding: 0.3rem 0.75rem; border-radius: 2px;
}
.nav-links a.nav-cv:hover { color: white; border-color: white; }

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  background: var(--night);
  padding: 9rem 4rem 5rem;
}

.page-header-inner { max-width: 1060px; margin: 0 auto; }

.label {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber-lt); opacity: 0.75;
  margin-bottom: 0.6rem; display: block;
}

.page-header h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500; color: white; line-height: 1.2;
}

.page-header .sub {
  font-size: 1rem; color: rgba(255,255,255,0.45);
  margin-top: 0.75rem; max-width: 540px; line-height: 1.7;
}

/* ── MAIN CONTENT ── */
main { padding: 5rem 0; }

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 4rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: all 0.2s; cursor: pointer; border: none;
}
.btn-amber { background: var(--amber); color: white; }
.btn-amber:hover { background: #9a6208; }
.btn-ghost-dark {
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8); background: transparent;
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); }
.btn-sage { background: var(--sage); color: white; }
.btn-sage:hover { background: #3d5c46; }
.btn-outline {
  border: 1.5px solid var(--rule);
  color: var(--ink-mid); background: transparent;
}
.btn-outline:hover { border-color: var(--ink-mid); }

/* ── FOOTER ── */
footer {
  background: #0f1620;
  padding: 2.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-name {
  font-family: 'Lora', serif;
  font-size: 0.85rem; color: rgba(255,255,255,0.3);
}
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.22); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { gap: 1.2rem; }
  .container { padding: 0 2rem; }
  .page-header { padding: 8rem 2rem 4rem; }
  footer { padding: 1.5rem 2rem; flex-direction: column; gap: 1rem; text-align: center; }
}
@media (max-width: 640px) {
  .nav-links .hide-mobile { display: none; }
}
