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

:root {
  --olive: #4A5D3A;
  --olive-light: #5E7349;
  --terracotta: #C2704E;
  --terracotta-light: #D4896A;
  --cream: #F5F0E8;
  --cream-dark: #EDE5D8;
  --dark-earth: #2C2418;
  --earth-mid: #5C4D3C;
  --sand: #E8DFD0;
  --sage: #8B9E7E;
  --sage-light: #B5C4AB;
  --warm-white: #FDFBF7;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--dark-earth);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.masthead {
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--sand);
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 100;
}

.masthead-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--olive);
}

.masthead-logo span {
  color: var(--terracotta);
}

.masthead-nav {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.masthead-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--earth-mid);
  transition: color 0.25s;
  position: relative;
}

.masthead-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.3s ease;
}

.masthead-nav a:hover {
  color: var(--dark-earth);
}

.masthead-nav a:hover::after {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 50vh;
  border-bottom: 1px solid var(--sand);
}

.hero-image {
  position: relative;
  overflow: hidden;
  background: var(--olive);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-light) 50%, var(--sage) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-placeholder svg {
  width: 120px;
  height: 120px;
  opacity: 0.3;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 3rem;
  background: var(--warm-white);
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark-earth);
  margin-bottom: 1.5rem;
}

.hero-excerpt {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--earth-mid);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--sage);
}

.hero-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sage);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  margin-top: 2rem;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 0.9rem;
}

.read-more svg {
  width: 16px;
  height: 16px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 4rem 3rem 2rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--dark-earth);
  white-space: nowrap;
}

.section-header .line {
  flex: 1;
  height: 1px;
  background: var(--sand);
}

.section-header .section-count {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage);
  white-space: nowrap;
}

.tag-description {
  padding: 0 3rem 2rem;
  max-width: 48rem;
}

.tag-description p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--earth-mid);
  font-style: italic;
}

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

.post-card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(44, 36, 24, 0.08);
}

.post-card--featured {
  grid-column: span 4;
}

.post-card--standard {
  grid-column: span 4;
}

.post-card--third {
  grid-column: span 4;
}

.post-card--wide {
  grid-column: span 8;
  flex-direction: row;
}

.post-card--compact {
  grid-column: span 4;
}

.post-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  max-height: 300px;
}

.post-card--wide .post-card-image {
  width: 45%;
  aspect-ratio: auto;
  min-height: 280px;
  flex-shrink: 0;
}

.post-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.25;
}

.post-card-image-placeholder--projects {
  background: linear-gradient(145deg, var(--earth-mid), var(--dark-earth));
}

.post-card-image-placeholder--poetry {
  background: linear-gradient(145deg, var(--terracotta), var(--terracotta-light));
}

.post-card-image-placeholder--gardening {
  background: linear-gradient(145deg, var(--olive), var(--sage));
}

.post-card-body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card--wide .post-card-body {
  padding: 2.5rem;
  justify-content: center;
}

.post-card-category {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.8rem;
}

.post-card-category--projects { color: var(--earth-mid); }
.post-card-category--poetry { color: var(--terracotta); }
.post-card-category--gardening { color: var(--olive); }

.post-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark-earth);
  margin-bottom: 0.8rem;
}

.post-card--featured .post-card-title {
  font-size: 1.7rem;
}

.post-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--earth-mid);
  flex: 1;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sand);
  font-size: 0.78rem;
  color: var(--sage);
}

.post-card-footer .read-time {
  font-style: italic;
}

.poetry-interlude {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: center;
  background: var(--dark-earth);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  max-width:80%;
  margin-left: auto;
  margin-right: auto;
}

.poetry-interlude::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(74, 93, 58, 0.15) 0%, transparent 70%);
}

.poetry-interlude-inner {
  max-width: 600px;
  text-align: center;
  position: relative;
}

.poetry-interlude .ornament {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--terracotta);
  margin-bottom: 0rem;
  opacity: 0.6;
}

.poetry-interlude blockquote {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.poetry-interlude cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage);
}

.about-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  padding: 4rem 3rem;
  background: var(--cream-dark);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  align-items: center;
}

.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--olive));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--cream);
  font-weight: 600;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--earth-mid);
  max-width: 600px;
}

.about-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  list-style: none;
}

.about-links a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  transition: color 0.25s;
}

.about-links a:hover {
  color: var(--dark-earth);
}

.site-footer {
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--sage);
}

.site-footer .footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--olive);
}

.site-footer .footer-logo span {
  color: var(--terracotta);
}

article.post-content {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4rem 3rem;
}

article.post-content header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--sand);
}

article.post-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
}

article.post-content .meta {
  font-size: 0.9rem;
  color: var(--sage);
}

article.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

article.post-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

article.post-content p {
  margin-bottom: 1rem;
}

article.post-content ul,
article.post-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

article.post-content li {
  margin-bottom: 0.5rem;
}

article.post-content blockquote {
  border-left: 3px solid var(--terracotta);
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--earth-mid);
}

article.post-content pre {
  background: var(--dark-earth);
  color: var(--cream);
  padding: 2rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 2rem 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

article.post-content code {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.9em;
}

article.post-content p code {
  background: var(--sand);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

article.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 2rem 0;
}

article.post-content img.inline{
  max-width: 45%;
  height: auto;
  margin: 1rem 0;
  display:inline-block;
}
article.post-content img.wrap{
  float: left;
  height: auto;
  width: 50%;
  margin-right: 3rem;
  margin-top: 0px;
}

article.post-content a {
  color: var(--terracotta);
  border-bottom: 1px solid var(--terracotta);
}

article.post-content a:hover {
  border-bottom-color: var(--dark-earth);
}

article.post-content p.callout{
  border-left: 5px solid #c2704e;
  padding-left: 5px;
  background-color: bisque;
}

.recipe-card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  margin: 2rem 0;
  padding: 2rem;
}

.recipe-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-earth);
  margin: 0 0 0.5rem;
}

.recipe-card .recipe-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: var(--sage);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sand);
}

.recipe-card .recipe-meta span strong {
  color: var(--earth-mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.recipe-card .recipe-section-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.recipe-card .recipe-ingredients {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  background: var(--cream);
  padding: 1.25rem 1.5rem;
}

.recipe-card .recipe-ingredients li {
  padding: 0.35rem 0;
  border-bottom: 1px dotted var(--sand);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.recipe-card .recipe-ingredients li:last-child {
  border-bottom: none;
}

.recipe-card .recipe-instructions {
  padding: 0;
  margin: 0;
  counter-reset: recipe-step;
  list-style: none;
}

.recipe-card .recipe-instructions li {
  counter-increment: recipe-step;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.recipe-card .recipe-instructions li::before {
  content: counter(recipe-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--olive);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

div.haiku{
  max-width: 50%;
  border-radius: 15px;
  border: 1px solid var(--sand);
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  padding: 2rem;
}

div.haiku > h1{
  font-size: 1.75rem;
}
.haiku span{
  display:block;
}


div.image_box{
  display:block;
  width:100%;
}
div.image_box img{
  display:inline-block;
  padding:0.5rem;
  padding-top:0px;
  max-width:32%;
  margin-top:0px;
}
div.image_box .title{
  display: block;
  width:100%;
  padding-bottom: 0px;
  margin-bottom:0px;  
  font-style: italic;
  font-weight: bold;
  padding-left:1rem;
}




@media (max-width: 768px) {
  .recipe-card {
    padding: 1.5rem;
  }

  .recipe-card .recipe-meta {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

.section-header .section-link {
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  white-space: nowrap;
  transition: color 0.25s;
}

.section-header .section-link:hover {
  color: var(--dark-earth);
}

.recent-posts {
  padding: 0 3rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.recent-post {
  display: grid;
  grid-template-columns: 7rem 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--sand);
  transition: background 0.2s;
  text-decoration: none;
  border-left: none;
}

.recent-post:first-child {
  border-top: 1px solid var(--sand);
}

.recent-post:hover {
  background: var(--cream-dark);
}

.recent-post-date {
  font-size: 0.82rem;
  color: var(--sage);
  white-space: nowrap;
}

.recent-post-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-earth);
  line-height: 1.4;
}

.recent-post-tag {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  white-space: nowrap;
}

.archive-list {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 3rem 4rem;
}

.archive-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--olive);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sand);
}

.archive-year:first-child {
  margin-top: 0;
}

.archive-entries {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-entry {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--sand);
}

.archive-date {
  font-size: 0.82rem;
  color: var(--sage);
  white-space: nowrap;
}

.archive-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-earth);
  border-bottom: none;
  transition: color 0.2s;
}

.archive-title:hover {
  color: var(--terracotta);
}

.archive-tags {
  font-size: 0.75rem;
  color: var(--sage);
  white-space: nowrap;
}

.archive-tag {
  color: var(--terracotta);
  border-bottom: none;
}

.archive-tag:hover {
  border-bottom: 1px solid var(--terracotta);
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-image {
    height: 40vh;
  }

  .hero-content {
    padding: 3rem 2.5rem;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .post-card--featured,
  .post-card--standard,
  .post-card--third,
  .post-card--compact {
    grid-column: span 6;
  }

  .post-card--wide {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .masthead {
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  .masthead-nav {
    gap: 1.5rem;
  }

  .hero-content {
    padding: 2.5rem 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-header {
    padding: 3rem 1.5rem 1.5rem;
  }

  .tag-description {
    padding: 0 1.5rem 1.5rem;
  }

  .post-grid {
    grid-template-columns: 1fr;
    padding: 0 1.5rem 2rem;
  }

  .post-card--featured,
  .post-card--standard,
  .post-card--third,
  .post-card--wide,
  .post-card--compact {
    grid-column: span 1;
  }

  .post-card--wide {
    flex-direction: column;
  }

  .post-card--wide .post-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: auto;
  }

  .poetry-interlude {
    padding: 3.5rem 1.5rem;
    max-width:100%;
    margin-left: 0;
    margin-right: 0;
  }

  .poetry-interlude blockquote {
    font-size: 1.3rem;
  }

  .about-strip {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 3rem 1.5rem;
  }

  .about-links {
    justify-content: center;
  }

  .site-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  article.post-content {
    padding: 2rem 1.5rem;
  }

  .recent-posts {
    padding: 0 1.5rem 2rem;
  }

  .recent-post {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .recent-post-date {
    order: 1;
  }

  .recent-post-title {
    order: 0;
  }

  .recent-post-tag {
    order: 2;
  }

  .archive-list {
    padding: 0 1.5rem 3rem;
  }

  .archive-entry {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .archive-tags {
    display: none;
  }
}
