/* Detail pages: plant, project, blog article, idea, legal text, 404 */
.dt-bg { background:
    radial-gradient(ellipse 45% 35% at 100% 6%, rgba(234,182,86,.18), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 60%, rgba(143,160,90,.22), transparent 70%),
    linear-gradient(180deg, #f6f0e3 0%, #f0e6d0 100%); }
.dt-bg2 { background:
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(143,160,90,.2), transparent 70%),
    radial-gradient(ellipse 45% 40% at 100% 20%, rgba(234,182,86,.16), transparent 70%),
    linear-gradient(180deg, #f0e6d0 0%, #f6f0e3 100%); }

/* Prose (articles, ideas, legal) */
.az-prose { color: rgba(23,56,42,.92); font-size: 1.05rem; line-height: 1.75; font-weight: 300; }
@media (min-width: 640px) { .az-prose { font-size: 1.15rem; } }
.az-prose > * + * { margin-top: 1.3rem; }
.az-prose h2 { margin-top: 2.6rem; font-family: Montserrat, system-ui, sans-serif; font-weight: 700; font-size: 1.6rem; line-height: 1.2; color: #17382a; letter-spacing: -.01em; }
@media (min-width: 640px) { .az-prose h2 { font-size: 2rem; } }
.az-prose h3 { margin-top: 2rem; font-family: Montserrat, system-ui, sans-serif; font-weight: 600; font-size: 1.2rem; color: #17382a; }
.az-prose a { color: #3f5a37; text-decoration: underline; text-decoration-color: #d9a441; text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .6s; }
.az-prose a:hover { color: #17382a; }
.az-prose ul, .az-prose ol { padding-left: 0; list-style: none; }
.az-prose ul li { position: relative; padding-left: 1.9rem; margin-top: .6rem; }
.az-prose ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 1rem; height: .55rem; border-radius: 100% 0 100% 0; background: linear-gradient(135deg, #9ab05f, #3f5a37); }
.az-prose ol { counter-reset: n; }
.az-prose ol li { position: relative; padding-left: 2.2rem; margin-top: .6rem; counter-increment: n; }
.az-prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.5rem; line-height: 1.2; color: #d9a441; }
.az-prose blockquote { margin: 2rem 0; padding: 1.4rem 1.8rem; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.7rem; line-height: 1.2; color: #17382a;
  border-radius: 3rem 1rem 3rem 1rem; background: linear-gradient(135deg, rgba(247,227,166,.7), rgba(217,164,65,.28)); box-shadow: 0 24px 40px -26px rgba(138,90,18,.6); }
.az-prose strong { font-weight: 600; color: #17382a; }

/* Cards in lists (blog) */
.bl-card { position: relative; display: flex; flex-direction: column; overflow: hidden; color: #17382a; border: 1px solid rgba(63,90,55,.22);
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(246,240,227,.65)); box-shadow: 0 26px 44px -28px rgba(14,36,24,.55);
  transition: transform 1s cubic-bezier(.2,.7,.2,1), border-radius 1.3s cubic-bezier(.2,.7,.2,1), border-color 1s, box-shadow 1s; }
.bl-card.r1 { border-radius: 4rem 1.3rem 4rem 1.3rem; }
.bl-card.r2 { border-radius: 1.3rem 4rem 1.3rem 4rem; }
.bl-card.r1:hover, .bl-card.r1:focus-visible { border-radius: 1.3rem 4rem 1.3rem 4rem; }
.bl-card.r2:hover, .bl-card.r2:focus-visible { border-radius: 4rem 1.3rem 4rem 1.3rem; }
.bl-card:hover, .bl-card:focus-visible { transform: translateY(-8px); outline: none; border-color: rgba(217,164,65,.8); box-shadow: 0 34px 56px -26px rgba(14,36,24,.6), 0 0 44px -14px rgba(234,182,86,.4); }
.bl-card:focus-visible { box-shadow: 0 0 0 3px rgba(217,164,65,.7); }
.bl-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.bl-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 2s cubic-bezier(.2,.7,.2,1); }
.bl-card:hover .bl-img img { transform: scale(1.06); }
.tag-chip { display: inline-block; padding: .2rem .8rem; font-family: Montserrat, system-ui, sans-serif; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #0e2418; border-radius: 1rem .55rem 1rem .55rem; background: linear-gradient(135deg, #f7e3a6, #d9a441); }

/* Before / after slider */
.ba { position: relative; overflow: hidden; border-radius: 6rem 1.3rem 6rem 1.3rem; box-shadow: 0 0 0 8px #f6f0e3, 0 50px 90px -34px rgba(14,36,24,.7); touch-action: pan-y; user-select: none; }
.ba > .layer { position: absolute; inset: 0; }
.ba > .layer img { width: 100%; height: 100%; object-fit: cover; }
.ba-label { position: absolute; top: 1.4rem; z-index: 3; padding: .3rem .9rem; font-family: Montserrat, system-ui, sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #0e2418; border-radius: 1.2rem .6rem 1.2rem .6rem; background: linear-gradient(135deg, #f7e3a6, #d9a441); }
.ba-handle { position: absolute; top: 0; bottom: 0; z-index: 4; width: 3px; margin-left: -1.5px; background: linear-gradient(180deg, transparent, #f6f0e3 15%, #f6f0e3 85%, transparent); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; transform: translate(-50%, -50%); border-radius: 100% 24% 100% 24%; color: #0e2418;
  background: linear-gradient(135deg, #f7e3a6, #d9a441); box-shadow: 0 16px 30px -10px rgba(0,0,0,.6); transition: border-radius .6s, transform .6s; }
.ba:hover .ba-handle span { border-radius: 24% 100% 24% 100%; transform: translate(-50%, -50%) scale(1.1); }
.ba input { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:focus-within { box-shadow: 0 0 0 4px rgba(217,164,65,.8), 0 50px 90px -34px rgba(14,36,24,.7); }

/* Fact panels */
.dt-panel { position: relative; padding: 2rem 1.8rem 2.2rem; color: #17382a; border: 1px solid rgba(63,90,55,.22);
  background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(246,240,227,.6)); box-shadow: 0 26px 44px -28px rgba(14,36,24,.55);
  transition: transform 1s cubic-bezier(.2,.7,.2,1), border-radius 1.3s cubic-bezier(.2,.7,.2,1), border-color 1s, box-shadow 1s; }
.dt-panel.a { border-radius: 4rem 1.3rem 4rem 1.3rem; }
.dt-panel.b { border-radius: 1.3rem 4rem 1.3rem 4rem; }
.dt-panel.a:hover { border-radius: 1.3rem 4rem 1.3rem 4rem; }
.dt-panel.b:hover { border-radius: 4rem 1.3rem 4rem 1.3rem; }
.dt-panel:hover { transform: translateY(-6px); border-color: rgba(217,164,65,.8); box-shadow: 0 34px 56px -26px rgba(14,36,24,.6), 0 0 44px -14px rgba(234,182,86,.4); }
.dt-ico { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 60% 40% 62% 38%; background: linear-gradient(135deg, #5b7a3f, #17382a); color: #f7e3a6; font-size: 1.1rem; }
.dt-link { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.1rem .5rem .6rem; font-family: Montserrat, system-ui, sans-serif; font-size: .82rem; font-weight: 600; color: #17382a; border-radius: 1.6rem .75rem 1.6rem .75rem;
  background: linear-gradient(135deg, rgba(247,227,166,.9), rgba(217,164,65,.55)); transition: transform .8s cubic-bezier(.2,.7,.2,1), border-radius .8s; }
.dt-link:hover, .dt-link:focus-visible { transform: translateY(-3px); border-radius: .75rem 1.6rem .75rem 1.6rem; outline: none; box-shadow: 0 0 0 3px rgba(217,164,65,.6); }

/* Gallery of a project */
.pj-shot { position: relative; overflow: hidden; border-radius: 2.4rem 1rem 2.4rem 1rem; aspect-ratio: 4 / 3; box-shadow: 0 30px 50px -28px rgba(14,36,24,.65); background: linear-gradient(160deg, #6b7a3f, #17382a); }
.pj-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 2s cubic-bezier(.2,.7,.2,1); }
.pj-shot:hover img { transform: scale(1.06); }
