/* petebuchholz.com — rebuilt static site
   Content recovered from the Internet Archive (HTML only; original CSS/images
   were not archived). Clean editorial layout for a writer's portfolio. */

:root {
  --ink: #1c1c1c;
  --muted: #6a6a6a;
  --line: #e4e2dd;
  --paper: #faf8f4;
  --accent: #7a5c34;
  --max: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 2rem; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 5;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0; flex-wrap: wrap; gap: 0.5rem;
}
.site-header .logo {
  font-size: 1.4rem; font-weight: 800; text-decoration: none; letter-spacing: 0.01em;
}
.site-header nav ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-header nav a {
  text-decoration: none; font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; color: #333;
}
.site-header nav a:hover { color: var(--accent); }

/* Hero */
.hero {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #faf8f4 0%, #f1ece3 60%, #e9e1d4 100%);
}
.hero-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 3.5rem; flex-wrap: wrap;
}
.hero-text { flex: 1 1 380px; min-width: 300px; }
.hero h1 {
  margin: 0; font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.015em;
}
.hero .tagline {
  margin: 0.9rem 0 0; font-size: 1.05rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent);
}
.hero .lead {
  margin: 1.4rem 0 0; max-width: 32rem;
  font-size: 1.08rem; line-height: 1.7; color: #4a463f;
}
.hero-cta {
  display: inline-block; margin-top: 2rem; padding: 0.8rem 1.6rem;
  background: var(--accent); color: #fff; text-decoration: none;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; border-radius: 3px; transition: background 0.15s ease;
}
.hero-cta:hover { background: #5f4826; }
.hero-portrait {
  flex: 0 0 auto; width: 270px; max-width: 40%;
  aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px;
  box-shadow: 0 16px 44px rgba(28,20,10,0.22);
}
@media (max-width: 720px) {
  .hero { padding: 3rem 0; }
  .hero-inner { flex-direction: column-reverse; align-items: flex-start; gap: 1.8rem; }
  .hero-portrait { width: 190px; max-width: 55%; }
}

/* Book mockup (3D render — has its own shadow) */
.book img.book-mockup {
  width: 300px; max-width: 60%; height: auto;
  border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 18px 30px rgba(28,20,10,0.28));
}

/* Sections */
section.block { padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
section.block > .wrap > h2 {
  font-size: 1.5rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.03em; margin: 0 0 1.75rem;
}
.subhead {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); margin: 2rem 0 1rem;
}

/* Featured book */
.book { display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap; }
.book img {
  width: 240px; max-width: 100%; height: auto; border-radius: 3px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.14);
}
.book-info h3 { margin: 0 0 0.3rem; font-size: 2rem; font-weight: 800; }
.book-info .sub { margin: 0; font-size: 1.2rem; font-weight: 600; color: var(--muted); }
.book-info .status {
  display: inline-block; margin-top: 1rem; padding: 0.35rem 0.8rem;
  background: var(--accent); color: #fff; border-radius: 2px;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.book-info .credit { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); font-style: italic; }

.section-note { margin: -0.75rem 0 1.75rem; color: var(--muted); font-size: 0.95rem; }

/* Entry grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.entry {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  display: flex; flex-direction: column; overflow: hidden;
}
.entry img {
  display: block; width: 100%; height: 190px; object-fit: cover;
  background: #ece9e3; border-bottom: 1px solid var(--line);
}
.entry h4 { margin: 1.3rem 1.5rem 0.6rem; font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.entry p { margin: 0 1.5rem 1.1rem; color: var(--muted); font-size: 0.92rem; line-height: 1.6; flex: 1; }
.entry .go, .book-info .go {
  display: inline-block; margin: 0 1.5rem 1.4rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; text-decoration: none; color: var(--accent);
}
.entry .go:hover, .book-info .go:hover { text-decoration: underline; }
.book-info .go { margin: 1.2rem 0 0; }
.entry .source {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--accent); margin: 0 1.5rem 1.4rem;
}
.portrait {
  width: 220px; max-width: 100%; height: auto; border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.about-text { font-size: 1.05rem; line-height: 1.75; color: #333; margin: 0; }

/* Footer */
.site-footer { background: #1c1c1c; color: #fff; padding: 3.5rem 0 2.5rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 3rem; justify-content: space-between; }
.footer-brand h2 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.footer-brand p { margin: 0.35rem 0 0; color: #b7b7b7; }
.signup { min-width: 280px; }
.signup h3 { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; margin: 0 0 1rem; }
.signup form { display: flex; flex-direction: column; gap: 0.7rem; max-width: 320px; }
.signup input {
  padding: 0.7rem 0.9rem; border: 1px solid #444; background: #262626;
  color: #fff; border-radius: 2px; font-family: inherit; font-size: 0.95rem;
}
.signup input::placeholder { color: #8a8a8a; }
.signup button {
  padding: 0.75rem 1rem; background: #fff; color: #1c1c1c; border: 0; border-radius: 2px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.85rem; cursor: pointer;
}
.signup button:hover { background: #e6e6e6; }
.footer-contact h3 { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; margin: 0 0 0.5rem; }
.footer-contact a { color: #fff; }
.copyright { margin-top: 3rem; color: #8a8a8a; font-size: 0.85rem; }

@media (max-width: 640px) {
  .book { gap: 1.5rem; }
  .intro { padding: 3rem 0 2rem; }
}
