/* hallmark v2.0.0 | theme: garden (by request: light; deal: manual) | paper lightened toward white at the user's request | genre: editorial | shape: Stage hero, motion strip, figures, one case, index | signature: the portrait beside the headline, then the 2008 rainfall threshold drawn live | material real: CV (Nov 2026), Google Scholar figures as of 22 June 2026 | pictures: CV portrait | absent: testimonials, logos | job: contact and collaborate */
/* critique: academic pages pile the whole CV on one screen; this one shows the scholar, his best-known result moving, three figures, one project and five papers */
/* answered: no texture; the one motion is the threshold chart, with a still fallback for reduced motion */

:root {
	--rkd-paper: var(--wp--preset--color--paper, #fcfaf4);
	--rkd-paper-2: var(--wp--preset--color--paper-2, #f5f0e3);
	--rkd-paper-3: var(--wp--preset--color--paper-3, #ece6d5);
	--rkd-ink: var(--wp--preset--color--ink, #072311);
	--rkd-ink-2: var(--wp--preset--color--ink-2, #223c28);
	--rkd-muted: var(--wp--preset--color--muted, #4b5a49);
	--rkd-rule: var(--wp--preset--color--rule, #d4d6c7);
	--rkd-rule-2: var(--wp--preset--color--rule-2, #8c9f86);
	--rkd-accent: var(--wp--preset--color--accent, #1f6a19);
	--rkd-accent-deep: var(--wp--preset--color--accent-deep, #175012);
	--rkd-accent-2: var(--wp--preset--color--accent-2, #c3dba6);
	--rkd-clay: var(--wp--preset--color--clay, #a7490d);
	--rkd-tint-moss: rgb(31 106 25 / 0.07);
	--rkd-foot-rule: #384e3c;
	--rkd-foot-small: #b5bba5;
	--rkd-display: var(--wp--preset--font-family--display, Vollkorn, Georgia, serif);
	--rkd-body: var(--wp--preset--font-family--body, "Hanken Grotesk", system-ui, sans-serif);
	--rkd-caption: var(--wp--preset--font-family--caption, Newsreader, Georgia, serif);
	--rkd-dur: 160ms;
	--rkd-ease: cubic-bezier(.2, .7, .2, 1);
}

html, body { overflow-x: clip; }
body { font-variant-numeric: oldstyle-nums; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { overflow-wrap: break-word; min-width: 0; }

a { text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color var(--rkd-dur) var(--rkd-ease); }
a:hover { text-decoration-color: var(--rkd-accent); text-decoration-thickness: 2px; }
a:focus-visible, .wp-block-button__link:focus-visible, button:focus-visible {
	outline: 2px solid var(--rkd-accent); outline-offset: 3px; border-radius: 2px; transition: none;
}
::selection { background: rgb(31 106 25 / 0.2); }

.rkd-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 40px; box-sizing: border-box; }

/* Header */
.rkd-nav { border-bottom: 1px solid var(--rkd-rule); background: var(--rkd-paper); }
.rkd-navrow { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; flex-wrap: wrap; }
.rkd-navrow .wp-block-site-title, .rkd-mark { font-family: var(--rkd-display); font-weight: 600; font-size: 21px; margin: 0; }
.rkd-navrow .wp-block-site-title a { text-decoration: none; color: var(--rkd-ink); }
.rkd-navlinks { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.rkd-navlinks .wp-block-navigation { font-size: 15px; gap: 28px; }
.rkd-navlinks .wp-block-navigation .wp-block-navigation-item__content { text-decoration: none; color: var(--rkd-ink); min-height: 44px; display: inline-flex; align-items: center; }
.rkd-navlinks .wp-block-navigation .wp-block-navigation-item__content:hover { text-decoration: underline; text-decoration-color: var(--rkd-accent); }
.rkd-navlinks .wp-block-navigation__responsive-container.is-menu-open { background: var(--rkd-paper); padding: 24px; }

/* Buttons */
.wp-block-buttons.rkd-acts { display: flex; gap: 12px; flex-wrap: wrap; }
.wp-block-button__link {
	display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; box-sizing: border-box;
	border: 1px solid var(--rkd-accent); text-decoration: none;
	transition: background-color var(--rkd-dur) var(--rkd-ease), border-color var(--rkd-dur) var(--rkd-ease);
}
.wp-block-button__link:hover { border-color: var(--rkd-accent-deep); text-decoration: none; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--rkd-ink); border: 1px solid var(--rkd-rule-2); padding: 0 24px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--rkd-paper-2); color: var(--rkd-ink); border-color: var(--rkd-rule-2); }
.rkd-navrow .wp-block-button__link { min-height: 40px; padding: 0 18px; }

/* Hero */
.rkd-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; align-items: center; padding: 72px 0 80px; }
.rkd-hero-text { grid-column: 1 / span 7; }
.rkd-hero h1 { font-size: clamp(46px, 6vw, 84px); line-height: 1.02; max-width: 12ch; margin: 0; }
.rkd-lede { font-size: 20px; margin: 28px 0 36px; max-width: 34ch; }
.rkd-hero-pic { grid-column: 8 / span 5; margin: 0; }
.rkd-hero-pic img { display: block; width: 100%; height: auto; aspect-ratio: 468 / 592; object-fit: cover; border-radius: 4px; outline: 1px solid var(--rkd-rule); outline-offset: -1px; }
.rkd-hero-pic figcaption, .rkd-cap { font-family: var(--rkd-caption); font-size: 15px; color: var(--rkd-muted); margin: 12px 0 0; line-height: 1.4; text-align: left; }

/* Sections */
.rkd-sec { border-top: 1px solid var(--rkd-rule); padding: 72px 0 88px; }
.rkd-sec h2, .rkd-thr h2, .rkd-case h2 { font-size: clamp(34px, 3.6vw, 52px); max-width: 20ch; margin: 0 0 40px; }

/* Threshold motion strip */
.rkd-thr { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; align-items: center; padding: 72px 0 88px; border-top: 1px solid var(--rkd-rule); }
.rkd-thr-copy { grid-column: 1 / span 4; }
.rkd-thr-copy h2 { margin-bottom: 20px; }
.rkd-thr-copy p { margin: 0 0 16px; }
.rkd-thr-copy .rkd-eq { font-family: var(--rkd-caption); font-size: 20px; color: var(--rkd-ink); margin-top: 8px; }
.rkd-thr-fig { grid-column: 5 / span 8; margin: 0; background: var(--rkd-paper-2); border-radius: 4px; padding: 20px 16px 8px; }
.rkd-thr-fig svg { display: block; width: 100%; height: auto; }
.rkd-thr-fig figcaption { padding: 0 8px 8px; }
.rkd-thr .ax { stroke: var(--rkd-rule-2); stroke-width: 1; }
.rkd-thr .grid { stroke: var(--rkd-rule); stroke-width: 1; }
.rkd-thr .tick { font-family: var(--rkd-body); font-size: 13px; fill: var(--rkd-muted); }
.rkd-thr .axt { font-family: var(--rkd-body); font-size: 14px; fill: var(--rkd-ink-2); }
.rkd-thr .zone { font-family: var(--rkd-caption); font-size: 17px; }
.rkd-thr .zone.hi { fill: var(--rkd-accent-deep); }
.rkd-thr .zone.lo { fill: var(--rkd-muted); }
.rkd-thr .curve { fill: none; stroke: var(--rkd-accent); stroke-width: 3; stroke-linecap: round; }
.rkd-thr .above { fill: var(--rkd-tint-moss); }
.rkd-thr .trail { fill: none; stroke: var(--rkd-ink); stroke-width: 2; stroke-dasharray: 4 5; }
.rkd-thr .dot { fill: var(--rkd-ink); }
.rkd-thr .ring { fill: none; stroke: var(--rkd-clay); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; }
.rkd-thr .mark24 { fill: var(--rkd-paper); stroke: var(--rkd-accent); stroke-width: 2.5; }
.rkd-thr .note { font-family: var(--rkd-body); font-size: 13px; fill: var(--rkd-ink-2); }
.rkd-thr .rain line { stroke: var(--rkd-rule-2); stroke-width: 1.2; stroke-linecap: round; opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
	.rkd-thr .rain line { animation: rkd-rain 1.6s linear infinite; }
	.rkd-thr .curve { stroke-dasharray: 100; stroke-dashoffset: 100; animation: rkd-draw 1.8s var(--rkd-ease) .3s forwards; }
	.rkd-thr .trail { stroke-dasharray: 100; animation: rkd-trail 8s linear infinite; }
	.rkd-thr .dot { animation: rkd-storm 8s linear infinite; }
	.rkd-thr .ring { animation: rkd-ring 8s var(--rkd-ease) infinite; }
}
@keyframes rkd-rain { 0% { transform: translateY(-60px); opacity: 0; } 15% { opacity: .55; } 85% { opacity: .55; } 100% { transform: translateY(380px); opacity: 0; } }
@keyframes rkd-draw { to { stroke-dashoffset: 0; } }
@keyframes rkd-trail { 0% { stroke-dashoffset: 100; opacity: 1; } 62.5% { stroke-dashoffset: 0; opacity: 1; } 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes rkd-storm {
	0% { transform: translate(60px, 224px); opacity: 1; }
	12.5% { transform: translate(142px, 227px); }
	25% { transform: translate(222px, 222px); }
	37.5% { transform: translate(301px, 210px); }
	50% { transform: translate(383px, 191px); }
	62.5% { transform: translate(470px, 165px); opacity: 1; }
	90% { transform: translate(470px, 165px); opacity: 1; }
	100% { transform: translate(470px, 165px); opacity: 0; }
}
@keyframes rkd-ring { 0%, 52% { transform: scale(.4); opacity: 0; } 54% { opacity: 1; } 75% { transform: scale(2.6); opacity: 0; } 100% { transform: scale(2.6); opacity: 0; } }

/* Figures */
.rkd-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.rkd-fig { border-top: 1px solid var(--rkd-rule-2); padding-top: 20px; }
.rkd-fig .rkd-fig-num { font-family: var(--rkd-display); font-weight: 600; color: var(--rkd-ink); font-size: clamp(72px, 9vw, 136px); line-height: 0.9; font-variant-numeric: oldstyle-nums proportional-nums; margin: 0; }
.rkd-fig p:not(.rkd-fig-num) { margin: 14px 0 0; font-size: 16px; }
.rkd-source { font-size: 14px; color: var(--rkd-muted); margin: 28px 0 0; }

/* Case */
.rkd-case { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px; }
.rkd-case-head { grid-column: 1 / span 5; }
.rkd-case-head h2 { margin-bottom: 20px; }
.rkd-case-body { grid-column: 7 / span 6; }

/* Tables (meta, papers, roles) */
.rkd-meta table, .rkd-tbl table, .rkd-list table { width: 100%; border-collapse: collapse; border: 0; font-size: 16px; font-variant-numeric: lining-nums tabular-nums; table-layout: auto; }
.rkd-meta td, .rkd-meta th, .rkd-tbl td, .rkd-tbl th, .rkd-list td, .rkd-list th { border: 0; }
.rkd-meta { margin: 0; }
.rkd-meta td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rkd-rule); vertical-align: baseline; }
.rkd-meta tr:first-child td { border-top: 1px solid var(--rkd-rule); }
.rkd-meta td:first-child { color: var(--rkd-muted); font-size: 15px; width: 120px; }
.rkd-tbl { margin: 0; overflow-x: auto; }
.rkd-tbl thead { border: 0; }
.rkd-tbl th { text-align: left; font-weight: 500; font-size: 14px; color: var(--rkd-muted); padding: 0 20px 12px 0; border-bottom: 1px solid var(--rkd-rule-2); }
.rkd-tbl td { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--rkd-rule); vertical-align: baseline; }
.rkd-tbl td:nth-child(2) { color: var(--rkd-ink); font-weight: 500; }
.rkd-tbl th:last-child, .rkd-tbl td:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.rkd-after { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.rkd-after p { margin: 0; }

/* Research focus */
.rkd-focus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.rkd-focus p { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--rkd-rule); font-family: var(--rkd-display); font-weight: 600; color: var(--rkd-ink); font-size: 22px; line-height: 1.3; }

/* Roles band */
.rkd-band { background: var(--rkd-tint-moss); }
.rkd-band .rkd-sec { border-top: 0; }
.rkd-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.rkd-two h3 { font-size: 26px; margin: 0 0 16px; }
.rkd-list { margin: 0; }
.rkd-list td { padding: 14px 16px 14px 0; border-top: 1px solid var(--rkd-rule); vertical-align: baseline; }
.rkd-list td:first-child { width: 76px; color: var(--rkd-muted); }
.rkd-band .rkd-acts { margin-top: 40px; }

/* Footer */
.rkd-foot { background: var(--rkd-ink); color: var(--rkd-paper-3); padding: 80px 0 40px; }
.rkd-foot h2 { color: var(--rkd-paper); font-size: clamp(36px, 4.4vw, 60px); max-width: 18ch; margin: 0 0 40px; }
.rkd-foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 1px solid var(--rkd-foot-rule); padding-top: 28px; }
.rkd-foot p { margin: 0 0 8px; }
.rkd-foot a { color: var(--rkd-paper); }
.rkd-foot a:hover { color: var(--rkd-paper); text-decoration-color: var(--rkd-accent-2); }
.rkd-foot a:focus-visible { outline-color: var(--rkd-accent-2); }
.rkd-credits { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 56px; }
.rkd-foot .rkd-small { font-size: 14px; margin: 0; color: var(--rkd-foot-small); }
.rkd-foot .rkd-small a { color: var(--rkd-foot-small); }
.rkd-foot .rkd-small a:hover { color: var(--rkd-paper); }

/* Inner pages */
.rkd-page { padding: 64px 0 96px; }
.rkd-page .wp-block-post-title { font-size: clamp(40px, 4.8vw, 64px); margin: 0 0 32px; }
.rkd-page .wp-block-post-content > * + * { margin-top: 1.2em; }
.rkd-page .wp-block-post-content { max-width: 760px; }

/* Phones and small tablets */
@media (max-width: 900px) {
	.rkd-wrap { padding-inline: 20px; }
	.rkd-hero, .rkd-case, .rkd-thr { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.rkd-hero { padding-top: 40px; }
	.rkd-hero-text, .rkd-hero-pic, .rkd-case-head, .rkd-case-body, .rkd-thr-copy, .rkd-thr-fig { grid-column: 1 / -1; }
	.rkd-hero-pic { max-width: 340px; }
	.rkd-thr { padding: 56px 0 64px; gap: 28px; }
	.rkd-thr-fig { padding: 12px 4px 4px; }
	.rkd-figs, .rkd-two, .rkd-focus, .rkd-foot-grid { grid-template-columns: minmax(0, 1fr); }
	.rkd-figs { gap: 24px; }
	.rkd-sec { padding: 56px 0 64px; }
}

/* Phones */
@media (max-width: 640px) {
	.rkd-navrow { flex-wrap: nowrap; gap: 12px; min-height: 64px; }
	.rkd-navrow .wp-block-site-title { font-size: 18px; }
	.rkd-navlinks { gap: 8px; flex-wrap: nowrap; }
	.rkd-navrow .wp-block-button__link { min-height: 40px; padding: 0 14px; font-size: 14px; }
	.rkd-thr .tick { font-size: 24px; }
	.rkd-thr .axt { font-size: 26px; }
	.rkd-thr .axt.y { display: none; }
	.rkd-thr .zone { font-size: 30px; }
	.rkd-thr .note { font-size: 24px; }
	.rkd-thr .note.storm { display: none; }
	.rkd-tbl thead { display: none; }
	.rkd-tbl tr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--rkd-rule); }
	.rkd-tbl td { display: block; border: 0; padding: 0; }
	.rkd-tbl td:nth-child(1) { grid-row: 1; grid-column: 1; color: var(--rkd-muted); font-size: 15px; }
	.rkd-tbl td:nth-child(3) { grid-row: 1; grid-column: 2; color: var(--rkd-muted); font-size: 15px; }
	.rkd-tbl td:nth-child(4) { grid-row: 1; grid-column: 3; color: var(--rkd-muted); font-size: 15px; }
	.rkd-tbl td:nth-child(4)::after { content: " citations"; }
	.rkd-tbl td:nth-child(2) { grid-row: 2; grid-column: 1 / -1; }
	.rkd-meta td:first-child { width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}
