:root{
    --soil:#2e2721;
    --soil-soft:#5a4d43;
    --leaf:#3f6b3a;
    --leaf-bright:#6d9b52;
    --straw:#efe3c9;
    --paper:#fbf7ee;
    --line:#d8cbb1;
    --accent:#b4552a;
    --radius:14px;
    --shadow:0 1px 0 var(--line), 0 12px 30px -22px rgba(46,39,33,.6);
  }
  *{box-sizing:border-box}
  html{scroll-behavior:smooth}
  body{
    margin:0;
    background:var(--paper);
    color:var(--soil);
    font-family:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
    font-size:18px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  body::before{
    content:"";
    position:fixed; inset:0;
    background-image:radial-gradient(rgba(46,39,33,.07) 1px, transparent 1px);
    background-size:22px 22px;
    pointer-events:none;
    z-index:0;
  }
  .wrap{position:relative; z-index:1; max-width:1080px; margin:0 auto; padding:0 24px}

  h1,h2,h3{font-family:"Trebuchet MS","Segoe UI",Verdana,sans-serif; line-height:1.15; letter-spacing:-.01em}
  h2{font-size:clamp(26px,3.4vw,36px); margin:0 0 6px}
  p{margin:0 0 14px}
  a{color:var(--leaf); text-underline-offset:3px}

  .topbar{
    position:sticky; top:0; z-index:5;
    background:rgba(251,247,238,.92);
    backdrop-filter:blur(6px);
    border-bottom:1px solid var(--line);
  }
  .topbar .wrap{display:flex; align-items:center; gap:22px; height:58px}
  .brand{font-family:"Trebuchet MS",sans-serif; font-weight:700; font-size:17px; text-decoration:none; color:var(--soil); white-space:nowrap}
  .brand span{color:var(--leaf)}
  .nav{display:flex; gap:18px; margin-left:auto; font-family:"Trebuchet MS",sans-serif; font-size:14px}
  .nav a{color:var(--soil-soft); text-decoration:none; padding:4px 0; border-bottom:2px solid transparent}
  .nav a:hover,.nav a:focus-visible{color:var(--leaf); border-bottom-color:var(--leaf-bright)}

  header.hero{padding:56px 0 34px; border-bottom:1px solid var(--line)}
  .season-tag{
    display:inline-flex; align-items:center; gap:8px;
    font-family:"Trebuchet MS",sans-serif; font-size:13px; letter-spacing:.04em;
    text-transform:uppercase; color:var(--leaf);
    background:#e6eedd; border:1px solid #c9d8bb; border-radius:999px;
    padding:5px 13px; margin-bottom:18px;
  }
  .season-tag i{width:7px;height:7px;border-radius:50%;background:var(--leaf-bright);display:inline-block}
  .hero h1{font-size:clamp(40px,7vw,76px); margin:0 0 14px; letter-spacing:-.03em}
  .hero h1 em{font-style:normal; color:var(--leaf); position:relative; white-space:nowrap}
  .hero h1 em::after{
    content:""; position:absolute; left:0; right:0; bottom:.08em; height:.16em;
    background:var(--leaf-bright); opacity:.28; border-radius:2px;
  }
  .lede{font-size:clamp(18px,2.2vw,21px); color:var(--soil-soft); max-width:60ch}
  .hero-meta{
    display:flex; flex-wrap:wrap; gap:10px 26px; margin-top:26px;
    font-family:"Trebuchet MS",sans-serif; font-size:14px; color:var(--soil-soft);
  }
  .hero-meta b{display:block; font-size:22px; color:var(--soil); font-weight:700}

  section{padding:52px 0 10px}
  .sec-head{max-width:62ch; margin-bottom:22px}
  .sec-head p{color:var(--soil-soft); font-size:17px}

  .filters{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px}
  .chip{
    font-family:"Trebuchet MS",sans-serif; font-size:14px;
    padding:7px 15px; border-radius:999px; cursor:pointer;
    background:transparent; color:var(--soil-soft);
    border:1px solid var(--line); transition:background .15s,color .15s,border-color .15s;
  }
  .chip:hover{border-color:var(--leaf-bright); color:var(--leaf)}
  .chip[aria-pressed="true"]{background:var(--leaf); color:#fff; border-color:var(--leaf)}

  .feed{display:grid; gap:14px}
  .post{
    display:grid; grid-template-columns:96px 1fr; gap:20px;
    background:#fff; border:1px solid var(--line); border-left:3px solid var(--leaf-bright);
    border-radius:var(--radius); padding:20px 22px; box-shadow:var(--shadow);
  }
  .post[hidden]{display:none}
  .post time{
    font-family:"Trebuchet MS",sans-serif; font-size:13px; color:var(--soil-soft);
    display:block; line-height:1.35;
  }
  .post time b{display:block; font-size:26px; color:var(--soil); letter-spacing:-.02em}
  .post h3{font-size:19px; margin:0 0 6px}
  .post p{margin:0 0 10px; font-size:17px; max-width:72ch}
  .tags{display:flex; flex-wrap:wrap; gap:6px}
  .tag{
    font-family:"Trebuchet MS",sans-serif; font-size:12px; color:var(--leaf);
    background:#eef3e7; border-radius:4px; padding:2px 8px;
  }
  .empty-note{
    font-family:"Trebuchet MS",sans-serif; font-size:15px; color:var(--soil-soft);
    padding:18px; border:1px dashed var(--line); border-radius:var(--radius); background:#fff;
  }

  .beds{display:grid; grid-template-columns:repeat(auto-fill,minmax(258px,1fr)); gap:14px}
  .bed{
    background:#fff; border:1px solid var(--line); border-radius:var(--radius);
    padding:18px 18px 16px; box-shadow:var(--shadow); display:flex; flex-direction:column;
  }
  .bed .swatch{width:100%; height:5px; border-radius:3px; margin-bottom:14px}
  .bed h3{font-size:18px; margin:0 0 4px}
  .bed .lat{font-style:italic; color:var(--soil-soft); font-size:15px; margin:0 0 12px}
  .rows{display:grid; gap:6px; font-size:15px; margin-bottom:12px}
  .rows div{display:grid; grid-template-columns:78px 1fr; gap:8px}
  .rows dt,.rows .k{font-family:"Trebuchet MS",sans-serif; font-size:12px; color:var(--soil-soft); text-transform:uppercase; letter-spacing:.03em; padding-top:2px}
  .rows .v{color:var(--soil)}
  .tip{border-top:1px dotted var(--line); padding-top:10px; font-size:15px; color:var(--soil-soft); margin-top:auto}

  .water{
    display:grid; grid-template-columns:1.1fr 1fr; gap:26px; align-items:center;
    background:#eef3e7; border:1px solid #c9d8bb; border-radius:var(--radius); padding:26px;
  }
  .water h3{font-size:20px; margin:0 0 6px}
  .water .hint{font-family:"Trebuchet MS",sans-serif; font-size:13px; color:var(--soil-soft)}
  form.wf{display:flex; flex-wrap:wrap; gap:10px; align-items:flex-start; margin-top:14px}
  form.wf label{font-family:"Trebuchet MS",sans-serif; font-size:13px; color:var(--soil-soft); display:block; width:100%}
  input[type=date]{
    font-family:"Trebuchet MS",sans-serif; font-size:15px; padding:9px 11px;
    border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--soil);
  }
  input[type=date]:focus-visible{outline:2px solid var(--leaf-bright); outline-offset:2px}
  .btn{
    font-family:"Trebuchet MS",sans-serif; font-size:15px; font-weight:600;
    background:var(--leaf); color:#fff; border:1px solid var(--leaf);
    padding:10px 18px; border-radius:8px; cursor:pointer;
  }
  .btn:hover{background:#355c31}
  .btn.ghost{background:transparent; color:var(--soil-soft); border-color:var(--line); font-weight:400}
  .btn.ghost:hover{color:var(--soil); border-color:var(--soil-soft); background:#fff}
  .btn:focus-visible{outline:2px solid var(--accent); outline-offset:2px}
  .msg{font-family:"Trebuchet MS",sans-serif; font-size:14px; margin-top:8px; color:var(--accent)}
  .msg.ok{color:var(--leaf)}
  .counter{font-family:"Trebuchet MS",sans-serif; text-align:center; background:#fff; border-radius:var(--radius); border:1px solid var(--line); padding:18px}
  .counter .num{font-size:52px; line-height:1; font-weight:700; color:var(--leaf); letter-spacing:-.03em}
  .counter .cap{font-size:14px; color:var(--soil-soft); margin-top:4px}
  .counter .since{font-size:13px; color:var(--soil-soft); margin-top:12px; border-top:1px dotted var(--line); padding-top:10px}

  .checklist{display:grid; gap:10px; max-width:760px}
  .check{
    display:flex; gap:14px; align-items:flex-start;
    background:#fff; border:1px solid var(--line); border-radius:10px; padding:14px 16px;
    cursor:pointer; transition:background .15s;
  }
  .check:hover{background:#fdfaf3}
  .check input{margin:4px 0 0; width:20px; height:20px; accent-color:var(--leaf); flex:none; cursor:pointer}
  .check span{font-size:17px}
  .check small{display:block; font-family:"Trebuchet MS",sans-serif; font-size:13px; color:var(--soil-soft)}
  .check input:checked + span{color:var(--soil-soft)}
  .check input:checked + span b{text-decoration:line-through; text-decoration-thickness:1px}

  footer{margin-top:64px; border-top:1px solid var(--line); padding:26px 0 44px; font-family:"Trebuchet MS",sans-serif; font-size:13px; color:var(--soil-soft)}
  footer .wrap{display:flex; flex-wrap:wrap; gap:14px; justify-content:space-between}

  .plan-layout{display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:18px; align-items:start}
  .plan-stage{
    position:relative; background:#eef3e7; border:1px solid #c9d8bb; border-radius:var(--radius);
    padding:14px; overflow:hidden;
  }
  .plan-stage canvas{display:block; width:100%; height:auto; border-radius:10px; cursor:grab; touch-action:none; background:#dfe8d6}
  .plan-stage canvas:active{cursor:grabbing}
  .plan-stage canvas:focus-visible{outline:2px solid var(--accent); outline-offset:3px}
  .plan-tools{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; align-items:center}
  .plan-tools .btn{padding:7px 13px; font-size:14px}
  .plan-tools .legend{font-family:"Trebuchet MS",sans-serif; font-size:12px; color:var(--soil-soft); margin-left:auto}
  .plan-side{display:grid; gap:12px}
  .plan-card{
    background:#fff; border:1px solid var(--line); border-radius:var(--radius);
    padding:16px 18px; box-shadow:var(--shadow);
  }
  .plan-card h3{font-size:18px; margin:0 0 4px}
  .plan-card .area{font-family:"Trebuchet MS",sans-serif; font-size:13px; color:var(--leaf); margin:0 0 8px}
  .plan-card p{font-size:16px; margin:0}
  .plan-legend{list-style:none; margin:0; padding:0; display:grid; gap:4px; font-family:"Trebuchet MS",sans-serif; font-size:14px}
  .plan-legend button{
    display:flex; align-items:center; gap:10px; width:100%; text-align:left;
    background:transparent; border:1px solid transparent; border-radius:7px; padding:6px 8px;
    cursor:pointer; color:var(--soil); font:inherit;
  }
  .plan-legend button:hover,.plan-legend button[aria-current="true"]{background:#f2f6ec; border-color:#c9d8bb}
  .plan-legend button:focus-visible{outline:2px solid var(--leaf-bright); outline-offset:1px}
  .plan-legend i{width:14px; height:14px; border-radius:3px; flex:none; border:1px solid rgba(46,39,33,.18)}
  .plan-legend .m2{margin-left:auto; color:var(--soil-soft); font-size:12px}
  .plan-note{font-family:"Trebuchet MS",sans-serif; font-size:13px; color:var(--soil-soft); margin-top:12px}

  @media (max-width:900px){
    .plan-layout{grid-template-columns:1fr}
  }
  @media (max-width:720px){
    body{font-size:17px}
    .plan-side{grid-template-columns:1fr}
    .plan-tools .legend{margin-left:0; width:100%}
    .nav{display:none}
    .post{grid-template-columns:1fr; gap:8px; padding:18px}
    .post time{display:flex; align-items:baseline; gap:8px}
    .post time b{font-size:17px}
    .water{grid-template-columns:1fr; padding:20px}
    header.hero{padding:36px 0 26px}
    section{padding:38px 0 6px}
  }
  @media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* --- многостраничная навигация --- */
.nav a[aria-current="page"]{color:var(--leaf); border-bottom-color:var(--leaf-bright)}
.topbar .wrap{gap:14px}
.wrap > header.hero{margin-top:0}
section:first-of-type{padding-top:40px}
.crumb{font-family:"Trebuchet MS",sans-serif; font-size:13px; color:var(--soil-soft); margin:0 0 10px}
.crumb a{color:var(--soil-soft)}
.page-head{padding:38px 0 6px; border-bottom:1px solid var(--line); margin-bottom:26px}
.page-head h1{font-size:clamp(32px,5vw,54px); margin:0 0 10px}
.page-head p{color:var(--soil-soft); max-width:62ch}
.jump{display:flex; flex-wrap:wrap; gap:8px; margin-top:14px}
.hub{display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:14px; margin:10px 0 30px}
.hub a{
  display:block; text-decoration:none; color:inherit; background:#fff;
  border:1px solid var(--line); border-radius:var(--radius); padding:20px 20px 18px;
  box-shadow:var(--shadow); transition:transform .12s, border-color .12s;
}
.hub a:hover,.hub a:focus-visible{border-color:var(--leaf-bright); transform:translateY(-2px)}
.hub a:focus-visible{outline:2px solid var(--leaf-bright); outline-offset:2px}
.hub h2{font-size:20px; margin:0 0 6px}
.hub p{font-size:16px; color:var(--soil-soft); margin:0}
.hub .num{font-family:"Trebuchet MS",sans-serif; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:var(--leaf); display:block; margin-bottom:10px}
.backlink{display:inline-block; margin:26px 0 40px; font-family:"Trebuchet MS",sans-serif; font-size:15px}
.notfound{min-height:62vh; display:flex; flex-direction:column; justify-content:center; padding:40px 0}
.notfound h1{font-size:clamp(54px,12vw,120px); margin:0; color:var(--leaf); line-height:.9}
.notfound p{font-size:19px; color:var(--soil-soft); max-width:52ch}
@media (prefers-reduced-motion:reduce){.hub a:hover,.hub a:focus-visible{transform:none}}

/* --- мобильная навигация: меню не прячем --- */
@media (max-width:720px){
  .topbar{position:static}
  .topbar .wrap{height:auto; padding:8px 0 0; flex-wrap:wrap; gap:0; row-gap:0}
  .brand{font-size:15px; padding-bottom:6px}
  .topbar .wrap{padding-left:16px; padding-right:16px}
  .nav{display:flex; margin-left:-16px; width:calc(100% + 32px); gap:16px; font-size:13px; overflow-x:auto; scrollbar-width:none; padding:6px 16px 8px; border-top:1px solid var(--line)}
  .nav::-webkit-scrollbar{display:none}
  .nav a{white-space:nowrap}
  .sec-head h1{font-size:clamp(28px,7vw,40px)}
}
.sec-head h1{font-size:clamp(30px,4.6vw,48px); margin:0 0 8px}
.phead{padding:34px 0 0; margin-bottom:22px; max-width:64ch}
.phead h1{font-size:clamp(32px,5.2vw,54px); margin:0 0 10px; letter-spacing:-.02em}
.phead p{color:var(--soil-soft); font-size:18px; margin:0}
.phead .crumb{margin-bottom:12px}



