/* Accessibility refinements: retain the paper, brass and forest palette. */
:root { --vo-muted: #595a55; }
.site-header .site-description { color: #263f4c !important; }
.site-header .site-kicker, .site-header .site-kicker a { color: #653f25 !important; }
.pagination .page-numbers.current { color: #fff; background: #15232f; }
.vo-skip-link {
 position: fixed; top: 8px; left: 8px; z-index: 100000;
 padding: 12px 18px; background: #15232f; color: #fff;
 font: 700 1rem/1.5 Arial, sans-serif; transform: translateY(-200%);
}
.vo-skip-link:focus { transform: none; color: #fff; }
:where(a,button,input,textarea,select,summary,audio,[tabindex]):focus-visible {
 outline: 3px solid #15232f; outline-offset: 4px;
 box-shadow: 0 0 0 6px #fff;
}
#vo-main-content { scroll-margin-top: 12px; }
#vo-main-content:focus { outline: none; }
.comments-area textarea, .comments-area input:not([type=submit]):not([type=checkbox]):not([type=hidden]) {
 border: 1px solid #6a716b; max-width: 100%;
}
body #vo-memoir-4 .eyebrow, body #vo-memoir-4 .sectionhead .num, body #vo-memoir-4 .stamp { color: #805627; }
body #vo-memoir-4 .jungle .eyebrow { color: #4c613b; }
body #vo-memoir-4 .photo figcaption, body #vo-memoir-4 .albumfoot, body #vo-memoir-4 > footer { color: #53594e; }
body #vo-memoir-4 .night .eyebrow { color: #e5c990; }
body #vo-memoir-4 .night .photo figcaption { color: #d7ded2; }
#vo-memoir-4 .zoom { display: block; width: 100%; }
#vo-memoir-4 .zoom:focus-visible { outline: 3px solid #15232f; outline-offset: 4px; box-shadow: 0 0 0 6px #fff; }
#vo-memoir-4 .night .zoom:focus-visible { outline-color: #e5c990; box-shadow: 0 0 0 6px #15232f; }
#vo-memoir-4 dialog button { min-width: 44px; min-height: 44px; }
#vo-memoir-4 .rail nav { flex-wrap: wrap; }
#vo-memoir-4 .rail a { min-height: 44px; display: inline-flex; align-items: center; }
#vo-memoir-4 [id] { scroll-margin-top: 130px; }
@media (max-width: 480px) {
 #vo-memoir-4 .rail { position: static; }
 #vo-memoir-4 .rail nav { gap: 0 16px; }
 .entry-content, .comment-content { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
 html, html:has(#vo-memoir-4) { scroll-behavior: auto !important; }
 *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Page titles that sit directly on the site background video (no panel behind them). */
body.page-id-1144 .article-header h1,
body.page-id-1144 .article-header .eyebrow,
body.page-id-1144 .article-header .meta,
body.page-id-1144 .archive-title {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
/* Closing note on the memoirs index, which sits outside the cards. */
body.page-id-1144 .entry-content > p:last-of-type,
body.page-id-1144 .entry-content > p:last-of-type em,
body.page-id-1144 .entry-content > p:last-of-type strong {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
/* Headings and pager that sit directly on the site background video. */
.section-head h2,
.section-head .archive-title,
.archive-title,
.pagination .page-numbers,
.pagination a.page-numbers {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
.pagination .page-numbers.current,
.pagination .current {
  color: #ffffff !important;
  background: #15232f !important;
  text-shadow: none;
}
/* Search field scales down with the viewport instead of holding a fixed width. */
body .site-header .primary-nav > .vo-wrap > .vo-header-search {
  max-width: clamp(150px, 38vw, 360px) !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}
body .site-header .primary-nav .vo-header-search .search-field {
  min-width: 0 !important;
  width: 100% !important;
}
body .site-header .primary-nav .vo-header-search form,
body .site-header .primary-nav .vo-header-search label {
  min-width: 0 !important;
}
@media (max-width: 480px) {
  body .site-header .primary-nav .vo-header-search .search-submit {
    padding: 8px 6px !important;
    font-size: 10px !important;
  }
  body .site-header .primary-nav .vo-header-search .search-field {
    padding: 6px 8px !important;
    font-size: 13px !important;
  }
}
/* Footer: friend's Instagram link. */
.vo-footer-instagram { margin-top: 16px; }
.vo-footer-instagram p { margin: 0; color: #d8d4ca; }
.vo-footer-instagram a { color: #d9b979 !important; text-decoration: underline; }
.vo-footer-instagram a:hover { color: #f0d7a4 !important; }
/* Footer: Instagram logo link. */
.vo-instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -5px;
  margin-left: 6px;
  padding: 4px;
  color: #d9b979 !important;
  border-radius: 6px;
  transition: color .2s ease, background-color .2s ease;
}
.vo-instagram-link svg { display: block; }
.vo-instagram-link:hover,
.vo-instagram-link:focus-visible {
  color: #f0d7a4 !important;
  background: rgba(217, 185, 121, .12);
}
.vo-instagram-link:focus-visible { outline: 2px solid #f0d7a4; outline-offset: 2px; }
/* Pull the Instagram logo closer to the sentence. */
.vo-instagram-link,
.vo-footer-instagram .vo-instagram-link {
  margin-left: 0 !important;
  padding: 1px 3px !important;
}
.vo-footer-instagram p { word-spacing: 0; }
/* Posts using the hero header sit on a dark image; keep the title and meta light. */
.single .article-header--hero h1,
.single .article-header--hero h1 a {
  color: #ffffff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.single .article-header--hero .eyebrow,
.single .article-header--hero .eyebrow a {
  color: #e4c58b !important;
}
.single .article-header--hero .meta,
.single .article-header--hero .meta a {
  color: #f2ebde !important;
}
/* Comment section (wpDiscuz) aligned with the paper, navy and brass palette. */
body #wpdcom,
body #wpdcom.wpd-dark,
body #comments.comments-area,
body #respond {
  background: #fbf8f1 !important;
  color: #15232f !important;
}
body #wpdcom.wpd-dark .wpd-comment-text,
body #wpdcom .wpd-comment-text,
body #wpdcom .wpd-comment-text p { color: #15232f !important; }
body #wpdcom .wpd-comment-author,
body #wpdcom .wpd-comment-author a { color: #713f3d !important; }
body #wpdcom .wpd-comment-date,
body #wpdcom .wpd-comment-link { color: #6b6a66 !important; }
body #wpdcom .wpd-thread-head .wpd-thread-info,
body #wpdcom .wpd-thread-head .wpd-thread-info * {
  color: #15232f !important;
  border-bottom-color: #a9854b !important;
}
body #wpdcom .wpd-form-row input[type=text],
body #wpdcom .wpd-form-row input[type=email],
body #wpdcom .wpd-form-row input[type=url],
body #wpdcom textarea,
body #wpdcom select,
body #wpdcom.wpd-dark select {
  background: #ffffff !important;
  color: #15232f !important;
  border: 1px solid #d8cfbd !important;
  border-radius: 4px !important;
}
body #wpdcom ::placeholder { color: #8a8579 !important; opacity: 1 !important; }
body #wpdcom .ql-toolbar,
body #wpdcom .ql-container { background: #ffffff !important; border-color: #d8cfbd !important; }
body #wpdcom .ql-editor,
body #wpdcom .ql-editor > * { color: #15232f !important; }
body #wpdcom .wpd-prim-button {
  background: #15232f !important;
  color: #ffffff !important;
  border-radius: 4px !important;
}
body #wpdcom .wpd-prim-button:hover { background: #713f3d !important; }
body #wpdcom .wpd-secondary-button {
  background: #f4efe4 !important;
  color: #15232f !important;
  border: 1px solid #a9854b !important;
  border-radius: 4px !important;
}
body #wpdcom .wpd-comment-wrap { border-radius: 6px; }
/* Visitors comment as guests; hide the "Log in" prompt in the comment area. */
body #wpdcom .wpd-auth,
body #wpdcom .wpd-login,
body #wpdcom .wpd-login-to-comment {
  display: none !important;
}
/* 404 page: give it a paper panel like other pages. */
body.error404 .article-shell article {
  background: rgba(255, 249, 237, .97);
  border: 1px solid #b58a4d;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(9, 20, 29, .24), inset 0 0 0 3px rgba(169, 133, 75, .08);
  overflow: hidden;
}
body.error404 .article-header {
  background: linear-gradient(145deg, #fff9ec 0%, #efe2ca 100%);
  border-bottom: 3px solid #a9854b;
  padding: clamp(22px, 4vw, 42px);
  margin-bottom: 0;
}
body.error404 .article-header h1 { color: #15232f !important; }
body.error404 .article-header .eyebrow { color: #713f3d !important; }
body.error404 .entry-content {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px);
}
body.error404 .entry-content p { color: #15232f !important; }
body.error404 .vo-button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 4px;
  background: #15232f !important;
  color: #ffffff !important;
  text-decoration: none;
}

/* Empty search results sit directly on the background video. */
body.search main > .vo-wrap > p {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}
/* Hero category label: brighter brass so it reads on the dark panel. */
.single .article-header--hero .eyebrow,
.single .article-header--hero .eyebrow a,
.article-header--hero .eyebrow,
.article-header--hero .eyebrow a {
  color: #f3d9a4 !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}
/* Hero date/author line, slightly brighter too. */
.single .article-header--hero .meta,
.single .article-header--hero .meta a {
  color: #f7f1e6 !important;
}
/* Cards on the dark navy panels: lift the meta line, category label and
   read-more link to accessible contrast (they used the muted grey). */
main .hero-post .meta,
main .post-grid > .post-card .meta,
main .hero-post .meta a,
main .post-grid > .post-card .meta a,
.category .post-card .meta,
.category .vo-category-card .meta {
  color: #cfc8ba !important;
}
main .hero-post .eyebrow,
main .hero-post .eyebrow a,
main .post-grid > .post-card .eyebrow,
main .post-grid > .post-card .eyebrow a,
.category .vo-category-card .eyebrow,
.category .vo-category-card .eyebrow a {
  color: #f3d9a4 !important;
}
main .hero-post .read-more,
main .post-grid > .post-card .read-more,
.category .vo-category-card .read-more {
  color: #f3d9a4 !important;
  border-bottom-color: #d4b578 !important;
}
/* Lighter again: meta near-white, category label and read-more in pale brass. */
main .hero-post .meta,
main .hero-post .meta a,
main .post-grid > .post-card .meta,
main .post-grid > .post-card .meta a,
.category .post-card .meta,
.category .vo-category-card .meta {
  color: #ece7dc !important;
}
main .hero-post .eyebrow,
main .hero-post .eyebrow a,
main .post-grid > .post-card .eyebrow,
main .post-grid > .post-card .eyebrow a,
.category .vo-category-card .eyebrow,
.category .vo-category-card .eyebrow a,
main .hero-post .read-more,
main .post-grid > .post-card .read-more,
.category .vo-category-card .read-more {
  color: #ffe0a3 !important;
  border-bottom-color: #ffd27a !important;
}
/* The nav bar was only 34% dark over the light map artwork, leaving the cream
   links at roughly 2:1. Darken it so the light text clears 4.5:1. */
.site-header .primary-nav {
  background: rgba(8, 20, 28, .94) !important;
}
.site-header .primary-nav .vo-menu-disclosure__toggle {
  background: rgba(8, 20, 28, .9) !important;
  color: #ffffff !important;
  border-color: rgba(212, 181, 120, .6) !important;
}
.site-header .primary-nav .vo-desktop-quick-links a,
.site-header .primary-nav ul.menu a {
  color: #fbf6ea !important;
}
/* Section headings sit on the moving background video. Give them an opaque
   backdrop so contrast is measurable and text stays readable on any frame. */
.section-head {
  background: #15232f;
  padding: 10px 16px;
  border-radius: 6px;
}
.section-head h2,
.section-head .archive-title {
  color: #ffffff !important;
  text-shadow: none !important;
}
.section-head:after {
  background: rgba(255, 255, 255, .25);
}
/* Archive page titles, same situation. */
.archive-title {
  background: #15232f;
  display: inline-block;
  padding: 8px 16px;
  border-radius: 6px;
  color: #ffffff !important;
  text-shadow: none !important;
}
/* Pagination sits on the background video; give each link an opaque pill so
   the white text has a measurable, readable background. */
.pagination .page-numbers {
  background: #15232f;
  border-radius: 4px;
  padding: 7px 12px;
}
.pagination .page-numbers.current {
  background: #a9854b !important;
  color: #15232f !important;
  font-weight: 700;
}
/* Tagline sits over header artwork that varies from light map to dark space;
   a light colour on a translucent backing reads on both. */
.site-header .site-description {
  color: #fbf6ea !important;
  background: rgba(8, 20, 28, .6);
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
/* Footer contact address, centred in the bottom row. */
.vo-footer-email { text-align: center; }
.vo-footer-email a {
  color: #d9b979 !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 185, 121, .45);
  padding-bottom: 1px;
}
.vo-footer-email a:hover,
.vo-footer-email a:focus-visible {
  color: #f0d7a4 !important;
  border-bottom-color: #f0d7a4;
}
/* Contact page title sits on the background video, not on a panel. */
body.page-id-2191 .article-header h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .65);
}