/*
Theme Name: DNK Press
Theme URI: https://dnkpress.com
Author: DNK Press
Description: Block theme for DNK Press, an independent publisher. A dark per-book hero with 3D covers, a bookshelf catalog with tabbed book pages, publishing process, authors, open-source workshop, newsletter and contact, all built from editable patterns.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 2.4.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dnk-press
*/

/* Colors and fonts are set in theme.json. This file handles the pieces block settings can't. */

html { scroll-behavior: smooth; }
:where(section[id], .wp-block-group[id]) { scroll-margin-top: 84px; }
.dnk-hidden { display: none !important; }
.dnk-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Before the script runs, show only the first book's panels */
.dnk-js:not(.dnk-ready) .dnk-slide-border, .dnk-js:not(.dnk-ready) .dnk-b3d-border, .dnk-js:not(.dnk-ready) .dnk-detail-border,
.dnk-js:not(.dnk-ready) .dnk-slide-langford, .dnk-js:not(.dnk-ready) .dnk-b3d-langford, .dnk-js:not(.dnk-ready) .dnk-detail-langford { display: none; }

.dnk-eyebrow {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px !important;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
mark.dnk-tbd, .dnk-tbd {
	background: var(--wp--preset--color--tbd-bg) !important;
	color: var(--wp--preset--color--tbd-fg) !important;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 10.5px;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 3px;
	white-space: nowrap;
	vertical-align: middle;
}
.wp-block-button__link { white-space: nowrap; }
.wp-block-button__link[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--wp--preset--color--teal); outline-offset: 3px; }

/* ---------- Header ---------- */
.dnk-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(10, 16, 22, .9);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(233, 238, 240, .16);
}
.admin-bar .dnk-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dnk-header { top: 46px; } }
.dnk-brand { display: flex; align-items: center; gap: 12px; color: var(--wp--preset--color--night-ink); text-decoration: none; }
.dnk-brand-name { font-family: var(--wp--preset--font-family--display); font-size: 22px; }
.dnk-brand-name em { font-style: normal; color: var(--wp--preset--color--night-muted); }
.dnk-spine-mark {
	width: 20px; height: 44px; border-radius: 2px 4px 4px 2px; position: relative;
	background: var(--wp--preset--color--night-ink); color: var(--wp--preset--color--night);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	font-family: var(--wp--preset--font-family--display); font-size: 11.5px; line-height: 1.02;
}
.dnk-spine-mark::before, .dnk-spine-mark::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--wp--preset--color--teal-light); }
.dnk-spine-mark::before { top: 4px; } .dnk-spine-mark::after { bottom: 4px; }
.dnk-header .wp-block-navigation a:hover { color: var(--wp--preset--color--teal-light); }
.dnk-header .wp-block-button__link:hover { background: var(--wp--preset--color--night-ink) !important; color: var(--wp--preset--color--night) !important; }

/* ---------- Hero ---------- */
.dnk-hero {
	--a1: #2B353C; --a2: #080B0E; --glow: #D9A35A; --ridge: #0D1114;
	position: relative; overflow: hidden; isolation: isolate;
	background: var(--wp--preset--color--night);
	color: var(--wp--preset--color--night-ink);
}
.dnk-hero[data-book="border"] { --a1: #1E2A4A; --a2: #05080F; --glow: #8FA8FF; --ridge: #0A1220; }
.dnk-hero[data-book="langford"] { --a1: #3A3346; --a2: #08101C; --glow: #E9973A; --ridge: #0A1424; }
.dnk-hero > .dnk-atmo-wrap { position: absolute !important; inset: 0; margin: 0 !important; max-width: none !important; z-index: -1; }
.dnk-atmo { position: absolute; inset: 0; background: radial-gradient(120% 90% at 78% 30%, var(--a1) 0%, var(--a2) 62%); transition: background 1s ease; }
.dnk-atmo .glow { position: absolute; width: 520px; height: 520px; right: 6%; top: -12%; border-radius: 50%; background: radial-gradient(circle, var(--glow) 0%, transparent 62%); opacity: .22; }
.dnk-atmo .mist { position: absolute; left: -20%; right: -20%; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(220, 230, 236, .16), transparent); filter: blur(8px); }
.dnk-atmo .m1 { bottom: 90px; animation: dnk-drift 38s ease-in-out infinite alternate; }
.dnk-atmo .m2 { bottom: 30px; opacity: .7; animation: dnk-drift 52s ease-in-out infinite alternate-reverse; }
.dnk-atmo svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; }
.dnk-ridge-front { fill: var(--ridge); }
@keyframes dnk-drift { from { transform: translateX(-6%); } to { transform: translateX(6%); } }

.dnk-hero h1 { color: var(--wp--preset--color--night-ink); letter-spacing: -.01em; }
.dnk-hero .dnk-eyebrow { color: var(--wp--preset--color--night-muted); }
.dnk-hero .dnk-eyebrow strong { color: var(--wp--preset--color--teal-light); font-weight: 500; }
.dnk-sub { font-family: var(--wp--preset--font-family--quote); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; max-width: 30ch; }
.dnk-by { color: var(--wp--preset--color--night-muted); font-size: 15px; }
.dnk-by a { color: var(--wp--preset--color--night-ink); }
.dnk-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--wp--preset--color--teal-light); color: #06201E; }
.dnk-hero .is-style-outline .wp-block-button__link { color: var(--wp--preset--color--night-ink); }
.dnk-hero .wp-block-button__link:hover { background: var(--wp--preset--color--night-ink) !important; color: var(--wp--preset--color--night) !important; }
.dnk-rise { animation: dnk-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes dnk-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.dnk-stage { display: flex; justify-content: center; align-items: center; perspective: 1600px; min-height: 420px; }
.dnk-b3d { --t: 34px; position: relative; width: min(270px, 62vw); aspect-ratio: 822 / 1008; transform-style: preserve-3d; transform: rotateY(26deg) rotateX(3deg); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.dnk-b3d.dnk-b3d-kil { --t: 46px; }
.dnk-b3d.dnk-b3d-langford { aspect-ratio: 2 / 3; --t: 40px; }
.dnk-b3d.dnk-b3d-border { aspect-ratio: 706 / 1024; --t: 46px; }
.dnk-detail-border .dnk-real-cover img { aspect-ratio: 706 / 1024 !important; }
.dnk-stage:hover .dnk-b3d { transform: rotateY(14deg) rotateX(2deg); }
.dnk-b3d .face { position: absolute; inset: 0; background-size: cover; background-position: center; }
.dnk-b3d img.face { height: 100%; max-width: none; object-fit: cover; margin: 0; }
.dnk-b3d img.front { width: 100%; }
.dnk-b3d img.spine { width: var(--t); }
.dnk-b3d .front { transform: translateZ(calc(var(--t) / 2)); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.dnk-b3d .back { transform: translateZ(calc(var(--t) / -2)); background: #0B0F14; }
.dnk-b3d .spine { left: calc(var(--t) / -2); right: auto; width: var(--t); transform: rotateY(-90deg); }
.dnk-b3d .pages { left: auto; right: calc(var(--t) / -2); width: var(--t); top: 3px; bottom: 3px; transform: rotateY(90deg); background: repeating-linear-gradient(90deg, #E9E4D8 0 2px, #D8D2C3 2px 3px); }
.dnk-b3d .spine-css { display: flex; align-items: center; justify-content: center; }
.dnk-b3d .spine-css span { writing-mode: vertical-rl; font-family: var(--wp--preset--font-family--display); font-size: 15px; color: #F2EFE6; white-space: nowrap; }

.dnk-switch { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid rgba(233, 238, 240, .16); }
.dnk-switch button { all: unset; cursor: pointer; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 18px 20px 24px 0; position: relative; color: var(--wp--preset--color--night-muted); transition: color .3s; }
.dnk-switch button + button { padding-left: 20px; border-left: 1px solid rgba(233, 238, 240, .16); }
.dnk-switch button::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--wp--preset--color--teal-light); transition: width .5s ease; }
.dnk-switch button + button::before { left: 20px; }
.dnk-switch button[aria-selected="true"] { color: var(--wp--preset--color--night-ink); }
.dnk-switch button[aria-selected="true"]::before { width: calc(100% - 20px); }
.dnk-switch button:focus-visible { outline: 2px solid var(--wp--preset--color--teal-light); outline-offset: -2px; }
.dnk-switch .no { font-family: var(--wp--preset--font-family--mono); font-size: 12px; grid-row: span 2; padding-top: 6px; }
.dnk-switch .t { font-family: var(--wp--preset--font-family--display); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.1; }
.dnk-switch .m { font-size: 13px; opacity: .8; }
@media (max-width: 781px) {
	.dnk-hero .dnk-hero-grid { flex-direction: column-reverse; }
	.dnk-stage { min-height: 340px; }
	.dnk-b3d { width: min(210px, 56vw); }
	.dnk-switch button { grid-template-columns: 1fr; padding-right: 10px; }
	.dnk-switch button + button { padding-left: 12px; }
	.dnk-switch button + button::before { left: 12px; }
	.dnk-switch .no { grid-row: auto; padding-top: 0; }
	.dnk-switch .m { display: none; }
	.dnk-switch .t { font-size: 17px; }
}

/* ---------- Statement ---------- */
.dnk-statement .dnk-big { font-family: var(--wp--preset--font-family--display); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.18; text-wrap: pretty; }
.dnk-statement .dnk-big mark { background: none; color: var(--wp--preset--color--teal); }
ul.dnk-facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--wp--preset--color--ink); }
ul.dnk-facts li { display: flex; justify-content: space-between; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--wp--preset--color--rule); font-size: 14px; text-align: right; }
ul.dnk-facts li strong { font-family: var(--wp--preset--font-family--mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--muted); text-align: left; padding-top: 2px; }

/* ---------- Section ---------- */
.dnk-sec { border-bottom: 1px solid var(--wp--preset--color--rule); }
.dnk-sec-head { margin-bottom: var(--wp--preset--spacing--50) !important; }
.dnk-sec-head > .wp-block-column:last-child p { color: var(--wp--preset--color--muted); max-width: 46ch; margin-left: auto; }
@media (max-width: 781px) { .dnk-sec-head > .wp-block-column:last-child p { margin-left: 0; } }

/* ---------- Shelf ---------- */
.dnk-shelf-wrap { overflow-x: auto; overflow-y: hidden; padding-top: 24px; padding-bottom: 22px; }
.dnk-shelf { display: flex; align-items: flex-end; gap: 6px; min-width: max-content; padding-inline: 12px; height: 330px; position: relative; }
.dnk-shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px; background: linear-gradient(#3A414D, #2A2F38); border-radius: 1px; box-shadow: 0 14px 20px -12px rgba(0, 0, 0, .35); }
.dnk-spine { all: unset; cursor: pointer; position: relative; flex: none; border-radius: 3px 3px 1px 1px; color: #F2EFE6; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 16px 0 14px; transition: transform .35s cubic-bezier(.2, .7, .2, 1); box-shadow: inset -6px 0 10px -6px rgba(0, 0, 0, .55), inset 3px 0 6px -4px rgba(255, 255, 255, .18); }
.dnk-spine:hover { transform: translateY(-10px); }
.dnk-spine[aria-pressed="true"] { transform: translateY(-22px); }
.dnk-spine:focus-visible { outline: 2px solid var(--wp--preset--color--teal); outline-offset: 3px; }
.dnk-spine img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.dnk-spine.img { width: 44px; height: 300px; padding: 0; }
.dnk-spine.img.tb { width: 36px; height: 306px; }
.dnk-spine.img.lf { width: 31px; height: 302px; }
.dnk-spine .st { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--wp--preset--font-family--display); font-size: 19px; white-space: nowrap; }
.dnk-spine .sa { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--wp--preset--font-family--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.dnk-spine .band { position: absolute; left: 0; right: 0; height: 3px; background: var(--wp--preset--color--teal-light); top: 8px; }
.dnk-slot { flex: none; width: 46px; border: 1.5px dashed var(--wp--preset--color--rule); border-radius: 3px 3px 1px 1px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px; }
.dnk-slot span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--wp--preset--font-family--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--muted); white-space: nowrap; }
.dnk-bookend { flex: none; width: 18px; height: 150px; margin-left: 10px; background: var(--wp--preset--color--teal); border-radius: 2px 2px 0 0; }
.dnk-shelf-hint { font-size: 13px; color: var(--wp--preset--color--muted); }

/* ---------- Book detail ---------- */
.dnk-detail-langford .dnk-real-cover img, .dnk-a-books img.dnk-cover-23 { aspect-ratio: 2 / 3 !important; }
.dnk-real-cover img { width: 100%; aspect-ratio: 822 / 1008; object-fit: cover; border-radius: 2px 5px 5px 2px; box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .55); }
.dnk-pill { font-family: var(--wp--preset--font-family--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--wp--preset--color--teal); color: var(--wp--preset--color--teal); padding: 4px 10px; border-radius: 999px; margin-right: 8px; }
.dnk-catno { font-family: var(--wp--preset--font-family--mono); font-size: 12px; letter-spacing: .14em; color: var(--wp--preset--color--muted); }
.dnk-dsub { font-family: var(--wp--preset--font-family--quote); font-style: italic; font-size: 20px; color: var(--wp--preset--color--muted); }
.dnk-tablist { display: flex; gap: 22px; border-bottom: 1px solid var(--wp--preset--color--rule); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.dnk-tablist button { all: unset; cursor: pointer; padding: 12px 2px; margin-bottom: -1px; font-size: 14px; font-weight: 500; color: var(--wp--preset--color--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.dnk-tablist button[aria-selected="true"] { color: var(--wp--preset--color--ink); border-bottom-color: var(--wp--preset--color--teal); }
.dnk-tablist button:focus-visible { outline: 2px solid var(--wp--preset--color--teal); }
.dnk-panel { max-width: 64ch; }
.dnk-panel-label { font-family: var(--wp--preset--font-family--mono) !important; font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.dnk-lead { font-family: var(--wp--preset--font-family--quote); font-style: italic; font-size: 22px; line-height: 1.4; }
ul.dnk-spec { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--wp--preset--color--rule); }
ul.dnk-spec li { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--wp--preset--color--rule); font-family: var(--wp--preset--font-family--mono); font-size: 14px; font-variant-numeric: tabular-nums; min-width: 0; }
ul.dnk-spec li strong { display: block; font-weight: 400; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
@media (max-width: 640px) { ul.dnk-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dnk-page { background: var(--wp--preset--color--sheet); border: 1px solid var(--wp--preset--color--rule); padding: 36px 40px !important; font-family: var(--wp--preset--font-family--quote); font-size: 19px; line-height: 1.65; }
.dnk-page .dnk-chap { font-family: var(--wp--preset--font-family--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.dnk-page .dnk-chap + p::first-letter { font-family: var(--wp--preset--font-family--display); float: left; font-size: 64px; line-height: .85; padding: 6px 10px 0 0; color: var(--wp--preset--color--teal); }
@media (max-width: 640px) { .dnk-page { padding: 24px 22px !important; } }
.dnk-buy { border-top: 1px solid var(--wp--preset--color--rule); padding-top: 20px; }
.dnk-note { font-size: 13px; color: var(--wp--preset--color--muted); }

/* ---------- Process ---------- */
.dnk-steps { border-top: 1px solid var(--wp--preset--color--ink); gap: 0 !important; }
.dnk-steps > .wp-block-column { padding: 28px 32px 8px 0; }
.dnk-steps > .wp-block-column + .wp-block-column { padding-left: 32px; border-left: 1px solid var(--wp--preset--color--rule); }
.dnk-n { font-family: var(--wp--preset--font-family--display); font-size: 64px; line-height: 1; color: var(--wp--preset--color--teal); }
.dnk-steps p:not(.dnk-n) { color: var(--wp--preset--color--muted); font-size: 15px; }
.dnk-steps ul { list-style: none; padding: 0; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.dnk-steps li { display: flex; gap: 10px; }
.dnk-steps li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; background: var(--wp--preset--color--teal); border-radius: 50%; }
@media (max-width: 781px) { .dnk-steps > .wp-block-column, .dnk-steps > .wp-block-column + .wp-block-column { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--wp--preset--color--rule); } }

/* ---------- Authors ---------- */
.dnk-quote { font-family: var(--wp--preset--font-family--quote); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; border-left: 2px solid var(--wp--preset--color--teal); padding-left: 20px; }
.dnk-chip { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; background: var(--wp--preset--color--teal-soft); margin-right: 6px; white-space: nowrap; }
.dnk-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--wp--preset--color--rule); }
.dnk-a-books { border-top: 1px solid var(--wp--preset--color--rule); padding-top: 16px; }
.dnk-a-books .wp-block-image img { width: 42px; aspect-ratio: 822 / 1008; object-fit: cover; }
.dnk-a-second { border-top: 1px solid var(--wp--preset--color--rule); padding-top: 28px; }
.dnk-a-second .wp-block-image img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; }
.dnk-a-second { flex-wrap: nowrap !important; align-items: center; }
.dnk-a-second > .wp-block-group { flex: 1 1 auto; min-width: 0; }
.dnk-a-second > .wp-block-image, .dnk-a-second > .wp-block-buttons { flex: none; }
@media (max-width: 640px) { .dnk-a-second { flex-wrap: wrap !important; } .dnk-a-second > .wp-block-group { flex-basis: calc(100% - 130px); } }

/* ---------- Workshop ---------- */
.dnk-terminal { background: #0B1117; color: #CFE3E1; border-radius: 6px; font-family: var(--wp--preset--font-family--mono); font-size: 13.5px; line-height: 1.75; padding: 20px 22px; overflow-x: auto; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); border: 1px solid #1D2832; }
.dnk-terminal .bar { display: flex; gap: 6px; margin-bottom: 14px; }
.dnk-terminal .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A3540; }
.dnk-terminal pre { margin: 0; font: inherit; white-space: pre; background: none; border: 0; padding: 0; color: inherit; }
.dnk-terminal .c { color: #6E8794; } .dnk-terminal .k { color: #4FC1B8; } .dnk-terminal .y { color: #E8C66A; }

/* ---------- Newsletter band ---------- */
.dnk-news { position: relative; overflow: hidden; }
.dnk-news::before { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; pointer-events: none; }
.dnk-news::after { content: ""; position: absolute; right: -20px; top: -20px; width: 240px; height: 240px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; pointer-events: none; }
.dnk-news .dnk-eyebrow { color: inherit; opacity: .75; }
.dnk-news ul { list-style: none; padding: 0; }
.dnk-news li::before { content: "— "; opacity: .6; }
.dnk-news input[type="email"], .dnk-news input[type="text"] { min-height: 46px; padding: 12px 14px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); color: inherit; font: inherit; }
.dnk-form-slot { border: 1px dashed currentColor; border-radius: 4px; background: rgba(0, 0, 0, .12); }

/* ---------- Doors ---------- */
.dnk-door { border: 1px solid var(--wp--preset--color--rule); border-radius: 4px; height: 100%; }
.dnk-door .dnk-eyebrow { color: var(--wp--preset--color--teal); }
.dnk-door p:not(.dnk-eyebrow):not(.dnk-status) { color: var(--wp--preset--color--muted); font-size: 15px; }
.dnk-status { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.dnk-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #B5562E; }
ul.dnk-ruled { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--wp--preset--color--rule); }
ul.dnk-ruled li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 10px; border-bottom: 1px solid var(--wp--preset--color--rule); font-size: 14px; }
ul.dnk-ruled li em { font-style: normal; font-family: var(--wp--preset--font-family--mono); font-size: 11.5px; color: var(--wp--preset--color--muted); }
ul.dnk-ruled li code { font-family: var(--wp--preset--font-family--mono); font-size: 14px; background: none; user-select: all; }
.dnk-door .is-style-outline .wp-block-button__link, .dnk-buy .is-style-outline .wp-block-button__link, .dnk-a-second .is-style-outline .wp-block-button__link { color: var(--wp--preset--color--ink); }

/* ---------- Contact form fields from common plugins ---------- */
.dnk-contact input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .dnk-contact textarea, .dnk-contact select { width: 100%; min-height: 46px; padding: 12px; border: 1px solid var(--wp--preset--color--rule); border-radius: 2px; background: var(--wp--preset--color--sheet); color: var(--wp--preset--color--ink); font: inherit; }

/* ---------- Footer ---------- */
.dnk-footer a { color: var(--wp--preset--color--night-ink); text-decoration: none; opacity: .85; }
.dnk-footer a:hover { opacity: 1; color: var(--wp--preset--color--teal-light); }
.dnk-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.dnk-footer .dnk-eyebrow { color: var(--wp--preset--color--night-muted); }
.dnk-f-mark { display: flex; gap: 22px; align-items: center; }
.dnk-f-mark svg { width: 120px; height: 120px; flex: none; }
.dnk-f-mark p { font-family: var(--wp--preset--font-family--display); font-size: 30px; line-height: 1.1; margin: 0; }
.dnk-f-mark small { display: block; font-family: var(--wp--preset--font-family--body); font-size: 14px; color: var(--wp--preset--color--night-muted); margin-top: 8px; line-height: 1.5; }
.dnk-legal { border-top: 1px solid rgba(233, 238, 240, .16); padding-top: 22px; font-family: var(--wp--preset--font-family--mono); font-size: 12px; color: var(--wp--preset--color--night-muted); }

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