/* Arden Falker — launch styles. Mobile-first, light palette. */

:root {
  /* Muted Midwest palette */
  --birch: #f7f5f0;        /* birch white: page background */
  --birch-deep: #ece8df;   /* soft panel background */
  --iron: #33373b;         /* iron gray: body text */
  --iron-soft: #575c61;    /* secondary text (AA on birch and birch-deep) */
  --rule: #cfc9bd;         /* hairlines */
  --lake: #1f4e67;         /* deep lake blue: links, buttons */
  --lake-dark: #163a4d;
  --ember: #9a4a24;        /* warm accent (AA on birch) */
  --white: #ffffff;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --measure: 38rem;
  --wide: 68rem;
  --gutter: 1.25rem;
  --space: clamp(4rem, 10vw, 7.5rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--birch);
  color: var(--iron);
  font-family: var(--sans);
  font-size: 1.125rem; /* 18px */
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--iron);
}

h2 { font-size: clamp(2rem, 5vw, 2.75rem); }
h3 { font-size: 1.375rem; }

p { margin: 0 0 1.1rem; }

a {
  color: var(--lake);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--lake-dark); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  background: var(--lake);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.container {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); }

/* Placeholder marker: subtle but present */
.placeholder-note {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--iron-soft);
  border: 1px dashed var(--rule);
  border-radius: 3px;
  padding: 0.1rem 0.5rem;
  margin: 0 0 1rem;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--rule);
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--iron);
  text-decoration: none;
}
.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
  font-size: 0.9375rem;
}
.site-nav a { color: var(--iron-soft); text-decoration: none; }
.site-nav a:hover { color: var(--lake); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section--tint { background: var(--birch-deep); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.75rem;
}

.lede { font-size: 1.25rem; color: var(--iron-soft); max-width: var(--measure); }
.lede + h3 { margin-top: 2.5rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3.5rem, 12vw, 8rem) 0 var(--space); }
.hero h1 {
  font-size: clamp(3rem, 12vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.hero .descriptor {
  font-size: 1.25rem;
  color: var(--iron-soft);
  margin-bottom: 2.5rem;
}
.hero-verse {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.375rem, 4vw, 1.875rem);
  line-height: 1.4;
  border-left: 2px solid var(--ember);
  padding-left: 1.25rem;
  margin: 0 0 0.5rem;
  max-width: 34rem;
}
.hero-verse .verse { font-family: inherit; font-size: inherit; line-height: inherit; }
.hero-credit {
  font-size: 0.9375rem;
  color: var(--iron-soft);
  margin: 0.75rem 0 0;
  padding-left: calc(1.25rem + 2px);
  max-width: 34rem;
}
.hero-signup { margin-top: 3rem; max-width: 34rem; }
.hero-signup p { margin-bottom: 0.75rem; }

/* ---------- Poem ---------- */
.poem {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.7;
  margin: 2rem 0;
}
.poem-title { font-size: clamp(1.75rem, 5vw, 2.25rem); margin-bottom: 1.5rem; }
/* Verse keeps its exact line breaks and indentation. */
.verse {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  overflow-wrap: break-word;
}
.poem-meta { font-size: 0.9375rem; color: var(--iron-soft); }

/* ---------- Lists ---------- */
.pub-list,
.event-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.pub-list li,
.event-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.pub-title { font-family: var(--serif); font-size: 1.25rem; }

.pub-meta cite { font-style: italic; }
.pub-honor {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ember);
  margin: 0.35rem 0 0;
}

/* Short excerpt of a print poem, opened on request */
.excerpt { margin-top: 0.5rem; }
.excerpt summary {
  display: inline-block;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--lake);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  list-style: none;
}
.excerpt summary::-webkit-details-marker { display: none; }
.excerpt summary::before { content: "+ "; }
.excerpt[open] summary::before { content: "− "; }
.excerpt .verse {
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0.75rem 0 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--rule);
}
.excerpt-more { font-size: 0.9375rem; color: var(--iron-soft); margin: 0; }

.pub-year { margin-top: 2.5rem; }
.pub-year-heading {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--iron-soft);
  margin: 0 0 0.5rem;
}
.pub-year .pub-list { margin: 0; }
.pub-meta, .event-meta { color: var(--iron-soft); font-size: 1rem; }

.journal-card {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  background: var(--white);
}
.journal-card h3 { margin-bottom: 0.5rem; }
.journal-card p:last-child { margin-bottom: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
.headshot { width: 100%; max-width: 16rem; background: var(--birch-deep); }

/* ---------- Cards (offer lists) ---------- */
.cards {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 1.5rem;
}
.card h3 { margin-bottom: 0.5rem; }

/* In print: one card per book or issue */
.print-card { display: flex; flex-direction: column; }
.print-card h3 cite { font-style: italic; }
.print-meta { font-size: 0.9375rem; color: var(--iron-soft); margin-bottom: 0.5rem; }
.print-card .pub-honor { margin: 0 0 0.75rem; }
.print-poems { font-family: var(--serif); font-size: 1.125rem; }
.print-card .button-row { margin-top: auto; padding-top: 0.5rem; }
.print-card .button { padding: 0.65rem 1rem; font-size: 0.9375rem; }
.card p:last-child { margin-bottom: 0; }

/* ---------- Buttons & forms ---------- */
.button {
  display: inline-block;
  font: 600 1rem/1.2 var(--sans);
  background: var(--lake);
  color: var(--white);
  border: 2px solid var(--lake);
  border-radius: 3px;
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--lake-dark); border-color: var(--lake-dark); color: var(--white); }
.button--ghost { background: transparent; color: var(--lake); }
.button--ghost:hover { background: var(--lake); color: var(--white); }

.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.readings-detail { max-width: var(--measure); }
.rates-note { font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--iron-soft); }
.thanks-title { font-size: clamp(2.5rem, 8vw, 4rem); }
label, legend {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.hint { font-weight: 400; color: var(--iron-soft); }

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font: inherit;
  color: var(--iron);
  background: var(--white);
  border: 1px solid #8a8f94; /* 3:1 against white for the field boundary */
  border-radius: 3px;
  padding: 0.75rem 0.85rem;
}
textarea { min-height: 9rem; resize: vertical; }

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.inline-form .field { flex: 1 1 14rem; }
.inline-form .button { flex: 0 0 auto; align-self: flex-end; }

.form-grid { display: grid; gap: 1.5rem; max-width: var(--measure); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.radio-group {
  display: grid;
  gap: 0.5rem;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400;
  margin: 0;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--rule);
  background: var(--white);
  border-radius: 3px;
  cursor: pointer;
}
.radio-group input { width: 1.15rem; height: 1.15rem; accent-color: var(--lake); margin: 0; }

.form-status {
  min-height: 1.5em;
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: var(--lake);
}

/* ---------- Footer / socials ---------- */
.social-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.5rem;
}
.social-handle { font-size: 0.9375rem; color: var(--iron-soft); margin-left: 0.35rem; }
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
  font-size: 0.9375rem;
  color: var(--iron-soft);
}
.site-footer p { margin: 0; }

.contact-grid { display: grid; gap: 3rem; }

/* ---------- Larger screens ---------- */
@media (min-width: 48rem) {
  :root { --gutter: 2rem; }
  .about-grid { grid-template-columns: 18rem 1fr; gap: 4rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .radio-group { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 2fr; gap: 4rem; }
}

@media (min-width: 64rem) {
  .cards--three { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
