/* ============================================
   Subpage styles (shared by placeholder pages)
   ============================================ */

@import url('../styles.css');

.subpage-main {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 4rem auto;
  padding: 5rem 3rem;
  text-align: center;
}

.subpage-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  font-weight: 400;
}

.subpage-title {
  font-family: 'Righteous', serif;
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

.subpage-rule {
  width: 48px;
  height: 2px;
  background: var(--ink);
  margin: 2rem auto 2.5rem;
  border: 0;
}

.subpage-lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

.subpage-back {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 1rem 2rem;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
  font-weight: 400;
}

.subpage-back:hover {
  background: var(--ink);
  color: var(--cream);
}

.subpage-back::before {
  content: "←";
  display: inline-block;
  transition: transform 0.3s ease;
}

.subpage-back:hover::before { transform: translateX(-4px); }

/* little decorative swatch that matches each page */
.subpage-swatch {
  display: inline-block;
  width: 120px;
  height: 36px;
  margin-bottom: 2rem;
  border-radius: 2px;
  position: relative;
}

.subpage-swatch::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px dashed rgba(243, 236, 225, 0.55);
  border-radius: 2px;
}

.swatch--blue   { background: var(--blue); }
.swatch--red    { background: var(--red); }
.swatch--yellow { background: var(--yellow); }
.swatch--yellow::before { border-color: rgba(20,20,20,0.4); }
.swatch--ink    { background: var(--ink); }

.about-headshot {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 2rem auto;
  display: block;
}
