/* ============================================
   My Daily Narrative — стилистика тёплого блога
   Автор: Wei Ming Tan, Singapore
   ============================================ */

:root {
  /* Тёплые персональные тона — не Nexus, а свои */
  --paper: #F5F1E8;
  --paper-alt: #EDE7D8;
  --card: #FBF8F0;
  --ink: #2B241A;
  --ink-soft: #574B36;
  --ink-mute: #8C8069;
  --ink-faint: #B7AC93;
  --rule: #D9CFB6;

  /* Тёплый охровый акцент */
  --accent: #A0501A;
  --accent-deep: #7B3B0F;
  --accent-hover: #C46830;
  --highlight: #E8D9B0;

  /* Типографика */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Размеры */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: clamp(1.5rem, 2.5vw, 2rem);
  --text-2xl: clamp(2rem, 4vw, 3rem);
  --text-hero: clamp(2.75rem, 6vw, 5rem);

  --measure: 66ch;
  --content-max: 1240px;
  --content-narrow: 640px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
a:hover { color: var(--accent-hover); border-bottom-color: var(--accent-hover); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(6px);
}
.site-header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 1.1rem clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  border: none;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--accent); border: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-title { line-height: 1; }
.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--ink-mute);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 0.28rem;
}
.site-nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.site-nav a {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  border: none;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.site-nav a:hover { color: var(--accent); border: none; }
.site-nav a.active { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 760px) {
  .site-nav { display: none; flex-direction: column; gap: 0.5rem;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    padding: 1rem clamp(1rem,3vw,2rem) 1.5rem; border-bottom: 1px solid var(--rule);
    align-items: flex-start;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ============================================
   HERO / HOME
   ============================================ */
.hero {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 3vw, 2rem) clamp(2.5rem, 6vw, 4.5rem);
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-eyebrow::before {
  content: ""; width: 40px; height: 1px; background: var(--accent);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.hero h1 em {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 300;
}
.hero-lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 2rem;
}
.hero-meta {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.hero-meta span { display: flex; align-items: center; gap: 0.5rem; }
.hero-meta span::after {
  content: "•"; color: var(--ink-faint);
}
.hero-meta span:last-child::after { display: none; }

.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  filter: saturate(0.95) contrast(0.98);
}
.hero-image::after {
  content: "";
  position: absolute; bottom: -18px; right: -18px;
  width: 90px; height: 90px;
  background: var(--accent);
  z-index: -1;
  opacity: 0.85;
}
@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .hero-image::after { display: none; }
}

/* ============================================
   FEATURED (главная центральная статья)
   ============================================ */
.featured {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
  background: var(--paper-alt);
}
.featured-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.featured-image {
  overflow: hidden;
  position: relative;
}
.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 30%;
}
.featured-content .kicker {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.featured-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1.3rem;
}
.featured-content p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  max-width: 52ch;
}
.featured-content .read-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  font-weight: 500;
}
@media (max-width: 780px) {
  .featured-inner { grid-template-columns: 1fr; }
}

/* ============================================
   ARTICLE INDEX (сетка статей на главной)
   ============================================ */
.stories-section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
  max-width: var(--content-max);
  margin: 0 auto;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.2rem;
  margin-bottom: 2.5rem;
}
.section-title h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  color: var(--ink);
  letter-spacing: -0.015em;
}
.section-title .subline {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem 1.8rem;
}
.story-card {
  display: flex; flex-direction: column;
  border: none;
  color: inherit;
}
.story-card:hover .story-title { color: var(--accent); }
.story-card:hover { border: none; }
.story-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--paper-alt);
}
.story-image img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 35%;
  transition: transform .5s ease;
}
.story-card:hover .story-image img { transform: scale(1.03); }
.story-card .meta {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.7rem;
}
.story-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.6rem;
  transition: color .2s ease;
  letter-spacing: -0.005em;
}
.story-dek {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .stories-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================
   ARTICLE LAYOUT
   ============================================ */
.article-hero {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem) 0;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.article-hero .kicker {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  max-width: 22ch;
}
.article-meta {
  display: flex; gap: 1.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: var(--text-sm);
  color: var(--ink-mute);
  flex-wrap: wrap;
  align-items: center;
}
.article-meta strong { color: var(--ink); font-weight: 500; }
.article-meta .dot { color: var(--ink-faint); }

.article-lead-image {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.article-lead-image figure { margin: 0; }
.article-lead-image img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
}
.article-lead-image figcaption {
  font-size: var(--text-xs);
  color: var(--ink-mute);
  padding-top: 0.7rem;
  letter-spacing: 0.06em;
  font-style: italic;
}

.article-body {
  max-width: 640px;
  margin: 3rem auto 4rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--ink);
}
.article-body p {
  margin-bottom: 1.25rem;
}
.article-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 0.85;
  float: left;
  padding: 0.35rem 0.5rem 0 0;
  color: var(--accent);
  font-weight: 500;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.article-body h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 2rem 0 0.7rem;
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  margin: 2rem 0;
  padding: 0.4rem 0 0.4rem 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.article-body em { font-style: italic; }
.article-body strong { font-weight: 600; color: var(--ink); }
.article-body ul, .article-body ol {
  padding-left: 1.4rem;
  margin: 1rem 0 1.5rem;
}
.article-body li { margin-bottom: 0.5rem; }

.article-body figure {
  margin: 2.5rem -60px;
}
.article-body figure img { width: 100%; }
.article-body figcaption {
  font-size: var(--text-xs);
  color: var(--ink-mute);
  padding-top: 0.7rem;
  letter-spacing: 0.06em;
  font-style: italic;
  text-align: left;
}
@media (max-width: 800px) {
  .article-body figure { margin: 2rem 0; }
}

/* Pullquote breakout */
.pullquote {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  text-align: center;
}
.pullquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 300;
  letter-spacing: -0.005em;
}
.pullquote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Related stories at end of article */
.article-footer {
  border-top: 1px solid var(--rule);
  max-width: var(--content-max);
  margin: 4rem auto 0;
  padding: 3rem clamp(1rem, 3vw, 2rem);
}
.author-card {
  display: flex; gap: 1.5rem; align-items: center;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--rule);
}
.author-card img {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  flex: none;
}
.author-card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.author-card p {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 60ch;
}

.related-stories h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.5rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) {
  .related-grid { grid-template-columns: 1fr; }
  .author-card { flex-direction: column; text-align: center; align-items: center; }
}

/* ============================================
   PAGES — About / Contact / Legal
   ============================================ */
.page {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
}
.page-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 2rem;
}
.page-lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
  line-height: 1.55;
  max-width: 55ch;
}
.page-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
}
.page-content p { margin-bottom: 1.25rem; }
.page-content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
}
.page-content h3 {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 1.75rem 0 0.7rem;
}
.page-content ul, .page-content ol { margin: 1rem 0 1.5rem; padding-left: 1.4rem; }
.page-content li { margin-bottom: 0.5rem; }

.about-portrait {
  float: right;
  margin: 0 0 1.5rem 2rem;
  width: 260px;
  max-width: 40%;
}
.about-portrait img { border-radius: 2px; }
@media (max-width: 640px) {
  .about-portrait { float: none; margin: 0 0 2rem; width: 100%; max-width: 100%; }
}

/* Contact */
.contact-form {
  display: grid;
  gap: 1.2rem;
  max-width: 520px;
  margin-top: 2rem;
}
.contact-form label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--rule);
  background: var(--card);
  font-family: inherit;
  font-size: var(--text-base);
  color: var(--ink);
  border-radius: 2px;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.9rem 1.5rem;
  font-family: inherit;
  font-size: var(--text-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background .2s ease;
  font-weight: 500;
  justify-self: start;
}
.contact-form button:hover { background: var(--accent-hover); }
.form-note {
  font-size: var(--text-xs);
  color: var(--ink-mute);
  line-height: 1.5;
  margin-top: 0.5rem;
}

.contact-info {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.contact-info h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.contact-info p { font-size: var(--text-sm); color: var(--ink); line-height: 1.5; }
@media (max-width: 560px) {
  .contact-info { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 3rem clamp(1rem, 3vw, 2rem) 2rem;
  background: var(--paper-alt);
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.footer-desc {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  max-width: 42ch;
  line-height: 1.55;
}
.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 0.5rem;
}
.footer-list a {
  color: var(--ink-soft);
  font-size: var(--text-sm);
  border: none;
}
.footer-list a:hover { color: var(--accent); border: none; }
.footer-bottom {
  max-width: var(--content-max);
  margin: 2.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: var(--text-xs);
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--highlight);
  color: var(--ink);
}

/* ---------- Additional layout classes ---------- */

.hero-text { }

.page-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.page .kicker,
.page-inner .kicker {
  margin-bottom: 0.5rem;
}

.page h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 2rem;
}

.lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 2.5rem;
  max-width: 62ch;
}

.page-inner p,
.page-inner li {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--ink-soft);
  margin: 0 0 1.15rem;
}

.page-inner h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 2.6rem 0 0.9rem;
  letter-spacing: -0.01em;
}

.page-inner h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 2rem 0 0.65rem;
}

.page-inner ul {
  padding-left: 1.3rem;
  margin: 0 0 1.4rem;
}

.page-inner ul li { margin-bottom: 0.5rem; }

.page-inner > .page-inner p a,
.page-inner > div > p a,
.page-inner p a,
.page-inner li a,
.page-inner address a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.page-inner p a:hover,
.page-inner li a:hover,
.page-inner address a:hover { color: var(--accent-dark); }

.page-inner .story-card,
.page-inner .story-card * { text-decoration: none; }
.page-inner .story-card { color: inherit; }
.page-inner .story-card .story-title { color: var(--ink); }
.page-inner .story-card:hover .story-title { color: var(--accent); }
.page-inner .story-card .meta { color: var(--ink-faint); }
.page-inner .story-card .story-dek { color: var(--ink-soft); }

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 1rem;
}
.about-image {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 6px 24px rgba(43, 36, 26, 0.12);
}
.about-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.about-copy { min-width: 0; }
.about-copy .lede { font-size: 1.25rem; }
.about-copy em { font-style: italic; color: var(--ink); }

@media (max-width: 780px) {
  .about-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-image { max-width: 260px; }
}

/* Contact page */
.contact-page .page-inner,
.contact-page {
  max-width: 1080px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  margin-top: 1.25rem;
}
.contact-copy address {
  font-style: normal;
  font-family: var(--font-body);
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0.4rem 0 1rem;
  padding: 1rem 1.15rem;
  background: var(--paper-alt);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
}
.plain-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}
.plain-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}
.plain-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}

.contact-form-wrap {
  background: var(--paper-alt);
  padding: 2rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-form label span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  border-radius: 3px;
  transition: border-color 160ms ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(160, 80, 26, 0.15);
}
.contact-form button {
  align-self: flex-start;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.85rem 1.8rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 160ms ease, transform 160ms ease;
}
.contact-form button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.form-success {
  padding: 1.5rem;
  background: #E8DFC9;
  border-left: 3px solid var(--accent);
  border-radius: 3px;
}
.form-success h3 { margin: 0 0 0.6rem; color: var(--ink); font-family: var(--font-display); font-size: 1.35rem; }
.form-success p { margin: 0; color: var(--ink-soft); }
.form-errors {
  padding: 0.85rem 1rem;
  background: #F1D9CD;
  border-left: 3px solid #A83A1A;
  border-radius: 3px;
  margin-bottom: 0.4rem;
}
.form-errors p { margin: 0.15rem 0; color: #6E2610; font-size: 0.95rem; }

.fine-print {
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-style: italic;
  margin-top: 0.5rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Legal pages */
.legal-page h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  margin-top: 2.4rem;
  margin-bottom: 0.7rem;
}
.legal-page p,
.legal-page li {
  font-size: 1rem;
  line-height: 1.7;
}

/* Archive grid same as stories-grid */
.archive-grid { margin-top: 1.5rem; }
