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

/* ─── Base ─────────────────────────────────────────── */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background-color: #faf9f7;
  color: #2c2c2a;
  min-height: 100vh;
}

/* ─── Layout ────────────────────────────────────────── */
.site {
  max-width: 680px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

/* ─── Header ────────────────────────────────────────── */
.site-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 0.5px solid #d3d1c7;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-text {
  display: flex;
  flex-direction: column;
}

.profile-photo {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.site-name {
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.01em;
  color: #2c2c2a;
  margin-bottom: 0.3rem;
}

.site-subtitle {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888780;
}

/* ─── Nav ───────────────────────────────────────────── */
.site-nav {
  display: flex;
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.nav-link {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888780;
  text-decoration: none;
  border-bottom: 0.5px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  color: #2c2c2a;
}

.nav-link.active {
  color: #2c2c2a;
  border-bottom-color: #b4b2a9;
}

/* ─── Sections ──────────────────────────────────────── */
.page-section {
  display: none;
}

.page-section.visible {
  display: block;
}

/* ─── Typography ────────────────────────────────────── */
.intro {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  color: #5f5e5a;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.body-text {
  font-size: 0.95rem;
  font-weight: 300;
  color: #2c2c2a;
  line-height: 1.95;
  margin-bottom: 1.25rem;
}

.body-text em {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 400;
}

.body-text.muted {
  color: #5f5e5a;
}

/* ─── Divider ───────────────────────────────────────── */
.divider {
  width: 2rem;
  height: 0.5px;
  background-color: #b4b2a9;
  margin: 2.25rem 0;
}

/* ─── Contact ───────────────────────────────────────── */
.contact-link {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-style: italic;
  color: #2c2c2a;
  text-decoration: none;
  border-bottom: 0.5px solid #b4b2a9;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
  color: #5f5e5a;
  border-bottom-color: #888780;
}

/* ─── Signup Form ───────────────────────────────────── */
.signup-form {
  margin-top: 1.25rem;
}

.signup-label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888780;
  margin-bottom: 0.65rem;
}

.signup-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.signup-credit {
  margin-top: 0.85rem;
  font-size: 0.7rem;
  font-weight: 300;
  color: #b4b2a9;
}

.signup-credit a {
  color: #b4b2a9;
  text-decoration: none;
  border-bottom: 0.5px solid #d3d1c7;
  transition: color 0.2s ease;
}

.signup-credit a:hover {
  color: #888780;
}

.signup-input {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: #2c2c2a;
  background-color: transparent;
  border: 0.5px solid #d3d1c7;
  padding: 0.6rem 0.9rem;
  width: 18rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.signup-input::placeholder {
  color: #b4b2a9;
}

.signup-input:focus {
  border-color: #888780;
}

.signup-button {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #faf9f7;
  background-color: #2c2c2a;
  border: none;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.signup-button:hover {
  background-color: #5f5e5a;
}

.signup-label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888780;
  margin-bottom: 0.65rem;
}

.signup-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.signup-credit {
  margin-top: 0.85rem;
  font-size: 0.7rem;
  font-weight: 300;
  color: #b4b2a9;
}

.signup-credit a {
  color: #b4b2a9;
  text-decoration: none;
  border-bottom: 0.5px solid #d3d1c7;
  transition: color 0.2s ease;
}

.signup-credit a:hover {
  color: #888780;
}

/* ─── Footer ────────────────────────────────────────── */
.site-footer {
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid #d3d1c7;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.07em;
  color: #b4b2a9;
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 480px) {
  .site {
    padding: 2.5rem 1.5rem 4rem;
  }

  .site-name {
    font-size: 1.65rem;
  }

  .intro {
    font-size: 1.05rem;
  }

  .signup-input {
    width: 100%;
  }
}
