/* owens3d rebuild: the few things the old WordPress plugins supplied (Smart
 * Slider on the home page, Fancybox slideshow, Genesis mobile menu). Everything
 * else is the original theme CSS, unchanged, in style.css / bootstrap.css. */

/* ---- mobile menu (the theme expects Genesis's responsive-menus script) ---- */
.menu-toggle { display: none; }
@media only screen and (max-width: 1039px) {
  .menu-toggle { display: inline-block; font-size: 24px; padding: 4px 8px; cursor: pointer; }
  .nav-primary.genesis-responsive-menu { display: none; }
  .mobile-menu-open .nav-primary.genesis-responsive-menu { display: block; }
}

/* ---- home slider: full width, 3:2, fades every 8 s, slide links to the piece ---- */
.home .site-inner .content-sidebar-wrap.container { width: 100%; max-width: none; padding: 0; }
.o3-slider { position: relative; width: 100%; aspect-ratio: 3 / 2; max-height: calc(100vh - 60px);
  overflow: hidden; background: #000; }
.o3-slide { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat;
  opacity: 0; transition: opacity 1s ease; display: block; }
.o3-slide.is-on { opacity: 1; z-index: 1; }
.o3-slide-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px; text-align: center;
  color: #fff; background: rgba(0, 0, 0, .5); font-size: 18px; opacity: 0; transition: opacity .3s; }
.o3-slider:hover .o3-slide-title { opacity: 1; }
.o3-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); background: none; border: 0;
  color: rgba(255, 255, 255, .8); font-size: 48px; line-height: 1; padding: 8px 16px; cursor: pointer; }
.o3-arrow:hover { color: #fff; }
.o3-prev { left: 4px; }
.o3-next { right: 4px; }
@media (max-width: 600px) { .o3-arrow { display: none; } }

/* ---- artwork page: the big picture opens the slideshow ---- */
.artwork-thumbnail img { max-width: 100%; height: auto; }
.artwork-thumbnail a { cursor: zoom-in; display: block; }
.process .wp-video { max-width: 640px; }
.process video { width: 100%; height: auto; display: block; }

/* ---- slideshow viewer (replaces Fancybox) ---- */
.o3-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(30, 30, 30, .92); display: none;
  -webkit-user-select: none; user-select: none; }
.o3-lb.is-open { display: block; }
.o3-lb-stage { position: absolute; inset: 44px 56px; display: flex; align-items: center; justify-content: center; }
.o3-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 0 30px rgba(0,0,0,.5); }
.o3-lb-bar { position: absolute; top: 0; left: 0; right: 0; height: 44px; display: flex; align-items: center;
  justify-content: space-between; color: #ccc; font: 13px/1 Roboto, sans-serif; padding: 0 0 0 12px; }
.o3-lb-bar button, .o3-lb-nav { background: rgba(30, 30, 30, .6); border: 0; color: #ccc; cursor: pointer; }
.o3-lb-bar button { width: 44px; height: 44px; font-size: 18px; }
.o3-lb-bar button:hover, .o3-lb-nav:hover { color: #fff; }
.o3-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 80px; font-size: 26px; }
.o3-lb-prev { left: 0; }
.o3-lb-next { right: 0; }
@media (max-width: 600px) { .o3-lb-stage { inset: 44px 0; } .o3-lb-nav { background: transparent; } }
body.o3-lb-lock { overflow: hidden; }

/* ---- contact form messages ---- */
.gform_confirmation_message { padding: 12px 0; font-size: 16px; }
.gform_wrapper .validation_error { color: #f66; padding: 8px 0; }
.gform_validation_container { position: absolute !important; left: -9000px !important; }

/* ---- card grids (The Work, series, categories): even rows, as matchHeight did ---- */
.o3-cards { display: flex; flex-wrap: wrap; }
.o3-cards > article.artwork { float: none; }

/* ---- whole card is the link (the contractor's plugin CSS did this) ---- */
article.artwork .wrap { position: relative; }
article.artwork .full-cover-button { position: absolute; inset: 0; z-index: 5; display: block; }
article.artwork .full-cover-button:hover ~ *, article.artwork .wrap:hover img { opacity: .85; }

/* ---- the theme paints focused/hovered buttons white; not ours ---- */
.o3-arrow:hover, .o3-arrow:focus, .o3-arrow:active,
.o3-lb button:hover, .o3-lb button:focus, .o3-lb button:active,
.menu-toggle:hover, .menu-toggle:focus { background-color: transparent; outline: none; box-shadow: none; }
.o3-lb .o3-lb-bar button:hover, .o3-lb .o3-lb-bar button:focus,
.o3-lb .o3-lb-nav:hover, .o3-lb .o3-lb-nav:focus { background-color: rgba(30, 30, 30, .6); }

/* ---- gallery thumbnails: gray highlight instead of the theme's green ---- */
.gallery img:focus, .gallery img:hover { background: rgba(128, 128, 128, .4); }

/* ---- in-page links (Artist Statement / Bio) stop below the fixed header;
 * owens3d.js sets the exact header height, this is the fallback ---- */
html { scroll-padding-top: 70px; }

/* ---- artwork page Details: description stands out, gap before status/dimensions ---- */
.details .post-content { font-size: 18px; font-weight: 700; line-height: 1.5; margin-bottom: 14px; }
.details > h3, .process > h3 { margin-bottom: 12px; }

/* ---- staging only: unpublished piece banner ---- */
.o3-draft { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: #8a5a00; color: #fff;
  text-align: center; padding: 6px; font: 14px/1.4 Roboto, sans-serif; }

/* ---- gallery thumbnails show the whole photo (no crop), centered in a square ---- */
.gallery img { aspect-ratio: 1 / 1; object-fit: contain; }

/* ---- artwork page row 2: gap under the picture + Details, then contact form | video, tops aligned ---- */
.single-artwork .details { margin-top: 20px; }
.o3-lower { clear: both; padding-top: 48px; display: flex; flex-wrap: wrap; }
.o3-lower > div > :first-child, .o3-lower .gform_wrapper, .o3-lower .gform_heading { margin-top: 0; padding-top: 0; }
.o3-lower h3 { margin-top: 0; margin-bottom: 12px; }

/* piece page: the stage is the slideshow; a ring of thumbnails under it, current centred */
.o3-stage { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: max(300px, calc(100vh - 270px)); display: flex; align-items: center; justify-content: center; }
.o3-stage-img, .o3-stage-video { max-width: 100%; max-height: 100%; object-fit: contain; }
.o3-stage-video { width: 100%; height: 100%; background: #000; }
.o3-stage [hidden] { display: none; }
.o3-st-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 80px; font-size: 26px; z-index: 2;
  background: rgba(30, 30, 30, .6); border: 0; border-radius: 0; color: #ccc; cursor: pointer; }
.o3-st-nav:hover, .o3-st-nav:focus, .o3-st-nav:active { color: #fff; background: rgba(30, 30, 30, .6); }
.o3-st-prev { left: 0; }
.o3-st-next { right: 0; }
.o3-st-count { position: absolute; right: 8px; bottom: 6px; z-index: 2; font-size: 13px; color: #ccc; background: rgba(30,30,30,.6); padding: 1px 6px; }
.o3-ring { max-width: 100%; }
.o3-track { display: flex; flex-wrap: wrap; gap: 6px; }
.o3-viewer.is-ring .o3-ring { overflow: hidden; }
.o3-viewer.is-ring .o3-track { flex-wrap: nowrap; }
.o3-th { position: relative; flex: 0 0 auto; width: 84px; height: 84px; padding: 0; border: 2px solid transparent; background: none;
  cursor: pointer; overflow: hidden; border-radius: 0; opacity: .6; }
.o3-th img, .o3-th video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.o3-th.is-on { border-color: #fff; opacity: 1; }
.o3-th:hover, .o3-th:focus { background: none; opacity: 1; }
.o3-th-video i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 24px;
  text-shadow: 0 0 6px rgba(0,0,0,.8); }
@media (max-width: 600px) { .o3-th { width: 60px; height: 60px; } .o3-stage { max-height: 60vh; } .o3-st-nav { background: transparent; } }

/* menu button, upper right, every screen size: three lines that morph into the monogram and back */
.site-header .wrap { position: relative; min-height: 56px; }
.o3-menu-btn { position: relative; display: block; width: 48px; height: 48px; margin: 4px 0; }
.o3-mb-burger, .o3-mb-logo { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 7px; animation: o3-morph 10s ease-in-out infinite; }
.o3-mb-burger i { display: block; width: 30px; height: 3px; background: #ccc; border-radius: 2px; }
.o3-mb-logo { background: url(../images/favicon.svg?v=3) center / contain no-repeat; animation-name: o3-morph-logo; }
@keyframes o3-morph      { 0%, 40% { opacity: 1; transform: none; } 50%, 90% { opacity: 0; transform: rotate(90deg) scale(.4); } 100% { opacity: 1; transform: none; } }
@keyframes o3-morph-logo { 0%, 40% { opacity: 0; transform: rotate(-90deg) scale(.4); } 50%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; transform: rotate(-90deg) scale(.4); } }
.o3-more-open .o3-mb-burger { animation: none; opacity: 0; }
.o3-more-open .o3-mb-logo { animation: none; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .o3-mb-burger { animation: none; } .o3-mb-logo { animation: none; opacity: 0; } }
.o3-menu-btn:focus { outline: none; box-shadow: none; }
.o3-menu-btn:focus-visible { outline: 1px solid #666; }
.nav-primary, .nav-primary.genesis-responsive-menu { display: none !important; }
.o3-menu-open .nav-primary, .o3-menu-open .nav-primary.genesis-responsive-menu {
  display: block !important; position: absolute; right: 15px; left: auto; top: 100%; float: none; width: auto; min-width: 180px;
  background: #000; border: 1px solid #333; z-index: 1001; }
.o3-menu-open .nav-primary .menu { display: block; float: none; margin: 0; padding: 6px 0; }
.o3-menu-open .nav-primary .menu-item { display: block; float: none; }
.o3-menu-open .nav-primary .menu-item a { display: block; padding: 10px 18px; }

/* home page viewer */
.o3-home-page .site-inner { padding-top: 10px; }
.o3-stage-link { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }

/* ribbon arrows: only when not every thumbnail fits; the ends fade to say there is more */
.o3-ribbon { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 10px; }
.o3-rb { flex: 0 0 36px; height: 84px; padding: 0; border: 0; border-radius: 0; background: rgba(30,30,30,.6); color: #ccc;
  font-size: 30px; cursor: pointer; }
.o3-rb:hover, .o3-rb:focus, .o3-rb:active { background: rgba(30,30,30,.6); color: #fff; }
.o3-rb[hidden] { display: none; }
.o3-viewer.has-more .o3-ring { -webkit-mask-image: linear-gradient(to right, transparent, #000 30px, #000 calc(100% - 30px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 30px, #000 calc(100% - 30px), transparent); }

/* header is just the menu button now: keep it short, and the spacer under it the same height */
.site-header, .site-header.navbar { padding-top: 0; padding-bottom: 0; min-height: 56px; }
.site-header .wrap { padding-top: 0; padding-bottom: 0; }
.header-buffer { height: 56px !important; }

/* top line: back on the left; slideshow switch and the menu knob on the right (2026-11-22) */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; }
.o3-topright { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.o3-auto { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0; background: none; color: #ccc; font-size: 18px; cursor: pointer; }
.o3-auto:hover, .o3-auto:focus, .o3-auto:active { background: none; color: #fff; }
.o3-auto[hidden] { display: none; }
.o3-back { display: flex; align-items: center; gap: 8px; color: #ccc; font-size: 15px; padding: 8px 4px; }
.o3-back i { font-size: 26px; line-height: 1; }
.o3-back:hover { color: #fff; }
@media (max-width: 600px) { .o3-back span { display: none; } }

/* the menu: the list of pieces, scrolls if long; a collection opens its own sub-list */
.o3-menu-open .nav-primary, .o3-menu-open .nav-primary.genesis-responsive-menu { max-height: calc(100vh - 70px); overflow-y: auto; min-width: 240px; }
.o3-sub-row { display: flex; align-items: center; }
.o3-sub-row a { flex: 1; }
.o3-sub-toggle { width: 40px; align-self: stretch; padding: 0; border: 0; border-radius: 0; background: none; color: #ccc; font-size: 18px; cursor: pointer; }
.o3-sub-toggle:hover, .o3-sub-toggle:focus, .o3-sub-toggle:active { background: none; color: #fff; }
.o3-sub { display: none; list-style: none; margin: 0; padding: 0 0 4px 14px; border-left: 1px solid #333; margin-left: 18px; }
.o3-has-sub.is-open .o3-sub { display: block; }
.o3-has-sub.is-open .o3-sub-toggle i { transform: rotate(180deg); }
.o3-menu-open .nav-primary .o3-sub .menu-item a { padding: 7px 14px; font-size: .95em; }

/* title: always centred right over the picture */
.o3-title { text-align: center; margin: 2px 0 10px; font-family: courier-std, "Courier Prime", monospace; font-size: 28px; line-height: 1.2; color: #fff; }
.o3-title a { color: #fff; }
.o3-title a:hover { color: #ccc; }
@media (max-width: 600px) { .o3-title { font-size: 22px; } }

/* zoom on piece pages */
.o3-zoom { position: relative; display: flex; width: 100%; height: 100%; align-items: center; justify-content: center;
  overflow: hidden; cursor: zoom-in; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.o3-zoom img { -webkit-user-drag: none; }
.o3-zoom.is-zoomed { cursor: grab; touch-action: none; }
.o3-zoom.is-zoomed:active { cursor: grabbing; }
.o3-zoom.is-zoomed ~ .o3-st-nav, .o3-zoom.is-zoomed ~ .o3-st-count { opacity: .25; }

/* quick tooltips (hover devices; see owens3d.js) */
.o3-tip { position: fixed; z-index: 10000; left: 0; top: 0; max-width: min(380px, calc(100vw - 12px)); padding: 6px 10px; background: rgba(24,24,24,.62); color: #f2f2f2;
  -webkit-backdrop-filter: blur(8px) saturate(1.2); backdrop-filter: blur(8px) saturate(1.2); text-shadow: 0 1px 2px rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.18); font-size: 13px; line-height: 1.4; white-space: pre-line; pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .08s; box-shadow: 0 2px 8px rgba(0,0,0,.5); }
.o3-tip.is-on { opacity: 1; visibility: visible; }

/* where we are, centred on the top line */
.o3-where { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: calc(100% - 300px);
  color: #aaa; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
@media (max-width: 600px) {
  .o3-where { max-width: calc(100% - 170px); font-size: 12px; white-space: normal; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-align: center; }
}

/* magnifier controls on piece pages */
.o3-zc { position: absolute; left: 8px; bottom: 6px; z-index: 3; display: flex; background: rgba(30,30,30,.7); }
.o3-zc button { min-width: 34px; height: 30px; padding: 0 8px; border: 0; border-radius: 0; background: none; color: #ccc; font-size: 14px; cursor: pointer; }
.o3-zc button:hover, .o3-zc button:focus { background: rgba(80,80,80,.7); color: #fff; }
.o3-zc button:disabled { color: #555; cursor: default; background: none; }
.o3-zc-fit { font-size: 13px; min-width: 42px; }
.o3-stage-img.o3-glide { transition: transform .25s ease; }
@media (max-width: 600px) { .o3-zc button { min-width: 40px; height: 36px; } }

.o3-th { touch-action: manipulation; }   /* double tap opens a piece, never zooms the page */

/* ---- top line, 2026-11-23: [face][Home - Space Shriners - Steady Freddy] ........ [slideshow][3-dash] ---- */
.o3-topleft { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.o3-topright { flex: 0 0 auto; }
.o3-face { position: relative; flex: 0 0 48px; width: 48px; height: 48px; margin: 4px 0; padding: 0; border: 0; border-radius: 0;
  background: #000; overflow: hidden; cursor: pointer; }
.o3-face:hover, .o3-face:focus, .o3-face:active { background: #000; }
.o3-face:focus { outline: none; } .o3-face:focus-visible { outline: 1px solid #666; }
.o3-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s ease-in-out, transform .9s ease-in-out; }
.o3-face-alt { opacity: 0; transform: rotate(-90deg) scale(.4); }
.o3-face.is-alt .o3-face-me { opacity: 0; transform: rotate(90deg) scale(.4); }
.o3-face.is-alt .o3-face-alt { opacity: 1; transform: none; }
.o3-path { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; font-size: 15px; }
.o3-path a { color: #aaa; } .o3-path a:hover { color: #fff; }
.o3-sep { color: #666; }
@media (max-width: 600px) { .o3-topleft { gap: 8px; } .o3-path { font-size: 13px; } }

/* the pieces drop from the face (left); everything else from the 3-dash (right) */
.o3-menu-open .nav-primary, .o3-menu-open .nav-primary.genesis-responsive-menu { left: 15px; right: auto; }
.o3-more { display: none; }
.o3-more-open .o3-more { display: block; position: absolute; right: 15px; top: 100%; min-width: 200px; background: #000; border: 1px solid #333; z-index: 1001; }
.o3-more .menu { list-style: none; margin: 0; padding: 6px 0; }
.o3-more .menu-item a { display: block; padding: 10px 18px; color: #ccc; }
.o3-more .menu-item a:hover { color: #fff; background: #111; }

/* the box: grows in the middle of the screen, under the top line so the navigation still works */
.o3-box { position: fixed; left: 0; right: 0; top: 56px; bottom: 0; z-index: 1020; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.o3-box[hidden] { display: none; }
body.o3-box-on { overflow: hidden; }
.o3-box-panel { position: relative; width: min(720px, 100%); max-height: calc(100vh - 90px); overflow: auto; padding: 26px 28px 24px;
  background: #000; border: 1px solid #333; box-shadow: 0 10px 40px rgba(0,0,0,.8); color: #ddd; }
.o3-box.is-in .o3-box-panel { animation: o3-grow .28s ease-out; }
@keyframes o3-grow { from { transform: scale(.25); opacity: 0; } to { transform: none; opacity: 1; } }
.o3-box-close { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 0; background: none; color: #999; font-size: 20px; cursor: pointer; }
.o3-box-close:hover, .o3-box-close:focus, .o3-box-close:active { background: none; color: #fff; }
.o3-box-title { margin: 0 40px 16px 0; font-family: courier-std, "Courier Prime", monospace; font-size: 24px; color: #fff; }
.o3-box-text img { max-width: 40%; height: auto; }
.o3-box-text .alignright { float: right; margin: 0 0 12px 16px; }
.o3-box-wait { color: #777; }
.o3-news { list-style: none; margin: 0; padding: 0; }
.o3-news li { padding: 10px 0; border-bottom: 1px solid #222; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.o3-news-date { color: #888; font-size: 13px; }
.o3-about { margin: 0 0 12px; color: #ccc; }
.o3-ask { color: inherit; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.o3-ask:hover { color: #fff; }
@media (max-width: 600px) { .o3-box { padding: 8px; } .o3-box-panel { padding: 22px 16px 18px; max-height: calc(100vh - 72px); } }
.o3-menu-btn, .o3-menu-btn:hover, .o3-menu-btn:focus, .o3-menu-btn:active { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; cursor: pointer; }

/* photo + path read as one navigation cell: a line round it, a line between photo and path (2026-11-23) */
.o3-topleft { flex: 0 1 auto; gap: 0; border: 1px solid #555; margin-right: 12px; }
.o3-topleft .o3-face { margin: 0; border-right: 1px solid #555; }
.o3-topleft .o3-path { padding: 0 14px; }
@media (max-width: 600px) { .o3-topleft .o3-path { padding: 0 8px; } }
/* the 3-dash list in the same type as The Work's list */
.o3-more .menu { padding: 6px 0; }
.o3-more .menu-item { padding: 0; margin: 0; line-height: 12px; }
.o3-more .menu-item a { font-family: Roboto, sans-serif; font-size: 15.6px; font-weight: 600; line-height: 28.08px; padding: 3.12px 15.6px; color: rgba(255,255,255,.7); }
.o3-more .menu-item a:hover { color: #fff; background: none; }

/* The Work's list: a thumbnail beside each title */
.o3-menu-open .nav-primary .menu-item a { display: flex; align-items: center; gap: 10px; }
.o3-mi-th { flex: 0 0 36px; width: 36px; height: 36px; object-fit: cover; background: #111; }
.o3-menu-open .nav-primary .o3-sub .o3-mi-th { flex-basis: 30px; width: 30px; height: 30px; }

/* the box: readable type throughout (the old theme's base is tiny) */
.o3-box-panel { font-family: Roboto, sans-serif; font-size: 16px; line-height: 1.55; }
.o3-box-panel p, .o3-box-panel li, .o3-box-panel label, .o3-box-panel .gfield_description { font-size: 16px; line-height: 1.55; }
.o3-news li a { font-size: 15.6px; font-weight: 600; color: rgba(255,255,255,.8); }
.o3-news li a:hover { color: #fff; }
.o3-news-date { font-size: 14px; }

/* path: what you can click looks like a link (underlined); where you are is plain and quieter (2026-11-23) */
.o3-path a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; }
.o3-path a:hover { color: #fff; text-decoration-color: #fff; }
.o3-path [aria-current] { color: #8a8a8a; cursor: default; }

/* footer: black, copyright centered across the page */
.site-footer { background: #000; }
.site-footer div.legal { display: block; text-align: center; }
