/* ==========================================================================
   Jennifer London — jenniferlondon.net
   Static rebuild of the Squarespace site for cPanel hosting.
   Fonts: PT Serif (Google Fonts, exact match to original).
   adobe-garamond-pro (Typekit, not freely licensed) is substituted with
   EB Garamond (Google Fonts) — closest free equivalent to the original.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=EB+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'EB Garamond', Georgia, serif;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

p {
  margin: 0 0 1.4em;
  font-size: 17.5px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

em, i { font-style: italic; }

/* --------------------------------------------------------------------
   Buttons (used on home page + shared)
   -------------------------------------------------------------------- */

.btn {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto 10px;
  padding: 10px 16px;
  border: 2px solid #333;
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  text-align: center;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: #333;
  color: #fff;
}

/* --------------------------------------------------------------------
   Social icons (shared svg icon styling)
   -------------------------------------------------------------------- */

.social-icons {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.social-icons a {
  display: inline-flex;
  width: 30px;
  height: 30px;
  color: #333;
}

.social-icons svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* ==========================================================================
   Inner-page header (selected works & contact pages)
   ========================================================================== */

body.inner-page {
  min-height: 100vh;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 60px 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.main-nav {
  display: flex;
  gap: 28px;
  padding-top: 8px;
}

.main-nav a {
  font-family: 'PT Serif', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.6px;
  color: #999;
}

.main-nav a.active,
.main-nav a:hover {
  color: #000;
}

.site-logo {
  text-align: right;
}

.site-logo a {
  font-family: 'PT Serif', Georgia, serif;
  font-weight: 700;
  font-size: 24px;
  color: #000;
}

.site-logo .logo-subtitle {
  font-family: 'PT Serif', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: #999;
  margin-top: 2px;
}

/* Mobile nav toggle (simple, no JS menu needed at this size) */
.mobile-menu-link { display: none; }

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 24px 16px;
  }
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .site-logo { text-align: center; }
}

/* --------------------------------------------------------------------
   Page title ("selected works & publications" / "contact")
   -------------------------------------------------------------------- */

.page-title {
  border-left: 3px solid #ccc;
  padding: 6px 0 6px 24px;
  margin: 60px 60px 40px;
}

.page-title h1 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.96px;
  color: #aaa;
  margin: 0;
  text-transform: none;
}

@media (max-width: 680px) {
  .page-title { margin: 40px 24px 30px; }
}

/* ==========================================================================
   Footer (selected works & contact pages)
   ========================================================================== */

.site-footer {
  padding: 40px 20px 60px;
  text-align: center;
}

.footer-jl {
  margin: 14px 0;
  font-family: 'PT Serif', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.4px;
  color: #999;
}

.site-footer .social-icons {
  margin-top: 10px;
}
