/* ==========================================================================
   Dew Meadow Luxe: botanical editorial design layer for GeneratePress
   Palette: Dew #F1F3EC / Linen #FAFBF6 / Mist #E3E8DD / Moss #1E3B30 /
            Night #13261F / Fern #5B7652 / Brass #B08D57
   Type: Bodoni Moda (display) + Hanken Grotesk (text)
   ========================================================================== */

:root {
	--dew: #F1F3EC;
	--linen: #FAFBF6;
	--mist: #E3E8DD;
	--moss: #1E3B30;
	--night: #13261F;
	--fern: #5B7652;
	--brass: #B08D57;
	--brass-ink: #86663A;
	--gold: #D9B26B;
	--sage: #DCE5D2;
	--sage-deep: #A9BA98;
	--petal: #F2E3DC;
	--hydrangea: #8FA4C8;
	--plum: #2A2330;
	--ink: #1A231E;
	--muted: #56625B;
	--line: rgba(30, 59, 48, .14);
	--line-light: rgba(241, 243, 236, .18);
	--display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
	--text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(18px, 4vw, 56px);
	--maxw: 1320px;
	--ease: cubic-bezier(.22, .8, .2, 1);
	--ease-io: cubic-bezier(.7, 0, .2, 1);
	--header-h: 84px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
html, body.dml { overflow-x: clip; }
body.dml {
	background: var(--dew);
	color: var(--ink);
	font-family: var(--text);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.dml ::selection { background: rgba(176, 141, 87, .28); }
.dml h1, .dml h2, .dml h3, .dml h4 {
	font-family: var(--display);
	font-weight: 500;
	color: inherit;
	letter-spacing: -0.012em;
	line-height: 1.08;
	font-optical-sizing: auto;
}
.dml a { color: var(--moss); transition: color .25s; }
.dml a:hover { color: var(--fern); }
.dml :focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.dml img { max-width: 100%; height: auto; }
.dml-wrap { max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.dml-icon { flex: none; }
.dml-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.screen-reader-text:not(:focus) { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/* ---------- Neutralise theme boxes ---------- */
.dml .site.grid-container { max-width: none; padding: 0; }
.dml .site-content { display: block; padding: 0; }
.dml .content-area { width: 100%; float: none; margin: 0; }
.dml .site-main { margin: 0 !important; }
.dml .inside-article, .dml.separate-containers .inside-article, .dml.one-container .site-content .inside-article { background: transparent; padding: 0; box-shadow: none; }
.dml .entry-header .entry-title { display: none; }
.dml.home .inside-article, .dml.home .entry-content { max-width: none; margin: 0; }
.dml.home .entry-content > * { margin: 0; }
.dml .site-footer { background: none; padding: 0; }

/* ---------- Buttons & links ---------- */
.dml-btn {
	display: inline-flex; align-items: center; gap: .6em;
	padding: 15px 26px;
	background: var(--moss); color: var(--dew) !important;
	font: 500 .95rem/1.1 var(--text); letter-spacing: .01em;
	border: 1px solid var(--moss); border-radius: 2px;
	text-decoration: none; cursor: pointer;
	transition: background .35s var(--ease), color .35s, border-color .35s, transform .35s var(--ease);
}
.dml-btn:hover { background: var(--night); border-color: var(--night); }
.dml-btn:active { transform: translateY(1px); }
.dml-btn-sm { padding: 11px 18px; font-size: .88rem; }
.dml-btn-light { background: var(--dew); color: var(--moss) !important; border-color: var(--dew); }
.dml-btn-light:hover { background: #fff; border-color: #fff; }
.dml-btn-brass { background: var(--brass); border-color: var(--brass); color: var(--night) !important; }
.dml-btn-brass:hover { background: #c49f66; border-color: #c49f66; }
.dml-btn-ghost { background: transparent; color: var(--moss) !important; border-color: var(--line); }
.dml-btn-ghost:hover { background: var(--moss); color: var(--dew) !important; }
.dml-link, .dml-link-light {
	display: inline-flex; align-items: center; gap: .5em;
	font-weight: 500; text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: 3px; transition: background-size .45s var(--ease);
}
.dml-link:hover, .dml-link-light:hover { background-size: 0 1px; background-position: 100% 100%; }
.dml-link .dml-icon, .dml-link-light .dml-icon { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.dml-link:hover .dml-icon { transform: translateX(4px); }
.dml-link-light { color: var(--dew) !important; }

/* ---------- Section rhythm ---------- */
.dml-section { padding-block: clamp(72px, 10vw, 150px); }
.dml-head-row {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
	flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px);
}
.dml-h2 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.9rem); margin: 0; max-width: 16ch; }
.dml-head-note { max-width: 40ch; margin: 0; color: var(--muted); }

/* ==========================================================================
   Header
   ========================================================================== */
.dml .site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(241, 243, 236, .86);
	-webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
	border-bottom: 1px solid transparent;
	color: var(--moss);
	transition: transform .6s var(--ease), background .4s, color .4s, border-color .4s;
}
.admin-bar.dml .site-header { top: 32px; }
.dml .site-header.is-scrolled { border-bottom-color: var(--line); }
.dml .site-header.is-hidden { transform: translateY(-100%); }
.admin-bar.dml .site-header.is-hidden { transform: translateY(calc(-100% - 32px)); }
.dml .inside-header {
	max-width: calc(var(--maxw) + var(--gutter) * 2); padding: 14px var(--gutter);
	display: flex; align-items: center; gap: 24px; box-sizing: border-box;
}
.dml .site-branding-container, .dml .site-branding { display: none; }
.dml-site-logo { margin: 0 auto 0 0 !important; line-height: 0; }
.dml-site-logo a { display: block; color: inherit; }
.dml-logo { display: inline-flex; align-items: center; gap: 12px; color: inherit; }
.dml-mark { width: 26px; height: 34px; overflow: visible; }
.dml-mark-drop { fill: currentColor; }
.dml-mark-leaf { fill: var(--dew); transition: fill .4s; }
.dml-mark-glint { stroke: var(--brass); }
.dml-logo-text { display: flex; flex-direction: column; gap: 6px; }
.dml-word { width: 172px; height: auto; fill: currentColor; display: block; }
.dml-logo-tag { font: 500 .7rem/1 var(--text); letter-spacing: .22em; color: var(--brass); }

/* Navigation */
.dml .main-navigation, .dml .main-navigation ul ul { background: transparent; }
.dml .main-navigation .inside-navigation { display: flex; align-items: center; gap: 8px; }
.dml .main-navigation .main-nav ul li a {
	color: inherit; font: 500 .95rem/1 var(--text); letter-spacing: .005em;
	padding: 0 14px; line-height: 48px; position: relative; background: none;
}
.dml .main-navigation .main-nav ul li a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 1px;
	background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.dml .main-navigation .main-nav ul li a:hover::after,
.dml .main-navigation .main-nav ul li.current-menu-item > a::after,
.dml .main-navigation .main-nav ul li.current-menu-parent > a::after { transform: scaleX(1); transform-origin: left; }
.dml .main-navigation .main-nav ul li:hover > a,
.dml .main-navigation .main-nav ul li.current-menu-item > a { color: inherit; background: none; }
.dml-actions { display: flex; align-items: center; gap: 10px; margin-left: 10px; }
.dml-search-open {
	width: 44px; height: 44px; display: grid; place-items: center;
	border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 28%, transparent);
	border-radius: 50%; background: transparent; color: inherit; cursor: pointer; padding: 0;
	transition: background .3s, color .3s, border-color .3s;
}
.dml-search-open:hover { background: var(--moss); color: var(--dew); border-color: var(--moss); }
.dml .site-header .menu-bar-items, .dml .site-header .dml-actions, .dml .site-header .dml-search-open { color: inherit !important; }
.dml .site-header .dml-search-open { border-color: color-mix(in srgb, currentColor 30%, transparent) !important; }
.dml .site-header .dml-search-open:hover { color: var(--dew) !important; background: var(--moss); border-color: var(--moss) !important; }
.dml-over-hero .site-header:not(.is-scrolled) .dml-search-open:hover { background: var(--dew); color: var(--moss) !important; border-color: var(--dew) !important; }
.dml .menu-toggle { color: inherit; background: transparent; font: 500 .95rem var(--text); }

/* Over a dark hero */
.dml-over-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; color: var(--dew); -webkit-backdrop-filter: none; backdrop-filter: none; }
.dml-over-hero .site-header .dml-mark-leaf { fill: var(--night); }
.dml-over-hero .site-header .dml-header-cta { background: transparent; border-color: rgba(241,243,236,.45); }
.dml-over-hero .site-header .dml-header-cta:hover { background: var(--dew); color: var(--moss) !important; }
.dml-over-hero .site-header.is-scrolled {
	background: rgba(241, 243, 236, .9); color: var(--moss);
	-webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
}
.dml-over-hero .site-header.is-scrolled .dml-mark-leaf { fill: var(--dew); }
.dml-over-hero .site-header.is-scrolled .dml-header-cta { background: var(--moss); border-color: var(--moss); }
.dml-over-hero .site-header.is-scrolled .dml-search-open:hover { color: var(--dew); }

/* Search overlay */
.dml-search {
	position: fixed; inset: 0; z-index: 99999; background: var(--dew);
	display: flex; flex-direction: column; overflow: auto;
	padding: env(safe-area-inset-top, 0px) 0 40px;
	opacity: 0; transition: opacity .4s var(--ease);
}
.admin-bar .dml-search { top: 32px; }
.dml-search.is-open { opacity: 1; }
.dml-search[hidden] { display: none; }
.dml-search-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 920px; width: 100%; margin: 0 auto; padding: 22px var(--gutter); box-sizing: border-box; }
.dml-search-brand { display: inline-flex; align-items: center; gap: 10px; font: 500 .92rem var(--text); color: var(--muted); }
.dml-search-brand .dml-mark { width: 18px; height: 24px; color: var(--moss); }
.dml-search-close {
	display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 18px;
	border: 0; border-radius: 100px; background: var(--moss); color: var(--dew);
	font: 500 .92rem/1 var(--text); cursor: pointer; transition: background .3s;
}
.dml-search-close:hover { background: var(--night); }
.dml-search-close .dml-icon { width: 18px; height: 18px; }
.dml-search-inner { width: 100%; max-width: 920px; margin: 0 auto; padding: clamp(24px, 8vh, 90px) var(--gutter) 0; box-sizing: border-box; transform: translateY(18px); transition: transform .7s var(--ease); }
.dml-search.is-open .dml-search-inner { transform: none; }
.dml-search-label { display: block; font: 500 .95rem var(--text); color: var(--muted); margin-bottom: 10px; }
.dml-search-field { display: flex; align-items: center; gap: 14px; padding-bottom: 10px; background: linear-gradient(var(--line), var(--line)) 0 100% / 100% 1px no-repeat; transition: background-size .4s; }
.dml-search-field:focus-within { background-image: linear-gradient(var(--moss), var(--moss)); background-size: 100% 2px; }
.dml-search-field input {
	flex: 1; min-width: 0; border: 0 !important; background: transparent !important; padding: 6px 0 !important; outline: none !important; box-shadow: none !important;
	font: 400 clamp(2rem, 1.2rem + 3.6vw, 3.8rem)/1.1 var(--display); color: var(--moss) !important; border-radius: 0;
}
.dml-search-field input:focus-visible { outline: none !important; }
.dml-search-field input::placeholder { color: rgba(30, 59, 48, .3); }
.dml-search-field input::-webkit-search-cancel-button { display: none; }
.dml-search-field button { flex: none; background: var(--moss); color: var(--dew); border: 0; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .3s, transform .4s var(--ease); }
.dml-search-field button:hover { background: var(--night); transform: translateX(3px); }
.dml-search-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: clamp(36px, 6vh, 64px); }
.dml-search-hint { margin: 0 0 14px; font: 600 .85rem var(--text); color: var(--fern); }
.dml-search-chips, .dml-search-topics { list-style: none; margin: 0; padding: 0; }
.dml-search-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dml-search-chips a { display: block; padding: 10px 16px; border-radius: 100px; text-decoration: none; font-size: .95rem; background: var(--sage); color: var(--moss); transition: background .3s, color .3s; }
.dml-search-chips a:hover { background: var(--moss); color: var(--dew); }
.dml-search-topics li + li { margin-top: 4px; }
.dml-search-topics a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; font: 400 clamp(1.3rem, 1.1rem + .6vw, 1.6rem)/1.2 var(--display); text-decoration: none; color: var(--moss); }
.dml-search-topics a .dml-icon { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); color: var(--brass); }
.dml-search-topics a:hover .dml-icon { opacity: 1; transform: none; }
@media (max-width: 760px) { .dml-search-groups { grid-template-columns: 1fr; } .admin-bar .dml-search { top: 46px; } .dml-search-topics a .dml-icon { opacity: 1; transform: none; } }

/* ==========================================================================
   Hero (home): dark panel inset on the page, opens to full screen on scroll
   ========================================================================== */
.home.dml .site-header { position: fixed; left: 0; right: 0; background: var(--dew); -webkit-backdrop-filter: none; backdrop-filter: none; }
.dml-hero { position: relative; height: 280vh; background: var(--dew); color: var(--dew); --pad: clamp(10px, 1.4vw, 22px); }
.dml-hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.dml-hero-panel {
	position: absolute; --q: 0;
	top: calc((var(--hh, 84px) + 2px) * (1 - var(--q)));
	left: calc(var(--pad) * (1 - var(--q))); right: calc(var(--pad) * (1 - var(--q))); bottom: calc(var(--pad) * (1 - var(--q)));
	border-radius: calc(24px * (1 - var(--q)));
	overflow: hidden; isolation: isolate;
	background:
		radial-gradient(55% 65% at 76% 58%, rgba(217, 178, 107, .14), rgba(217, 178, 107, 0) 70%),
		linear-gradient(170deg, #17301F 0%, var(--night) 55%, #0F1E18 100%);
}
.dml-hero:not(.is-live) { height: 100vh; height: 100svh; }
.dml-hero:not(.is-live) .dml-hero-panel { background: var(--dml-hero, none) center / cover no-repeat; }
.dml-hero:not(.is-live) .dml-hero-svg { display: none; }
.dml-hero:not(.is-live) .dml-hero-shade { opacity: .6; }
.dml-hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dml-hero-ring { stroke: var(--gold); stroke-width: 1.3px; vector-effect: non-scaling-stroke; opacity: var(--ring, .9); }
.dml-ripple { fill: none; stroke: var(--gold); stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: 0; }
.dml-hero-shade {
	position: absolute; inset: 0; pointer-events: none; z-index: 1;
	background: linear-gradient(180deg, rgba(15, 30, 24, .35) 0%, rgba(15, 30, 24, 0) 35%, rgba(15, 30, 24, .6) 100%);
	opacity: var(--shade, 0);
}
.dml-hero-copy {
	position: absolute; inset: 0; z-index: 2;
	display: flex; flex-direction: column; justify-content: center;
	padding: clamp(28px, 5vw, 88px);
	opacity: var(--copy, 1); transform: translateY(calc(var(--copy-y, 0) * 1px));
}
.dml-hero-title {
	font-size: clamp(2.9rem, 1.1rem + 5.4vw, 7rem) !important;
	line-height: .96 !important; letter-spacing: -0.025em !important; font-weight: 400 !important;
	margin: 0 0 28px; color: var(--dew);
}
.dml-line { display: block; overflow: hidden; padding-bottom: .07em; }
.dml-line > span { display: block; }
@media (min-width: 769px) { .dml-line > span { white-space: nowrap; } }
.dml-hero-lede { max-width: 34ch; font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.6; color: rgba(241, 243, 236, .74); margin: 0 0 34px; }
.dml-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.dml-hero .dml-btn, .dml-hero .dml-textlink { text-decoration: none !important; }
.dml-textlink { display: inline-flex; align-items: center; gap: 10px; color: var(--dew) !important; font-weight: 500; font-size: .98rem; text-decoration: none; }
.dml-textlink .dml-icon { width: 18px; height: 18px; color: var(--gold); transition: transform .45s var(--ease); }
.dml-textlink:hover .dml-icon { transform: translateX(5px); }
.dml-hero-note {
	position: absolute; z-index: 3; right: clamp(20px, 2.4vw, 36px); bottom: clamp(20px, 2.4vw, 36px);
	display: flex; flex-direction: column; gap: 4px; max-width: 290px; padding: 14px 18px 15px;
	border-radius: 14px; background: rgba(241, 243, 236, .08); border: 1px solid rgba(241, 243, 236, .14);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	color: var(--dew) !important; text-decoration: none !important;
	opacity: calc(var(--copy, 1) * var(--note, 0)); transform: translateY(calc((1 - var(--note, 0)) * 12px));
	transition: background .3s;
}
.dml-hero-note:hover { background: rgba(241, 243, 236, .14); }
.dml-hero-note-k { font: 600 .78rem/1 var(--text); color: var(--gold); letter-spacing: .02em; }
.dml-hero-note-t { font-size: .93rem; line-height: 1.4; }
.dml-hero:not(.is-live) .dml-hero-note { --note: 1; }
.dml-hero-after {
	position: absolute; z-index: 3; left: 0; right: 0; bottom: 12vh; text-align: center; margin: 0; padding: 0 20px;
	font: 400 clamp(2.4rem, 1rem + 6vw, 7rem)/1 var(--display); letter-spacing: -0.02em; color: var(--dew);
	opacity: var(--after, 0); transform: translateY(calc((1 - var(--after, 0)) * 40px)); pointer-events: none;
}
.dml-hero.is-live .dml-line > span { transform: translateY(105%); }
.dml-hero.is-live .dml-hero-lede, .dml-hero.is-live .dml-hero-cta { opacity: 0; transform: translateY(14px); }
.dml-hero.is-in .dml-line > span { transform: none; transition: transform 1.3s var(--ease) .25s; }
.dml-hero.is-in .dml-line:nth-child(2) > span { transition-delay: .37s; }
.dml-hero.is-in .dml-hero-lede, .dml-hero.is-in .dml-hero-cta { opacity: 1; transform: none; transition: opacity 1s var(--ease) .75s, transform 1.2s var(--ease) .75s; }
.dml-hero.is-in .dml-hero-cta { transition-delay: .9s; }
@media (max-width: 900px) {
	.dml-hero-copy { justify-content: flex-start; padding-top: clamp(36px, 7vh, 80px); }
	.dml-hero-title { max-width: 7.6ch; }
	.dml-hero-note { display: none; }
}

/* ==========================================================================
   Topics: sticky index + editorial cards
   ========================================================================== */
.dml-topics { background: var(--dew); }
.dml-topics-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.dml-topics-index { position: sticky; top: calc(var(--hh, 84px) + 48px); }
.dml-topics-index .dml-head-note { margin: 20px 0 44px; }
.dml-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dml-index a { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--muted); transition: color .4s, padding .6s var(--ease); }
.dml-index a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--gold); transition: width .6s var(--ease); }
.dml-index a:hover, .dml-index a.is-active { color: var(--moss); }
.dml-index a.is-active { padding-left: 38px; }
.dml-index a.is-active::before { width: 24px; }
.dml-index-name { font: 600 clamp(1.25rem, 1rem + .8vw, 1.75rem)/1.15 var(--display); }
.dml-index-count { font: 600 .78rem/1 var(--text); padding: 6px 11px; border-radius: 100px; background: var(--mist); color: var(--muted); transition: background .4s, color .4s; }
.dml-index a.is-active .dml-index-count { background: var(--moss); color: var(--dew); }
.dml-topics-cards { display: grid; gap: clamp(64px, 8vw, 120px); }
.dml-tcard-media { display: block; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 6px; background: var(--mist); }
.dml-tcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ease); }
.dml-tcard:hover .dml-tcard-media img { transform: scale(1.04); }
.dml-tcard-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; padding-top: 30px; }
.dml-tcard-title { font-size: clamp(1.9rem, 1.2rem + 1.7vw, 2.9rem) !important; margin: 0; line-height: 1.04 !important; }
.dml-tcard-title a { color: var(--ink) !important; text-decoration: none; }
.dml-tcard-text p { margin: 0 0 18px; color: var(--muted); }
.dml-tcard-tags { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dml-tcard-tags li { font-size: .85rem; padding: 7px 13px; border-radius: 100px; background: var(--sage); color: var(--moss); }

/* Image curtain reveal */
.dml-js .dml-curtain { clip-path: inset(22% 0 0 0 round 6px); transition: clip-path 1.5s var(--ease); }
.dml-js .dml-curtain img { transform: scale(1.18); transition: transform 2.2s var(--ease); }
.dml-js .dml-curtain.is-in { clip-path: inset(0 0 0 0 round 6px); }
.dml-js .dml-curtain.is-in img { transform: scale(1); }
.dml-js .dml-tcard:hover .dml-curtain.is-in img { transform: scale(1.04); }

/* ==========================================================================
   Cards & grids
   ========================================================================== */
.dml-card { position: relative; display: flex; flex-direction: column; gap: 18px; }
.dml-card-media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); border-radius: 2px; }
.dml-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.dml-card:hover .dml-card-media img { transform: scale(1.045); }
.dml-card-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--moss); }
.dml-card-mark { width: 40px; height: 52px; opacity: .25; }
.dml-card-mark .dml-mark-drop { fill: var(--moss); }
.dml-card-body { display: flex; flex-direction: column; gap: 8px; }
.dml-card-cat { font: 600 .82rem/1 var(--text); color: var(--fern) !important; text-decoration: none; letter-spacing: .02em; }
.dml-card-title { font-size: 1.45rem; line-height: 1.15; margin: 0; }
.dml-card-title a { text-decoration: none; color: var(--ink); background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.dml-card:hover .dml-card-title a { background-size: 100% 1px; }
.dml-card-excerpt { margin: 0; color: var(--muted); }
.dml-card-meta { margin: 0; font-size: .85rem; color: var(--muted); }

.dml-latest-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 3vw, 44px) clamp(20px, 3vw, 44px); }
.dml-latest-grid .dml-card { grid-column: span 4; }
.dml-latest-grid .is-feature { grid-column: 1 / span 7; grid-row: 1 / span 3; }
.dml-latest-grid .is-feature .dml-card-media { aspect-ratio: 5 / 4; }
.dml-latest-grid .is-feature .dml-card-title { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); }
.dml-latest-grid .is-row { grid-column: 8 / -1; flex-direction: row; align-items: center; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dml-latest-grid .is-row .dml-card-media { flex: 0 0 38%; aspect-ratio: 1; }
.dml-latest-grid .is-row .dml-card-title { font-size: 1.25rem; }
.dml-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.dml-arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 60px) clamp(24px, 3vw, 44px); padding-block: clamp(48px, 6vw, 88px); }
.dml-arch-grid .is-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.dml-arch-grid .is-feature .dml-card-media { aspect-ratio: 16 / 10; }
.dml-arch-grid .is-feature .dml-card-title { font-size: clamp(1.9rem, 1.2rem + 1.8vw, 3rem); }

.dml-empty { text-align: center; max-width: 620px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) 0; color: var(--muted); }
.dml-empty-mark { width: 44px; height: 58px; margin-bottom: 18px; }
.dml-empty-mark .dml-mark-drop { fill: var(--moss); }
.dml-empty-mark .dml-mark-leaf { fill: var(--dew); }
.dml-empty-mark .dml-mark-glint { stroke: var(--brass); }
.dml-empty-title { font: 400 clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem)/1.15 var(--display); color: var(--moss); margin: 0 0 12px; }
.dml-empty-links { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ==========================================================================
   Garden calendar
   ========================================================================== */
.dml-now { background: var(--linen); border-block: 1px solid var(--line); }
.dml-months { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 56px); }
.dml-months::-webkit-scrollbar { display: none; }
.dml-month {
	flex: 1 0 auto; background: none; border: 0; cursor: pointer; padding: 14px 14px 16px;
	font: 400 1.05rem/1 var(--display); color: var(--muted); position: relative; white-space: nowrap;
	transition: color .3s;
}
.dml-month-full { display: none; }
.dml-month::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--moss); transform: scaleX(0); transition: transform .5s var(--ease); }
.dml-month[aria-selected="true"] { color: var(--moss); }
.dml-month[aria-selected="true"]::after { transform: scaleX(1); }
.dml-month.is-current::before { content: ""; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.dml-month:hover { color: var(--moss); }
.dml-month-panel { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 88px); align-items: center; }
.dml-month-panel[hidden] { display: none; }
.dml-month-panel.is-entering .dml-month-copy > * { animation: dml-rise .8s var(--ease) both; }
.dml-month-panel.is-entering .dml-month-copy > *:nth-child(2) { animation-delay: .06s; }
.dml-month-panel.is-entering .dml-month-copy > *:nth-child(3) { animation-delay: .12s; }
.dml-month-panel.is-entering .dml-month-media img { animation: dml-develop 1.1s var(--ease) both; }
@keyframes dml-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes dml-develop { from { opacity: .2; transform: scale(1.06); filter: blur(6px); } }
.dml-month-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--mist); }
.dml-month-media img { width: 100%; height: 100%; object-fit: cover; }
.dml-month-name { font: 400 clamp(3rem, 1.6rem + 5vw, 6.6rem)/.95 var(--display); color: var(--moss); margin: 0 0 28px; letter-spacing: -0.02em; }
.dml-month-name span { display: inline-block; vertical-align: middle; font: 600 .78rem/1 var(--text); letter-spacing: .04em; color: var(--night); background: var(--brass); padding: 7px 11px; border-radius: 100px; margin-left: 10px; transform: translateY(-.6em); }
.dml-tasks { list-style: none; margin: 0 0 28px; padding: 0; }
.dml-tasks li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); font-size: 1.08rem; }
.dml-tasks li:last-child { border-bottom: 1px solid var(--line); }
.dml-tasks .dml-icon { color: var(--brass); margin-top: 4px; }
.dml-month-enjoy { margin: 0; color: var(--muted); }
.dml-month-enjoy span { display: block; font-size: .85rem; font-weight: 600; color: var(--fern); margin-bottom: 2px; }

/* ==========================================================================
   Plant problems
   ========================================================================== */
.dml-doctor { background: var(--night); color: var(--dew); }
.dml-doctor .dml-h2 { color: var(--dew); }
.dml-doctor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 110px); align-items: start; }
.dml-doctor-intro > p { color: rgba(241,243,236,.72); max-width: 44ch; margin: 22px 0 32px; }
.dml-symptoms { display: flex; flex-wrap: wrap; gap: 10px; }
.dml-symptom {
	padding: 11px 18px; border-radius: 100px; border: 1px solid var(--line-light); background: transparent;
	color: var(--dew); font: 500 .95rem/1.1 var(--text); cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.dml-symptom:hover { border-color: rgba(241,243,236,.5); }
.dml-symptom[aria-checked="true"] { background: var(--brass); border-color: var(--brass); color: var(--night); }
.dml-diagnosis { position: relative; padding: clamp(28px, 3.4vw, 52px); border: 1px solid var(--line-light); border-radius: 2px; background: rgba(241,243,236,.03); min-height: 420px; }
.dml-dx[hidden] { display: none; }
.dml-dx.is-entering > * { animation: dml-rise .7s var(--ease) both; }
.dml-dx.is-entering > *:nth-child(2) { animation-delay: .05s; }
.dml-dx.is-entering > *:nth-child(4) { animation-delay: .1s; }
.dml-dx-label { font: 600 .82rem/1 var(--text); letter-spacing: .03em; color: var(--brass); margin: 0 0 14px; }
.dml-dx-causes { list-style: none; padding: 0; margin: 0 0 34px; }
.dml-dx-causes li { font: 400 clamp(1.25rem, 1rem + .7vw, 1.6rem)/1.3 var(--display); padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.dml-dx-fix { font-size: 1.06rem; color: rgba(241,243,236,.86); margin: 0 0 30px; max-width: 46ch; }
.dml-doctor .dml-btn { background: var(--dew); color: var(--moss) !important; border-color: var(--dew); }
.dml-doctor .dml-btn:hover { background: #fff; }

/* ==========================================================================
   People
   ========================================================================== */
.dml-people-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.dml-quote { margin: 36px 0 40px !important; padding: 0 !important; border: 0 !important; background: none !important; }
.dml-quote p { font: italic 500 clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem)/1.3 var(--display) !important; color: var(--plum) !important; margin: 0 0 16px !important; }
.dml-quote p::before { content: "\201C"; display: block; font: 600 4.4rem/.55 var(--display); font-style: normal; color: var(--gold); margin-bottom: 14px; }
.dml-quote cite { font: 600 .85rem var(--text); font-style: normal; color: var(--brass-ink); }
.dml-people-list { display: grid; gap: 12px; }
.dml-person { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 20px 16px 16px; border-radius: 16px; background: rgba(255, 255, 255, .5); text-decoration: none !important; color: var(--ink) !important; transition: background .4s, transform .6s var(--ease); }
.dml-person:hover { background: #fff; transform: translateX(6px); }
.dml-person-thumb img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; }
.dml-person-name { display: block; font: 600 1.4rem/1.15 var(--display); color: var(--ink); }
.dml-person-role { display: block; font: 600 .8rem/1.2 var(--text); color: var(--brass-ink); margin: 4px 0 6px; }
.dml-person-bio { display: block; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.dml-person > .dml-icon { color: var(--moss); transition: transform .5s var(--ease); }
.dml-person:hover > .dml-icon { transform: translateX(4px); }
.dml-people-photos { position: relative; aspect-ratio: 1 / 1.06; }
.dml-pp { position: absolute; margin: 0; overflow: hidden; border-radius: 8px; box-shadow: 0 40px 70px -40px rgba(42, 35, 48, .55); }
.dml-pp img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dml-pp-1 { left: 0; top: 0; width: 63%; height: 80%; }
.dml-pp-2 { right: 0; bottom: 0; width: 52%; height: 62%; outline: 10px solid var(--petal); transform: translateY(var(--py, 0px)); }
.dml-pp figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 13px; border-radius: 100px; background: rgba(250, 251, 246, .94); font: 600 .8rem/1 var(--text); color: var(--moss); }
.dml-people .dml-promises { list-style: none; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin: clamp(64px, 8vw, 110px) 0 32px !important; padding: 0 !important; grid-column: auto !important; }
.dml-people .dml-promises li { padding: 24px 0 0 !important; border-top: 1px solid rgba(42, 35, 48, .22) !important; color: var(--muted); }
.dml-people .dml-promises strong { display: block; font: 600 1.55rem/1.15 var(--display); color: var(--plum); margin-bottom: 10px; }

/* ==========================================================================
   Newsletter + footer
   ========================================================================== */
.dml-letter { display: grid; grid-template-columns: 1fr 1fr; background: var(--moss); color: var(--dew); }
.dml-letter-media { position: relative; min-height: 420px; overflow: hidden; }
.dml-letter-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dml-letter-copy { padding: clamp(48px, 7vw, 120px) clamp(24px, 6vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.dml-letter-copy h2 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); margin: 0 0 18px; color: var(--dew); }
.dml-letter-copy > p { color: rgba(241,243,236,.78); max-width: 44ch; margin: 0 0 34px; }
.dml-join-field { display: flex; gap: 0; border: 1px solid rgba(241,243,236,.35); border-radius: 2px; padding: 5px; max-width: 520px; background: rgba(19,38,31,.25); }
.dml-join-field input[type=email] { flex: 1; min-width: 0; background: transparent !important; border: 0 !important; color: var(--dew) !important; padding: 12px 14px !important; font: 400 1rem var(--text); outline: none; box-shadow: none !important; }
.dml-join-field input::placeholder { color: rgba(241,243,236,.55); }
.dml-join-note { margin: 14px 0 0; font-size: .88rem; color: rgba(241,243,236,.62); }
.dml-join.is-done .dml-join-note { color: var(--brass); }

.dml-footer { background: var(--night); color: rgba(241,243,236,.72); position: relative; overflow: hidden; }
.dml-footer a { color: var(--dew); text-decoration: none; }
.dml-footer a:hover { color: var(--brass); }
.dml-footer-main { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-top: clamp(64px, 8vw, 110px); padding-bottom: 56px; }
.dml-footer-logo { color: var(--dew) !important; display: inline-block; margin-bottom: 22px; }
.dml-footer-logo .dml-word { width: 210px; }
.dml-footer-logo .dml-mark { width: 34px; height: 44px; }
.dml-footer-logo .dml-mark-leaf { fill: var(--night); }
.dml-footer-brand p { max-width: 40ch; margin: 0 0 22px; }
.dml-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.dml-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; }
.dml-social a:hover { background: var(--dew); color: var(--night); }
.dml-footer-col h2 { font: 600 .85rem/1 var(--text); letter-spacing: .03em; color: var(--brass); margin: 6px 0 18px; }
.dml-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dml-footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line-light); font-size: .88rem; }
.dml-footer-base p { margin: 0; }
.dml-footer-base a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(241,243,236,.3); }
.dml-footer-word { line-height: 0; padding: 0 var(--gutter); margin-bottom: -2.2vw; }
.dml-footer-wordmark { width: 100%; height: auto; fill: rgba(176, 141, 87, .16); }

/* ==========================================================================
   Single post
   ========================================================================== */
.dml-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100; pointer-events: none; }
.admin-bar .dml-progress { top: 32px; }
.dml-progress span { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(var(--p, 0)); }
.dml-post-hero { padding-top: clamp(36px, 5vw, 72px); }
.dml-post-hero-inner { max-width: 980px; }
.dml-crumbs { font-size: .88rem; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.dml-crumbs a { text-decoration: none; color: inherit; }
.dml-crumbs a:hover { color: var(--moss); }
.dml-crumbs a:last-child { color: var(--fern); font-weight: 600; }
.dml-post-title { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.8rem) !important; line-height: 1.02 !important; margin: 0 0 22px; max-width: 18ch; color: var(--ink); }
.dml-post-dek { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); color: var(--muted); max-width: 52ch; margin: 0 0 30px; }
.dml-byline { display: flex; align-items: center; gap: 14px; }
.dml-byline-avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block; }
.dml-byline p { margin: 0; line-height: 1.4; }
.dml-byline-name { font-weight: 600; }
.dml-byline-name a { text-decoration: none; }
.dml-byline-meta { font-size: .9rem; color: var(--muted); }
.dml-post-cover { max-width: calc(var(--maxw) + var(--gutter) * 2); margin: clamp(32px, 4vw, 56px) auto 0; padding: 0 var(--gutter); box-sizing: border-box; }
.dml-post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; display: block; }
.dml-post-cover figcaption { font-size: .8rem; color: var(--muted); text-align: right; margin-top: 10px; }

.single.dml .inside-article, .page.dml:not(.home) .inside-article { max-width: 720px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(56px, 7vw, 100px); box-sizing: content-box; }
.dml .entry-content { font-size: 1.12rem; line-height: 1.78; }
.dml .entry-content > p, .dml .entry-content > ul, .dml .entry-content > ol { margin: 0 0 1.35em; }
.dml .entry-content :is(p, li, td, figcaption, blockquote) > a:not(.dml-btn) { color: var(--moss); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.dml .entry-content :is(p, li, td, figcaption, blockquote) > a:not(.dml-btn):hover { text-decoration-thickness: 2px; color: var(--fern); }
.dml .dml-btn, .dml .dml-link, .dml .dml-link-light, .dml .dml-textlink { text-decoration: none !important; }
.dml .entry-content > h2 { font-size: clamp(1.8rem, 1.4rem + 1.3vw, 2.5rem); margin: 2em 0 .6em; scroll-margin-top: 110px; }
.dml .entry-content > h3 { font: 600 1.3rem/1.3 var(--text); margin: 1.8em 0 .5em; letter-spacing: 0; }
.dml .entry-content > h4 { font: 600 1.08rem/1.3 var(--text); margin: 1.6em 0 .4em; }
.dml .entry-content ul li::marker { color: var(--brass); }
.dml .entry-content ol li::marker { color: var(--brass-ink); font-family: var(--display); }
.dml .entry-content > :is(ul, ol) > li { margin-bottom: .45em; padding-left: .25em; }
.dml .entry-content > blockquote { border: 0; margin: 2em 0; padding: 0 0 0 28px; border-left: 2px solid var(--brass); font: italic 400 1.5rem/1.45 var(--display); color: var(--moss); background: none; }
.dml .entry-content > blockquote p { margin: 0; }
.dml .entry-content > figure, .dml .entry-content > .wp-block-image { margin: 2.2em 0; }
.dml .entry-content > figure img { border-radius: 2px; }
.dml .entry-content > figure figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; text-align: left; }
.dml .entry-content hr { border: 0; height: 1px; background: var(--line); margin: 3em 0; }
.dml .entry-content table { border-collapse: collapse; width: 100%; font-size: .98rem; border: 0; }
.dml .entry-content th, .dml .entry-content td { border: 0; border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; }
.dml .entry-content th { font-weight: 600; background: var(--linen); }
.single.dml .entry-content > p:first-of-type { font-size: 1.24rem; line-height: 1.7; color: var(--ink); }
.dml-pin-wrap { position: relative; display: block; }
.dml-pin { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; background: #fff; color: var(--ink) !important; border-radius: 100px; font: 600 .85rem/1 var(--text); text-decoration: none !important; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--ease); box-shadow: 0 6px 20px rgba(19,38,31,.18); }
.dml-pin .dml-icon { color: #c8102e; }
.dml-pin-wrap:hover .dml-pin, .dml-pin:focus-visible { opacity: 1; transform: none; }

.dml-toc { margin: 2em 0 2.4em; background: var(--linen); border: 1px solid var(--line); border-radius: 2px; }
.dml-toc summary { cursor: pointer; list-style: none; padding: 18px 22px; font: 400 1.3rem/1.2 var(--display); color: var(--moss); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dml-toc summary::-webkit-details-marker { display: none; }
.dml-toc summary span { font: 500 .85rem var(--text); color: var(--muted); }
.dml-toc ol { margin: 0 !important; padding: 4px 22px 18px 44px !important; font-size: 1rem; line-height: 1.5; }
.dml-toc li { padding: 5px 0; }
.dml-toc a { text-decoration: none !important; color: var(--ink) !important; }
.dml-toc a:hover { color: var(--fern) !important; }
.dml-toc-rail { position: fixed; top: 140px; left: max(var(--gutter), calc((100vw - 720px) / 2 - 300px)); width: 230px; font-size: .88rem; line-height: 1.45; opacity: 0; pointer-events: none; transition: opacity .5s; z-index: 5; }
.dml-toc-rail.is-on { opacity: 1; pointer-events: auto; }
.dml-toc-rail p { font: 400 1.1rem var(--display); color: var(--moss); margin: 0 0 12px; }
.dml-toc-rail ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.dml-toc-rail a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; transition: color .3s, border-color .3s; }
.dml-toc-rail a:hover { color: var(--moss); }
.dml-toc-rail a.is-active { color: var(--moss); border-left-color: var(--brass); font-weight: 600; }

.dml-post-end { margin-top: 3.5em; }
.dml-tags { list-style: none; margin: 0 0 32px !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.dml-tags a { display: block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px; font-size: .88rem; text-decoration: none !important; }
.dml-share { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-block: 1px solid var(--line); }
.dml-share p { margin: 0 !important; font: 400 1.2rem var(--display) !important; color: var(--moss) !important; }
.dml-share ul { list-style: none; display: flex; gap: 8px; margin: 0 !important; padding: 0 !important; flex-wrap: wrap; }
.dml-share li { margin: 0 !important; padding: 0 !important; }
.dml-share a, .dml-share button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--moss) !important; font: 500 .88rem/1 var(--text); text-decoration: none !important; cursor: pointer; transition: background .3s, color .3s; }
.dml-share a:hover, .dml-share button:hover { background: var(--moss); color: var(--dew) !important; }
.dml-author-box { display: grid; grid-template-columns: 112px 1fr; gap: 26px; margin-top: 40px; padding: 32px; background: var(--linen); border: 1px solid var(--line); border-radius: 2px; }
.dml-author-photo img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; display: block; }
.dml-author-kicker { margin: 0 0 4px !important; font-size: .85rem !important; color: var(--brass-ink); font-weight: 600; }
.dml-author-name { margin: 0 0 10px !important; font-size: 1.7rem !important; }
.dml-author-name a { text-decoration: none !important; color: var(--ink) !important; }
.dml-author-box p { font-size: 1rem; line-height: 1.6; color: var(--muted); margin: 0 0 14px; }
.dml-author-box .dml-link { text-decoration: none !important; font-size: .95rem; }
.dml-related { background: var(--linen); border-top: 1px solid var(--line); padding-block: clamp(64px, 8vw, 110px); }
.dml-related .dml-h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); }

/* ==========================================================================
   Archive / page heroes
   ========================================================================== */
.dml-arch-hero, .dml-page-hero { position: relative; overflow: hidden; }
.dml-arch-hero.has-image, .dml-page-hero.has-image { min-height: 68vh; min-height: 68svh; display: flex; align-items: flex-end; background: var(--night); color: var(--dew); }
.dml-arch-bg { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; animation: dml-settle 2.4s var(--ease) both; }
@keyframes dml-settle { from { transform: scale(1.1); } }
.dml-arch-hero.has-image::after, .dml-page-hero.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,38,31,.5) 0%, rgba(19,38,31,.15) 35%, rgba(19,38,31,.82) 100%); }
.dml-arch-hero-inner, .dml-page-hero-inner, .dml-author-hero { position: relative; z-index: 2; width: 100%; padding-top: 150px; padding-bottom: clamp(40px, 5vw, 72px); }
.has-image .dml-crumbs, .has-image .dml-crumbs a { color: rgba(241,243,236,.75); }
.has-image .dml-crumbs a:last-child { color: var(--brass); }
.dml-arch-title, .dml-page-title { font-size: clamp(2.8rem, 1.4rem + 5.4vw, 6.6rem) !important; line-height: .98 !important; margin: 0 0 20px; max-width: 14ch; font-weight: 400 !important; letter-spacing: -0.02em !important; }
.dml-arch-desc, .dml-page-dek { max-width: 50ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); opacity: .86; }
.dml-arch-desc p { margin: 0; }
.dml-arch-count, .dml-arch-kicker { font-size: .9rem; font-weight: 600; color: var(--brass); margin: 16px 0 0; }
.dml-arch-kicker { margin: 0 0 12px; }
.dml-arch-hero.is-plain, .dml-page-hero:not(.has-image) { background: var(--linen); border-bottom: 1px solid var(--line); }
.dml-arch-hero.is-plain .dml-arch-hero-inner, .dml-page-hero:not(.has-image) .dml-page-hero-inner { padding-top: clamp(56px, 7vw, 100px); }
.dml-page-hero.is-legal .dml-page-title { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem) !important; }
.dml-page-updated { font-size: .9rem; color: var(--muted); margin: 8px 0 0; }
.dml-author-hero { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.dml-author-hero-photo img { width: clamp(140px, 16vw, 220px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; display: block; border: 1px solid rgba(241,243,236,.3); }
.dml-author-hero .dml-arch-desc p { margin: 0 0 .7em; }
.dml-inline-search { display: flex; gap: 10px; max-width: 620px; margin-top: 10px; }
.dml-inline-search input { flex: 1; min-width: 0; padding: 14px 18px !important; border: 1px solid var(--line) !important; background: #fff !important; border-radius: 2px; font-size: 1rem; }
.dml-topic-tabs { border-bottom: 1px solid var(--line); background: var(--dew); }
.dml-topic-tabs ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.dml-topic-tabs ul::-webkit-scrollbar { display: none; }
.dml-topic-tabs a { display: block; white-space: nowrap; padding: 20px 14px 18px; text-decoration: none; color: var(--muted); font-weight: 500; position: relative; }
.dml-topic-tabs a[aria-current="page"] { color: var(--moss); }
.dml-topic-tabs a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--moss); }
.dml-pagination { margin: 0 0 clamp(56px, 7vw, 100px); }
.dml-pagination .nav-links, .dml-pagination ul { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.dml-pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 100px; text-decoration: none; color: var(--moss); }
.dml-pagination .page-numbers.current { background: var(--moss); color: var(--dew); border-color: var(--moss); }
.page.dml .entry-content .dml-topic-tabs, .page.dml .entry-content .dml-arch-grid, .page.dml .entry-content .dml-pagination { font-size: 1rem; }
.dml-page-guides .inside-article { max-width: none !important; padding: 0 !important; }
.dml-page-guides .entry-content .dml-card-title a { text-decoration: none; }

/* Legacy infographic blocks on About / Editorial Policy: re-skinned to the new system */
.dml .dm-editorial-flow, .dml .dm-editorial-chart, .dml .dmq-quality, .dml .dmf-freshness {
	--dm-forest: var(--moss); --dm-green: var(--fern); --dm-dark: var(--moss); --dm-muted: var(--muted); --dm-line: var(--line); --dm-border: var(--line);
	--dmq-green: var(--fern); --dmq-dark: var(--moss); --dmq-muted: var(--muted); --dmq-line: var(--line);
	--dmf-green: var(--fern); --dmf-dark: var(--moss); --dmf-muted: var(--muted); --dmf-border: var(--line);
	background: var(--linen) !important; border: 1px solid var(--line) !important; border-radius: 2px !important;
	font-family: var(--text) !important; color: var(--moss) !important; margin-block: 2.4em !important; padding: clamp(24px, 3vw, 40px) !important; max-width: none !important;
}
.dml .dm-editorial-flow *, .dml .dm-editorial-chart *, .dml .dmq-quality *, .dml .dmf-freshness * { font-family: var(--text) !important; border-radius: 2px !important; box-shadow: none !important; }
.dml .dm-editorial-flow :is(h2,h3,h4), .dml .dm-editorial-chart :is(h2,h3,h4), .dml .dmq-quality :is(h2,h3,h4), .dml .dmf-freshness :is(h2,h3,h4) { font-family: var(--display) !important; font-weight: 500 !important; letter-spacing: -0.01em; color: var(--moss) !important; }
.dml .dm-editorial-flow [class*="num"], .dml .dmf-freshness [class*="num"] { color: var(--brass-ink) !important; }

/* Legal + long pages */
.page.dml .entry-content > :is(h2, h3):first-child { font: 400 clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem)/1.15 var(--display); letter-spacing: -0.01em; text-align: left; margin: 0 0 .7em; color: var(--moss); }
.dml-legal .entry-content > h2 { font-size: clamp(1.6rem, 1.3rem + .9vw, 2.1rem); }

/* Contact */
.dml-page-contact .inside-article { max-width: 1120px !important; }
.dml-page-contact .entry-content { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 0 clamp(40px, 6vw, 96px); grid-auto-flow: dense; align-items: start; }
.dml-page-contact .entry-content > * { grid-column: 1; }
.dml-page-contact .entry-content > .dml-contact-card { grid-column: 2; grid-row: 1 / span 40; position: sticky; top: 110px; }
.dml-contact-card { background: var(--linen); border: 1px solid var(--line); border-radius: 2px; padding: clamp(24px, 3vw, 40px); }
.dml-contact-card h2 { margin: 0 0 22px !important; font-size: 1.9rem !important; }
.dml-form { display: grid; gap: 18px; }
.dml-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dml-form label { display: grid; gap: 7px; font-size: .88rem; font-weight: 600; color: var(--moss); }
.dml-form input, .dml-form select, .dml-form textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line) !important; background: #fff !important; padding: 13px 14px !important; font: 400 1rem var(--text); color: var(--ink) !important; border-radius: 2px; transition: border-color .3s, box-shadow .3s; }
.dml-form input:focus, .dml-form select:focus, .dml-form textarea:focus { border-color: var(--moss) !important; box-shadow: 0 0 0 3px rgba(30,59,48,.1); outline: none; }
.dml-form .dml-btn { justify-self: start; }
.dml-form-ok, .dml-form-err { padding: 14px 16px; border-radius: 2px; font-size: .95rem; margin: 0 0 18px; }
.dml-form-ok { background: rgba(91,118,82,.12); color: var(--moss); }
.dml-form-err { background: rgba(160,60,40,.08); color: #8a3322; }

/* 404 */
.dml-404 { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: var(--night); color: var(--dew); overflow: hidden; }
.dml-404-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.dml-404-inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 80px; }
.dml-404 p { max-width: 44ch; color: rgba(241,243,236,.8); }
.dml-404 .dml-inline-search { margin: 28px 0 24px; }
.dml-404 .dml-inline-search input { background: rgba(241,243,236,.95) !important; }

/* ==========================================================================
   Reveal (used sparingly: section heads only)
   ========================================================================== */
.dml-js .dml-reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.dml-js .dml-reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.dml-latest-grid .is-feature { grid-column: 1 / -1; grid-row: auto; }
	.dml-latest-grid .is-row { grid-column: span 6; flex-direction: column; align-items: stretch; border: 0; padding: 0; }
	.dml-latest-grid .is-row .dml-card-media { flex: none; aspect-ratio: 4 / 3; }
	.dml-latest-grid .dml-card { grid-column: span 6; }
	.dml-latest-grid .is-feature { grid-column: 1 / -1; }
	.dml-person, .dml-promises { grid-column: span 6; }
	.dml-promises { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
	.dml-footer-main { grid-template-columns: 1fr 1fr; }
	.dml-footer-brand { grid-column: 1 / -1; }
	.dml-header-cta { display: none !important; }
}
@media (min-width: 1101px) {
	.dml-month-full { display: inline; }
	.dml-month-short { display: none; }
}
@media (max-width: 900px) {
	.dml-hero-copy { justify-content: flex-start; padding-top: clamp(110px, 15vh, 190px); }
	.dml-doctor-grid, .dml-month-panel, .dml-letter, .dml-arch-grid .is-feature { grid-template-columns: 1fr; }
	.dml-month-media { aspect-ratio: 16 / 10; }
	.dml-letter-media { min-height: 260px; }
	.dml-arch-grid, .dml-grid-3 { grid-template-columns: 1fr 1fr; }
	.dml-page-contact .entry-content { grid-template-columns: 1fr; }
	.dml-page-contact .entry-content > .dml-contact-card { grid-column: 1; grid-row: auto; position: static; margin-bottom: 40px; }
	.dml-accordion { flex-direction: column; height: auto; gap: 10px; }
	.dml-acc, .dml-acc.is-open { flex: none; height: 300px; }
	.dml-acc:not(.is-open) .dml-acc-title { writing-mode: horizontal-tb; transform: none; }
	.dml-acc-desc, .dml-acc-more { opacity: 1; transform: none; }
	.dml-acc img { transform: none; filter: none; }
}
@media (max-width: 768px) {
	body.dml { font-size: 16px; }
	:root { --header-h: 68px; }
	.admin-bar.dml .site-header { top: 46px; }
	.admin-bar .dml-progress { top: 46px; }
	.dml .inside-header { padding-block: 10px; flex-wrap: wrap; }
	.dml-word { width: 146px; }
	.dml-mark { width: 22px; height: 29px; }
	.dml .main-navigation { margin-left: auto; }
	.dml .main-navigation .inside-navigation { justify-content: flex-end; flex-wrap: wrap; }
	.dml .main-navigation.toggled .main-nav { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: -1; background: var(--dew); color: var(--moss); padding: 110px var(--gutter) 40px; overflow: auto; }
	.dml .main-navigation.toggled .main-nav ul li a { font: 400 2rem/1.2 var(--display); padding: 14px 0; line-height: 1.2; border-bottom: 1px solid var(--line); }
	.dml .main-navigation.toggled .main-nav ul li a::after { display: none; }
	.dml .main-navigation .menu-toggle { padding: 0 10px; line-height: 44px; }
	.dml-over-hero .main-navigation.toggled { color: var(--moss); }
	.dml-arch-grid, .dml-grid-3, .dml-latest-grid { grid-template-columns: 1fr; }
	.dml-latest-grid .dml-card, .dml-latest-grid .is-row { grid-column: 1 / -1; }
	.dml-person, .dml-promises { grid-column: 1 / -1; }
	.dml-promises { display: block; }
	.dml-footer-main { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.dml-form-row { grid-template-columns: 1fr; }
	.dml-author-box { grid-template-columns: 1fr; padding: 24px; }
	.dml-author-hero { grid-template-columns: 1fr; }
	.dml-hero-copy { justify-content: flex-start; padding-top: 18vh; }
	.dml-hero-title { max-width: 8ch; }
	.dml-join-field { flex-direction: column; gap: 6px; }
	.dml-join-field .dml-btn { justify-content: center; }
	.dml-share { flex-direction: column; align-items: flex-start; }
	.dml-head-row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.dml-js .dml-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Palette variety: each section gets its own ground
   ========================================================================== */
.dml-now { background: var(--sage); border-block: 0; }
.dml-now .dml-months { border-bottom-color: rgba(30, 59, 48, .18); }
.dml-now .dml-month.is-current::before { background: var(--moss); }
.dml-month-name span { background: var(--moss); color: var(--dew); }
.dml-now .dml-tasks li { border-color: rgba(30, 59, 48, .16); }
.dml-now .dml-tasks .dml-icon { color: var(--fern); }
.dml-doctor { background: var(--plum); }
.dml-doctor .dml-symptom[aria-checked="true"] { background: var(--petal); border-color: var(--petal); color: var(--plum); }
.dml-doctor .dml-dx-label { color: var(--gold); }
.dml-doctor .dml-diagnosis { background: rgba(242, 227, 220, .04); border-color: rgba(242, 227, 220, .14); }
.dml-doctor .dml-dx-causes li { border-color: rgba(242, 227, 220, .14); }
.dml-people { background: var(--petal); }
.dml-people .dml-promises li { border-color: rgba(42, 35, 48, .14); }
.dml-people .dml-person-photo { background: #E7D3CA; }
.dml-latest { background: var(--linen); }
.dml-acc-more { color: var(--gold); }
.dml-letter { background: #24364A; }
.dml-letter .dml-btn-brass { background: var(--gold); border-color: var(--gold); }
.dml-letter .dml-join-field { background: rgba(10, 20, 32, .25); }

/* ==========================================================================
   Type weight pass: sturdier, crisper display serif
   ========================================================================== */
.dml h1, .dml h2, .dml h3, .dml h4,
.dml-index-name, .dml-month-name, .dml-dx-causes li, .dml-empty-title, .dml-search-topics a, .dml-toc summary {
	font-weight: 600; font-optical-sizing: none; font-variation-settings: "opsz" 22;
}
.dml-hero-title { font-weight: 500 !important; font-optical-sizing: none; font-variation-settings: "opsz" 34; }
.dml-arch-title, .dml-page-title, .dml-post-title { font-weight: 600 !important; font-optical-sizing: none; font-variation-settings: "opsz" 28; }
.dml-month-name { font-weight: 600; }
.dml-dx-causes li { font-weight: 500; }
.dml-h2 { letter-spacing: -0.018em; color: var(--ink); }
.dml-doctor .dml-h2, .dml-letter-copy h2 { color: var(--dew); }

/* Section header: heading and note stacked, link on the right */
.dml-head-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 40px; }
.dml-head-row > .dml-h2 { grid-column: 1; max-width: 18ch; }
.dml-head-row > .dml-head-note { grid-column: 1; margin: 0; max-width: 46ch; }
.dml-head-row > .dml-link { grid-column: 2; grid-row: 1 / span 2; align-self: end; white-space: nowrap; }

/* ==========================================================================
   On the potting bench (upcoming guides)
   ========================================================================== */
.dml-latest.is-upcoming { background: var(--linen); }
.dml-upcoming { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dml-up-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 190px; align-items: center; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); cursor: default; }
.dml-up-title { font: 600 clamp(1.3rem, 1rem + 1.1vw, 2.1rem)/1.2 var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 22; color: var(--ink); transition: transform .7s var(--ease), color .4s; }
.dml-up-row:hover .dml-up-title { transform: translateX(16px); color: var(--moss); }
.dml-up-cat { text-align: right; color: var(--muted); font-size: .92rem; }
.dml-up-season { justify-self: start; font: 600 .78rem/1 var(--text); padding: 8px 13px; border-radius: 100px; }
.dml-up-season.is-fall { background: #EFDDC6; color: #6B4A22; }
.dml-up-season.is-winter { background: #DCE5F0; color: #2E4566; }
.dml-up-season.is-any-season { background: var(--sage); color: var(--moss); }
.dml-up-float { position: fixed; left: 0; top: 0; z-index: 40; width: 260px; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-999px, -999px, 0); transition: opacity .35s; box-shadow: 0 30px 60px -25px rgba(19, 38, 31, .5); }
.dml-up-float.is-on { opacity: 1; }
.dml-up-float img { width: 100%; height: 100%; object-fit: cover; }
.dml-js .dml-up-row { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.dml-js .dml-up-row.is-in { opacity: 1; transform: none; }
.dml-js .dml-upcoming .dml-up-row:hover .dml-up-title { transform: translateX(16px); }

@media (max-width: 900px) {
	.dml-topics-grid, .dml-people-grid { grid-template-columns: 1fr; }
	.dml-topics-index { position: static; }
	.dml-index { display: none; }
	.dml-topics-index .dml-head-note { margin-bottom: 0; }
	.dml-tcard-body { grid-template-columns: 1fr; gap: 14px; padding-top: 22px; }
	.dml-people-photos { max-width: 520px; width: 100%; margin: 0 auto; }
	.dml-people .dml-promises { grid-template-columns: 1fr; gap: 0; }
	.dml-people .dml-promises li { padding: 22px 0 !important; }
	.dml-up-row { grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; padding: 22px 0; }
	.dml-up-title { grid-column: 1 / -1; grid-row: 2; }
	.dml-up-cat { text-align: right; }
	.dml-up-float { display: none; }
	.dml-head-row { grid-template-columns: 1fr; }
	.dml-head-row > .dml-link { grid-column: 1; grid-row: auto; justify-self: start; }
}

.dml-people-list .dml-person { grid-column: auto !important; }

.home.dml .entry-content { font-size: inherit; line-height: inherit; }

/* About: gardeners band sits outside the article column */
.dml-founders-band { width: 100%; border-top: 1px solid rgba(42, 35, 48, .1); }
.dml-founders-band .dml-people { padding-block: clamp(72px, 9vw, 140px); }

/* GeneratePress paints the container white: let the page ground show through */
.dml .site, .dml .site.grid-container, .dml .site-content, .dml .content-area, .dml .site-main, .dml .inside-article, .dml .comments-area { background: transparent !important; }

.dml-toc-rail { max-height: calc(100vh - 190px); overflow-y: auto; scrollbar-width: thin; padding-right: 8px; }

/* ==========================================================================
   Single post: content + right sidebar
   ========================================================================== */
.dml-side { display: none; }
@media (min-width: 1100px) {
	.single.dml .inside-article {
		max-width: 1120px; box-sizing: content-box;
		display: grid; grid-template-columns: minmax(0, 720px) 320px; justify-content: space-between; column-gap: 64px; align-items: start;
	}
	.single.dml .inside-article > * { grid-column: 1; min-width: 0; }
	.single.dml .inside-article > .dml-side { grid-column: 2; grid-row: 1 / span 30; align-self: stretch; }
	.single.dml .entry-content .dml-toc { display: none; }
	.single.dml .dml-post-hero-inner { max-width: calc(1120px + var(--gutter) * 2); }
	.single.dml .dml-post-cover { max-width: calc(1120px + var(--gutter) * 2); }
	.single .dml-toc-rail { display: none !important; }
}
.dml-side { flex-direction: column; gap: 20px; padding-top: 6px; }
@media (min-width: 1100px) { .dml-side { display: flex; } }
.dml-side-card { background: var(--linen); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.dml-side-title { margin: 0; font: 600 1.15rem/1.2 var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 22; color: var(--ink); }

.dml-side-author-top { display: flex; align-items: center; gap: 14px; text-decoration: none !important; margin-bottom: 14px; }
.dml-side-author-top img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.dml-side-name { display: block; font: 600 1.25rem/1.15 var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 22; color: var(--ink); }
.dml-side-role { display: block; font: 600 .78rem/1.3 var(--text); color: var(--brass-ink); margin-top: 3px; }
.dml-side-author p { font-size: .93rem; line-height: 1.55; color: var(--muted); margin: 0 0 14px; }
.dml-side-author .dml-link { font-size: .9rem; }

.dml-side-topics ul { list-style: none; margin: 14px 0 0; padding: 0; }
.dml-side-topics li + li { border-top: 1px solid var(--line); }
.dml-side-topics a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; transition: color .3s, padding .5s var(--ease); }
.dml-side-topics a:hover { color: var(--moss); padding-left: 6px; }
.dml-side-topics a[aria-current] { color: var(--moss); font-weight: 600; }
.dml-side-count { font: 600 .75rem/1 var(--text); padding: 5px 9px; border-radius: 100px; background: var(--mist); color: var(--muted); }
.dml-side-topics a[aria-current] .dml-side-count { background: var(--moss); color: var(--dew); }

.dml-side-sticky { position: sticky; top: calc(var(--hh, 84px) + 24px); display: flex; flex-direction: column; gap: 20px; }
.dml-side-toc { padding-bottom: 14px; }
.dml-side-toc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dml-side-toc-head span { font-size: .8rem; color: var(--muted); }
.dml-side-progress { height: 3px; border-radius: 3px; background: var(--mist); overflow: hidden; margin: 14px 0 10px; }
.dml-side-progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }
.dml-side-toc ol { list-style: none; margin: 0; padding: 0; max-height: calc(100vh - var(--hh, 84px) - 330px); min-height: 120px; overflow-y: auto; scrollbar-width: thin; }
.dml-side-toc a { display: block; padding: 8px 0 8px 14px; border-left: 2px solid var(--line); font-size: .9rem; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .3s, border-color .3s; }
.dml-side-toc a:hover { color: var(--moss); }
.dml-side-toc a.is-active { color: var(--moss); font-weight: 600; border-left-color: var(--gold); }

.dml-side-letter { background: var(--moss); border-color: var(--moss); color: var(--dew); }
.dml-side-letter-title { margin: 0 0 6px; font: 600 1.25rem/1.2 var(--display); font-optical-sizing: none; font-variation-settings: "opsz" 22; color: var(--dew); }
.dml-side-letter > p { font-size: .9rem; line-height: 1.5; color: rgba(241, 243, 236, .75); margin: 0 0 16px; }
.dml-side-letter .dml-join { display: grid; gap: 8px; }
.dml-side-letter input[type=email] { width: 100%; box-sizing: border-box; border: 1px solid rgba(241, 243, 236, .25) !important; background: rgba(19, 38, 31, .35) !important; color: var(--dew) !important; padding: 12px 14px !important; border-radius: 8px; font: 400 .95rem var(--text); }
.dml-side-letter input[type=email]::placeholder { color: rgba(241, 243, 236, .55); }
.dml-side-letter .dml-btn { justify-content: center; border-radius: 8px; width: 100%; box-sizing: border-box; margin: 0; }
.dml-side-letter .dml-join-note { margin: 4px 0 0; font-size: .78rem; color: rgba(241, 243, 236, .6); }

/* Header fits on one row on laptop widths */
@media (min-width: 769px) { .dml .inside-header { flex-wrap: nowrap; } }
@media (max-width: 1280px) {
	.dml .site-header .dml-header-cta { display: none !important; }
	.dml .main-navigation .main-nav ul li a { padding: 0 10px; }
	.dml .main-navigation .main-nav ul li a::after { left: 10px; right: 10px; }
}

/* ==========================================================================
   Comments: same column as the article
   ========================================================================== */
.dml .comments-area {
	max-width: 720px; box-sizing: content-box; margin: 0 auto !important;
	padding: 0 var(--gutter) clamp(64px, 8vw, 110px) !important;
}
@media (min-width: 1100px) {
	.single.dml .comments-area { max-width: 1120px; }
	.single.dml .comments-area > * { max-width: 720px; }
}
.dml .comments-area .comments-title,
.dml .comment-reply-title { font: 600 clamp(1.6rem, 1.3rem + .9vw, 2.1rem)/1.15 var(--display) !important; font-optical-sizing: none; font-variation-settings: "opsz" 22; color: var(--ink); margin: 0 0 22px; }
.dml .comment-respond { padding: clamp(24px, 3vw, 36px); background: var(--linen); border: 1px solid var(--line); border-radius: 16px; margin-top: 32px; }
.dml .comment-reply-title small a { font: 500 .85rem var(--text); margin-left: 10px; }
.dml .comment-form p { margin: 0 0 16px; }
.dml .comment-form .logged-in-as, .dml .comment-notes { font-size: .88rem; color: var(--muted); }
.dml .comment-form label { display: block; font-size: .88rem; font-weight: 600; color: var(--moss); margin-bottom: 6px; }
.dml .comment-form .comment-form-comment label.screen-reader-text { position: absolute !important; }
.dml .comment-form textarea, .dml .comment-form input[type=text], .dml .comment-form input[type=email], .dml .comment-form input[type=url] {
	width: 100%; box-sizing: border-box; border: 1px solid var(--line) !important; background: #fff !important; border-radius: 10px;
	padding: 13px 14px !important; font: 400 1rem/1.5 var(--text); color: var(--ink) !important; transition: border-color .3s, box-shadow .3s;
}
.dml .comment-form textarea { min-height: 150px; }
.dml .comment-form textarea:focus, .dml .comment-form input:focus { border-color: var(--moss) !important; box-shadow: 0 0 0 3px rgba(30, 59, 48, .1); outline: none; }
.dml .comment-form .form-submit { margin: 4px 0 0; }
.dml .comment-form input[type=submit] {
	background: var(--moss); color: var(--dew); border: 0; border-radius: 100px; padding: 14px 26px; cursor: pointer;
	font: 500 .95rem/1 var(--text); transition: background .3s;
}
.dml .comment-form input[type=submit]:hover { background: var(--night); }
.dml .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.dml .comment-form-cookies-consent label { font-weight: 400; color: var(--muted); margin: 0; }
.dml .comment-list { list-style: none; margin: 0; padding: 0; }
.dml .comment-list .children { list-style: none; margin: 0 0 0 clamp(18px, 4vw, 48px); padding: 0; }
.dml .comment-list .comment-body, .dml .comment-list article.comment-body { padding: 22px 0; border-bottom: 1px solid var(--line); background: none; margin: 0; }
.dml .comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.dml .comment-meta .avatar { width: 44px; height: 44px; border-radius: 50%; }
.dml .comment-author-info .fn, .dml .comment-author .fn { font: 600 1.05rem var(--text); color: var(--ink); }
.dml .comment-metadata, .dml .comment-meta .entry-meta { font-size: .82rem; color: var(--muted); }
.dml .comment-metadata a { color: inherit; text-decoration: none; }
.dml .comment-content p { margin: 0 0 10px; font-size: 1rem; line-height: 1.65; }
.dml .comment .reply a { font-size: .85rem; font-weight: 600; color: var(--moss); text-decoration: none; }
.dml .bypostauthor > .comment-body .fn::after { content: "Author"; margin-left: 8px; padding: 3px 8px; border-radius: 100px; background: var(--sage); color: var(--moss); font: 600 .7rem/1 var(--text); vertical-align: middle; }

/* Reading column keeps the site gutter (GeneratePress one-container rule zeroed it) */
.single.dml .site-content .inside-article, .page.dml:not(.home) .site-content .inside-article {
	padding-left: var(--gutter) !important; padding-right: var(--gutter) !important;
	padding-top: clamp(40px, 5vw, 72px) !important; padding-bottom: clamp(48px, 6vw, 88px) !important;
}
.dml-page-guides .site-content .inside-article { padding: 0 !important; }

/* Topic tabs: fade hints that the strip scrolls on small screens */
@media (max-width: 900px) {
	.dml-topic-tabs ul { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 40px; }
}
