:root {
  --bg: #FFF5F6;
  --fg: #3A2F33;
  --accent: #D8848B;
  --accent-deep: #A85E64;
  --accent-soft: #F7DCDF;
  --accent-softer: #FFE6E9;
  --muted: #8A7A7E;
  --rule: #EAD3D6;
  --maxw: 1080px;
  --pad: 1.25rem;
  --radius: 10px;
  --heading: 'Abril Fatface', Georgia, serif;
  --body: 'Lato', system-ui, -apple-system, sans-serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.8em;}
h3 { font-size: 1.3rem; }
h4 { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

p { margin: 0 0 1.1em; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--fg);
  font-family: var(--heading);
  font-size: 1.25rem;
}
.brand:hover { text-decoration: none; color: var(--accent); }
.brand-mark {
  width: 34px; height: 34px; color: var(--accent);
}
.site-nav {
  display: flex; gap: 1.4rem; flex-wrap: wrap;
  font-size: 0.92rem;
}
.site-nav a {
  color: var(--fg);
  position: relative;
  padding: 0.15rem 0;
}
.site-nav a.current {
  color: var(--accent);
  border-bottom: 1.5px solid var(--accent);
}

/* Seasonal notice ribbon */
.notice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--accent-softer);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-top: 1.2rem;
  margin-bottom: -0.5rem;
  font-size: 0.93rem;
  color: var(--fg);
}
.notice-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  flex-shrink: 0;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--accent-softer) 0%, var(--bg) 100%);
  padding: 3rem 0 3.5rem;
  margin-top: 1rem;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-poster {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px -20px rgba(58,47,51,0.35);
  aspect-ratio: 16/9;
  background: var(--accent-soft);
}
.poster-svg { display: block; width: 100%; height: 100%; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.8rem;
}
.lede {
  font-size: 1.08rem;
  color: var(--fg);
}
.meta {
  margin-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 0.8rem;
}
.handwritten {
  margin-top: 1.2rem;
  transform: rotate(-2deg);
  transform-origin: left center;
}
.handwritten svg {
  max-width: 260px;
  height: auto;
  font-family: var(--hand);
  font-size: 22px;
}

/* Posts */
.posts { padding: 3rem 1.25rem 1rem; }
.section-title {
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--body);
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.6rem;
  margin-bottom: 2rem;
}

.post-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px -10px rgba(58,47,51,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px -12px rgba(58,47,51,0.25);
}
.post-card.featured {
  flex-direction: row;
  margin-bottom: 2.5rem;
}
.post-card.featured .post-thumb {
  flex: 0 0 45%;
}
.post-card.featured .post-body {
  padding: 2rem;
  flex: 1;
}
.post-thumb svg { display: block; width: 100%; height: 100%; }
.post-thumb { aspect-ratio: 5/3; background: var(--accent-soft);}
.post-card.featured .post-thumb { aspect-ratio: auto; height: auto; }
.post-body { padding: 1.3rem 1.4rem 1.6rem; }
.post-meta {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}
.post-body h3 { margin: 0 0 0.6em; font-size: 1.4rem;}
.post-body h3 a { color: var(--fg); }
.post-body h3 a:hover { color: var(--accent); text-decoration: none;}
.readmore {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

/* Sidebar */
.sidebar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.side-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--rule);
}
.side-card h4 { margin-top: 0; }
.side-card ul {
  list-style: none;
  padding: 0; margin: 0;
}
.side-card li {
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 0.95rem;
}
.side-card li:last-child { border-bottom: none; }
.side-card a { color: var(--fg); }
.side-card a:hover { color: var(--accent); text-decoration: none; }
.soft { color: var(--muted); font-style: italic; font-size: 0.92rem; }

/* Single page */
.single {
  padding-top: 3rem;
  padding-bottom: 3rem;
  max-width: 720px;
}
.single h1 { margin-bottom: 1.4rem; }
.single h2 { color: var(--accent); }
.single p { font-size: 1.05rem; }
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
  flex-wrap: wrap;
}

/* About portrait + list */
.about-portrait {
  width: 200px;
  height: 200px;
  margin: 0 0 2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--accent-soft);
  box-shadow: 0 6px 20px -10px rgba(58,47,51,0.3);
}
.about-portrait svg { width: 100%; height: 100%; display: block; }
.love-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.love-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.6rem;
  border-bottom: 1px dashed var(--rule);
  font-size: 1.02rem;
}
.love-list li:last-child { border-bottom: none; }
.love-list li::before {
  content: "✿";
  position: absolute;
  left: 0; top: 0.35rem;
  color: var(--accent);
}

/* Services */
.service {
  background: #fff;
  border-left: 3px solid var(--accent);
  padding: 1.4rem 1.6rem;
  border-radius: 4px;
  margin: 1.6rem 0;
  box-shadow: 0 4px 16px -12px rgba(58,47,51,0.2);
}
.service h2 { margin-top: 0; color: var(--fg); }
.service-time {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
  margin: 0 0 0.8rem;
  font-weight: 700;
}

/* Kit page — wider than default single */
.single.kit-page {
  max-width: 960px;
}
.kit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin: 2rem 0 2.5rem;
}
.kit-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  padding: 1.2rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.kit-item h3 {
  margin: 0.6rem 0 0.4rem;
  color: var(--fg);
}
.kit-item p { font-size: 0.97rem; margin-bottom: 0; }
.kit-art {
  background: var(--accent-softer);
  border-radius: 6px;
  aspect-ratio: 4/3;
  padding: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kit-art svg { width: 100%; height: 100%; display: block; }

.van-diagram {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 1rem 0 2rem;
  overflow-x: auto;
}
.van-diagram svg {
  display: block;
  width: 100%;
  min-width: 640px;
  height: auto;
}
.kit-footnote {
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px dashed var(--rule);
  padding-top: 1rem;
  margin-top: 2rem;
  font-style: italic;
}

/* Driveway Diaries */
.diaries .diary-entry {
  border-left: 2px solid var(--accent-soft);
  padding: 0.2rem 0 0.2rem 1.5rem;
  margin: 2rem 0 2.4rem;
  position: relative;
}
.diaries .diary-entry::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.5rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-softer);
}
.diary-meta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.diary-date { color: var(--accent-deep); font-weight: 700; }
.diaries h2 {
  font-size: 1.5rem;
  margin-top: 0.3rem;
  color: var(--fg);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 4rem;
  padding: 2rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.foot-inner p { margin: 0.3rem 0; }

/* 404 */
.fourohfour {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.fourohfour-inner { max-width: 520px; }
.fourohfour h1 { font-size: clamp(3rem, 10vw, 6rem); color: var(--accent); margin-bottom: 0.4rem;}
.fourohfour svg { width: 180px; height: 180px; margin: 0 auto 1.5rem; display: block;}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { grid-template-columns: 1fr; }
  .post-card.featured { flex-direction: column; }
  .post-card.featured .post-thumb { flex: none; aspect-ratio: 5/3; }
  .post-card.featured .post-body { padding: 1.3rem 1.4rem 1.6rem; }
  .kit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .post-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .site-nav { gap: 1rem; font-size: 0.88rem; }
  .hero { padding: 2rem 0 2.5rem; }
  h1 { font-size: 2.1rem; }
  .notice { font-size: 0.88rem; }
}