/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Global link styles */

html {
  font-size: 100%;
}

body {
  line-height: 1.5;
}

p {
  margin: 0 0 1.50rem;  /* bottom spacing between paragraphs */
}

@media (max-width: 600px) {
  p {
    margin-bottom: 1rem;
  }
}


a {
  color: #636363;
  text-decoration: none;
  text-decoration-color: transparent;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
  color: #BA8D3B;
  text-decoration: underline;
  text-decoration-color: currentColor;
}

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

/* Shared layout — all pages */
body {
  background: #faf9f7;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Shared content container — all pages */
.page-main {
  max-width: 980px;
  width: 100%;
}

/* Shared body text — all pages */
.page-text {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.5;
  font-weight: 400;
  color: #333333;
}

.page-text a {
  color: #636363;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-text a:hover {
  color: #BA8D3B;
}

/* Mustard name link — homepage and anywhere the name appears as a link */
.name-link {
  color: #BA8D3B !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.name-link:hover {
  color: #333333 !important;
  text-decoration: none;
}

/* Page title — used as h1 on interior pages (about, etc.) */
.page-title {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 400;
  color: #BA8D3B;
  margin-bottom: 0.3rem;
}

.page-title a {
  color: inherit;
  text-decoration: none;
}

/* About page — font size override only; all other styles inherited */
.about-page .page-text {
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  margin-bottom: 1.75rem;
}


/* About page vertical positioning */
body.about-page {
  align-items: flex-start;
}

.about-page .page-title {
  margin-bottom: 2.5rem;
}

.about-page .page-main {
  padding-top: 28vh;
  padding-bottom: 10vh;
}

/* Headshot image */
.headshot {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 2.5rem auto;
  border-radius: 4px;
}

/* Hub page */

.hub-page .hub-title {
  font-family: 'Crimson Pro', serif;
  font-size: 1.35rem;
  color: #b8b8b8;
  font-style: italic;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 3rem;
  letter-spacing: normal;
  text-transform: none;
  border: none;
}


.hub-connector {
  color: #cccccc;
}

.hub-page .page-text {
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  margin-bottom: 1.75rem;
}

body.hub-page {
  align-items: flex-start;
}

.hub-page .page-main {
  padding-top: 28vh;
  padding-bottom: 10vh;
}


/* Contact line */
.contact-line {
  margin-top: 2.5rem;
  font-style: italic;
}

/* Substack embed */

.subscribe-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
  align-items: center;
  justify-content: flex-start;
}

.subscribe-form input[type="email"] {
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #cccccc;
  background: transparent;
  color: #333333;
  outline: none;
  width: 260px;
}

.subscribe-form input[type="email"]::placeholder {
  color: #aaaaaa;
}

.subscribe-form button {
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  padding: 0.5rem 1.25rem;
  background: #BA8D3B;
  color: #faf9f7;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.subscribe-form button:hover {
  background: #333333;
}

