/* Generated by Claude.ai */
/* ============================================================
   professorkevin.com — styles.css
   ALL appearance lives here. To restyle the site, edit this file
   only; index.html contains content and structure exclusively.

   Design language: "the annotated manuscript."
   White paper, scholarly serif, and one accent — the red of a
   professor's marking pen — used only for annotation: reference
   marks, underlines, and marginal rules.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --paper:    #FCFCFA;   /* page background */
  --ink:      #1A1A1A;   /* primary text */
  --ink-soft: #6B6B64;   /* secondary text, metadata */
  --hairline: #E3E2DB;   /* rules and borders */
  --pen:      #A2261F;   /* the red pen — sole accent */
  --pen-wash: #F7ECEA;   /* faint red tint for hovers */

  --serif: "STIX Two Text", "Times New Roman", serif;
  --mono:  "IBM Plex Mono", "Courier New", monospace;

  --measure: 66ch;       /* main column width */
  --gap: 1.25rem;
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  padding: 0 1.25rem;
}

main, .site-header, .site-footer {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}

a { color: var(--ink); text-decoration-color: var(--pen); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pen); }
:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; }

h1, h2, h3 { font-weight: 600; line-height: 1.2; }
h1 { font-size: 2.6rem; letter-spacing: -0.01em; }
h2 { font-size: 1.7rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; }

section, aside.recipes-banner { margin: 4.5rem 0; }

/* Course-catalog eyebrows: mono, spaced, ruled */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  border-top: 1px solid var(--hairline);
  padding-top: 0.6rem;
  margin-bottom: 1.4rem;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--gap);
  flex-wrap: wrap;
  padding: 1.4rem 0;
}

.site-mark { font-family: var(--mono); font-size: 0.85rem; }

.site-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-nav a { font-family: var(--mono); font-size: 0.8rem; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-decoration-color: var(--pen); }
.nav-recipes { color: var(--pen); }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 3rem;
}

.hero-text { flex: 1 1 24rem; }
.degree { font-weight: 400; font-style: italic; }
.hero-lede { margin-top: 1.1rem; font-size: 1.1rem; }

.hero-portrait {
  flex: 0 0 12.5rem;
  aspect-ratio: 1;
  margin-top: 0.4rem;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Image placeholders ---------- */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--ink-soft);
  background:
    linear-gradient(45deg, transparent 49.6%, var(--hairline) 49.6%, var(--hairline) 50.4%, transparent 50.4%);
}
.placeholder-note {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  background: var(--paper);
  padding: 0.2rem 0.5rem;
}

/* ---------- Consciousness section ---------- */
.section-intro { margin-bottom: 2.2rem; }

.definition {
  border-left: 2px solid var(--pen);
  padding: 0.2rem 0 0.2rem 1.4rem;
  margin: 2.2rem 0;
}

.ref-mark {
  color: var(--pen);
  font-family: var(--mono);
  font-size: 0.7em;
  margin-right: 0.35rem;
}

.definition-body { margin: 0.6rem 0 0.9rem; }

/* Hanging-indent citation, APA style */
.citation {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 1.5em;
  text-indent: -1.5em;
  margin-bottom: 1.1rem;
}

.demo-button {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 0.55rem 1rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.demo-button:hover {
  background: var(--pen);
  border-color: var(--pen);
  color: var(--paper);
}
.demo-button:active { transform: translateY(1px); }

.fine-print {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-top: 2.4rem;
}

/* ---------- Blog ---------- */
.post {
  display: grid;
  grid-template-columns: 11rem 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 1.6rem;
  margin: 2.4rem 0;
}

.post-image {
  grid-row: 1 / span 3;
  aspect-ratio: 16 / 10;
  align-self: start;
}
img.post-image { width: 11rem; object-fit: cover; }

.post-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}

.post h3 a { text-decoration: none; }
.post h3 a:hover { text-decoration: underline; text-decoration-color: var(--pen); }

.post-excerpt { margin-top: 0.5rem; color: var(--ink); }

/* ---------- Recipe banner ---------- */
.recipes-banner {
  border: 1px solid var(--hairline);
  background: var(--pen-wash);
  padding: 1.8rem 2rem 2rem;
}
.recipes-banner .eyebrow { border-top: none; padding-top: 0; }

.recipes-link {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--pen);
  text-decoration: none;
  border-bottom: 2px solid var(--pen);
  margin-top: 0.9rem;
  padding-bottom: 0.15rem;
}
.recipes-link:hover { background: var(--pen); color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  margin-top: 5rem;
  padding: 1.4rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: var(--gap);
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.footer-note { font-style: italic; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  h1 { font-size: 2rem; }

  .hero { flex-direction: column-reverse; gap: 1.6rem; }
  .hero-portrait { flex-basis: auto; width: 9rem; }

  .post { grid-template-columns: 1fr; }
  .post-image { grid-row: auto; margin-bottom: 0.8rem; }
  img.post-image { width: 100%; }

  .recipes-banner { padding: 1.4rem 1.2rem 1.6rem; }
}
