:root {
  --ink: #171717;
  --paper: #f3e1ea;
  --panel: #fff8fb;
  --line: #e7bfd1;
  --muted: #795f68;
  --song: #b46d38;
  --woman: #9d4b59;
  --text: #3d6172;
  --photo: #5c6b3f;
  --shadow: rgba(112, 75, 90, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 225, 234, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.page-shell {
  padding: 56px 0 72px;
}

.hero {
  padding: 54px 0 70px;
}

.home-intro {
  max-width: 780px;
  padding-top: 18px;
}

.home-intro-inner {
  display: grid;
  gap: 12px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1, .feature-card h2, .entry h1, .entry h2 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 6.2rem);
  max-width: 760px;
  margin: 0;
}

.byline {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.18rem, 2vw, 1.6rem);
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
}

.hero p.lead {
  max-width: 700px;
  margin: 0;
  font-size: clamp(0.98rem, 1.5vw, 1.18rem);
  color: var(--muted);
  line-height: 1.7;
}

.meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px var(--shadow);
}

.feature-card .tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--song);
}

.feature-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 10px;
}

.feature-card p {
  color: var(--muted);
  margin: 0 0 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.88rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--ink);
}

.feature-card.song .tag { color: var(--song); }
.feature-card.text .tag { color: var(--text); }
.feature-card.person .tag { color: var(--woman); }
.feature-card.photo .tag { color: var(--photo); }

.entry {
  padding: 52px 0 70px;
}

.entry .container {
  max-width: 860px;
}

.single-entry .container {
  max-width: 980px;
}

.compact-header {
  margin-bottom: 18px;
}

.story-visual {
  width: 100%;
  min-height: 420px;
  border-radius: 18px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(23, 23, 23, 0.7);
  margin-bottom: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.story-visual-woman {
  background: linear-gradient(135deg, #e6c7d2, #a56d78);
}

.single-text-block {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.single-text-block p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #2d2d2b;
}

.week-archive {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.week-archive summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-image {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.week-archive .single-text-block {
  margin-top: 14px;
}

.entry-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 28px;
}

.entry .eyebrow {
  color: var(--song);
}

.entry h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 8px 0 14px;
}

.entry .details {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-illustration {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e7d5c1, #d89d69);
  border-radius: 18px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: rgba(23, 23, 23, 0.7);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 26px;
}

.page-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  border: 1px solid var(--line);
  margin-bottom: 22px;
  background: #e7dfd2;
}

.entry p {
  font-size: 1.04rem;
  color: #2d2d2b;
  margin: 0 0 22px;
}

.quote {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--song);
  background: rgba(180, 109, 56, 0.05);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.35;
}

.page-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 720px) {
  .site-header .container {
    flex-direction: column;
    justify-content: center;
    padding: 12px 0 16px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: center;
  }
}
