@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Frank+Ruhl+Libre:wght@600;700&display=swap');

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

:root {
  --ink: #1e1814;
  --ink-muted: #5a5248;
  --ink-light: #7a7268;
  --cream: #faf7f2;
  --cream-warm: #f4ede0;
  --white: #ffffff;
  --plum: #8e4569;
  --plum-dark: #6b3350;
  --plum-light: #f3e6ec;
  --clay: #b86a4f;
  --clay-light: #f8ece6;
  --border: rgba(30, 24, 20, 0.12);
  --border-strong: rgba(30, 24, 20, 0.2);
  --shadow: rgba(30, 24, 20, 0.08);
  --shadow-md: rgba(30, 24, 20, 0.12);
  --measure: min(68ch, 100%);
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(4rem, 8vw, 6.5rem);
}

html { scroll-behavior: auto; }

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

body {
  margin: 0;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 19px;
  line-height: 1.74;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--plum); }

.surface-oat { background: var(--cream-warm); color: var(--ink); }
.surface-light { background: var(--white); color: var(--ink); }
.surface-cream { background: var(--cream); color: var(--ink); }
.surface-plum-light { background: var(--plum-light); color: var(--ink); }
.surface-clay-light { background: var(--clay-light); color: var(--ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--shadow);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.9rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: 'Frank Ruhl Libre', Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--plum);
  color: var(--white);
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 2px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}

.site-nav a {
  text-decoration: none;
  font-family: 'EB Garamond', serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--plum);
}

.eyebrow {
  font-family: 'Courier Prime', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0 0 1rem;
}

h1, h2, h3 {
  font-family: 'Frank Ruhl Libre', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  margin-top: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }

.dateline {
  font-family: 'Courier Prime', monospace;
  font-size: 0.9rem;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
}

.prose { max-width: var(--measure); color: var(--ink); }
.prose p { margin: 0 0 1.35em; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }

.pull-quote {
  font-family: 'Frank Ruhl Libre', Georgia, serif;
  font-size: clamp(1.35rem, 2vw + 0.5rem, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  margin: 2.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--plum);
  background: var(--plum-light);
  color: var(--ink);
  border-radius: 0 4px 4px 0;
}

.page-wrap { max-width: 72rem; margin: 0 auto; padding: var(--section-pad) var(--pad-x); }
.page-wrap-narrow { max-width: 48rem; margin: 0 auto; padding: var(--section-pad) var(--pad-x); }

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  background: var(--cream);
}
.hero-bg {
  position: relative;
  height: clamp(16rem, 42vh, 26rem);
  flex-shrink: 0;
  z-index: 0;
}

.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(16rem, 42vh, 26rem);
  background: linear-gradient(to bottom, rgba(30, 24, 20, 0.06) 0%, rgba(250, 247, 242, 0.45) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.75rem var(--pad-x) 3.25rem;
  width: 100%;
  background: var(--cream);
  color: var(--ink);
  border-top: 1px solid var(--border);
}

.hero-content .eyebrow { color: var(--plum-dark); }
.hero-content h1 { color: var(--ink); }
.hero-content p { color: var(--ink); max-width: 42rem; font-size: 1.05rem; line-height: 1.7; }
.hero-content h1 .accent { color: var(--plum); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.65rem;
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.15s, box-shadow 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--plum);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--plum-dark);
  color: var(--white);
  box-shadow: 0 4px 16px var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--cream);
  color: var(--plum-dark);
  box-shadow: 0 2px 12px var(--shadow);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: 1.75rem;
}

.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow-md);
  color: var(--ink);
}

.card-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-warm); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-dek { font-size: 0.95rem; color: var(--ink-muted); margin: 0.5rem 0 1rem; flex: 1; }
.card-link { font-weight: 500; font-size: 0.9rem; margin-top: auto; color: var(--plum); }

.featured-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 4px 20px var(--shadow-md);
}

@media (min-width: 48rem) {
  .featured-card { grid-template-columns: 1.1fr 1fr; }
}

.featured-card-photo { min-height: 16rem; background: var(--cream-warm); }
.featured-card-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 16rem; }
.featured-card-body { padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; color: var(--ink); }
.featured-card-body p { color: var(--ink-muted); }

.about-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  padding: var(--section-pad) var(--pad-x);
  max-width: 72rem;
  margin: 0 auto;
  background: var(--clay-light);
}

@media (min-width: 40rem) {
  .about-strip { grid-template-columns: 12rem 1fr; }
}

.about-strip p { color: var(--ink-muted); }
.about-strip-photo {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-md);
  border: 3px solid var(--white);
}

.about-strip-photo img { width: 100%; height: 100%; object-fit: cover; }

.article-hero-photo {
  margin: 2rem 0 2.5rem;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-md);
  border: 1px solid var(--border);
}

.article-hero-photo img { width: 100%; }

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  max-width: 36rem;
  padding: 0.8rem 1rem;
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(142, 69, 105, 0.15);
}

.form-group textarea { min-height: 8rem; resize: vertical; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 36rem;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.form-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.35rem;
  margin-top: 0.2rem;
  border: 2px solid var(--border-strong);
  border-radius: 3px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.form-check input[type="checkbox"]:checked {
  background: var(--plum);
  border-color: var(--plum);
}

.form-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 0.05rem;
  width: 0.35rem;
  height: 0.65rem;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
}

.form-check label {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-muted);
  cursor: pointer;
  margin: 0;
}

.form-check label a { color: var(--plum-dark); font-weight: 500; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-details {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--plum);
  background: var(--white);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 12px var(--shadow);
  color: var(--ink);
}

.contact-details p { margin: 0; color: var(--ink-muted); }
.contact-details strong { color: var(--ink); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

@media (min-width: 48rem) {
  .contact-layout { grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
}

.contact-photo {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-md);
  border: 1px solid var(--border);
}

.site-footer {
  padding: 3.5rem var(--pad-x) 2rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  color: var(--ink);
}

.footer-inner { max-width: 72rem; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 40rem) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: 'Frank Ruhl Libre', Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
  max-width: 28rem;
}

.footer-heading {
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.95rem;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--plum); }

.footer-address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-muted);
}

.footer-address a {
  text-decoration: none;
  color: var(--ink-muted);
}

.footer-address a:hover { color: var(--plum); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-disclaimer {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ink-light);
  margin: 0 0 1rem;
}

.footer-meta {
  font-family: 'Courier Prime', monospace;
  font-size: 0.8rem;
  color: var(--ink-light);
  margin: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem var(--pad-x);
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px var(--shadow-md);
  color: var(--ink);
}

.cookie-banner[hidden] { display: none; }

.cookie-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-text {
  flex: 1;
  min-width: 16rem;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  color: var(--ink-muted);
}

.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-actions .btn { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

.cookie-panel {
  max-width: 72rem;
  margin: 1rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  cursor: pointer;
}

.cookie-option input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--plum);
}

.cookie-save-btn { margin-top: 0.75rem; }

.js .reveal {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.js .reveal:not(.is-visible) { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.is-visible) { opacity: 1; }
}

.journal-strip {
  padding: var(--section-pad) var(--pad-x);
  background: var(--plum-light);
  color: var(--ink);
}

.section-inner {
  max-width: 48rem;
  margin: 0 auto;
}

.journal-strip h2 { margin-bottom: 1.5rem; }

.more-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.mini-card {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.mini-card:hover {
  border-color: var(--plum);
  box-shadow: 0 2px 12px var(--shadow);
  color: var(--plum-dark);
}

.strip-link a {
  font-weight: 500;
  text-decoration: none;
  color: var(--plum);
}

.note-box {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 2px 12px var(--shadow);
  color: var(--ink);
}

.note-box h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.note-box p { color: var(--ink-muted); margin: 0; }

.error-page {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.error-page h1 { margin-bottom: 1rem; }

.error-photo {
  max-width: 24rem;
  margin: 0 auto 2rem;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-md);
}

.thanks-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.privacy-section { margin-bottom: 2.5rem; }
.privacy-section h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.privacy-section p { color: var(--ink-muted); }

.contact-page .page-wrap-narrow {
  max-width: 56rem;
  padding-top: clamp(4.5rem, 9vw, 7rem);
  padding-bottom: clamp(4.5rem, 9vw, 7rem);
}

.contact-page h1 {
  font-size: clamp(2.75rem, 5vw + 1rem, 4.25rem);
  margin-bottom: 1.25rem;
}

.contact-page .eyebrow {
  font-size: 13px;
  margin-bottom: 1.15rem;
}

.contact-page .prose {
  font-size: 1.15rem;
  line-height: 1.78;
  margin-bottom: 0.5rem;
}

.contact-page .prose p {
  margin-bottom: 1.25em;
}

.contact-page .contact-layout {
  gap: 3rem;
  margin-top: 2.75rem;
}

@media (min-width: 48rem) {
  .contact-page .contact-layout {
    grid-template-columns: 1fr 1.35fr;
    gap: 3.5rem;
  }
}

.contact-page .contact-photo img {
  width: 100%;
}

.contact-page .contact-details {
  margin: 2.25rem 0 0;
  padding: 1.75rem 2rem;
}

.contact-page .contact-details p {
  font-size: 1.1rem;
  line-height: 1.85;
}

.contact-page .contact-details strong {
  font-size: 1.25rem;
}

.contact-page .form-group {
  margin-bottom: 1.85rem;
}

.contact-page .form-group label {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.contact-page .form-group input,
.contact-page .form-group textarea {
  max-width: none;
  padding: 1rem 1.15rem;
  font-size: 1.12rem;
  border-radius: 5px;
}

.contact-page .form-group textarea {
  min-height: 10rem;
}

.contact-page .form-check {
  max-width: none;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
}

.contact-page .form-check input[type="checkbox"] {
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  margin-top: 0.15rem;
}

.contact-page .form-check input[type="checkbox"]:checked::after {
  left: 0.38rem;
  top: 0.1rem;
  width: 0.38rem;
  height: 0.72rem;
}

.contact-page .form-check label {
  font-size: 1rem;
  line-height: 1.65;
}

.contact-page .btn-primary {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}
