/*
Theme Name: Ashish Dalvi — Architect
Theme URI: https://www.ashishdalvi.me/
Author: Ashish Dalvi
Author URI: https://www.ashishdalvi.me/
Description: A warm, editorial Full Site Editing (block) theme for a digital experience architect. Built block-first with theme.json, template parts and patterns.
Requires at least: 6.8
Tested up to: 6.9
Requires PHP: 8.3
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ashish-fse
Tags: full-site-editing, blog, portfolio, editor-style, block-patterns, custom-colors, wide-blocks
*/

/*
 * Only what theme.json and block settings can't express lives here:
 * grids and spans, hover and reveal motion, the pulse dot, dark-panel text,
 * the post-row and link-row components, and breakpoint changes.
 */

:root {
	--ash-radius: var(--wp--custom--radius, 16px);
	--ash-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--ash-shadow-lift: 0 22px 44px -28px rgb(40 30 20 / 40%);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

img {
	height: auto;
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 2.5px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--mono);
}

/* Header ------------------------------------------------------------ */
.ash-header-part {
	position: sticky;
	top: 0;
	z-index: 100;
}

.admin-bar .ash-header-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.ash-site-header {
	background: rgb(247 243 236 / 82%);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid transparent;
	padding: 18px var(--wp--preset--spacing--50);
	transition: border-color 0.3s, background 0.3s;
}

.is-scrolled .ash-site-header {
	background: rgb(247 243 236 / 93%);
	border-color: var(--wp--preset--color--line);
}

.ash-nav {
	gap: 20px;
}

.ash-brand {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 14px;
	letter-spacing: 0.06em;
	white-space: nowrap;
	margin: 0;
}

.ash-brand a {
	text-decoration: none;
}

.ash-brand strong {
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
}

.ash-brand em {
	color: var(--wp--preset--color--accent);
	font-style: normal;
}

.ash-primary-nav .wp-block-navigation__container {
	gap: 6px;
}

.ash-primary-nav .wp-block-navigation-item__content {
	padding: 8px 13px;
	border-radius: 9px;
	transition: color 0.2s, background 0.2s;
}

.ash-primary-nav .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--base-3);
}

.ash-primary-nav .ash-nav-cta {
	margin-left: 8px;
}

.ash-primary-nav .ash-nav-cta .wp-block-navigation-item__content {
	background: var(--wp--preset--color--accent);
	color: #fff;
	font-weight: 600;
	padding: 10px 18px;
	border-radius: 999px;
}

.ash-primary-nav .ash-nav-cta .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--accent-deep);
	color: #fff;
}

.ash-primary-nav .wp-block-navigation__responsive-container-open,
.ash-primary-nav .wp-block-navigation__responsive-container-close {
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
}

.ash-primary-nav .wp-block-navigation__responsive-container-open {
	display: none;
	border: 1.5px solid var(--wp--preset--color--line-strong);
	border-radius: 10px;
}

.ash-primary-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--base-2);
	padding: 24px var(--wp--preset--spacing--50);
}

.ash-primary-nav .is-menu-open .wp-block-navigation__container {
	gap: 2px;
	width: 100%;
	align-items: stretch;
}

.ash-primary-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
}

.ash-primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	box-sizing: border-box;
	min-height: 44px;
	width: 100%;
	padding: 13px 8px;
	font-size: 16px;
	border-bottom: 1px solid var(--wp--preset--color--line);
	border-radius: 0;
}

.ash-primary-nav .is-menu-open .ash-nav-cta {
	margin: 12px 0 0;
}

.ash-primary-nav .wp-block-navigation__responsive-container.is-menu-open .ash-nav-cta .wp-block-navigation-item__content {
	border-radius: 999px;
	text-align: center;
	border: 0;
}

/* Footer ------------------------------------------------------------ */
.ash-site-footer {
	border-top: 1px solid var(--wp--preset--color--line);
	padding: 48px var(--wp--preset--spacing--50);
}

.ash-footer-inner {
	gap: 24px;
}

.ash-site-footer .ash-brand {
	font-size: 13px;
}

.ash-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ash-footer-links a,
.ash-footer-fine {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12.5px;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	margin: 0;
}

.ash-footer-links a:hover {
	color: var(--wp--preset--color--contrast);
}

.ash-footer-fine {
	font-size: 11.5px;
}

/* Sections & shared text ------------------------------------------- */
main > .ash-section,
main > .wp-block-group + .ash-section {
	margin-block: 0;
}

.ash-section {
	padding-block: var(--wp--custom--section-pad, clamp(52px, 7vw, 92px));
}

.ash-section--list {
	padding-top: 0;
}

.ash-section--hero {
	padding-top: clamp(40px, 6vw, 72px);
	padding-bottom: clamp(40px, 6vw, 64px);
}

.ash-section-head {
	margin-bottom: clamp(30px, 4vw, 48px);
}

.ash-section-head > * {
	margin-block: 0;
}

.ash-section-head--split {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
}

.ash-eyebrow,
.ash-label,
.ash-tag {
	font-family: var(--wp--preset--font-family--mono);
	text-transform: uppercase;
	margin: 0;
}

.ash-eyebrow {
	font-size: 12px;
	letter-spacing: 0.18em;
	color: var(--wp--preset--color--muted);
}

.ash-label {
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--wp--preset--color--muted);
}

.ash-section-title {
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.05;
	max-width: 18ch;
	margin-top: 14px !important;
}

.ash-section-sub {
	color: var(--wp--preset--color--ink-soft);
	font-size: 18px;
	max-width: 54ch;
	margin-top: 16px !important;
}

/* Buttons ----------------------------------------------------------- */
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	transition: transform 0.25s var(--ash-ease), background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.wp-block-button:not(.is-style-ash-ghost) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px -12px rgb(164 74 41 / 65%);
}

.is-style-ash-ghost .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	border: 1.5px solid var(--wp--preset--color--line-strong);
	padding: 12.5px 22.5px;
}

.is-style-ash-ghost .wp-block-button__link:hover {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--contrast);
	transform: translateY(-2px);
}

.wp-block-buttons {
	gap: 12px;
}

/* Hero bento -------------------------------------------------------- */
.ash-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: minmax(150px, auto);
	gap: 14px;
}

.ash-bento > *,
.ash-cell > * {
	margin-block: 0;
}

.ash-cell {
	position: relative;
	overflow: hidden;
	padding: 24px;
	background: var(--wp--preset--color--base-2);
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: var(--ash-radius);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 14px;
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.ash-cell:hover {
	transform: translateY(-4px);
	box-shadow: var(--ash-shadow-lift);
	border-color: var(--wp--preset--color--accent);
}

.ash-span-2 {
	grid-column: span 2;
}

.ash-cell--hero {
	grid-column: span 2;
	grid-row: span 2;
	background: radial-gradient(120% 120% at 100% 0%, rgb(191 93 56 / 10%), transparent 55%), var(--wp--preset--color--base-2);
}

.ash-hero-copy > * {
	margin-block: 0;
}

.ash-hero-title {
	font-size: clamp(38px, 5.2vw, 58px);
	line-height: 1.02;
	margin-top: 14px !important;
}

.ash-hero-title em {
	color: var(--wp--preset--color--accent);
}

.ash-hero-lede {
	font-size: 16px;
	color: var(--wp--preset--color--ink-soft);
	max-width: 42ch;
	margin-top: 14px !important;
}

.ash-stat-num {
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(40px, 4.6vw, 58px);
	font-weight: 500;
	line-height: 0.88;
	letter-spacing: -0.01em;
}

.ash-stat-num sup {
	font-size: 0.45em;
	color: var(--wp--preset--color--accent);
	vertical-align: baseline;
}

.ash-stat-cap {
	font-size: 14px;
	color: var(--wp--preset--color--ink-soft);
	line-height: 1.45;
	max-width: 25ch;
}

.ash-cell--accent {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: #fff;
}

.ash-cell--accent:hover {
	border-color: #fff;
}

.ash-cell--accent .ash-label {
	color: #fff;
}

.ash-accent-head {
	display: flex;
	align-items: center;
	gap: 11px;
	font-weight: 600;
	font-size: clamp(20px, 2.3vw, 26px);
	line-height: 1.12;
	letter-spacing: -0.01em;
}

.ash-accent-head::before {
	content: "";
	flex: none;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #fff;
	animation: ash-pulse-white 2.6s infinite;
}

.ash-accent-sub {
	font-size: 14.5px;
	line-height: 1.5;
	color: #ffffffe6;
}

.ash-cell--dark {
	background: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.ash-cell--dark .ash-label {
	color: #ffffffb3;
}

.ash-cell--dark .ash-stat-cap {
	color: var(--wp--custom--on-dark--caption);
}

.ash-chips,
.ash-arrows {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ash-cell--skills {
	justify-content: flex-start;
}

.ash-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ash-chips li {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	padding: 6px 11px;
	border: 1px solid var(--wp--preset--color--line-strong);
	border-radius: 7px;
	color: var(--wp--preset--color--ink-soft);
	transition: 0.2s;
}

.ash-chips li:hover {
	background: var(--wp--preset--color--accent-soft);
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent-deep);
}

.ash-cell--services {
	justify-content: center;
}

.ash-arrows {
	display: grid;
	gap: 9px;
}

.ash-arrows li {
	display: flex;
	align-items: baseline;
	gap: 11px;
	font-size: 14.5px;
	color: var(--wp--preset--color--ink-soft);
	transition: color 0.2s, transform 0.2s;
}

.ash-arrows li::before {
	content: "→";
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px;
	color: var(--wp--preset--color--accent);
}

.ash-arrows li:hover {
	color: var(--wp--preset--color--contrast);
	transform: translateX(3px);
}

.ash-cell--cta {
	flex-flow: row wrap;
	align-items: center;
	gap: 16px;
}

.ash-cta-big {
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(22px, 2.5vw, 28px);
}

/* About ------------------------------------------------------------- */
.ash-about {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(36px, 6vw, 80px);
	align-items: start;
}

.ash-about > * {
	margin-block: 0;
}

.ash-about-portrait {
	position: sticky;
	top: 96px;
}

.ash-frame,
.ash-frame img {
	margin: 0;
	border-radius: var(--ash-radius);
}

.ash-frame img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border: 1px solid var(--wp--preset--color--line-strong);
	background: var(--wp--preset--color--accent-soft);
}

.ash-prose > * {
	margin-block: 0 22px;
}

.ash-prose p {
	font-size: 19px;
	line-height: 1.7;
	color: var(--wp--preset--color--ink-soft);
}

.ash-prose .ash-eyebrow {
	font-size: 12px;
	margin-bottom: 14px;
}


.ash-prose strong {
	color: var(--wp--preset--color--contrast);
	font-weight: 600;
}

/* Work cards -------------------------------------------------------- */
.ash-stack {
	display: grid;
	gap: 18px;
}

.ash-stack > * {
	margin-block: 0;
}

.ash-wcard {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	overflow: hidden;
	background: var(--wp--preset--color--base-2);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--ash-radius);
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.ash-wcard:hover {
	transform: translateY(-4px);
	box-shadow: 0 28px 54px -32px rgb(40 30 20 / 42%);
	border-color: var(--wp--preset--color--line-strong);
}

.ash-wcard > * {
	margin-block: 0;
}

.ash-wcard-media {
	position: relative;
	min-height: 260px;
	margin: 0;
	background: var(--wp--preset--color--accent-soft);
}

.ash-wcard-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ash-wcard-body {
	padding: clamp(26px, 3vw, 40px);
}

.ash-wcard-body > * {
	margin-block: 0;
}

.ash-tag {
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--wp--preset--color--accent);
}

.ash-wcard-title {
	font-size: clamp(24px, 3vw, 30px);
	margin: 9px 0 16px !important;
}

.ash-qa {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: baseline;
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--wp--preset--color--ink-soft);
}

.ash-qa + .ash-qa {
	margin-top: 12px !important;
}

.ash-qa strong {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.ash-impact {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-top: 22px !important;
	padding-top: 18px;
	border-top: 1px solid var(--wp--preset--color--line);
}

.ash-impact > * {
	margin-block: 0;
}

.ash-metric {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.ash-metric strong {
	display: block;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 30px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	color: var(--wp--preset--color--accent);
}

/* Grids ------------------------------------------------------------- */
.ash-grid-2,
.ash-grid-3 {
	display: grid;
	gap: 18px;
}

.ash-grid-2 {
	grid-template-columns: 1fr 1fr;
}

.ash-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ash-grid-2 > *,
.ash-grid-3 > * {
	margin-block: 0;
}

/* Link rows (open source) ------------------------------------------- */
.ash-row-list > * {
	margin-block: 0;
}

.ash-row-link a {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: 14px;
	padding: 18px 4px;
	border-bottom: 1px solid var(--wp--preset--color--line);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	transition: padding-left 0.3s, background 0.3s;
}

.ash-row-link:first-child a {
	border-top: 1px solid var(--wp--preset--color--contrast);
}

.ash-row-link a::after {
	content: "↗";
	grid-column: 2;
	grid-row: 1 / span 2;
	font-family: var(--wp--preset--font-family--mono);
	color: var(--wp--preset--color--accent);
	transition: transform 0.3s;
}

.ash-row-link a:hover {
	padding-left: 12px;
	background: linear-gradient(90deg, rgb(191 93 56 / 6%), transparent);
	color: var(--wp--preset--color--contrast);
}

.ash-row-link a:hover::after {
	transform: translate(4px, -4px);
}

.ash-row-link strong {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 21px;
	font-weight: 500;
}

.ash-row-link em {
	grid-column: 1;
	font-style: normal;
	font-size: 13.5px;
	color: var(--wp--preset--color--muted);
	margin-top: 2px;
}

/* Dark panel -------------------------------------------------------- */
.is-style-ash-dark {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	border-radius: var(--ash-radius);
}

.is-style-ash-dark :where(h1, h2, h3, h4) {
	color: var(--wp--preset--color--base);
}

.ash-oss-side {
	align-self: start;
	padding: clamp(28px, 3vw, 40px);
}

.ash-oss-side > * {
	margin-block: 0;
}

.ash-oss-side h3 {
	font-size: 28px;
	font-weight: 400;
	margin-bottom: 18px;
}

.ash-keyed {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.ash-keyed li {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 13px;
	align-items: baseline;
	font-size: 15px;
	color: var(--wp--custom--on-dark--text);
}

.ash-keyed strong {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	font-weight: 400;
	color: var(--wp--preset--color--accent);
}

.ash-oss-note {
	margin-top: 24px !important;
	padding-top: 20px;
	border-top: 1px solid var(--wp--custom--on-dark--rule);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	line-height: 1.6;
	color: #ffffffa8;
}

/* Recommendations --------------------------------------------------- */
.ash-quote {
	position: relative;
	margin: 0;
	padding: 30px;
	background: var(--wp--preset--color--base-2);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--ash-radius);
	display: flex;
	flex-direction: column;
}

.ash-quote > * {
	margin-block: 0;
}

.ash-quote::before {
	content: "\201C";
	position: absolute;
	top: 24px;
	right: 22px;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 80px;
	line-height: 0.6;
	color: var(--wp--preset--color--accent-soft);
}

.ash-rec-badge {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 18px !important;
	padding: 5px 11px;
	border: 1px solid var(--wp--preset--color--accent-soft);
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 10.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-deep);
}

.ash-rec-badge strong {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.4;
	text-transform: none;
	padding: 0 3px;
	border-radius: 3px;
	background: var(--wp--preset--color--accent-deep);
	color: #fff;
}

.ash-quote-text {
	position: relative;
	z-index: 1;
	flex: 1;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 18px;
	line-height: 1.5;
}

.ash-who {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-top: 22px !important;
	padding-top: 18px;
	border-top: 1px solid var(--wp--preset--color--line);
}

.ash-who > * {
	margin-block: 0;
}

.ash-avatar,
.ash-avatar img {
	flex: none;
	margin: 0;
	width: 42px;
	height: 42px;
	border-radius: 50%;
}

.ash-avatar img {
	border: 1px solid var(--wp--preset--color--line-strong);
	background: var(--wp--preset--color--accent-soft);
	object-fit: cover;
}

.ash-who-id {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.02em;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

.ash-who-id strong {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 14px;
	color: var(--wp--preset--color--contrast);
	letter-spacing: 0;
}

/* Post rows (Query Loop) -------------------------------------------- */
.ash-posts .wp-block-post-template {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
}

.ash-post-row {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 22px;
	align-items: baseline;
	padding: 24px 8px;
	border-bottom: 1px solid var(--wp--preset--color--line);
	transition: padding-left 0.3s, background 0.3s;
}

.ash-post-row > *,
.ash-post-text > * {
	margin-block: 0;
}

.wp-block-post:first-child .ash-post-row {
	border-top: 1px solid var(--wp--preset--color--contrast);
}

.ash-post-row:hover {
	padding-left: 14px;
	background: linear-gradient(90deg, rgb(191 93 56 / 6%), transparent);
}

.ash-post-date {
	white-space: nowrap;
}

.ash-post-title {
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 500;
	overflow-wrap: anywhere;
}

.ash-post-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.ash-post-title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.ash-post-excerpt {
	margin-top: 5px !important;
	max-width: 60ch;
	font-size: 14.5px;
	color: var(--wp--preset--color--ink-soft);
}

.ash-post-excerpt p {
	margin: 0;
}

.ash-ptag {
	position: relative;
	z-index: 1;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	white-space: nowrap;
}

.ash-ptag a {
	display: inline-block;
	padding: 4px 9px;
	border: 1px solid var(--wp--preset--color--accent-soft);
	border-radius: 6px;
	color: var(--wp--preset--color--accent-deep);
	text-decoration: none;
}

.ash-empty {
	padding: 24px 8px;
	border-top: 1px solid var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--ink-soft);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px;
}

.ash-pagination {
	margin-top: 32px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px;
}

/* Contact ----------------------------------------------------------- */
.ash-contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(36px, 5vw, 72px);
	padding: clamp(36px, 5vw, 72px);
	border-radius: clamp(20px, 3vw, 32px);
}

.ash-contact > *,
.ash-contact-copy > * {
	margin-block: 0;
}

.ash-contact .ash-eyebrow {
	color: var(--wp--custom--on-dark--label);
}

.ash-contact-title {
	font-size: clamp(34px, 5vw, 54px);
	line-height: 1.04;
	margin-top: 14px !important;
}

.ash-contact-lede {
	color: var(--wp--custom--on-dark--lede);
	font-size: 18px;
	max-width: 40ch;
	margin-top: 20px !important;
}

.ash-contact-copy .wp-block-buttons {
	margin-top: 30px !important;
}

.ash-contact-links {
	display: grid;
	gap: 14px;
	list-style: none;
	margin: 32px 0 0 !important;
	padding: 0;
}

.ash-contact-links a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 14px;
	color: var(--wp--custom--on-dark--text);
	text-decoration: none;
	transition: color 0.2s, transform 0.2s;
}

.ash-contact-links a:hover {
	color: #fff;
	transform: translateX(3px);
}

.ash-contact-links strong {
	font-weight: 400;
	color: #e0835f;
}

.ash-form,
.ash-form * {
	box-sizing: border-box;
}

.ash-form {
	display: grid;
	gap: 16px;
	align-content: start;
}

.ash-field {
	display: grid;
	gap: 7px;
}

.ash-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.ash-field label {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--custom--on-dark--label);
}

.ash-field input,
.ash-field textarea,
.ash-field select {
	width: 100%;
	padding: 13px 15px;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 15px;
	color: var(--wp--preset--color--base);
	background: #ffffff0d;
	border: 1px solid var(--wp--custom--on-dark--rule);
	border-radius: 11px;
	transition: border-color 0.2s, background 0.2s;
}

.ash-field select option {
	color: var(--wp--preset--color--contrast);
}

.ash-field input::placeholder,
.ash-field textarea::placeholder {
	color: var(--wp--custom--on-dark--placeholder);
}

.ash-field textarea {
	min-height: 120px;
	resize: vertical;
}

.ash-field input:focus,
.ash-field textarea:focus,
.ash-field select:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent);
	background: #ffffff14;
}

.ash-form .wp-element-button {
	justify-self: start;
	margin-top: 6px;
	border: 0;
	cursor: pointer;
}

.ash-form-note {
	margin: 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	color: #a39886;
}

.ash-form-note a {
	color: var(--wp--custom--on-dark--text);
}

.ash-form-status {
	margin: 0;
	padding: 12px 14px;
	border-radius: 11px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px;
}

.ash-form-status--ok {
	color: #8fd3a8;
	background: #8fd3a81a;
}

.ash-form-status--error {
	color: #f3b39b;
	background: #f3b39b1a;
}

.ash-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Writing index & articles ------------------------------------------ */
.ash-page-hero {
	padding-top: clamp(60px, 8vw, 110px);
	padding-bottom: clamp(30px, 4vw, 50px);
}

.ash-page-hero > * {
	margin-block: 0;
}

.ash-page-title {
	font-size: clamp(40px, 7vw, 72px);
	line-height: 1.02;
	margin-top: 14px !important;
}

.ash-page-sub {
	color: var(--wp--preset--color--ink-soft);
	font-size: 19px;
	max-width: 52ch;
	margin-top: 18px !important;
}

.ash-note {
	margin-top: 40px !important;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12.5px;
	color: var(--wp--preset--color--muted);
}

.ash-article {
	padding-top: clamp(48px, 7vw, 90px);
	padding-bottom: clamp(52px, 7vw, 92px);
}

.ash-article > * {
	max-width: 720px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.ash-back {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px;
	margin-bottom: 30px !important;
}

.ash-back a {
	text-decoration: none;
}

.ash-article-meta {
	gap: 18px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12.5px;
	color: var(--wp--preset--color--muted);
	margin-bottom: 26px !important;
}

.ash-article-meta a {
	color: inherit;
	text-decoration: none;
}

.ash-article .wp-block-post-title {
	margin-top: 0;
	margin-bottom: 20px;
}

.ash-article-body > .ash-standfirst,
.ash-standfirst {
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(20px, 2.5vw, 26px);
	line-height: 1.45;
	color: var(--wp--preset--color--ink-soft);
	margin-bottom: 36px !important;
}

.ash-standfirst p {
	margin: 0;
}

.ash-article-body > p,
.ash-article-body > ul,
.ash-article-body > ol {
	font-size: 19px;
	line-height: 1.75;
	color: var(--wp--preset--color--ink-soft);
	margin: 0 0 24px;
}

.ash-article-body > ul,
.ash-article-body > ol {
	font-size: 18px;
	line-height: 1.7;
	padding-left: 24px;
}

.ash-article-body li {
	margin-bottom: 8px;
}

.ash-article-body strong {
	color: var(--wp--preset--color--contrast);
}

.ash-article-body > h2 {
	font-size: 30px;
	font-weight: 500;
	margin: 42px 0 16px;
}

.ash-article-body > h3 {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0;
	margin: 30px 0 10px;
}

.ash-article-body .wp-block-quote p {
	margin: 0;
	color: var(--wp--preset--color--contrast);
}

.ash-article-body code:not(pre code) {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.86em;
	background: var(--wp--preset--color--base-3);
	padding: 2px 7px;
	border-radius: 6px;
}

.ash-article-body pre.wp-block-code {
	overflow: auto;
	margin: 0 0 28px;
}

.ash-article-cta {
	margin-top: 50px !important;
	padding-top: 30px;
	border-top: 1px solid var(--wp--preset--color--line);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px;
	color: var(--wp--preset--color--muted);
}

.ash-featured img {
	border-radius: var(--ash-radius);
	border: 1px solid var(--wp--preset--color--line);
}

/* Motion ------------------------------------------------------------ */
html.ash-motion .ash-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

html.ash-motion .ash-reveal.is-in {
	opacity: 1;
	transform: none;
}

@keyframes ash-pulse-white {
	0% { box-shadow: 0 0 0 0 rgb(255 255 255 / 55%); }
	70% { box-shadow: 0 0 0 9px rgb(255 255 255 / 0%); }
	100% { box-shadow: 0 0 0 0 rgb(255 255 255 / 0%); }
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	html.ash-motion .ash-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.ash-accent-head::before {
		animation: none;
	}

	.ash-cell,
	.ash-wcard,
	.wp-block-button__link {
		transition: none;
	}
}

/* Breakpoints ------------------------------------------------------- */
@media (max-width: 900px) {
	.ash-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: auto;
	}

	.ash-cell {
		min-height: 140px;
	}

	.ash-cell--hero {
		grid-row: auto;
	}

	.ash-about,
	.ash-wcard,
	.ash-grid-2,
	.ash-grid-3,
	.ash-contact {
		grid-template-columns: 1fr;
	}

	.ash-about-portrait {
		position: static;
		max-width: 360px;
	}

	.ash-wcard-media {
		min-height: 170px;
	}
}

@media (max-width: 680px) {
	body {
		font-size: 16px;
	}

	.ash-primary-nav .wp-block-navigation__responsive-container-open {
		display: flex;
	}

	.ash-primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	.ash-post-row {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.ash-ptag {
		display: none;
	}

	.ash-field-row {
		grid-template-columns: 1fr;
	}

	.ash-impact {
		gap: 20px;
	}

	.ash-qa {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}
