/* PoodleLife — simple, responsive first version */
:root {
  --ink: #24201e;
  --muted: #655c56;
  --accent: #9b4d5b;
  --accent-dark: #743746;
  --paper: #fffaf5;
  --panel: #ffffff;
  --line: #eee3da;
  --shadow: 0 8px 28px rgba(55, 35, 25, 0.07);
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.site-header {
  text-align: center;
  padding: clamp(1.8rem, 5vw, 3.5rem) 1.25rem 1.5rem;
}

.site-title {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.site-header h1 {
  max-width: 1050px;
  margin: 0.65rem auto 0;
  font-size: clamp(1.25rem, 3vw, 2.2rem);
  line-height: 1.25;
  font-weight: 700;
}

.home-layout {
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.25rem, 4vw, 3.5rem);
  align-items: start;
}

.panel {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sisters-photo {
  display: block;
  width: 100%;
  max-height: 410px;
  object-fit: cover;
  object-position: center 44%;
}

.intro-copy { padding: 1.25rem clamp(1.1rem, 2.5vw, 1.75rem) 1.5rem; }

h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  line-height: 1.25;
}

.intro-copy p { margin: 0 0 0.9rem; }
.intro-copy p:last-child { margin-bottom: 0; }

.daily { padding: 1.25rem; text-align: center; }
.daily h2 { margin-bottom: 1rem; }

.daily-figure { margin: 0; }
.daily-figure img {
  display: block;
  width: 100%;
  height: clamp(260px, 31vw, 420px);
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  background: #f4ece5;
}

.daily-figure figcaption {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.daily-date { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.85rem; }

.welcome-note {
  width: min(900px, calc(100% - 2rem));
  margin: 2.25rem auto;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--accent);
  background: #fff;
  border-radius: 0 12px 12px 0;
  color: var(--muted);
  text-align: center;
}

.welcome-note p { margin: 0; }

.site-footer {
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p { margin: 0; }

@media (max-width: 760px) {
  .site-header { padding-bottom: 1rem; }
  .home-layout {
    grid-template-columns: 1fr;
    width: min(560px, calc(100% - 1.25rem));
  }
  .sisters-photo { max-height: 340px; }
  .daily-figure img { height: min(100vw, 420px); }
  .welcome-note { margin-top: 1.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .panel { transition: box-shadow 160ms ease; }
  .panel:hover { box-shadow: 0 12px 32px rgba(55, 35, 25, 0.1); }
}

.recent-posts { width: min(1000px, calc(100% - 2rem)); margin: 2.5rem auto; }
.recent-posts > h2 { text-align: center; margin-bottom: 1rem; }
.recent-post { padding: 1.25rem 1.5rem; margin: 1rem 0; }
.recent-post h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
a { color: var(--accent-dark); }
a:hover { text-decoration-thickness: 2px; }
.post-main { width: min(820px, calc(100% - 2rem)); margin: 1rem auto 2rem; padding: clamp(1.25rem, 4vw, 2.5rem); }
.post-main article h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.post-meta { color: var(--muted); font-size: .9rem; margin-top: -.3rem; }
.post-back { margin-top: 0; }
.post-image { margin: 1.5rem auto; max-width: 600px; text-align: center; }
.post-image img { display: block; width: 100%; height: auto; border-radius: 12px; }
.post-image figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
