/* ============================================================
   Ren Wilding — Shared Stylesheet
   ============================================================ */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Quattrocento+Sans:ital,wght@0,400;0,700;1,400&display=swap');

/* TOKENS */
:root {
  --ink: #1a1a16;
  --cream: #f5f2eb;
  --sage: #7a8c6e;
  --sage-light: #a8b89a;
  --sage-dark: #4f6145;
  --warm-mid: #c8bfa8;
  --warm-dark: #7a6d58;
  --accent: #5c6b4a;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

/* BASE */
body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: 'Quattrocento Sans', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
}

a:visited { color: inherit; }

/* ============================================================
   NAV (shared across all pages)
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--warm-mid);
}

.nav-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sage-dark);
}

/* ============================================================
   FOOTER (shared across all pages)
   ============================================================ */
footer {
  border-top: 1px solid var(--warm-mid);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--warm-dark);
  letter-spacing: 0.05em;
}

footer a {
  color: var(--sage-dark);
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }

/* ============================================================
   SHARED UTILITIES
   ============================================================ */

/* Small uppercase label used as section eyebrows */
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

/* Display headings */
.display-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
}

/* ============================================================
   INDEX PAGE
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 4.5rem;
}

.hero-image-panel {
  position: relative;
  background: var(--sage);
  overflow: hidden;
}

.hero-image-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,97,69,0.3) 0%, transparent 60%);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(20%) contrast(1.05);
}

.photo-placeholder-box {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(160deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.photo-placeholder-box svg {
  opacity: 0.3;
  width: 64px;
  height: 64px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 5rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1.5rem;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.hero-name em {
  font-style: italic;
}

.hero-pronouns {
  font-size: 0.8rem;
  color: var(--warm-dark);
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
}

.hero-divider {
  width: 3rem;
  height: 1px;
  background: var(--sage);
  margin-bottom: 2.5rem;
}

.hero-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
  max-width: 38rem;
}

.hero-bio em {
  font-style: italic;
}

.hero-bio p + p {
  margin-top: 1.25rem;
}

.hero-book {
  margin-top: 2.5rem;
}

.hero-book-divider {
  width: 3rem;
  height: 1px;
  background: var(--warm-mid);
  margin-bottom: 1.25rem;
}

.hero-book-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.4rem;
}

.hero-book-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.hero-book-pub {
  font-size: 0.82rem;
  color: var(--warm-dark);
  letter-spacing: 0.03em;
}

.hero-book-link {
  color: var(--sage-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.hero-book-link:hover {
  border-bottom-color: var(--sage-dark);
}

.hero-book-order {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--sage-dark);
  padding: 0.5rem 1.25rem;
  text-decoration: none;
  transition: background 0.2s;
}

.hero-book-order,
.hero-book-order:link,
.hero-book-order:visited,
.hero-book-order:hover {
  color: var(--cream);
}

.hero-book-order:hover {
  background: var(--accent);
}

/* ============================================================
   PUBLICATIONS PAGE
   ============================================================ */
.page-header {
  padding: 8rem 3rem 4rem;
  max-width: 78rem;
  margin: 0 auto;
  border-bottom: 1px solid var(--warm-mid);
}

.page-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1rem;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
}

.content {
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 3rem 6rem;
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 0;
}

.toc {
  padding-top: 3rem;
  padding-right: 3rem;
  border-right: 1px solid var(--warm-mid);
  position: sticky;
  top: 5rem;
  align-self: start;
}

.toc-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-dark);
  margin-bottom: 1.25rem;
}

.toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.toc a {
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
  display: block;
}

.toc a:hover { color: var(--sage-dark); }

.pub-list {
  padding-left: 3rem;
  padding-top: 3rem;
}

.pub-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--warm-mid);
}

.pub-section:last-child { border-bottom: none; }

.pub-section:has(+ .section-group-header) { border-bottom: none; }

.pub-section.is-book .pub-venue { font-size: 1.45rem; }

.book-cover-layout {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.5rem;
  align-items: start;
}

.book-cover-placeholder {
  width: 7rem;
  aspect-ratio: 2 / 3;
  background: var(--warm-mid);
  opacity: 0.5;
  border: 1px solid var(--warm-mid);
}

.book-cover-layout img {
  width: 7rem;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--warm-mid);
}

.pub-venue {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.pub-venue a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--sage);
  transition: color 0.2s, border-color 0.2s;
}

.pub-venue a:hover {
  color: var(--sage-dark);
  border-color: var(--sage-dark);
}

.pub-meta {
  font-size: 0.8rem;
  color: var(--warm-dark);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.pub-meta a {
  color: var(--sage-dark);
  text-decoration: none;
}

.pub-meta a:hover { text-decoration: underline; }

.pub-works {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pub-works li {
  font-size: 0.95rem;
  color: var(--ink);
  padding-left: 1rem;
  position: relative;
}

.pub-works li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--sage);
}

.pub-works a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.pub-works a:hover {
  color: var(--sage-dark);
  border-bottom-color: var(--sage);
}

.section-group-header {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  padding: 2.5rem 0 1.5rem;
  border-top: 2px solid var(--sage);
  margin-top: 1rem;
}

.section-group-header:first-child {
  padding-top: 0;
  border-top: none;
}

.awards-section { margin-top: 0; }

.award-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--warm-mid);
}

.award-item:last-child { border-bottom: none; }

.award-name { font-size: 0.95rem; }

.award-name a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.award-name a:hover {
  color: var(--sage-dark);
  border-bottom-color: var(--sage);
}

.award-institution {
  font-size: 0.8rem;
  color: var(--warm-dark);
}

.award-year {
  font-size: 0.8rem;
  color: var(--warm-dark);
  white-space: nowrap;
}

/* ============================================================
   WORDS LIKE BLADES PAGE
   ============================================================ */
.wlb-hero {
  padding: 8rem 3rem 4rem;
  border-bottom: 1px solid var(--warm-mid);
}

.wlb-hero-inner { max-width: 52rem; }

.wlb-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1rem;
}

.wlb-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.1;
}

.quote-section {
  background: var(--sage-dark);
  padding: 4rem 3rem;
  display: flex;
  justify-content: flex-start;
}

.quote-inner { max-width: 46rem; }

blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.quote-attribution {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 500;
}

.about-section {
  padding: 5rem 3rem;
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink);
}

.about-text p + p { margin-top: 1.25rem; }

.inline-quote {
  font-style: italic;
  position: relative;
}

.inline-quote::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', serif;
  font-size: 2em;
  line-height: 0;
  vertical-align: -0.35em;
  color: var(--sage-dark);
  margin-right: 0.05em;
}

.inline-quote::after {
  content: '\201D';
  font-family: 'Cormorant Garamond', serif;
  font-size: 2em;
  line-height: 0;
  vertical-align: -0.35em;
  color: var(--sage-dark);
  margin-left: 0.05em;
}

.curators-panel {
  border-left: 1px solid var(--warm-mid);
  padding-left: 3rem;
}

.curators-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 1.5rem;
}

.curator-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.curator-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--warm-mid);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.curator-item:first-child { border-top: 1px solid var(--warm-mid); }

.curator-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--ink);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-wrap {
  padding: 4rem 3rem 6rem;
  max-width: 72rem;
  margin: 0 auto;
}

.contact-inner {
  max-width: 36rem;
}

.contact-intro {
  font-size: 1rem;
  color: var(--warm-dark);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.form-field input,
.form-field textarea {
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--warm-mid);
  padding: 0.5rem 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--sage-dark);
}

.form-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--sage-dark);
  border: none;
  padding: 0.75rem 2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: var(--accent);
}

@media (max-width: 768px) {
  .contact-wrap { padding: 3rem 1.5rem 4rem; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.72rem; letter-spacing: 0.06em; }
  .nav-name { display: none; }
  footer { flex-direction: column; gap: 0.75rem; text-align: center; }

  /* Index */
  .hero { grid-template-columns: 1fr; }
  .hero-image-panel { min-height: 55vw; max-height: 60vh; }
  .photo-placeholder-box { min-height: 55vw; }
  .hero-content { padding: 3rem 1.5rem; }

  /* Publications */
  .page-header { padding: 6rem 1.5rem 2.5rem; }
  .content { grid-template-columns: 1fr; padding: 0 1.5rem 4rem; }
  .toc { display: none; }
  .pub-list { padding-left: 0; }

  /* Words Like Blades */
  .wlb-hero { padding: 6rem 1.5rem 2.5rem; }
  .quote-section { padding: 3rem 1.5rem; }
  .about-section { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.5rem; }
  .curators-panel { border-left: none; padding-left: 0; border-top: 1px solid var(--warm-mid); padding-top: 2.5rem; }
}
