/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0. 	CSS Reset
	1. 	Variables
	2.	Typography
	3. 	Layout Base
	4. 	UI Elements
    5.  Graphic Elements
	6. 	Site Header
	7. 	Menu Modal
	8. 	Page Header
    9.  Templates
	10. Entry Content
	11. Blocks
	12. Styles
	13. Site Footer
    14. Transitions
	15. Accessibility

-------------------------------------------------------------- */

/* --------------------------------------------------------------
= 0. CSS Reset
-------------------------------------------------------------- */

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeSpeed;
}
html,
body {
	border: none;
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4, h5, h6,
p, blockquote, address, big,
cite, code, em, font, img,
small, strike, sub, sup,
li, ol, ul, dl, dt, dd,
fieldset, form, label, legend, button,
table, caption, tr, th, td {
	border: none;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-align: inherit;
}
blockquote::before,
blockquote::after {
	content: "";
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
a {
	text-decoration: none;
	color: inherit;
}
p {
	margin: 0;
}
ol, ul, menu {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote::after,
q::before, q::after {
	content: '';
	content: none;
}
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}
*, *::before, *::after {
	box-sizing: inherit;
}
* {
	-webkit-tap-highlight-color: transparent !important;
}
button,
input,
textarea {
	-webkit-appearance: none;
	        appearance: none;
}
input,
button,
textarea,
select {
	font: inherit;
}
figure {
	margin: 0 !important;
}

/* --------------------------------------------------------------
= 1. Variables
-------------------------------------------------------------- */

:root {
    --nnn--style--font-size-14: 0.875rem;
    --nnn--style--font-size-12: 0.75rem;
	--nnn--style--border: 1px solid var(--wp--preset--color--gray);
    --nnn--style--block-gap: clamp(0.625rem, 0.4167rem + 1.0417vw, 1.25rem);
	--nnn--polygon: polygon( 2px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 0 calc(100% - 2px), 0 2px );
    --nnn--polygon--start: polygon( 10px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 0 calc(100% - 2px), 0 10px );
    --nnn--polygon--end: polygon( 2px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 2px 100%, 0 calc(100% - 2px), 0 2px );
    --nnn--polygon--left: var(--nnn--polygon);
    --nnn--polygon--right: var(--nnn--polygon);
    --nnn--polygon--bottom: polygon( 2px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 2px );
}
@media all and (min-width: 48em) {
    :root {
        --nnn--polygon--start: polygon( 30px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 0 calc(100% - 2px), 0 30px );
        --nnn--polygon--end: polygon( 2px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 30px), calc(100% - 30px) 100%, 2px 100%, 0 calc(100% - 2px), 0 2px );
    }
}
@media all and (min-width: 64em) {
    :root {
        --nnn--polygon--left: polygon( 2px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) 100%, 4px 100%, 0 calc(100% - 4px), 0 2px );
        --nnn--polygon--right: polygon( 2px 0, calc(100% - 2px) 0, 100% 2px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 2px 100%, 0 calc(100% - 2px), 0 2px );
    }
}

/* --------------------------------------------------------------
= 2. Typography
-------------------------------------------------------------- */

body {
    color: var(--wp--preset--color--primary);
    font-family: sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
.has-fonts-loaded body {
    font-family: var(--wp--preset--font-family--barlow);
}
i, em {
    font-style: italic;
}
b, strong,
#site-title,
h2, h3, h4, h5, h6 {
    font-weight: 500 !important;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--wp--preset--color--secondary);
}
input,
button {
    font-family: monospace;
}
.has-fonts-loaded input,
.has-fonts-loaded button {
    font-family: var(--wp--preset--font-family--space-mono);
}
::selection {
	color: var(--wp--preset--color--background);
	background-color: var(--wp--preset--color--accent);
}
sup, sup {
    font-size: 0.75em;   
}
sup {
    vertical-align: sup;
}
sub {
    vertical-align: sub;
}

/* --------------------------------------------------------------
= 3. Layout Base
-------------------------------------------------------------- */

body {
    position: relative;
}
body.has-menu-active,
body.has-follow-active {
    overflow: hidden;
}
main {
    border: var(--nnn--style--border);
    margin-block-start: calc(var(--wp--style--block-gap) - 1px);
    margin-inline: var(--nnn--style--block-gap);
    min-height: calc(100svh - var(--wp--style--block-gap) - var(--wp--style--block-gap));
    padding-block: 15svh;
    padding-inline: 0;
    width: calc(100% - var(--nnn--style--block-gap) * 2);
}
.inner {
    margin-inline: auto;
    max-width: var(--wp--style--global--wide-size);
    padding-inline: var(--nnn--style--block-gap);
}
@media all and (min-width: 48rem) {
    .has-centered-content {
        margin-inline: auto !important;
        max-width: var(--wp--style--global--content-size);
    }
}

/* Wordpress Resets ------------------------------------------ */

:root :where(.is-layout-flow) > * {
    margin-block-start: 0 !important;
    margin-block-end: unset;
}
@media (min-width: 48em) {
    .is-style-sticky {
        inset-block-start: 41px;
        position: sticky !important;
    }
}

/* --------------------------------------------------------------
= 4. UI Elements
-------------------------------------------------------------- */

button,
details summary {
    user-select: none;
    -webkit-user-select: none;
}

/* Button ---------------------------------------------------- */

button {
    color: var(--wp--preset--color--primary);
    cursor: pointer;
    font-size: var(--nnn--style--font-size-12);
    text-transform: uppercase;
    transition: color 500ms ease, text-shadow 500ms ease;
}
button:hover {
    color: var(--wp--preset--color--accent) !important;
    text-shadow: 0 0 5px var(--wp--preset--color--accent) !important;
}

/* Details --------------------------------------------------- */

details {
    min-height: 22px;
}
details summary {
    cursor: pointer;
    font-family: var(--wp--preset--font-family--space-mono);
    font-size: var(--nnn--style--font-size-12);
    line-height: 1.75em;
    list-style: none;
    padding-block-end: 1px;
    padding-inline-start: 15px;
    text-transform: uppercase;
}
details summary::marker,
details summary::-webkit-details-marker {
    display: none !important;
}
details summary::after {
    content: "+";
    color: var(--wp--preset--color--accent);
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 0.5em;
    margin-inline-start: 5px;
    margin-block-start: 5px;
    vertical-align: text-top;
}
details[open] summary::after {
    content: "−";
}

/* --------------------------------------------------------------
= 5. Graphic Elements
-------------------------------------------------------------- */

html,
body {
    background-color: var(--wp--preset--color--background);
}

/* Static ---------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
    body::before {
        will-change: transform;
    }
    @keyframes noise {
        0%  { transform:translate3d(0, 9rem, 0)      }
        10% { transform:translate3d(-1rem, -4rem, 0) }
        20% { transform:translate3d(-8rem, 2rem, 0)  }
        30% { transform:translate3d(9rem, -9rem, 0)  }
        40% { transform:translate3d(-2rem, 7rem, 0)  }
        50% { transform:translate3d(-9rem, -4rem, 0) }
        60% { transform:translate3d(2rem, 6rem, 0)   }
        70% { transform:translate3d(7rem, -8rem, 0)  }
        80% { transform:translate3d(-9rem, 1rem, 0)  }
        90% { transform:translate3d(6rem, -5rem, 0)  }
        to  { transform:translate3d(-7rem, 0, 0)     }
    }
    body::before {
        background-image: url("/wp-content/themes/nnndesign/assets/src/noise-light.png");
        content: "";
        height: calc(100% + 20rem);
        opacity: 0.6;
        position: fixed;
            inset-block-start: -10rem;
            inset-inline-start: -10rem;
        pointer-events: none;
        width: calc(100% + 20rem);
        z-index: 9999;
        animation: noise 1s steps(2) infinite;
    }
}    

/* Scanline -------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
    body::after {
        will-change: opacity;
    }
    @keyframes scanline {
        0%   { top: 0; opacity: 0 }
        8%   { top: 0; opacity: 0 }
        9%   { top: 27%; opacity: 0.08 }
        10%  { top: 27%; opacity: 0 }
        25%  { top: 0; opacity: 0 }
        26%  { top: 62%; opacity: 0.09 }
        27%  { top: 62%; opacity: 0 }
        45%  { top: 0; opacity: 0 }
        46%  { top: 15%; opacity: 0.06 }
        47%  { top: 15%; opacity: 0 }
        60%  { top: 0; opacity: 0 }
        61%  { top: 82%; opacity: 0.07 }
        62%  { top: 82%; opacity: 0 }
        80%  { top: 0; opacity: 0 }
        81%  { top: 43%; opacity: 0.05 }
        82%  { top: 43%; opacity: 0 }
        to   { top: 0; opacity: 0 }
    }
    body::after {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 1px;
        background-color: var(--wp--preset--color--secondary);
        pointer-events: none;
        z-index: 9999;
        animation: scanline 10s steps(1) infinite;
    }
}

/* Cursor ---------------------------------------------------- */

.site-title a::after {
    animation: blink 1s steps(2, start) infinite;
    content: '_';
    display: inline;
}
@keyframes blink {
    to { opacity: 0; }
}

/* --------------------------------------------------------------
= 6. Site Header
-------------------------------------------------------------- */

.site-header {
    background-color: var(--wp--preset--color--background);
    inset-block-start: 0;
    inset-inline: 0;
    padding-inline: var(--nnn--style--block-gap);
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.site-header::after {
    background-color: var(--wp--preset--color--background);
    border-block-start: var(--nnn--style--border);
    content: '';
    display: block;
    height: var(--wp--style--block-gap);
    inset-block-end: calc(var(--wp--style--block-gap) * -1);
    inset-inline: calc(var(--nnn--style--block-gap) + 1px);
    position: absolute;
    width: calc(100% - ((var(--nnn--style--block-gap) + 1px) * 2));
}
.site-header .inner {
    display: flex;
    gap: var(--wp--style--block-gap);
    height: var(--wp--style--block-gap);
    padding-inline: calc(var(--nnn--style--block-gap) + 1px);
    position: relative;
}
.site-header .left-align,
.site-header .menu-trigger {
    position: relative;
    z-index: 1001;
}
.site-header .site-title,
.site-header .page-title {
    font-weight: 400 !important;
}
.site-header .site-title,
.site-header .menu-trigger {
    width: 50%;
}
.site-header .page-title,
.site-header .page-date {
    display: none;
}
.site-header .left-align > * {
    background-color: var(--wp--preset--color--background);
    font-size: var(--nnn--style--font-size-14);
    inset-block-end: -7px;
    inset-inline-start: calc((var(--nnn--style--block-gap) / 2) * -1);
    line-height: 13px;
    padding-block-end: 2px;
    padding-inline: calc(var(--nnn--style--block-gap) / 2) calc(var(--nnn--style--block-gap) / 2 - 2px);
    position: absolute;
    transition: all 500ms ease;
}
.site-header .menu-trigger button {
    background-color: var(--wp--preset--color--background);
    inset-block-end: -9px;
    inset-inline-end: calc((var(--nnn--style--block-gap) / 2) * -1);
    line-height: 15px;
    padding-block-end: 2px;
    padding-inline: calc(var(--nnn--style--block-gap) / 2) calc(var(--nnn--style--block-gap) / 2 - 2px);
    position: absolute;
}
.site-header .menu-trigger button:focus-visible {
    border: none;
    color: var(--wp--preset--color--accent);
    outline: none;
}
.site-header .left-align a:hover {
    color: var(--wp--preset--color--accent);
    text-shadow: 0 0 5px var(--wp--preset--color--accent);
}
@media ( min-width: 48em ) {
    .site-header .page-title,
    .site-header .page-date {
        display: block;
    }
    .site-header .left-align,
    .site-header .menu-trigger {
        width: 25%;
    }
}

/* --------------------------------------------------------------
= 7. Menu Modal
-------------------------------------------------------------- */

.menu-overlay,
.follow-overlay {
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
    background-color: rgba(3, 4, 8, 0.80);
    height: 100%;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    width: 100%;
    z-index: 1500;
    transition: opacity 400ms ease;
}
.has-menu-active .menu-overlay,
.has-follow-active .follow-overlay {
    opacity: 1;
    pointer-events: auto;
}
.menu-wrapper {
    background-color: var(--wp--preset--color--gray-dark);
    border: var(--nnn--style--border);
    border-radius: 3px;
    inset-block-start: 40%;
    inset-inline-start: 50%;
    max-width: 513px;
    position: absolute;
    transform: translate(-50%,-50%);
    width: calc(100% - var(--wp--style--block-gap) * 4);
}
.menu-wrapper button {
    background-color: transparent;
    color: var(--wp--preset--color--background);
    inset-block-start: -1.5rem;
    inset-inline-end: 0;
    line-height: 1rem;
    padding: 0;
    position: absolute;
}

/* Menu Modal: Forms  ---------------------------------------- */

.menu-wrapper form {
    border-block-end: var(--nnn--style--border);
    height: 2.5rem;
    width: 100%;
}
.menu-wrapper form input {
    background: transparent;
    border: none;
    border-radius: 3px 3px 0 0;
    color: var(--wp--preset--color--primary);
    font-size: var(--nnn--style--font-size-12);
    line-height: 100%;
    height: 100%;
    padding-inline-start: 3.345rem;
    width: 100%;
}
.menu-wrapper form input::placeholder {
    color: var(--wp--preset--color--primary);
}
.menu-wrapper form input:focus {
    border: none;
    outline: 1px solid var(--wp--preset--color--gray-light);
}
.menu-wrapper form label {
    position: relative;
}
.menu-wrapper form label::before {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
    content: "";
    display: block;
    height: 12px;
    inset-block-start: 0.375rem;
    inset-inline-start: 0.875rem;
    position: absolute;
    width: 12px;
}
.menu-wrapper form#search-form label::before { background-image: url(/wp-content/themes/nnndesign/assets/svg/search.svg) }
.menu-wrapper form#newsletter-form label::before { background-image: url(/wp-content/themes/nnndesign/assets/svg/newsletter.svg) }

/* Menu Modal: Menus  ---------------------------------------- */

.menu-modal {
    position: relative;
}
.menu-modal::before {
    background: var(--wp--preset--color--gray);
    content: "";
    height: 100%;
    inset-block-start: 0;
    inset-inline-start: 2.5rem;
    position: absolute;
    width: 1px;
}
.menu-modal menu {
    margin: 0;
    padding-block: 0.375rem;
    padding-inline: 0;
}
.menu-modal menu li {
    display: block;
    font-size: 0.875em;
}
.menu-modal menu li::before {
    display: inline-block;
    font-family: var(--wp--preset--font-family--space-mono);
    font-size: var(--nnn--style--font-size-12);
    margin-inline-end: 0.5rem;
    padding-block: 0.375rem;
    text-align: center;
    width: 2.5rem;
}
.menu-modal menu li a {
    color: var(--wp--preset--color--primary);
    display: inline-block;
    padding-block: 0.375rem;
    padding-inline-start: 0.375rem;
    transition: color 300ms ease, background-color 300ms ease;
    user-select: none;
    -webkit-user-select: none;
    width: calc(100% - 3.375rem);
}
.menu-modal menu li a:hover {
    background-color: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--background);
}
.menu-modal menu li.current-menu-item::before {
    color: var(--wp--preset--color--accent);
}

/* Menu Modal: Primary  -------------------------------------- */

.menu-modal menu.site-menu {
    counter-reset: item-primary;
}
.menu-modal menu.site-menu li {
    counter-increment: item-primary;
}
.menu-modal menu.site-menu li::before {
    content: counter(item-primary, decimal-leading-zero);
}

/* Menu Modal: Follow  --------------------------------------- */

.menu-modal menu.follow-menu li::before {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
    content: "";
}
.menu-modal menu.follow-menu li.behance::before { background-image: url(/wp-content/themes/nnndesign/assets/svg/behance.svg) }
.menu-modal menu.follow-menu li.bluesky::before { background-image: url(/wp-content/themes/nnndesign/assets/svg/bluesky.svg) }
.menu-modal menu.follow-menu li.github::before { background-image: url(/wp-content/themes/nnndesign/assets/svg/github.svg) }
.menu-modal menu.follow-menu li.instagram::before { background-image: url(/wp-content/themes/nnndesign/assets/svg/instagram.svg) }
.menu-modal menu.follow-menu li.linkedin::before { background-image: url(/wp-content/themes/nnndesign/assets/svg/linkedin.svg) }
.menu-modal menu.follow-menu li.mastodon::before { background-image: url(/wp-content/themes/nnndesign/assets/svg/mastodon.svg) }
.menu-modal menu.follow-menu li.rss::before { background-image: url(/wp-content/themes/nnndesign/assets/svg/rss.svg) }

/* --------------------------------------------------------------
= 8. Page Header
-------------------------------------------------------------- */

.page-header {
    display: flex;
    font-size: var(--nnn--style--font-size-14);
    justify-content: space-between;
    line-height: 1.5em;
    margin-block-end: 0.75rem;
}
.search-results .page-header {
    margin-block-end: 1.5rem;
}
.page-header > span.date {
    font-family: var(--wp--preset--font-family--space-mono);
    font-size: var(--nnn--style--font-size-12);
}
.page-header .page-title span {
    color: var(--wp--preset--color--tertiary);
}
.entry-header {
    font-size: var(--nnn--style--font-size-14);
    line-height: 1.5em;
    margin-block-end: 1rem;
}
.entry-header .entry-meta {
    color: var(--wp--preset--color--tertiary);
    display: flex;
    justify-content: space-between;
}
.entry-header .entry-meta > span.date {
    font-family: var(--wp--preset--font-family--space-mono);
    font-size: var(--nnn--style--font-size-12);
}
.entry-header .entry-meta > span span:after {
	content: ', '
}
.entry-header .entry-meta > span span:nth-last-child(2):after {
	content: ' + '
}
.entry-header .entry-meta > span span:last-child:after {
	content: ''
}
@media all and (min-width: 48rem) {
    .page-header {
        display: none;
    }
    .entry-header .entry-meta > span.date {
        display: none;
    }
}

/* --------------------------------------------------------------
= 9. Templates
-------------------------------------------------------------- */

/* Template: Single  ----------------------------------------- */

.details-wrapper {
    background-color: var(--wp--preset--color--gray);
    padding: 1px;
}
.details-content {
    background-color: var(--wp--preset--color--gray-dark);
    line-height: 1.33em;
}
dl.details-content a {
    color: var(--wp--preset--color--primary);
    flex-grow: 1;
    text-decoration: none;
    transition: none;
}
dl.details-content dt {
    font-weight: 500;
}
dl.details-content dd {
    margin-block-end: 1em;
}
dl.details-content dd,
dl.details-content dd ul li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}
dl.details-content dd ul,
dl.details-content dd ul li {
    width: 100%;
}
dl.details-content dd:has(> a) {
    background-color: transparent;
    color: var(--wp--preset--color--primary);
    transition: none;
}
dl.details-content dd:has(> a):hover {
    background-color: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--background) !important;
}
dl.details-content dd:last-child,
dl.details-content dd.list-container ul {
    margin-block-end: 0;
}
dl.details-content dd ul li:has(> a):hover {
    background-color: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--background);
}
dl.details-content dd:not(.list-container):hover a,
dl.details-content dd ul li:hover a {
    color: var(--wp--preset--color--background) !important;
}
dl.details-content dd:not(.list-container)::before {
    content: '└─';
    font-family: var(--wp--preset--font-family--space-mono);
    font-size: var(--nnn--style--font-size-12);
    letter-spacing: -0.02em;
    flex: 0 0 1.25rem;
}
dl.details-content dd ul li::before {
    content: '├─';
    font-family: var(--wp--preset--font-family--space-mono);
    font-size: var(--nnn--style--font-size-12);
    letter-spacing: -0.02em;
    flex: 0 0 1.25rem;
}
dl.details-content dd ul li:last-child::before,
dl.details-content dd ul li:only-child::before {
    content: '└─';
}


/* Template: Has Left Margin  -------------------------------- */

.page-template-page-has-left-margin .page-header {
    margin-block-end: 1.5em;
}
@media ( min-width: 64em ) {
    .has-left-margin {
        margin-inline-start: calc((100% - var(--wp--style--block-gap) * 3) / 4 + var(--wp--style--block-gap));
    }
}

/* --------------------------------------------------------------
= 10. Entry Content
-------------------------------------------------------------- */

.entry-content {
    font-size: var(--nnn--style--font-size-14);
	line-height: 1.5em;
}
.entry-content a {
	text-decoration: underline;
	transition: color 500ms ease, text-shadow 500ms ease;
}
.entry-content a:hover {
	color: var(--wp--preset--color--accent);
    text-shadow: 0 0 5px var(--wp--preset--color--accent);
}
.entry-content p,
.entry-content ul,
.entry-content code,
.entry-content > * {
	margin-block-end: 1.5em;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-block-end: 1.25em;
}
.entry-content code {
    background-color: var(--wp--preset--color--gray-dark);
    border-radius: 4px;
    font-family: var(--wp--preset--font-family--space-mono);
    font-size: var(--nnn--style--font-size-12);
    padding-inline: 4px;
}
.entry-content > *:last-child {
    margin-block-end: 0;
}
.entry-content ul {
	list-style: none;
	padding-inline-start: 0;
}

/* --------------------------------------------------------------
= 11. Blocks
-------------------------------------------------------------- */

/* Block: Image  --------------------------------------------- */

.wp-block-image {
    background-color: var(--wp--preset--color--gray);
    clip-path: var(--nnn--polygon);
    margin-block-end: var(--wp--style--block-gap) !important;
    padding: 1px;
    position: relative;
}
.wp-block-image > img {
    clip-path: var(--nnn--polygon);
    display: block;
	height: auto;
	width: 100%;
}
.wp-block-image .fig-id,
.wp-block-image :where(figcaption) {
    display: none;
}
@media ( min-width: 48em ) {
    .wp-block-image .fig-id {
        font-family: var(--wp--preset--font-family--space-mono);
        font-size: 0.625em;
        user-select: none;
        -webkit-user-select: none;
    }
    .wp-block-image :where(figcaption) {
        font-size: var(--nnn--style--font-size-12);
        margin: 0 !important;
    }
    .wp-block-image .fig-id,
    .wp-block-image :where(figcaption) {
        display: block;
        line-height: 1.25em;
        position: absolute;
        z-index: 3;
        transition: opacity 500ms ease;
    }
    .wp-block-image :where(figcaption) {
        inset-block-end: 0;
        inset-inline-start: 0;
        opacity: 0;
        overflow: hidden;
        padding-block: 0 1em;
        padding-inline: 1em;
        position: absolute;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 100%;
    }
    .wp-block-image :where(figcaption)::before {
        content: "[";
        display: inline;
    }
    .wp-block-image :where(figcaption)::after {
        content: "]";
        display: inline;
    }
    .wp-block-image .fig-id {
        height: 5.2em;
        line-height: 1.4em;
        padding-block-start: 0.5em;
        padding-inline-start: 0.75em;
        inset-block-start: 0;
        inset-inline-end: 0;
        text-align: left;
        transform: rotate(90deg) translateX(185px) translateY(-169px) translateZ(0);
        width: 400px;
    }
    .wp-block-image .fig-id,
    .wp-block-image :where(figcaption) {
        color: var(--wp--preset--color--primary);
    }
    .has-inverted-caption .wp-block-image .fig-id,
    .has-inverted-caption .wp-block-image :where(figcaption) {
        color: var(--wp--preset--color--background);
    }
    .wp-block-image:hover :where(figcaption) {
        opacity: 1;
    }    	
}

/* Block: Columns -------------------------------------------- */

.entry-content > .wp-block-columns > .wp-block-column {
    margin-block-end: 0 !important;
}
.entry-content .wp-block-column.is-first-column {  order: 1 }
.entry-content .wp-block-column.is-center-column { order: 3 }
.entry-content .wp-block-column.is-last-column {   order: 2 }

@media ( min-width: 48em ) {
    .entry-content > .wp-block-columns {
        margin-block-end: var(--wp--style--block-gap);
    }
    .entry-content > .wp-block-columns {
        display: grid;
        grid-template-columns: 
            calc((100% - var(--wp--style--block-gap) * 3) / 4) 
            calc((100% - var(--wp--style--block-gap) * 3) * 3 / 4 + var(--wp--style--block-gap) * 2);
        grid-template-rows: auto auto;
    }
    .entry-content .wp-block-column.is-first-column {
        grid-column: 1;
        grid-row: 1;
    }
    .entry-content .wp-block-column.is-center-column {
        grid-column: 2;
        grid-row: 1 / 4;
    }
    .entry-content .wp-block-column.is-last-column {
        grid-column: 1;
        grid-row: 2;
    }
}
@media ( min-width: 64em ) {
    .entry-content > .wp-block-columns {
        display: flex;
        flex-wrap: nowrap !important;
    }
    .entry-content .wp-block-column.is-first-column,
    .entry-content .wp-block-column.is-last-column {
        flex: 0 0 calc((100% - var(--wp--style--block-gap) * 3) / 4);
        grid-column: unset;
        grid-row: unset;
    }
    .entry-content .wp-block-column.is-center-column {
        flex: 0 0 calc((100% - var(--wp--style--block-gap)) / 2);
        grid-column: unset;
        grid-row: unset;
    }
    .entry-content .wp-block-column.is-first-column {  order: 1 }
    .entry-content .wp-block-column.is-center-column { order: 2 }
    .entry-content .wp-block-column.is-last-column {   order: 3 }
}

/* Block: Embed ---------------------------------------------- */

.wp-block-embed,
.wp-block-video {
    background-color: var(--wp--preset--color--gray);
    clip-path: var(--nnn--polygon);
    margin-block-end: var(--wp--style--block-gap) !important;
    padding: 1px;
    position: relative;
    width: 100%;
}
.wp-block-video audio,
.wp-block-video video,
.wp-block-embed iframe {
	width: 100%;
}
.wp-block-embed .wp-block-embed__wrapper {
    aspect-ratio: 16 / 9;
    clip-path: var(--nnn--polygon);
	position: relative;
}
.wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper {
	aspect-ratio: 4 / 3;
}
.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	aspect-ratio: 16 / 9;
}
.wp-block-embed .wp-block-embed__wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* Block: Quote ---------------------------------------------- */

.entry-content blockquote,
.entry-content .wp-block-quote {
    border: var(--nnn--style--border);
    border-radius: 3px;
    margin: 0 0 var(--wp--style--block-gap);
    padding-block: 0.75em;
    padding-inline: 1em;
}
.entry-content blockquote p,
.entry-content .wp-block-quote p {
	line-height: 1.5em;
}
.entry-content blockquote p:last-child,
.entry-content blockquote p:only-child,
.entry-content .wp-block-quote p:last-child,
.entry-content .wp-block-quote p:only-child {
	margin-block-end: 0;
}
.entry-content blockquote cite,
.entry-content .wp-block-quote cite {
    font-weight: 500;
}

/* Block: Code ----------------------------------------------- */

.entry-content .wp-block-code {
    background-color: var(--wp--preset--color--gray-dark);
    border: var(--nnn--style--border) !important;
    border-radius: 4px;
    font-family: var(--wp--preset--font-family--space-mono);
    font-size: var(--nnn--style--font-size-12);
    padding-block: 0.625rem;
    padding-inline: 1rem;
    margin-block-end: var(--wp--style--block-gap) !important;
}
.entry-content .wp-block-code code {
    background-color: var(--wp--preset--color--gray-dark);
    padding-inline: unset;
}
.entry-content .wp-block-code code:only-child,
.entry-content .wp-block-code code:nth-last-child(2) {
	margin-block-end: 0;
}

/* --------------------------------------------------------------
= 12. Styles
-------------------------------------------------------------- */

.is-style-padding-top {
	padding-block-start: 1.5em !important;
}
.is-style-padding-top-no-margin {
    margin-block-end: 0 !important;
	padding-block-start: 1.5em !important;
}
.is-style-large-bottom-margin {
    margin-block-end: calc(var(--wp--style--block-gap) * 4) !important;
}
.is-style-xl-large-bottom-margin {
    margin-block-end: 15svh !important;
}
@media ( min-width: 64em ) {
    .is-style-width-constrained {
        max-width: var(--wp--style--global--content-size);
    }
}

/* --------------------------------------------------------------
= 13. Site Footer
-------------------------------------------------------------- */

.site-footer {
    height: var(--wp--style--block-gap);
    padding-inline: var(--nnn--style--block-gap);
}
.site-footer .inner {
    display: flex;
    gap: var(--wp--style--block-gap);
    height: var(--wp--style--block-gap);
    padding-inline: calc(var(--nnn--style--block-gap) + 1px);
    position: relative;
    
}
.site-footer .left-align,
.site-footer .follow-trigger,
.site-footer .site-color-palette {
    position: relative;
    z-index: 1001;
}
.site-footer .site-copyright,
.site-footer .follow-trigger {
    width: 50%;
}
.site-footer .page-id,
.site-footer .site-color-palette {
    display: none;
}
.site-footer .site-copyright > * {
    font-size: var(--nnn--style--font-size-14) !important;
}
.site-footer .page-id span {
    font-family: var(--wp--preset--font-family--space-mono);
    font-size: var(--nnn--style--font-size-12) !important;
}
.site-footer .site-color-palette ul {
    display: flex;
    gap: 0;
    inset-block-start: -7px;
    inset-inline-start: calc((var(--nnn--style--block-gap) / 2) * -1);
    justify-content: flex-start;
    padding-block-end: 2px;
    padding-inline: calc(var(--nnn--style--block-gap) / 2);
    position: absolute;
}
.site-footer .site-color-palette ul li {
    display: block;
    height: 15px;
    width: 15px;
}
.site-footer .site-color-palette ul li:first-child  { background-color: var(--wp--preset--color--primary) }
.site-footer .site-color-palette ul li:nth-child(2) { background-color: var(--wp--preset--color--tertiary) }
.site-footer .site-color-palette ul li:nth-child(3) { background-color: var(--wp--preset--color--gray-light) }
.site-footer .site-color-palette ul li:nth-child(4) { background-color: var(--wp--preset--color--gray) }
.site-footer .site-color-palette ul li:nth-child(5) { background-color: var(--wp--preset--color--gray-dark) }
.site-footer .site-color-palette ul li:nth-child(6) { background-color: var(--wp--preset--color--accent) }

.site-footer .left-align > * {
    background-color: var(--wp--preset--color--background);
    font-size: var(--nnn--style--font-size-14);
    inset-block-start: -7px;
    inset-inline-start: calc((var(--nnn--style--block-gap) / 2) * -1);
    line-height: 13px;
    padding-block-end: 2px;
    padding-inline: calc(var(--nnn--style--block-gap) / 2) calc(var(--nnn--style--block-gap) / 2 - 2px);
    position: absolute;
    transition: color 500ms ease;
}
.site-footer .follow-trigger button {
    background-color: var(--wp--preset--color--background);
    inset-block-start: -9px;
    inset-inline-end: calc((var(--nnn--style--block-gap) / 2) * -1);
    line-height: 15px;
    padding-block-end: 2px;
    padding-inline: calc(var(--nnn--style--block-gap) / 2) calc(var(--nnn--style--block-gap) / 2 - 2px);
    position: absolute;
}
.site-footer .follow-trigger button:focus-visible {
    border: none;
    color: var(--wp--preset--color--accent);
    outline: none;
}
.site-footer .left-align a:hover {
    color: var(--wp--preset--color--accent);
    text-shadow: 0 0 5px var(--wp--preset--color--accent);

}
@media ( min-width: 64em ) {
    .site-footer .page-id,
    .site-footer .site-color-palette {
        display: block;
    }
    .site-footer .left-align,
    .site-footer .page-id,
    .site-footer .follow-trigger,
    .site-footer .site-color-palette {
        width: 25%;
    }
}

/* --------------------------------------------------------------
= 14. Transitions
-------------------------------------------------------------- */

#primary .inner {
    opacity: 0;
    transition: opacity 400ms ease;
}
.page-is-loaded #primary .inner {
    opacity: 1;
}
#primary .inner {
    opacity: 0;
    transition: opacity 400ms ease;
}
.page-is-loaded #primary .inner {
    opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
    .page-is-loaded.glitch-out .site-header,
    .page-is-loaded.glitch-out #primary,
    .page-is-loaded.glitch-out .site-footer {
        will-change: opacity;
    }
    @keyframes glitchOut {
        0%   { opacity: 1 }
        8%   { opacity: 1 }
        9%   { opacity: 0.08 }
        10%  { opacity: 0 }
        25%  { opacity: 0 }
        26%  { opacity: 0.06 }
        27%  { opacity: 0 }
        45%  { opacity: 10 }
        46%  { opacity: 0.04 }
        47%  { opacity: 0 }
        60%  { opacity: 0 }
        61%  { opacity: 0.03 }
        62%  { opacity: 0 }
        80%  { opacity: 0 }
        81%  { opacity: 0.01 }
        82%  { opacity: 0 }
        to   { opacity: 0 }
    }
    .page-is-loaded.glitch-out .site-header,
    .page-is-loaded.glitch-out #primary,
    .page-is-loaded.glitch-out .site-footer {
        animation: glitchOut 1000ms ease forwards;
    }
}

/* --------------------------------------------------------------
= 15. Accessibility
-------------------------------------------------------------- */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: var(--nnn--style--font-size-14);
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
#primary[tabindex="-1"]:focus {
	outline: 0;
}