/* Krita — image-first journal. No remotely hosted assets or frameworks. */
:root {
  --paper: #f3f0e9;
  --paper-lift: #f9f7f2;
  --ink: #24231e;
  --soft-ink: #706e66;
  --quiet: #908e85;
  --rule: #dcd7cb;
  --accent: #a94137;
  --content: 1120px;
  --grid-gap: 8px;
  --easing: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body, button, input, textarea, select { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font-size: inherit; }
button { cursor: pointer; }
img, video, svg { max-width: 100%; }
img { height: auto; }
figure, p, ul, ol { margin-top: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: #cfbbb4; color: var(--ink); }
.screen-reader-text { position: absolute !important; height: 1px; width: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto !important; height: auto; width: auto; display: block; padding: 14px 20px; margin: 0; z-index: 10000; top: 9px; left: 9px; overflow: visible; color: #fff; background: var(--ink); font-weight: 700; }
.site-shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.container { width: min(var(--content), calc(100% - clamp(40px, 19.2vw, 220px))); margin-inline: auto; }
.site-main { flex: 1 0 auto; }

/* Masthead — the starfield is decorative and never intercepts pointer or keyboard. */
.site-header { width: 100%; padding-top: 16px; z-index: 30; position: relative; }
.masthead { position: relative; width: min(630px, 100%); height: 48px; display: flex; align-items: center; justify-content: center; margin-inline: auto; isolation: isolate; }
.starfield { position: absolute; inset: -14px 0 -11px; width: 100%; height: calc(100% + 25px); pointer-events: none; z-index: -1; }
.brand { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; z-index: 1; min-width: 140px; padding: 2px 16px; background: radial-gradient(ellipse at center, var(--paper) 20%, rgba(243,240,233,.9) 45%, rgba(243,240,233,0) 82%); }
.brand-wordmark { color: #13130f; display: inline-flex; align-items: center; gap: 3px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 700; letter-spacing: -.075em; line-height: .96; transition: transform .4s var(--easing); }
.brand-wordmark:hover, .brand-wordmark:focus-visible { color: #13130f; transform: scale(1.04); }
.brand-star { color: var(--accent); font-family: serif; font-size: 11px; margin-left: 5px; letter-spacing: normal; transition: transform .55s var(--easing); }
.brand-wordmark:hover .brand-star { transform: rotate(120deg); }
.brand-tagline { font-size: 7px; font-weight: 600; letter-spacing: .21em; margin: 5px 0 0; text-transform: uppercase; line-height: 1.2; color: var(--quiet); max-width: 260px; }
.brand .custom-logo-link { display: inline-flex; align-items: center; justify-content: center; }
.brand .custom-logo { display: block; max-height: 42px; width: auto; max-width: min(235px, 60vw); object-fit: contain; }
.nav-row { display: flex; justify-content: center; align-items: center; gap: 16px; min-height: 27px; padding: 0 18px; }
.site-nav > .menu { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 17px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu-item, .site-nav .page_item { position: relative; list-style: none; }
.site-nav > .menu > li > a { display: inline-block; padding: 7px 0; color: var(--ink); font-size: 10px; letter-spacing: .005em; line-height: 1.4; white-space: nowrap; transition: color .2s ease; }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav a:hover { color: var(--accent); }
.site-nav .sub-menu, .site-nav .children { display: block; position: absolute; top: calc(100% - 2px); left: -17px; margin: 0; padding: 10px 0; background: var(--paper-lift); border: 1px solid var(--rule); min-width: 186px; box-shadow: 0 16px 30px rgb(34 28 16 / 10%); opacity: 0; visibility: hidden; transform: translateY(7px); transition: opacity .2s, visibility .2s, transform .2s; z-index: 60; }
.site-nav .sub-menu li, .site-nav .children li { position: relative; }
.site-nav .sub-menu a, .site-nav .children a { display: block; padding: 9px 18px; line-height: 1.4; white-space: normal; font-size: 12px; color: var(--ink); }
.site-nav .sub-menu a:hover, .site-nav .sub-menu a:focus-visible, .site-nav .children a:hover { background: #eae5da; color: var(--accent); }
.site-nav .sub-menu .sub-menu, .site-nav .children .children { top: -10px; left: 100%; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu, .site-nav li:hover > .children, .site-nav li:focus-within > .children, .site-nav li.submenu-open > .sub-menu, .site-nav li.submenu-open > .children { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav .submenu-toggle { border: 0; padding: 0; background: none; font-size: 12px; color: var(--soft-ink); line-height: 1; margin-left: 4px; transform: translateY(1px); transition: transform .2s; }
.site-nav .submenu-toggle[aria-expanded="true"] { transform: translateY(1px) rotate(180deg); }
.site-nav .sub-menu .submenu-toggle { position: absolute; right: 8px; top: 12px; }
.header-social { display: inline-flex; align-items: center; justify-content: center; color: var(--ink); width: 20px; height: 23px; transition: transform .2s ease, color .2s; }
.header-social:hover { transform: translateY(-2px); }
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 0; padding: 8px; color: var(--ink); font-size: 12px; }

/* Featured-image grid */
.home-main { margin-top: 10px; }
.listing-main { margin-top: 44px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); }
.portfolio-tile { padding: 0; margin: 0; min-width: 0; aspect-ratio: 1 / 1; position: relative; }
.tile-link { display: block; position: relative; overflow: hidden; width: 100%; height: 100%; background: #dedad0; color: #fff; isolation: isolate; }
.tile-link:hover { color: #fff; }
.tile-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; z-index: 4; }
.tile-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .75s var(--easing), filter .5s ease; }
.tile-link:hover .tile-image, .tile-link:focus-visible .tile-image { transform: scale(1.047); filter: saturate(1.04); }
.tile-overlay { display: flex; align-items: end; justify-content: space-between; gap: 12px; position: absolute; inset: 0; padding: 18px 16px; background: linear-gradient(180deg, transparent 37%, rgba(12, 12, 12, .75)); opacity: 0; transform: translateY(5px); transition: opacity .35s ease, transform .35s var(--easing); z-index: 2; }
.tile-link:hover .tile-overlay, .tile-link:focus-visible .tile-overlay { opacity: 1; transform: translateY(0); }
.tile-overlay-title { font-family: Georgia, serif; font-size: clamp(15px, 1.6vw, 22px); line-height: 1.18; font-weight: 400; overflow-wrap: anywhere; }
.tile-overlay-arrow { display: inline-flex; flex: 0 0 20px; }
.tile-placeholder { display: flex; flex-direction: column; justify-content: space-between; align-items: start; width: 100%; height: 100%; padding: 18px; color: #292a28; background: #d2c8b9; }
.portfolio-tile:nth-child(6n + 2) .tile-placeholder { background: #bdc9c3; }
.portfolio-tile:nth-child(6n + 3) .tile-placeholder { background: #b9b7c8; }
.portfolio-tile:nth-child(6n + 4) .tile-placeholder { background: #cbaea8; }
.portfolio-tile:nth-child(6n + 5) .tile-placeholder { background: #c5c2ab; }
.portfolio-tile:nth-child(6n + 6) .tile-placeholder { background: #aebdbd; }
.tile-placeholder-number { font-size: 10px; letter-spacing: .16em; border-bottom: 1px solid currentColor; opacity: .65; }
.tile-placeholder-title { font-family: Georgia, serif; font-size: clamp(22px, 2.3vw, 36px); letter-spacing: -.035em; line-height: 1.07; overflow-wrap: anywhere; }
.listing-header { margin-bottom: 28px; }
.eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .17em; color: var(--soft-ink); margin-bottom: 8px; }
.listing-title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.12; letter-spacing: -.035em; font-weight: 400; margin: 0; }
.listing-title .archive-title { font-weight: 400; }
.listing-description { font-size: 14px; max-width: 560px; margin-top: 14px; color: var(--soft-ink); }
.grid-pagination { margin: 42px 0 0; }
.grid-pagination ul { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 7px; list-style: none; margin: 0; padding: 0; }
.grid-pagination a, .grid-pagination span { display: inline-flex; min-width: 34px; height: 34px; padding: 0 10px; justify-content: center; align-items: center; font-size: 12px; border: 1px solid var(--rule); }
.grid-pagination .current { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.grid-pagination a:hover { border-color: var(--ink); color: var(--ink); }
.empty-state { padding: clamp(55px, 9vw, 135px) 0; text-align: center; color: var(--soft-ink); }
.empty-state h2 { font: normal clamp(29px, 3.5vw, 48px) Georgia, serif; margin: 0 0 10px; color: var(--ink); }

/* Editorial post */
.single-main { margin-top: clamp(44px, 6vw, 95px); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 245px); column-gap: clamp(36px, 5.4vw, 85px); align-items: start; }
.post-article { min-width: 0; }
.post-header { margin-bottom: 35px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .075em; color: var(--soft-ink); margin-bottom: 18px; }
.post-meta a:hover { text-decoration: underline; }
.meta-divider { color: #aaa49a; }
.post-title, .page-title { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(42px, 4.4vw, 70px); line-height: 1.1; letter-spacing: -.055em; margin: 0; overflow-wrap: anywhere; }
.post-deck { font-family: Georgia, "Times New Roman", serif; color: var(--soft-ink); font-size: clamp(18px, 2vw, 24px); line-height: 1.42; margin: 22px 0 0; }
.post-cover { margin: 0 0 37px; }
.post-cover-image { display: block; width: 100%; height: auto; }
.post-cover figcaption, .wp-caption-text, figcaption { font-size: 11px; color: var(--soft-ink); margin-top: 10px; }
.entry-content { font-family: Georgia, "Times New Roman", serif; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.82; overflow-wrap: break-word; }
.entry-content p { margin: 0 0 1.3em; }
.entry-content h2, .entry-content h3, .entry-content h4 { line-height: 1.3; font-weight: 600; margin: 1.7em 0 .65em; }
.entry-content h2 { font-size: 1.65em; }
.entry-content h3 { font-size: 1.35em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content blockquote { margin: 1.8em 0; padding-left: 1.1em; border-left: 2px solid var(--accent); font-style: italic; color: #545047; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1.3em; }
.entry-content li + li { margin-top: 5px; }
.entry-content img, .entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content iframe { display: block; }
.entry-content .wp-block-image { margin: 1.6em 0; }
.entry-content .wp-block-image img { height: auto; }
.entry-content pre, .entry-content code { overflow-wrap: normal; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.entry-content pre { overflow: auto; background: #e8e4da; padding: 20px; font-size: 13px; line-height: 1.6; }
.entry-content code { font-size: .85em; }
.entry-content table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: 15px; }
.entry-content td, .entry-content th { border: 1px solid var(--rule); padding: 9px 12px; }
.entry-content .alignleft { float: left; margin: .3em 1.3em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.3em; }
.entry-content .aligncenter { display: block; margin-inline: auto; }
.entry-content .wp-block-button__link { text-decoration: none; border-radius: 0; }
.entry-content .wp-block-quote { border-color: var(--accent); }
.entry-content .wp-block-pullquote { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.entry-content .wp-block-gallery { gap: 8px; }
.entry-content::after { display: table; clear: both; content: ""; }
.page-links { margin: 28px 0; font: 13px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.original-x-link { margin: 35px 0 0; display: inline-flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--ink); font-size: 12px; font-weight: 600; }
.original-x-link:hover { color: var(--accent); }
.post-tags { padding: 27px 0 0; color: var(--soft-ink); font-size: 12px; }
.post-tags span { color: var(--ink); font-weight: 600; }
.post-neighbors { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: 60px; padding: 23px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; font-size: 14px; }
.post-neighbors > div:last-child { text-align: right; }
.post-neighbors a { display: flex; flex-direction: column; gap: 8px; line-height: 1.3; }
.neighbor-label { color: var(--soft-ink); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }

/* All WordPress sidebars are widgets, not fixed theme markup. */
.post-sidebar { padding-top: 2px; min-width: 0; font-size: 13px; line-height: 1.7; }
.post-sidebar .widget { padding: 0 0 26px; margin: 0 0 30px; border-bottom: 1px solid var(--rule); }
.post-sidebar .widget:last-child { border-bottom: 0; }
.widget-title, .post-sidebar .wp-block-heading { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .145em; margin: 0 0 16px; }
.post-sidebar p { color: var(--soft-ink); margin-bottom: 11px; }
.post-sidebar ul, .post-sidebar ol { padding-left: 0; list-style: none; margin: 0; }
.post-sidebar li { padding: 7px 0; border-bottom: 1px solid rgb(150 140 120 / 15%); }
.post-sidebar li:last-child { border: none; }
.post-sidebar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-sidebar img { max-width: 100%; height: auto; }
.post-sidebar .tagcloud a { font-size: 12px !important; }
.sidebar-x { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
.search-form { display: flex; width: 100%; max-width: 480px; border-bottom: 1px solid var(--ink); align-items: center; }
.search-form label { display: block; min-width: 0; flex: 1 1 auto; }
.search-field { display: block; height: 41px; background: transparent; border: 0; padding: 0 9px 0 0; min-width: 0; width: 100%; color: var(--ink); outline-offset: 1px; font-size: 13px; }
.search-submit { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 38px; background: none; border: 0; flex: 0 0 auto; color: var(--ink); }
.search-submit:hover { color: var(--accent); }
.listing-header .search-form { margin-top: 24px; }

/* Pages and utilities */
.page-main { margin-top: clamp(45px, 6vw, 100px); }
.standard-page { max-width: 850px; margin: 0 auto; }
.page-header { margin-bottom: 35px; }
.page-cover { margin: 0 0 35px; }
.page-cover img { display: block; width: 100%; height: auto; }
.error-main { padding: min(11vh, 110px) 0; }
.error-main h1 { font: normal clamp(46px, 6vw, 82px) Georgia, serif; letter-spacing: -.045em; margin: 0 0 14px; }
.error-main > p:not(.eyebrow) { color: var(--soft-ink); }
.error-main .search-form { margin-top: 44px; }
.text-link { font-size: 12px; font-weight: 700; display: inline-block; margin-top: 15px; }

/* Comments rely on core WordPress moderation/security mechanisms. */
.comments-area { border-top: 1px solid var(--rule); margin: 65px 0 0; padding-top: 28px; font-size: 14px; }
.comments-title, .comment-reply-title { font: normal 25px Georgia, serif; margin: 0 0 25px; }
.comment-list { list-style: none; padding: 0; margin-bottom: 40px; }
.comment-list .children { list-style: none; margin: 20px 0 0 25px; padding: 0 0 0 20px; border-left: 1px solid var(--rule); }
.comment-body { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.comment-author { display: flex; gap: 12px; align-items: center; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 11px; color: var(--soft-ink); margin: 7px 0; }
.comment-content { font-family: Georgia, serif; }
.comment-content p { margin-bottom: .75em; }
.reply, .comment-respond a { font-size: 12px; }
.comment-form label { display: block; font-size: 12px; margin-bottom: 7px; }
.comment-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { display: block; width: 100%; max-width: 100%; background: var(--paper-lift); border: 1px solid var(--rule); color: var(--ink); border-radius: 0; padding: 10px 12px; }
.comment-form .form-submit input { background: var(--ink); color: #fff; border: 1px solid var(--ink); padding: 13px 20px; cursor: pointer; }
.comment-form .form-submit input:hover { background: var(--accent); border-color: var(--accent); }

/* Footer */
.site-footer { width: min(var(--content), calc(100% - clamp(40px, 19.2vw, 220px))); margin: clamp(135px, 14vw, 250px) auto 0; padding: 0 0 26px; }
.footer-top { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: end; }
.footer-note, .footer-copyright { margin: 0; color: var(--soft-ink); font-size: 9px; line-height: 1.3; }
.footer-copyright { text-align: right; }
.footer-navigation { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; color: var(--ink); font-size: 10px; }
.footer-navigation > a { display: inline-flex; align-items: center; }
.footer-menu { display: inline-flex; justify-content: center; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }

@media (max-width: 950px) {
  .post-layout { grid-template-columns: minmax(0, 1fr) 195px; gap: 35px; }
}
@media (max-width: 760px) {
  .container, .site-footer { width: calc(100% - 48px); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { border-top: 1px solid var(--rule); margin-top: 55px; padding-top: 33px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 30px; }
  .post-sidebar .widget { margin-bottom: 0; }
  .tile-overlay { padding: 15px; }
  .tile-overlay-title { font-size: clamp(15px, 3vw, 23px); }
  .footer-top { grid-template-columns: 1fr auto; align-items: start; row-gap: 25px; }
  .footer-navigation { grid-column: 1 / -1; grid-row: 1; justify-content: start; }
  .footer-copyright { align-self: end; }
}
@media (max-width: 600px) {
  .site-header { padding-top: 20px; }
  .masthead { width: 100%; }
  .nav-row { justify-content: space-between; padding: 5px 24px; position: relative; }
  .has-js .nav-toggle { display: inline-flex; }
  .has-js .site-nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; background: var(--paper-lift); border: 1px solid var(--rule); z-index: 50; padding: 11px 18px; box-shadow: 0 15px 30px rgb(20 20 20 / 12%); }
  .has-js .site-nav.is-open { display: block; }
  .site-nav > .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > .menu > li { width: 100%; border-bottom: 1px solid var(--rule); }
  .site-nav > .menu > li:last-child { border-bottom: none; }
  .site-nav > .menu > li > a { display: inline-block; width: auto; padding: 12px 0; font-size: 13px; }
  .site-nav .submenu-toggle { padding: 11px 14px; margin: 0; float: right; }
  .site-nav .sub-menu .submenu-toggle { position: absolute; }
  .site-nav .sub-menu, .site-nav .children { display: none; position: static; padding: 0 0 8px 10px; border: none; box-shadow: none; background: transparent; min-width: 0; width: 100%; transform: none; opacity: 1; visibility: visible; }
  .site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu, .site-nav li:hover > .children, .site-nav li:focus-within > .children { display: none; }
  .site-nav li.submenu-open > .sub-menu, .site-nav li.submenu-open > .children { display: block; }
  .site-nav .sub-menu li, .site-nav .children li { border-top: 1px solid var(--rule); }
  .site-nav .sub-menu a, .site-nav .children a { padding: 10px 0; }
  .site-nav .sub-menu .sub-menu, .site-nav .children .children { padding-left: 16px; }
  .home-main { margin-top: 10px; }
  .listing-main { margin-top: 40px; }
  .post-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .container, .site-footer { width: calc(100% - 28px); }
  .nav-row { padding-left: 14px; padding-right: 14px; }
  .tile-placeholder { padding: 12px; }
  .tile-placeholder-title { font-size: 20px; }
  .post-title, .page-title { font-size: 40px; }
  .post-neighbors { gap: 12px; }
  .footer-note, .footer-copyright { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
