/* ===== Teak Terrain — landscaping ===== */
:root {
  --green: #4a7c43;
  --green-dark: #35602f;
  --green-light: #eaf2e6;
  --teak: #9c6b3f;
  --teak-dark: #79502c;
  --terracotta: #c5704a;
  --sand: #f3ece1;
  --cream: #faf6ef;
  --ink: #2c2a24;
  --ink-soft: #65604f;
  --bg: #fffdf9;
  --bg-soft: #f6f2ea;
  --bg-soft2: #eef2e9;
  --card: #ffffff;
  --border: #e6ddcd;
  --shadow: 0 10px 30px rgba(44, 42, 36, 0.09);
  --shadow-lg: 0 18px 46px rgba(44, 42, 36, 0.16);
  --radius: 16px;
  --maxw: 1140px;
  --serif: "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-decoration: none; transition: color .15s; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.22; letter-spacing: -0.01em; color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,249,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.brand .logo { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--green), var(--teak)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.brand b { color: var(--green); }
.brand small { display: block; font-family: var(--sans); font-size: 0.56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teak); }
.nav-links { display: flex; gap: 2px; list-style: none; align-items: center; }
.nav-links a { color: var(--ink-soft); font-size: 0.92rem; padding: 8px 13px; border-radius: 8px; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--green); background: var(--green-light); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.7rem; cursor: pointer; }
.search-mini { display: flex; align-items: center; gap: 6px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 40px; padding: 6px 14px; }
.search-mini input { border: 0; background: none; font-size: 0.9rem; outline: none; width: 120px; font-family: var(--sans); }

/* Hero */
.hero { position: relative; background: linear-gradient(rgba(44,42,36,.5), rgba(44,42,36,.5)), radial-gradient(circle at 30% 30%, #6b9b5f, #35602f); color: #fff; text-align: center; padding: 92px 0; overflow: hidden; }
.hero::before { content: "\1F33F"; position: absolute; font-size: 8rem; opacity: .1; top: 20px; left: 5%; transform: rotate(-12deg); }
.hero::after { content: "\1F33A"; position: absolute; font-size: 8rem; opacity: .1; bottom: 10px; right: 5%; transform: rotate(10deg); }
.hero .container { position: relative; z-index: 1; }
.hero .tag { display: inline-block; background: var(--terracotta); color: #fff; font-weight: 700; font-size: 0.8rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 18px; border-radius: 40px; margin-bottom: 20px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-bottom: 16px; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.hero p { font-size: 1.18rem; max-width: 620px; margin: 0 auto 26px; opacity: .96; }
.hero .search-big { max-width: 520px; margin: 0 auto; display: flex; gap: 8px; }
.hero .search-big input { flex: 1; padding: 14px 18px; border: 0; border-radius: 40px; font-size: 1rem; font-family: var(--sans); }
.hero .search-big button { padding: 14px 26px; border: 0; border-radius: 40px; background: var(--terracotta); color: #fff; font-weight: 800; cursor: pointer; font-family: var(--sans); }

/* Page head */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 46px 0; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 12px; }
.breadcrumb a { color: var(--ink-soft); }
.page-head h1 { font-size: clamp(1.9rem,4vw,2.7rem); }
.page-head p { color: var(--ink-soft); margin-top: 8px; max-width: 720px; }

/* Layout */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 46px; align-items: start; padding: 50px 0; }

/* Article */
.article .post-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 18px; align-items: center; }
.cat-tag { background: var(--green-light); color: var(--green-dark); font-weight: 700; padding: 3px 12px; border-radius: 40px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: .04em; }
.article h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 16px; }

/* Featured image placeholder */
.feat-img { border-radius: var(--radius); height: 360px; display: flex; align-items: center; justify-content: center; font-size: 5rem; background: linear-gradient(135deg, var(--green-light), var(--sand)); box-shadow: var(--shadow); margin-bottom: 12px; }
.feat-caption { text-align: center; font-size: 0.86rem; color: var(--ink-soft); font-style: italic; margin-bottom: 24px; }

/* Prose */
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.55rem; margin: 34px 0 12px; color: var(--green-dark); }
.prose h3 { font-size: 1.22rem; margin: 24px 0 10px; color: var(--teak-dark); }
.prose p { color: #34322a; margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 16px; color: #34322a; }
.prose li { margin-bottom: 8px; }
.prose .placeholder { background: #fbf0dd; border-bottom: 1px dashed var(--terracotta); padding: 0 3px; border-radius: 3px; font-weight: 600; }
.prose .callout { background: var(--green-light); border-left: 4px solid var(--green); border-radius: 8px; padding: 16px 20px; margin: 22px 0; }
.prose .tip { background: var(--sand); border-left: 4px solid var(--teak); border-radius: 8px; padding: 16px 20px; margin: 22px 0; }

/* Idea cards (numbered ideas within article) */
.idea { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 22px 0; box-shadow: var(--shadow); }
.idea .idea-img { height: 220px; display: flex; align-items: center; justify-content: center; font-size: 3.4rem; background: linear-gradient(135deg, var(--bg-soft2), var(--sand)); }
.idea .idea-body { padding: 22px 24px; }
.idea .idea-body h3 { margin: 0 0 8px; font-size: 1.3rem; color: var(--green-dark); }
.idea .idea-body p { margin: 0; color: var(--ink-soft); }
.idea .idea-num { display: inline-block; background: var(--terracotta); color: #fff; font-family: var(--sans); font-weight: 800; font-size: 0.8rem; padding: 2px 12px; border-radius: 40px; margin-bottom: 10px; }

/* TOC */
.toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 22px 0; }
.toc h2 { font-size: 1.05rem; margin: 0 0 10px; color: var(--ink); }
.toc ul { list-style: none; padding: 0; }
.toc li { margin-bottom: 6px; }
.toc a { font-size: 0.94rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.gallery .gitem { aspect-ratio: 4/3; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; background: linear-gradient(135deg, var(--green-light), var(--sand)); box-shadow: var(--shadow); }

/* Sidebar */
.sidebar { display: grid; gap: 22px; position: sticky; top: 88px; }
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 1.02rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--green-light); }
.side-list { list-style: none; }
.side-list li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.side-list li:last-child { border-bottom: 0; }
.side-list li a { color: var(--ink); font-weight: 600; }
.side-list li a:hover { color: var(--green); }
.side-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.side-cats a { background: var(--bg-soft); border: 1px solid var(--border); padding: 6px 13px; border-radius: 40px; font-size: 0.84rem; font-weight: 600; color: var(--ink-soft); }
.side-cats a:hover { background: var(--green-light); color: var(--green-dark); }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.post-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-thumb { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: linear-gradient(135deg, var(--green-light), var(--sand)); }
.post-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-card .cat-tag { align-self: flex-start; margin-bottom: 10px; }
.post-card h3 { font-size: 1.12rem; margin-bottom: 8px; line-height: 1.3; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--green); }
.post-card .excerpt { color: var(--ink-soft); font-size: 0.9rem; flex: 1; }

/* Section */
section.block { padding: 60px 0; }
section.block.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-head .eyebrow { color: var(--teak); font-weight: 700; font-size: 0.82rem; letter-spacing: .16em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(1.7rem,3.5vw,2.4rem); margin-bottom: 10px; }
.section-head p { color: var(--ink-soft); }

/* Related */
.related { margin-top: 42px; }
.related h2 { font-size: 1.35rem; margin-bottom: 18px; color: var(--green-dark); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-item { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.related-item a { font-weight: 700; color: var(--ink); font-size: 0.94rem; }
.related-item a:hover { color: var(--green); }

/* CTA */
.cta-band { background: var(--green); color: #fff; text-align: center; padding: 60px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem,4vw,2.5rem); margin-bottom: 12px; }
.cta-band p { opacity: .95; margin-bottom: 24px; font-size: 1.1rem; }
.cta-band .btn { background: #fff; color: var(--green-dark); font-weight: 800; padding: 13px 30px; border-radius: 40px; display: inline-block; }

/* Footer */
.site-footer { background: var(--teak-dark); color: #e6d8c5; padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-col h4 { font-family: var(--sans); color: #fff; font-size: 1rem; margin-bottom: 13px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #e6d8c5; font-size: 0.91rem; }
.footer-col a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand .brand small { color: #e6d8c5; }
.footer-brand p { color: #e6d8c5; font-size: 0.91rem; }
.footer-bottom { border-top: 1px solid #92704a; padding-top: 20px; text-align: center; color: #c9b59c; font-size: 0.85rem; }
.footer-bottom a { color: #e6d8c5; }

/* Responsive */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .card-grid, .card-grid.cols-4, .related-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .search-mini { display: none; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 22px; gap: 4px; display: none; }
  .nav-links.show { display: flex; }
  .nav-links a { width: 100%; }
  .card-grid, .card-grid.cols-4, .related-grid, .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feat-img { height: 240px; font-size: 3.6rem; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero .search-big { flex-direction: column; }
}
