/* ==============================
   Francesca — Multi-page Minimal
   Cormorant Garamond + Outfit
   Pure B&W, extreme editorial
   ============================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0c0b09;
  --fg: #e8dfd0;
  --accent: #c4a06a;
  --dim: #6b6459;
  --muted: #8f877a;
  --rule: #1e1c18;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 640px;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted);
  background: var(--bg);
  min-height: 100vh;
}

::selection { background: var(--fg); color: var(--bg); }

a { color: var(--fg); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--muted); }


/* ================================
   HOME PAGE
   ================================ */

.page-home {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.home {
  text-align: center;
  padding: 2rem;
}

.home-name h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--fg);
}

.home-role {
  margin-top: 2rem;
}

.home-role p {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--accent);
}

.home-nav {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.home-nav a {
  font-size: 0.625rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--dim);
}

.home-nav a:hover {
  color: var(--fg);
}


/* ================================
   NAV BAR (inner pages)
   ================================ */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.nav-back {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  color: var(--fg);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.625rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--dim);
}

.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--accent); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 20px;
  height: 12px;
  position: relative;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--fg);
  position: absolute;
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle span:first-child { top: 0; }
.nav-toggle span:last-child { bottom: 0; }

.nav-toggle.open span:first-child {
  top: 50%;
  transform: rotate(45deg);
}

.nav-toggle.open span:last-child {
  bottom: 50%;
  transform: rotate(-45deg);
}


/* ================================
   PAGE LAYOUT (inner pages)
   ================================ */

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  min-height: calc(100vh - 8rem);
}

.page-header {
  margin-bottom: 4rem;
}

.page-header h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(3.5rem, 10vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--fg);
}


/* ================================
   CONTENT
   ================================ */

.content {
  padding-bottom: 4rem;
}

/* Lead paragraph */
.lead p {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 3rem;
}

/* Body text blocks */
.body-text {
  margin-bottom: 2.5rem;
}

.body-text p {
  margin-bottom: 1rem;
}

.body-text p:last-child {
  margin-bottom: 0;
}

/* Section label */
h2 {
  font-family: var(--sans);
  font-size: 0.5625rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--dim);
  margin-bottom: 1.5rem;
}

/* Subtitle */
h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--fg);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

/* Separator */
.separator {
  width: 100%;
  height: 1px;
  background: var(--rule);
  margin: 3rem 0;
}

/* Lists */
.list {
  list-style: none;
  margin: 0;
}

.list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--muted);
}

.list li:first-child {
  border-top: 1px solid var(--rule);
}

/* Pull quote */
.pull-quote {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  margin-top: 2rem;
  line-height: 1.5;
}

/* Lead small */
.lead-sm {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 300;
  font-style: italic;
  color: var(--fg);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}


/* ================================
   FOCUS PAGE
   ================================ */

.focus-entry {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}

.focus-entry:first-child {
  border-top: 1px solid var(--rule);
}

.focus-n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.875rem;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 0.25rem;
}


/* ================================
   WRITING PAGE
   ================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.two-col h3 {
  margin-bottom: 0.75rem;
}

.two-col p {
  font-size: 0.875rem;
}


/* ================================
   CONTACT PAGE
   ================================ */

.page-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: calc(100vh - 8rem);
}

.content-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-text {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  color: var(--dim);
  margin-bottom: 3rem;
}

.contact-link {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  padding: 0.875rem 3rem;
  border: 1px solid var(--accent);
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}

.contact-link:hover {
  background: var(--accent);
  color: var(--bg);
}


/* ================================
   FOOTER
   ================================ */

.footer {
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.footer-lgm {
  font-size: 0.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--accent);
  opacity: 0.5;
}


/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 640px) {
  .nav {
    padding: 1rem 1.5rem;
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 0.6875rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .home-name h1 {
    font-size: clamp(3.5rem, 18vw, 6rem);
  }

  .home-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .page {
    padding: 4rem 1.5rem 3rem;
  }

  .page-header {
    margin-bottom: 3rem;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .focus-entry {
    gap: 1rem;
  }
}


/* ================================
   PRINT
   ================================ */

@media print {
  :root { --bg: #faf8f4; --fg: #1a1814; --accent: #8b6f3a; --dim: #5a5549; --muted: #7a7468; --rule: #ddd8d0; }
  .nav, .footer { display: none; }
  body { font-size: 10pt; }
  .page { padding: 1rem 0; }
}


/* ================================
   REDUCED MOTION
   ================================ */

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
