/* Him — Midnight Teal & Antique Gold. One stylesheet for the story section.
   Navigation geometry and link styling remain in /css/navigation.css. */
:root {
  --him-midnight: #163f45;
  --him-deep: #102e33;
  --him-teal: #28616a;
  --him-gold: #d5b77a;
  --him-paper: #f5eedc;
  --him-ink: #273536;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.him-page {
  margin: 0;
  color: var(--him-ink);
  background: radial-gradient(ellipse at 90% 0%, #28616a 0%, #163f45 48%, #102e33 100%) fixed;
  font: 18px/1.78 Georgia, "Times New Roman", serif;
}
.him-page .page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px;
  display: grid;
  grid-template-columns: 228px minmax(0,1fr);
  align-items: start;
  gap: 24px;
}
.him-page main { min-width: 0; }
/* Sidebar colors are thematic; sizing and links are governed by navigation.css. */
.him-page .sidebar {
  background: #f5eedc;
  border: 2px solid #b69a61;
  border-radius: 14px;
  box-shadow: 0 8px 24px #07191f5c;
}
.him-page .sidebar-image { display: block; max-width: 100%; height: auto; }
.him-page .hero {
  text-align: center;
  padding: 27px 24px 24px;
  background: var(--him-deep);
  color: var(--him-paper);
  border: 2px solid var(--him-gold);
  border-radius: 17px;
  box-shadow: 0 10px 30px #081d2380;
}
.him-page .eyebrow {
  margin: 0 0 4px;
  font: bold .78rem/1.5 Arial,sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--him-gold);
}
.him-page h1 {
  margin: 8px 0 18px;
  color: #f8e6bd;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.1;
}
.him-page .hero-image {
  display: block;
  width: min(100%, 420px);
  max-height: 560px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 16px;
  border-radius: 8px;
}
.him-page .byline { margin: 0; font-size: 1rem; color: #e6d9bc; }
.him-page .flourish { width: 105px; height: 2px; margin: 18px auto 0; background: var(--him-gold); }
.him-page .story-paper {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid #c4aa79;
  border-radius: 16px;
  background: var(--him-paper);
  color: var(--him-ink);
  box-shadow: 0 8px 28px #071b2055;
  overflow-wrap: anywhere;
  display: flow-root;
}
.him-page .story-paper a { color: #17515c; text-decoration: underline; text-underline-offset: 2px; }
.him-page .story-paper a:hover { color: #78551d; }
.him-page .story-paper img { max-width: 100%; height: auto; border-radius: 7px; }
.him-page .story-paper img[align="right"] { float: right; margin: 5px 0 14px 18px; }
.him-page .story-paper img[align="left"] { float: left; margin: 5px 18px 14px 0; }
.him-page .site-footer { max-width: 1400px; margin: 0 auto; padding: 8px 18px 28px; color: var(--him-paper); text-align: center; }
.him-page .site-footer a { color: #f3d49b; }
@media (max-width: 760px) {
  .him-page .page { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 12px; }
  .him-page .sticky { position: static; }
  .him-page .hero { padding: 20px 14px; }
  .him-page .story-paper { font-size: 1rem; line-height: 1.7; }
}
@media (max-width: 480px) {
  .him-page .story-paper img[align="left"],
  .him-page .story-paper img[align="right"] {
    float: none;
    display: block;
    width: min(100%, 360px);
    margin: 12px auto;
  }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
