/* Style Italiano Endodontics — redesign prototype.
   Palette locked by the rebuild: green #013733, red #df051a (marker only), off-white #FAFAF7. */

:root {
	--green: #013733;
	--green-2: #0b4a45;
	--green-soft: #e3ebe8;
	--red: #df051a;
	--paper: #fafaf7;
	--paper-2: #f1f0ea;
	--line: #d9dbd3;
	--line-strong: #b9c0b9;
	--ink: #013733;
	--muted: #4a5c59;          /* 6.6:1 on paper */
	--on-green: #fafaf7;
	--on-green-muted: #b9cdc8; /* 8.9:1 on green */

	--display: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--text: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

	--wrap: 1360px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 2px;
	--ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-strong) var(--paper); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.6 var(--text);
	-webkit-font-smoothing: antialiased;
	caret-color: var(--green);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
::selection { background: var(--green); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 1px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
p { margin: 0 0 1em; text-wrap: pretty; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .82em; letter-spacing: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
[id] { scroll-margin-top: 104px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--green); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 84px; }
.logo { display: flex; align-items: center; gap: 14px; flex: none; line-height: 0; text-decoration: none; }
.logo img { height: 60px; width: auto; }
/* The name in type next to the mark: the wordmark inside the logo is too small to read in a header. */
.logo-name { font: 600 17px/1.15 var(--display); letter-spacing: -0.01em; color: var(--green); padding-left: 14px; border-left: 1px solid var(--line-strong); }
.logo-name span { display: block; }
@media (min-width: 1081px) and (max-width: 1279px) { .site-header .logo-name { display: none; } }
.logo--footer img { height: 80px; }
.wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; flex: none; }
.wordmark b { font: 600 25px/1 var(--display); letter-spacing: -0.01em; }
.wordmark span { font: 600 11px/1 var(--text); letter-spacing: .32em; margin-top: 5px; color: var(--muted); }
.wordmark i { display: inline-block; width: 18px; height: 2px; background: var(--red); vertical-align: middle; margin-right: 7px; transform: translateY(-1px); }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 0; position: relative; white-space: nowrap; }
.nav a[aria-current="page"]::after, .nav a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); }
.nav a.ext::after { display: none; }
.nav a.ext svg { width: 11px; height: 11px; margin-left: 4px; vertical-align: 1px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--green); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--green-soft); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 1080px) {
	.nav { display: none; }
	.menu-btn { display: inline-grid; }
	.site-header .icon-btn[href] { margin-left: auto; }
	.site-header .wrap { gap: 10px; height: 64px; }
	body.menu-open .nav { display: flex; position: fixed; inset: 64px 0 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); padding: 8px var(--gutter) 40px; overflow-y: auto; }
	body.menu-open .nav a { font: 600 28px/1.2 var(--display); padding: 16px 0; border-bottom: 1px solid var(--line); }
	body.menu-open .nav a::after { display: none; }
}

/* ---------- shared section rhythm ---------- */
.section { padding: clamp(44px, 5.5vw, 76px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(22px, 3vw, 32px); }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); }
.section-head p { color: var(--muted); max-width: 46ch; margin: 10px 0 0; }
.more { font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.more:hover { color: var(--green-2); }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font: 600 15px/1 var(--text); text-decoration: none; border: 1px solid var(--green); }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--solid { background: var(--green); color: var(--paper); }
.btn--solid:hover { background: var(--green-2); }
.btn--paper { border-color: var(--paper); color: var(--paper); }
.btn--paper:hover { background: var(--paper); color: var(--green); }
.meta { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.meta a { text-decoration: none; font-weight: 600; color: var(--ink); display: inline-block; padding: 4px 0; }
.meta a:hover { text-decoration: underline; }
.meta > span { white-space: nowrap; }
.meta i { font-style: normal; color: var(--line-strong); margin: 0 4px; }
.dot::before { content: "·"; margin-right: 12px; color: var(--line-strong); }

/* ---------- home: hero (full-bleed slideshow, overlapping card) ---------- */
.hero { position: relative; background: #0d1716; }
.hero-media { position: relative; height: clamp(520px, 72vh, 760px); overflow: hidden; }
.hero-media a { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.hero-media a.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.hero-media a.is-active img { transform: scale(1); }
/* Dark scrim from the brand green: the text reads on any photo, the image stays visible on the right. */
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgb(1 22 20 / .92) 0%, rgb(1 22 20 / .78) 30%, rgb(1 22 20 / .35) 55%, rgb(1 22 20 / 0) 75%),
		linear-gradient(0deg, rgb(1 22 20 / .45) 0%, rgb(1 22 20 / 0) 35%); }
.hero-card-wrap { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.hero-card { pointer-events: auto; width: min(600px, 48%); color: var(--paper); padding: clamp(24px, 3vw, 40px) 0; }
.hero-texts { display: grid; }
.hero-text { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s linear .5s; }
.hero-text.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .15s, transform .8s var(--ease) .15s, visibility 0s; }
.hero-text h2 { font-size: clamp(26px, 2.5vw, 38px); line-height: 1.14; color: var(--paper); text-wrap: balance; }
.hero-text h2 a { text-decoration: none; }
.hero-text h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.hero-text .excerpt { color: rgb(250 250 247 / .82); font-size: 17px; margin: 16px 0 20px; max-width: 52ch; }
.hero-text .meta, .hero-text .meta i { color: rgb(250 250 247 / .72); }
.hero-text .meta a, .hero-text .who b a { color: var(--paper); }
.hero-text .btn--solid { background: var(--paper); color: var(--green); border-color: var(--paper); }
.hero-text .btn--solid:hover { background: #fff; }
.hero :focus-visible { outline-color: var(--paper); }
.hero-text .byline { margin-bottom: 22px; }
.hero-text .byline img { width: 44px; height: 44px; }
.slide-controls { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgb(250 250 247 / .2); max-width: 460px; }
.hero .icon-btn { color: var(--paper); border-color: rgb(250 250 247 / .35); }
.hero .icon-btn:hover { background: rgb(250 250 247 / .12); }
.slide-controls .num { color: rgb(250 250 247 / .72); font-size: 13px; min-width: 56px; }
.progress { display: flex; gap: 6px; flex: 1; }
.progress button { flex: 1; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.progress button::before, .progress button::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; }
.progress button::before { background: rgb(250 250 247 / .25); }
.progress button::after { background: var(--paper); transform: scaleX(0); transform-origin: left; }
.progress button.is-done::after { transform: scaleX(1); }
.progress button.is-active::after { animation: fill var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .progress button.is-active::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- motion shared by home cards ---------- */
.lift { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.lift:hover, .lift:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 40px -22px rgb(1 55 51 / .45), 0 6px 14px -8px rgb(1 55 51 / .2); }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- home: family banner ---------- */
.family-banner { padding: clamp(28px, 3.5vw, 44px) 0 0; }
.family-banner a { display: block; border-radius: var(--radius); overflow: hidden; }
.family-banner a.lift:hover { transform: translateY(-3px); }
.family-banner img { width: 100%; transition: transform .8s var(--ease); }
.family-banner a:hover img { transform: scale(1.015); }

/* ---------- home: highlights ---------- */
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.hl { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.hl .img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.hl .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hl:hover .img img { transform: scale(1.06); }
.hl:hover { border-color: var(--line-strong); }
/* Partner and product visuals sit whole on white; only the event photo fills its box. */
.hl:not(.hl--wide) .img { background: #fff; border-bottom: 1px solid var(--line); }
.hl:not(.hl--wide) .img img { object-fit: contain; padding: 14px; }
.hl .txt { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hl h3 { font-size: 21px; line-height: 1.2; }
.hl p { margin: 0; color: var(--muted); font-size: 15px; }
.hl .go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.hl .go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.hl:hover .go svg { transform: translateX(4px); }
.hl--wide { grid-column: span 2; flex-direction: row; background: var(--green); border-color: var(--green); color: var(--on-green); }
.hl--wide .img { flex: 1.35; aspect-ratio: auto; min-height: 100%; }
.hl--wide .txt { flex: 1; padding: clamp(22px, 3vw, 36px); justify-content: center; }
.hl--wide h3 { font-size: clamp(28px, 2.8vw, 38px); color: var(--paper); }
.hl--wide p { color: var(--on-green-muted); font-size: 16px; }
.hl--wide .when { font-family: var(--mono); font-size: 13px; color: var(--on-green-muted); }
.hl--wide :focus-visible, .hl--wide:focus-visible { outline-color: var(--paper); }

/* ---------- home: featured cases ---------- */
.featured { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.fcase { text-decoration: none; display: block; }
.fcase .img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.fcase .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.fcase:hover .img img { transform: scale(1.06); }
.fcase .img { transition: box-shadow .45s var(--ease); }
.fcase:hover .img { box-shadow: 0 20px 36px -20px rgb(1 55 51 / .5); }
.fcase h3 { font-size: 19px; line-height: 1.25; margin: 14px 0 8px; }
.fcase:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
.fcase .meta { flex-direction: column; align-items: flex-start; gap: 0; }

/* ---------- home: latest ---------- */
.latest-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); }
.entry { display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); }
.entry h3 { font-size: 24px; line-height: 1.15; margin: 6px 0 10px; }
.entry h3 a { text-decoration: none; }
.entry h3 a:hover { text-decoration: underline; }
.entry p { color: var(--muted); font-size: 15px; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.entry--lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.entry--lead > div { order: 2; }
.entry--lead .thumb { order: 1; aspect-ratio: 16 / 10; }
.entry--lead h3 { font-size: clamp(28px, 3vw, 40px); }
.entry--lead p { -webkit-line-clamp: 3; font-size: 17px; }
.entry .thumb { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.entry .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.entry:hover .thumb img { transform: scale(1.04); }

/* ---------- home: projects ---------- */
.projects { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.book { transition: box-shadow .45s var(--ease); }
.book:hover { box-shadow: 0 22px 40px -24px rgb(1 55 51 / .4); }
.book { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.book img { box-shadow: 0 24px 40px -22px rgb(1 55 51 / .55); }
.book h3 { font-size: 34px; }
.book p { color: var(--muted); margin: 12px 0 20px; }
.flags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.flags span { font: 600 11.5px/1 var(--mono); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 7px; color: var(--muted); }
.shelf { list-style: none; margin: 0; padding: 0; }
.shelf li a { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.shelf li:last-child a { border-bottom: 1px solid var(--line); }
.shelf img { width: 88px; height: 66px; object-fit: contain; padding: 4px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.shelf b { font: 600 22px/1.15 var(--display); display: block; }
.shelf span { font-size: 14px; color: var(--muted); }
.shelf svg { width: 18px; height: 18px; color: var(--green-2); transition: transform .3s var(--ease); }
.shelf a:hover svg { transform: translateX(4px); }
.shelf a:hover b { text-decoration: underline; text-decoration-thickness: 1px; }

/* ---------- family ---------- */
.family { background: var(--paper-2); padding: clamp(44px, 6vw, 72px) 0; }
.family .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.family h2 { font-size: clamp(28px, 3vw, 40px); }
.family p { margin: 8px 0 0; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--green); color: var(--on-green); padding: clamp(56px, 7vw, 88px) 0 32px; }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.site-footer .wordmark span { color: var(--on-green-muted); }
.site-footer .wordmark i { background: var(--on-green-muted); }
/* Never red on green: focus ring turns paper on the green fields. */
.site-footer :focus-visible { outline-color: var(--paper); }
.site-footer .about { color: var(--on-green-muted); font-size: 15px; margin: 22px 0 0; max-width: 34ch; }
.site-footer h2 { font: 600 13px/1 var(--text); letter-spacing: .02em; color: var(--on-green-muted); margin: 6px 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 11px; }
.site-footer a { text-decoration: none; font-size: 15px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; border-top: 1px solid rgb(250 250 247 / .16); margin-top: 56px; padding-top: 24px; font-size: 13.5px; color: var(--on-green-muted); }
.social { display: flex; gap: 8px; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgb(250 250 247 / .25); border-radius: var(--radius); }
.social a:hover { background: rgb(250 250 247 / .08); }
.social svg { width: 17px; height: 17px; }

/* ---------- article ---------- */
/* Hero: same language as the home slideshow (full-bleed cover, green scrim, light text). */
.a-hero { position: relative; background: #0d1716; color: var(--paper); }
.a-hero .bg { position: absolute; inset: 0; overflow: hidden; }
.a-hero .bg img { width: 100%; height: 100%; object-fit: cover; animation: kb 14s ease-out both; }
@keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
.a-hero .bg::after { content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgb(1 22 20 / .93) 0%, rgb(1 22 20 / .8) 34%, rgb(1 22 20 / .38) 62%, rgb(1 22 20 / .05) 85%),
		linear-gradient(0deg, rgb(1 22 20 / .55) 0%, rgb(1 22 20 / 0) 40%); }
.a-hero .wrap { position: relative; min-height: clamp(480px, 66vh, 700px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 48px; padding-bottom: clamp(36px, 5vw, 64px); }
.a-hero .inner { max-width: 760px; }
.a-hero .crumbs { padding: 0 0 18px; color: rgb(250 250 247 / .7); }
.a-hero .crumbs a { color: var(--paper); }
.a-hero h1 { font-size: clamp(32px, 3.9vw, 54px); line-height: 1.08; color: var(--paper); }
.a-hero .standfirst { color: rgb(250 250 247 / .84); margin: 20px 0 26px; font-size: clamp(17px, 1.4vw, 20px); max-width: 60ch; }
.a-hero .bylines { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.a-hero .byline .who b a { color: var(--paper); }
.a-hero .meta, .a-hero .meta i { color: rgb(250 250 247 / .74); }
.a-hero .facts { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgb(250 250 247 / .2); display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: rgb(250 250 247 / .78); }
.a-hero .facts b { color: var(--paper); font-weight: 600; }
.a-hero :focus-visible { outline-color: var(--paper); }
.byline { display: flex; align-items: center; gap: 14px; }
.byline img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius); }
.byline .who b { display: block; font-weight: 600; font-size: 16px; }
.byline .who b a { text-decoration: none; }
.byline .who b a:hover { text-decoration: underline; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(36px, 5vw, 80px); padding: clamp(40px, 5vw, 64px) 0 clamp(44px, 5.5vw, 76px); }
.body { max-width: none; }
.body > p, .body .intro, .fig figcaption { max-width: 680px; }
.body .intro { font-size: 18px; line-height: 1.7; margin-bottom: 40px; }
.fig { margin: 0 0 clamp(40px, 5vw, 60px); }
.fig img { width: 100%; border-radius: var(--radius); background: #0d1716; }
.fig figcaption { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; margin-top: 16px; font-size: 16px; line-height: 1.62; }
.fig figcaption .fno { font: 600 13px/1.7 var(--mono); color: var(--ink); border-top: 2px solid var(--red); padding-top: 4px; align-self: start; }
.fig figcaption p { margin: 0 0 .6em; }
.fig figcaption p:last-child { margin: 0; }
/* ACF image option "two-columns": photo and caption side by side. */
.fig--two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.fig--two figcaption { margin-top: 0; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.fig--two figcaption .fno { width: 64px; }
.video { position: relative; aspect-ratio: 16 / 9; background: #0d1716; border-radius: var(--radius); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.conclusions { background: var(--green); color: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); margin: 8px 0 48px; }
.conclusions h2 { color: var(--paper); }
.conclusions p { color: rgb(250 250 247 / .9); }
.conclusions h2, .biblio h2 { font-size: 30px; margin-bottom: 16px; }
.conclusions p { font-size: 17px; line-height: 1.7; max-width: 82ch; }
.conclusions p:last-child { margin: 0; }
.biblio ol { columns: 2 340px; column-gap: 44px; margin: 0; padding: 0 0 0 1.6em; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.biblio li { margin-bottom: 10px; padding-left: 6px; break-inside: avoid; }
.biblio li::marker { font-family: var(--mono); color: var(--ink); font-size: 13px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }
.share b { margin-right: 6px; }
.share a, .share button { font: 600 14px/1 var(--text); color: var(--ink); background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; text-decoration: none; cursor: pointer; transition: background .2s, transform .3s var(--ease); }
.share a:hover, .share button:hover { background: var(--green-soft); transform: translateY(-2px); }
.rail { position: relative; }
.rail-inner { position: sticky; top: 108px; display: grid; gap: 24px; max-height: calc(100vh - 128px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-bottom: 4px; }
.author-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; margin-bottom: 10px; }
.author-card > div { padding: 0; min-width: 0; }
.author-card img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); transition: transform .7s var(--ease); }
.author-card:hover img { transform: scale(1.04); }
.author-card b { font-size: 20px; line-height: 1.2; display: block; }
.author-card span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.author-card em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--green-2); display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.author-card em svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.author-card:hover em svg { transform: translateX(3px); }
.rail h2 { font: 600 13px/1 var(--text); color: var(--muted); margin: 0 0 12px; letter-spacing: .02em; }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.toc .gist { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.toc a:hover { color: var(--green-2); }
.toc a.is-current { font-weight: 600; }
.toc .ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); color: var(--green); transition: background .25s, color .25s, transform .35s var(--ease); }
.toc .ico svg { width: 15px; height: 15px; }
.toc a:hover .ico { transform: scale(1.12); }
.toc a.is-current .ico { background: var(--green); color: var(--paper); }
.toc .gist { padding-top: 3px; }
.products a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; margin-bottom: 8px; }
.products img { width: 64px; height: 48px; object-fit: contain; }
.products b { font-size: 14.5px; }
.products--end { display: none; }

/* Floating index: appears when the index in the rail is out of view; opens it in a dialog. */
.toc-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: none; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 16px; background: var(--green); color: var(--paper); border: 0; border-radius: var(--radius); font: 600 15px/1 var(--text); cursor: pointer; box-shadow: 0 16px 34px -14px rgb(1 55 51 / .6), 0 4px 12px -6px rgb(1 55 51 / .35); opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease), background .2s; }
.js .toc-fab { display: inline-flex; }
.toc-fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.toc-fab:hover { background: var(--green-2); }
.toc-fab:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.toc-fab svg { width: 18px; height: 18px; flex: none; }
.toc-fab span { white-space: nowrap; }
.toc-more { display: none; }
.toc-fab-n { font-size: 13px; color: var(--on-green-muted); padding-left: 10px; border-left: 1px solid rgb(250 250 247 / .25); }
.toc-fab-n:empty { display: none; }
.toc-dialog { width: min(540px, calc(100vw - 32px)); max-height: min(80vh, 760px); padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -24px rgb(0 0 0 / .5); }
.toc-dialog[open] { display: flex; flex-direction: column; animation: toc-in .35s var(--ease); }
.toc-dialog::backdrop { background: rgb(1 22 20 / .55); }
.toc-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--line); }
.toc-dialog-head h2 { font: 600 20px/1.2 var(--display); margin: 0; }
.toc-dialog .toc { overflow-y: auto; overscroll-behavior: contain; padding: 4px 22px 18px; }
.toc-dialog .toc ol { border-top: 0; }
.toc-dialog .toc a { font-size: 15.5px; padding: 13px 0; grid-template-columns: 32px minmax(0, 1fr); }
.toc-dialog .toc .gist { -webkit-line-clamp: 3; }
@keyframes toc-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes toc-up { from { transform: translateY(100%); } }
.related .featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- author (single member) ---------- */
.p-hero { background: var(--green); color: var(--paper); position: relative; overflow: hidden; }
.p-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.p-hero .crumbs { padding: 0 0 18px; color: rgb(250 250 247 / .7); }
.p-hero .crumbs a { color: var(--paper); }
.p-hero h1 { font-size: clamp(42px, 5.4vw, 80px); line-height: 1; letter-spacing: -0.03em; color: var(--paper); }
.p-role { margin: 18px 0 22px; font-weight: 600; color: rgb(250 250 247 / .82); }
.p-summary { font-size: clamp(17px, 1.4vw, 20px); color: rgb(250 250 247 / .86); max-width: 56ch; margin-bottom: 28px; }
.p-portrait { position: relative; }
.p-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); box-shadow: 0 30px 60px -28px rgb(0 0 0 / .6); animation: kb 14s ease-out both; }
.p-hero :focus-visible { outline-color: var(--paper); }
.p-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding: clamp(40px, 5vw, 64px) 0 clamp(12px, 2vw, 24px); }
.p-body h2 { font-size: 26px; margin-bottom: 16px; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--green); }
.timeline li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.timeline .num { font-size: 14px; padding-top: 2px; color: var(--green-2); }
.p-body .prose p { font-size: 17px; line-height: 1.7; }

/* ---------- authors (archive) ---------- */
.s-form--small { max-width: 520px; margin-top: 22px; }
.s-form--small input { padding: 14px 0; font-size: 17px; }
.p-groups { padding: clamp(28px, 4vw, 48px) var(--gutter) clamp(44px, 5.5vw, 76px); }
.p-group { padding: clamp(24px, 3vw, 36px) 0; }
.p-group + .p-group { border-top: 1px solid var(--line); }
.p-group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.p-group-head h2 { font-size: clamp(26px, 2.6vw, 34px); }
.p-group-head .num { color: var(--muted); font-size: 15px; }
.people { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 20px; }
.people--big { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.person { text-decoration: none; display: block; border-radius: var(--radius); }
.person .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); border-radius: var(--radius); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease), transform .8s var(--ease); }
.person:hover .ph img, .person:focus-visible .ph img { filter: none; transform: scale(1.04); }
.person.lift:hover { box-shadow: none; }
.person:hover .ph { box-shadow: 0 22px 40px -22px rgb(1 55 51 / .55); }
.person b { display: block; font-size: 17px; line-height: 1.25; margin-top: 12px; }
.person span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.founder .ph { display: block; overflow: hidden; background: var(--paper-2); min-height: 100%; }
.founder .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease), transform .8s var(--ease); }
.founder:hover .ph img { filter: none; transform: scale(1.04); }
.f-text { padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; align-items: flex-start; }
.f-text h3 { font-size: clamp(24px, 2.2vw, 32px); }
.f-text h3 a { text-decoration: none; }
.f-text h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.f-role { font-size: 14px; font-weight: 600; color: var(--green-2); margin: 6px 0 14px; }
.f-text p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0 0 22px; }
.f-text .f-missing { font-style: italic; }
.f-text .btn { margin-top: auto; }
.person[hidden], .p-group[hidden] { display: none; }
.p-none { color: var(--muted); }

/* ---------- 404 ---------- */
.nf-hero { position: relative; overflow: hidden; }
.nf-code { position: absolute; right: -0.04em; top: 50%; transform: translateY(-50%); margin: 0; font: 600 clamp(180px, 26vw, 380px)/1 var(--display); letter-spacing: -0.06em; color: rgb(250 250 247 / .06); pointer-events: none; }
.nf-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(52px, 7vw, 88px); }
.nf-hero .wrap { position: relative; }
.nf-message h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.03em; }
.nf-message p { margin: 16px 0 0; font-size: clamp(18px, 1.6vw, 22px); color: rgb(250 250 247 / .84); max-width: 46ch; }
.nf-next { margin-top: clamp(44px, 6vw, 72px); padding-top: clamp(28px, 3.5vw, 40px); border-top: 1px solid rgb(250 250 247 / .18); max-width: 860px; }
.nf-lead { margin: 0 0 16px; font-weight: 600; color: var(--paper); }
.nf-next .s-chips { margin-top: 22px; }

/* WordPress pagination markup inside .pager */
.pager .dots { border: 0; }
.pager .prev { display: inline-flex; align-items: center; gap: 8px; }
.pager svg { width: 16px; height: 16px; }
/* Older cases without the ACF flexible body: editor content inside the same column. */
.body .legacy { max-width: none; font-size: 17px; line-height: 1.7; }
.legacy > *, .legacy p, .legacy ul, .legacy ol { max-width: 680px; }
.legacy figure, .legacy .wp-block-image, .legacy .wp-block-gallery, .legacy .alignwide, .legacy .alignfull { max-width: 100% !important; width: auto !important; margin: 0 0 32px !important; }
.legacy img { max-width: 100% !important; width: auto; height: auto !important; border-radius: var(--radius); }
.legacy figcaption { font-size: 15px; color: var(--muted); margin-top: 10px; }
.legacy h2, .legacy h3 { font-size: 24px; margin: 1.6em 0 .6em; }
.legacy iframe { max-width: 100%; }

/* ---------- search ---------- */
.s-hero { background: var(--green); color: var(--paper); padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); }
.s-hero h1 { font-size: clamp(26px, 2.6vw, 36px); color: var(--paper); margin-bottom: 18px; }
.s-form { display: flex; align-items: stretch; max-width: 860px; background: var(--paper); border-radius: var(--radius); box-shadow: 0 18px 40px -20px rgb(0 0 0 / .5); }
.s-form label { display: grid; place-items: center; width: 60px; color: var(--muted); }
.s-form label svg { width: 22px; height: 22px; }
.s-form input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 clamp(18px, 1.6vw, 22px)/1.2 var(--text); color: var(--ink); padding: 18px 0; outline: none; }
.s-form input::placeholder { color: #7d8b88; }
.s-form button { border: 0; margin: 6px; padding: 0 26px; border-radius: var(--radius); background: var(--green); color: var(--paper); font: 600 16px/1 var(--text); cursor: pointer; transition: background .2s; }
.s-form button:hover { background: var(--green-2); }
.s-form:focus-within { box-shadow: 0 0 0 3px rgb(250 250 247 / .5), 0 18px 40px -20px rgb(0 0 0 / .5); }
.s-summary { margin: 20px 0 0; color: rgb(250 250 247 / .82); font-size: 16px; }
.s-summary b { color: var(--paper); }
.s-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.s-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border: 1px solid rgb(250 250 247 / .3); border-radius: 999px; color: var(--paper); text-decoration: none; font-size: 14px; transition: background .2s, border-color .2s, transform .3s var(--ease); }
.s-chips a:hover { background: rgb(250 250 247 / .1); border-color: rgb(250 250 247 / .6); transform: translateY(-2px); }
.s-chips .num { color: rgb(250 250 247 / .7); }
.s-hero :focus-visible { outline-color: var(--paper); }

.s-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); padding: clamp(36px, 4.5vw, 56px) 0 clamp(44px, 5.5vw, 76px); }
.s-side { position: sticky; top: 108px; align-self: start; display: grid; gap: 28px; }
.s-side h2 { font: 600 13px/1 var(--text); color: var(--muted); margin: 0 0 10px; letter-spacing: .02em; }
.s-side ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.s-side li a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; transition: color .2s, padding-left .3s var(--ease); }
.s-side li a:hover { color: var(--green-2); padding-left: 4px; }
.s-side li a[aria-current="true"] { font-weight: 600; }
.s-side li a[aria-current="true"] .num { color: var(--red); }
.s-sort { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.s-sort a { flex: 1; text-align: center; padding: 10px 8px; font-size: 14px; text-decoration: none; }
.s-sort a[aria-current="true"] { background: var(--green); color: var(--paper); font-weight: 600; }

.s-results { list-style: none; margin: 0; padding: 0; }
.s-result a.row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; }
.s-result:last-child a.row { border-bottom: 1px solid var(--line); }
.s-result .img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.s-result .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.s-result a.row:hover .img img { transform: scale(1.06); }
.s-result h2 { font-size: 22px; line-height: 1.2; margin: 2px 0 8px; transition: color .2s; }
.s-result a.row:hover h2 { color: var(--green-2); text-decoration: underline; text-decoration-thickness: 1px; }
.s-result p { color: var(--muted); font-size: 15.5px; margin: 0 0 10px; }
.s-result .meta { flex-direction: column; align-items: flex-start; gap: 0; }
mark { background: #dfeee8; color: var(--ink); border-radius: 2px; padding: 0 2px; box-shadow: inset 0 -2px 0 rgb(1 55 51 / .35); }
.pager { display: flex; align-items: center; gap: 6px; margin-top: 32px; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 15px; }
.pager a:hover { background: var(--green-soft); }
.pager [aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--paper); }
.pager .next { margin-left: auto; gap: 8px; display: inline-flex; align-items: center; }
.pager .next svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.pager .next:hover svg { transform: translateX(3px); }
.s-empty { max-width: 720px; }
.s-empty h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 12px; }
.s-empty ul { margin: 0 0 32px; padding-left: 1.2em; color: var(--muted); }
.s-empty .s-chips a { color: var(--ink); border-color: var(--line); }
.s-empty .s-chips a:hover { background: var(--green-soft); }
.s-empty .s-chips .num { color: var(--muted); }
@media (max-width: 1080px) {
	.s-grid { grid-template-columns: minmax(0, 1fr); }
	.s-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.s-side { grid-template-columns: minmax(0, 1fr); }
	.s-side ul { max-height: 260px; overflow-y: auto; }
	.s-result a.row { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
	.s-result .img { aspect-ratio: 1; }
	.s-result h2 { font-size: 18px; }
	.s-result p { display: none; }
	.s-form label { width: 44px; }
	.s-form button { padding: 0 16px; }
}


/* ---------- cases archive, topics ---------- */
.crumbs--light { padding: 0 0 14px; color: rgb(250 250 247 / .7); }
.crumbs--light a { color: var(--paper); }
.s-archive-search { margin-top: 22px; }
.s-chips a[aria-current="page"] { background: var(--paper); color: var(--green); border-color: var(--paper); }
.s-chips a[aria-current="page"] .num { color: var(--green-2); }
.featured--archive { row-gap: clamp(32px, 3.5vw, 48px); }

/* ---------- events ---------- */
.ev-list { display: grid; gap: clamp(18px, 2vw, 26px); }
.ev-big { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--green); color: var(--on-green); border-radius: var(--radius); overflow: hidden; text-decoration: none; }
.ev-big .img { overflow: hidden; background: #0d1716; min-height: 320px; }
.ev-big .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ev-big:hover .img img { transform: scale(1.04); }
.ev-big .txt { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.ev-big h3 { font-size: clamp(28px, 2.8vw, 40px); color: var(--paper); }
.ev-big .when { margin: 0; color: var(--on-green-muted); }
.ev-big .go { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ev-big .go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ev-big:hover .go svg { transform: translateX(4px); }
.ev-big:focus-visible { outline-color: var(--paper); }
.ev-date { margin: 0 0 6px; font-family: var(--mono); font-size: 14px; color: var(--on-green-muted); line-height: 1; }
.ev-date span { display: block; font: 600 clamp(56px, 6vw, 88px)/0.9 var(--display); letter-spacing: -0.04em; color: var(--paper); margin-bottom: 8px; }
.ev-none { color: var(--muted); max-width: 60ch; }
.ev-facts { background: var(--green); color: var(--paper); border-radius: var(--radius); padding: 24px; }
.ev-facts dl { margin: 18px 0 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; font-size: 15px; }
.ev-facts dt { color: var(--on-green-muted); }
.ev-facts dd { margin: 0; font-weight: 600; }
.ev-facts .btn--solid { background: var(--paper); color: var(--green); border-color: var(--paper); }
.ev-facts :focus-visible { outline-color: var(--paper); }
.ev-body h2 { font-size: 30px; margin: 0 0 18px; }
.ev-program, .ev-speakers { margin-bottom: clamp(36px, 4.5vw, 56px); }
.ev-speakers .people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
div.person .ph img { filter: grayscale(1) contrast(1.05); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
	.hero-card { width: min(560px, 62%); }
	.featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.projects, .article-grid, .p-body { grid-template-columns: minmax(0, 1fr); }
	.p-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
	.people { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.founders { grid-template-columns: minmax(0, 1fr); }
	.ev-big { grid-template-columns: minmax(0, 1fr); }
	.ev-big .img { min-height: 0; aspect-ratio: auto; }
	.ev-big .img img { height: auto; }
	.rail-inner { position: static; max-height: none; overflow: visible; }
	.article-grid .rail { order: -1; }
	.rail .products { display: none; }
	.toc--long li:nth-child(n+6) { display: none; }
	.toc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 0; background: none; border: 0; font: 600 15px/1 var(--text); color: var(--green); cursor: pointer; }
	.toc-more svg { width: 16px; height: 16px; }
	.products--end { display: block; max-width: 680px; padding-bottom: clamp(44px, 5.5vw, 76px); }
	.site-footer .top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer .top > :first-child { grid-column: 1 / -1; }
	.rail-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.related .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.logo img { height: 46px; }
	.logo { gap: 12px; }
	.logo-name { font-size: 15px; padding-left: 12px; }
	.highlights, .featured { grid-template-columns: minmax(0, 1fr); }
	.hl--wide { grid-column: auto; flex-direction: column; }
	.hl--wide .img { aspect-ratio: auto; flex: none; align-self: stretch; min-height: 0; }
	.hl--wide .img img { height: auto; }
	.hero-media { width: 100%; height: clamp(600px, 165vw, 720px); }
	.hero-media::after { background: linear-gradient(180deg, rgb(1 22 20 / .15) 0%, rgb(1 22 20 / .5) 22%, rgb(1 22 20 / .82) 40%, rgb(1 22 20 / .95) 62%); }
	.hero-text h2 { text-shadow: 0 1px 14px rgb(1 22 20 / .55); }
	.hero-card-wrap { align-items: flex-end; }
	.hero-card { width: 100%; padding: 0 0 22px; }
	.hero-text .excerpt { font-size: 15px; }
	.latest-list, .related-list, .cases-grid { grid-template-columns: minmax(0, 1fr); }
	.entry { grid-template-columns: minmax(0, 1fr) 104px; gap: 16px; padding: 22px 0; }
	.entry h3 { font-size: 21px; }
	.entry--lead { grid-template-columns: minmax(0, 1fr); }
	.entry--lead > div { order: 2; }
	.book { grid-template-columns: minmax(0, 1fr); padding: 20px; }
	.book img { max-width: 220px; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.site-footer .top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.rail-inner { grid-template-columns: minmax(0, 1fr); }
	.toc-dialog { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 85vh; }
	.toc-dialog[open] { animation: toc-up .4s var(--ease); }
	.toc-fab { left: 50%; right: auto; transform: translate(-50%, 18px); }
	.toc-fab.is-on { transform: translate(-50%, 0); }
	.fig figcaption { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.fig--two { grid-template-columns: minmax(0, 1fr); }
	.a-hero .wrap { min-height: 560px; }
	.related .featured { grid-template-columns: minmax(0, 1fr); }
	.fig figcaption .fno { width: 56px; }
	.case:nth-child(3n+2) .img { aspect-ratio: 16 / 10; }
	.timeline li { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; }
	.p-hero .wrap { grid-template-columns: minmax(0, 1fr); }
	.p-portrait { order: -1; max-width: 300px; }
	.people, .ev-speakers .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
	.founder { grid-template-columns: minmax(0, 1fr); }
	.founder .ph { aspect-ratio: 4 / 3; }
}
/* ---------- book: Retreatments (templates/page-book.php) ---------- */
.bk-hero .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.bk-sub { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; color: var(--paper); margin: 14px 0 22px; max-width: 30ch; }
.bk-facts { color: var(--on-green-muted); font-size: 14px; margin: 0 0 26px; }
.bk-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.bk-btn-paper { background: var(--paper); color: var(--green); border-color: var(--paper); }
.bk-btn-paper:hover { background: #fff; }
.bk-cover { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: 0 34px 60px -30px rgb(0 0 0 / .7); }
.bk-cover img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.bk-toc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); counter-reset: none; }
.bk-toc li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.45; }
.bk-toc li .num { font-size: 14px; padding-top: 3px; color: var(--ink); }
.bk-toc li .num::before { content: ""; display: block; width: 20px; height: 2px; background: var(--red); margin-bottom: 8px; }
.bk-label { font: 600 14px/1 var(--text); color: var(--muted); margin: 0 0 18px; }
.bk-editors { margin-bottom: clamp(36px, 4vw, 52px); }
.bk-editors .person { max-width: 300px; }
.people--big.bk-editors { grid-template-columns: repeat(3, minmax(0, 300px)); }
.person .ph .bk-initials { display: grid; margin: 0; place-items: center; width: 100%; height: 100%; font: 600 28px/1 var(--display); color: var(--muted); letter-spacing: .02em; }
.bk-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.bk-about h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.bk-about .intro { font-size: 18px; line-height: 1.65; color: var(--ink); max-width: 46ch; margin: 0; }
.bk-video { aspect-ratio: 16 / 9; background: #0d1716; border-radius: var(--radius); overflow: hidden; }
.bk-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.bk-video .si-embed { height: 100%; aspect-ratio: auto; border-radius: 0; background: var(--green); }
.bk-video .si-embed__btn { color: var(--green); }
.bk-excerpt { position: relative; overflow: hidden; background: #0d1716; color: var(--paper); }
.bk-excerpt .bg { position: absolute; inset: 0; }
.bk-excerpt .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.bk-excerpt .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(1 22 20 / .92) 0%, rgb(1 22 20 / .7) 55%, rgb(1 22 20 / .4) 100%); }
.bk-excerpt .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: clamp(44px, 5.5vw, 72px); padding-bottom: clamp(44px, 5.5vw, 72px); }
.bk-excerpt h2 { font-size: clamp(30px, 3.6vw, 44px); color: var(--paper); }
.bk-excerpt p { margin: 10px 0 0; color: rgb(250 250 247 / .82); }
.bk-excerpt :focus-visible { outline-color: var(--paper); }
.bk-buy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.bk-shop { display: flex; flex-direction: column; gap: 4px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.bk-shop:hover { border-color: var(--line-strong); }
.bk-flag { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.bk-lang { font-size: 14px; color: var(--muted); }
.bk-shop b { font: 600 26px/1.15 var(--display); letter-spacing: -0.01em; }
.bk-pub { color: var(--muted); font-size: 15px; }
.bk-shop .go { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.bk-shop .go svg { width: 12px; height: 12px; }
.bk-editions { margin-top: clamp(32px, 4vw, 48px); }
.bk-editions ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.bk-editions li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.bk-editions img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
@media (max-width: 1080px) {
	.bk-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
	.bk-about { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.bk-hero .wrap { grid-template-columns: minmax(0, 1fr); }
	.bk-cover { order: -1; width: 62%; max-width: 260px; }
	.bk-toc { grid-template-columns: minmax(0, 1fr); }
	.bk-toc li { grid-template-columns: 44px minmax(0, 1fr); font-size: 16px; }
	.people--big.bk-editors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bk-excerpt .wrap { flex-direction: column; align-items: flex-start; }
	.bk-buy { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
