@charset "utf-8";
/* CSS Document */
/* === core.css === */
/* tiny reset */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Don't force block on ALL images — kills centering */
img { max-width: 100%; height: auto; }

/* theme tokens */
:root {
  --g73-bg:   #000;
  --g73-ink:  #e5e7eb;
  --g73-gold: #FFD700;
  --g73-maxw: 1400px;
}
/* base body */
body {
  background: var(--g73-bg);
  color: var(--g73-ink);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}
/* Kill any top gap above the sticky nav */
html, body { margin: 0 !important; padding: 0 !important; }

/* Nav sits at very top */
.g73-nav { position: sticky; top: 0; margin-top: 0 !important; }
/* Stop margin collapsing above first child */
body > *:first-child { margin-top: 0 !important; }
/* FIX: was overflow:hidden which clipped the logo + broke zoom animation */
/* Nav inner just needs relative positioning for dropdowns */
.g73-nav__inner { position: relative; }
/* keep link behavior + sizing */
.cta-link-inline {
  color: var(--g73-gold);
  font-size: 1.12em;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
/* apply Pristina font only */
.pristina {
  font-family: "Pristina-Regular", "Pristina", cursive;
}


/* === layout.css === */
/* =========================
   Containers
========================= */
.container{
  max-width: var(--g73-maxw);
  margin: 0 auto;
  padding: 0 1rem;
}
.container-article{
  max-width: var(--g73-maxw);
  margin: 0 auto;
  padding: 1rem;
}
/* =========================
   Featured grid
========================= */
.featured-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
  margin-top: 1.5rem;
}
.featured-item img{
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.featured-item p{
  margin-top: .5rem;
  text-align: center;
  font-family: 'PristinaWeb','Pristina',cursive,serif;
  font-size: 1.2rem;
  color: #FFD700;
}
/* =========================
   Intro fancy links
========================= */
.intro-text a{
  color: #FFD700;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: color .3s ease, text-shadow .3s ease, transform .3s ease;
  text-shadow: 0 0 8px rgba(255,215,0,.7);
  animation: linkGlow 2s infinite alternate;
}
.intro-text a:hover{
  color: #fff;
  text-shadow:
    0 0 10px rgba(255,215,0,1),
    0 0 20px rgba(255,215,0,.9),
    0 0 40px rgba(255,215,0,.8);
  transform: scale(1.05);
}
/* =========================
   Go back button area
========================= */
.goback{
  text-align: center;
  margin: .75rem 0 0; /* tight top, no extra bottom */
}
#buy-john{ margin-bottom: .5rem; }

.goback-link img{
  display: inline-block;
  border: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.goback-link:hover img{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.5);
}
/* =========================
   Sitewide gold links
========================= */
a.gold-link{
  font-family: 'PristinaWeb','Pristina',cursive,serif;
  font-size: 1.25rem;
  color: #FFD700;
  text-decoration: none;
  text-shadow: 0 0 6px rgba(255,215,0,.5);
  transition: color .25s ease, text-shadow .25s ease, transform .25s ease;
  animation: goldGlow 2s infinite alternate;
}
a.gold-link:hover,
a.gold-link:focus{
  color: #fff;
  text-decoration: underline;
  text-shadow:
    0 0 10px rgba(255,215,0,1),
    0 0 20px rgba(255,215,0,.9),
    0 0 40px rgba(255,215,0,.7);
  transform: scale(1.05);
  outline: none;
}
/* =========================
   Two-column artwork layout
========================= */
.artwork-two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px){
  .artwork-two-col{ grid-template-columns: 1fr; }
}
.artwork-col-left,
.artwork-col-right{ min-width: 0; }

/* Video sizing to match image column */
.artwork-video{
  width: 100%;
  max-width: 500px; /* matches imgw-500 concept */
}
.artwork-video iframe,
.artwork-video > video {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  display: block;
}
/* =========================
   Welcoming video block
========================= */
.welcoming-video{
  text-align: center;
  margin: 2rem 0;
  font-family: 'PristinaWeb','Pristina',cursive,serif;
  font-size: 2rem;
}
.welcoming-video a{
  color: #FFD700;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(255,215,0,.7);
  animation: linkGlow 2s infinite alternate;
  transition: color .3s ease, text-shadow .3s ease, transform .3s ease;
}
.welcoming-video a:hover{
  color: #fff;
  text-shadow:
    0 0 10px rgba(255,215,0,1),
    0 0 20px rgba(255,215,0,.9),
    0 0 40px rgba(255,215,0,.8);
  transform: scale(1.05);
}
/* =========================
   Media grid (3-col responsive)
========================= */
.media-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  justify-items: center;
  margin: 2rem auto;
}
@media (max-width: 900px){
  .media-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .media-grid{ grid-template-columns: 1fr; }
}

.media-item{
  text-align: center;
  max-width: 260px; /* keeps the cell narrow even on huge screens */
}
.media-item img{
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
  margin: 0 auto;
}
.media-item a:hover img{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.45);
}
.media-item figcaption{
  margin-top: .5rem;
  font-family: 'PristinaWeb','Pristina',cursive,serif;
  font-size: 1.15rem;
  color: #FFD700;
}
.media-item a:focus-visible img{
  outline: 2px solid #FFD700;
  outline-offset: 3px;
}
/* =========================
   Animations
========================= */
@keyframes goldGlow{
  from{ text-shadow: 0 0 6px rgba(255,215,0,.5); }
  to  { text-shadow: 0 0 14px rgba(255,215,0,.9); }
}
@keyframes linkGlow{
  from{ text-shadow: 0 0 6px rgba(255,215,0,.5); }
  to  { text-shadow: 0 0 16px rgba(255,215,0,.9); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *:not(#g73-site-logo){ animation: none !important; transition: none !important; }
}


/* === variables.css === */
:root {
  --highlight-yellow: #FFFF33;
  --highlight-green: #00FF00;
  --highlight-gold: #FFD700;
  --text-white: #FFFFFF;
  --background-black: #000000;
  --accent-red: #FF4444;
  --accent-blue: #3366FF;
}
button.buy-now {
  background-color: var(--background-black);
  color: var(--text-white);
  border: none;
  font-size: 16px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}
button.buy-now:hover {
  background-color: var(--highlight-yellow);
  color: var(--background-black);
}
h1.heading-2 {
  margin-right: auto;
  margin-left: auto;
  max-width: 795px;
  box-shadow: rgba(0, 0, 0, .5) 5px 5px 10px 0 inset;
  text-align: center;
  text-shadow: #3c454f 5px 5px 5px;
}
h4.heading-1 {
  background-color: rgba(8, 8, 243, .8);
  color: #fff;
  text-align: center;
  font-weight: 700;
}
	.featured-heading {
	color:#FF0;
}
a {
  color: #FF0; /* Example color */
}
.featured-title {
  color: #FF0;
  font-family: 'Georgia', serif;
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.2;
}
.site-title {
  color: #909;             /* purple-ish */
  font-family: 'Georgia', serif;
  font-size: 1.75em;
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1.1;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 0.5em;
  text-shadow: 1px 1px 8px #fff9e0, 0 2px 6px #bfa14b33;
}


/* === fredericka-headings.css === */
/* Force Fredericka for page titles */
.page-title,
.artwork-title,
.article-page h1,
.article-page h2 {
  font-family: "Fredericka the Great", cursive !important;
  font-weight: 400;
}
/* === go-back.css === */
a {
  text-decoration: none;
  display: inline-block;
  padding: 8px 16px;
}
a:hover {
  background-color: #ddd;
  color: black;
}
.previous {
  background-color: #f1f1f1;
  color: black;
}
.next {
  background-color: #04AA6D;
  color: white;
}
.round {
  border-radius: 50%;
}
	


/* masonry.css — cleaned + wallpaper-safe */
/* ---------------------------------------------------------
   Base page styling (applies site-wide because this CSS loads
   globally via 2024-head.php). If you don't want that, move
   body/nav rules to core.css/layout.css.
   --------------------------------------------------------- */
body{
  margin: 0;
  background-color: #000;
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  padding-top: 70px; /* adjust to match fixed navbar height */
}
/* Fixed Navbar */
nav{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(6px);
}
/* ---------------------------------------------------------
   Legacy "column masonry" for existing gallery pages
   --------------------------------------------------------- */
.masonry{
  --gap: 12px;
  --cols: 4;
  column-count: var(--cols);
  column-gap: var(--gap);
  widows: 1;
  orphans: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}
/* Responsive column counts */
@media (max-width: 1200px){ .masonry{ --cols: 3; } }
@media (max-width: 900px){  .masonry{ --cols: 2; } }
@media (max-width: 600px){  .masonry{ --cols: 1; } }
.masonry a{
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 var(--gap);
  text-decoration: none;
}
.masonry img{
  width: 85%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(255,255,255,.15);
  transition: transform .18s ease, box-shadow .18s ease;
}
.masonry img:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,255,255,.35);
}
/* Medium screens */
@media (max-width: 900px){
  .masonry img{ width: 90%; }
}
/* Small screens */
@media (max-width: 600px){
  .masonry img{ width: 100%; }
}
/* ---------------------------------------------------------
   "CLICK" header styling
   --------------------------------------------------------- */
.click p{
  text-align: center;
  font-weight: bold;
  color: #FFD700;
  font-size: 1.4rem;
  letter-spacing: 2px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
  margin: 1rem 0;
  animation: pulseGlow 2s infinite;
  cursor: default;
}
.click p:hover{
  animation: none;
  text-shadow: 0 0 20px rgba(255, 215, 0, 1),
              0 0 40px rgba(255, 215, 0, 0.95),
              0 0 60px rgba(255, 215, 0, 0.85);
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}
@keyframes pulseGlow{
  0%{
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.7),
                 0 0 15px rgba(255, 215, 0, 0.5);
  }
  50%{
    text-shadow: 0 0 15px rgba(255, 215, 0, 1),
                 0 0 30px rgba(255, 215, 0, 0.9);
  }
  100%{
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.7),
                 0 0 15px rgba(255, 215, 0, 0.5);
  }
}
/* ---------------------------------------------------------
   Wallpaper page additions (centered pricing + grid override)
   --------------------------------------------------------- */
.wallpaper-wrap{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}
.wallpaper-pricing{
  max-width: 900px;
  margin: 1.25rem auto 1.75rem;
  text-align: center;
  color: #f5f5f5;
  font-size: 1.05rem;
  line-height: 1.6;
}
.wallpaper-pricing strong{ color: #FFD700; }

.wallpaper-pricing-note{
  margin-top: .5rem;
  font-size: .95rem;
  color: #ccc;
}
/* IMPORTANT: wallpaper-masonry must NOT behave like column masonry */
.wallpaper-masonry{
  column-count: initial !important;
  column-gap: initial !important;

  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  align-items: start;
}
/* Responsive grid tuning */
@media (min-width: 768px){
  .wallpaper-masonry{
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}
@media (min-width: 1200px){
  .wallpaper-masonry{
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}
.wallpaper-item{
  display: block;
  break-inside: initial !important;
  position: relative;
  margin: 0;
  border-radius: 10px;
  /* FIX: was overflow:hidden which clipped the checkbox overlay.
     Use overflow:visible so the checkbox isn't cut off, and clip
     only the image itself via the .wp-link rule below. */
  overflow: visible;
}
/* Clip the image to the rounded corners without clipping the checkbox */
.wallpaper-item .wp-link{
  display: block;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}
.wallpaper-item a{ display: block; }

/* Force full-width thumbs (beats .masonry img width:85%) */
.wallpaper-masonry img{
  width: 100% !important;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  transition: opacity .2s ease;
}

/* Dim + green outline when selected */
.wallpaper-item input[type="checkbox"]:checked ~ .wp-link img{
  opacity: 0.75;
}
.wallpaper-item input[type="checkbox"]:checked ~ .wp-link{
  outline: 3px solid #0BFB08;
  border-radius: 10px;
}

/* Checkbox overlay — sits in top-left corner of each image */
.wallpaper-item input[type="checkbox"]{
  position: absolute;
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  z-index: 10;
  cursor: pointer;
  accent-color: #0BFB08;
  /* Scale up slightly for easier tapping on mobile */
  transform: scale(1.25);
  transform-origin: top left;
}



/* ---------------------------------------------------------
   Add to Cart button
   --------------------------------------------------------- */
.wallpaper-masonry ~ div .wp-cart-btn,
button.wp-cart-btn{
  display: inline-block;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: bold;
  background: #FFD700;
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: .5px;
  transition: background .2s ease, transform .15s ease;
}

button.wp-cart-btn:hover{
  background: #ffe033;
  transform: translateY(-1px);
}

/* === darkframe.css === */
/* ===== Global Defaults ===== */
/* ===== Global Defaults ===== */
:root {
  --g73-darkframe-img: url("/images/frames/darkframe.png");
  --g73-darkframe-slice: 60;
  --g73-darkframe-repeat: round;

  /* NEW: define the gold once */
  --artwork-gold: #d4af37;
}

/* ===== Base Dark Frame (scoped to artwork pages) ===== */
.artwork-page .dark-frame {
  --imgw: 1000px;
  --frame: 20px;

  display: inline-block;
  border: var(--frame) solid transparent;
  border-image-source: var(--g73-darkframe-img);
  border-image-slice: var(--g73-darkframe-slice);
  border-image-repeat: var(--g73-darkframe-repeat);
  border-image-width: 1;
  background: #0b0b0b;
  box-shadow: 0 8px 28px rgba(0,0,0,.45),
              0 2px 8px rgba(0,0,0,.35);
}

.artwork-page .dark-frame img {
  width: var(--imgw);
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Utilities for quick widths ===== */
.artwork-page .imgw-400 { --imgw: 400px; }
.artwork-page .imgw-500 { --imgw: 500px; }
.artwork-page .imgw-600 { --imgw: 600px; }
.artwork-page .imgw-700 { --imgw: 700px; }
.artwork-page .imgw-800 { --imgw: 800px; }
.artwork-page .imgw-1000 { --imgw: 1000px; }

/* ===== Responsiveness ===== */
@media (max-width: 1024px) {
  .artwork-page .dark-frame { --frame: 18px; }
}
@media (max-width: 640px) {
  .artwork-page .dark-frame { --frame: 16px; }
}
/* ===== Typography for artwork pages ===== */
body.artwork-page .heading-2,
body.artwork-page figure .paragraph-price-desc {
  font-family: "Fredericka the Great", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--artwork-gold) !important;
  /* Optional niceties */
  letter-spacing: .2px;
  text-rendering: optimizeLegibility;
}

/* === lightframe.css === */
/* ===== Global Defaults ===== */
:root {
  --g73-lightframe-img:   url("/images/frames/lightframe.png");
  --g73-lightframe-slice: 60;
  --g73-lightframe-repeat: round;

  --artwork-gold: #d4af37; /* keep */
}

/* ===== Base Light Frame (scoped to artwork pages) ===== */
.artwork-page .light-frame {
  --imgw: 800px;   /* default image width */
  --frame: 20px;

  display: inline-block;
  border: var(--frame) solid transparent;
  border-image-source: var(--g73-lightframe-img);
  border-image-slice: var(--g73-lightframe-slice);
  border-image-repeat: var(--g73-lightframe-repeat);
  border-image-width: var(--frame);
  background: transparent; /* set to #f9f9f9 for a light “mat” if desired */
  box-shadow: 0 6px 24px rgba(0,0,0,.25), 0 2px 8px rgba(0,0,0,.2);
}

/* image inside the light frame */
.artwork-page .light-frame img {
  width: var(--imgw);
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Utilities for quick widths ===== */
/* These override --imgw on the SAME element that has .light-frame */
.artwork-page .light-frame.imgw-400  { --imgw: 400px; }
.artwork-page .light-frame.imgw-500  { --imgw: 500px; }
.artwork-page .light-frame.imgw-600  { --imgw: 600px; }
.artwork-page .light-frame.imgw-700  { --imgw: 700px; }
.artwork-page .light-frame.imgw-800  { --imgw: 800px; }
.artwork-page .light-frame.imgw-1000 { --imgw: 1000px; }

/* ===== Responsiveness ===== */
@media (max-width: 1024px) {
  .artwork-page .light-frame { --frame: 18px; }
}

@media (max-width: 640px)  {
  .artwork-page .light-frame { --frame: 16px; }
}

/* ===== Typography for artwork pages ===== */
body.artwork-page .heading-2,
body.artwork-page figure .paragraph-price-desc {
  font-family: "Fredericka the Great", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--artwork-gold) !important;
  letter-spacing: .2px;
  text-rendering: optimizeLegibility;
}




/* === frame.css === */
/* no rules needed — handled by darkframe.css and lightframe.css */

/* === footer.css === */
/* Footer Styling */
.site-footer {
  background: #050505;
  color: #aaa;
  margin-top: 0;
}

.site-footer .footer-inner {
  max-width: var(--g73-maxw, 1400px);
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

.site-footer p {
  margin: .35rem 0;
  font-size: .95rem;
}

.site-footer p:first-child {
  font-family: 'PristinaWeb','Pristina',cursive,serif;
  color: var(--g73-gold, #FFD700);
  margin: 0;
  font-size: 1rem;
}

.site-footer a {
  color: inherit;
  text-decoration: underline;
  transition: color .2s ease-in-out;
}
.site-footer a:hover {
  color: var(--g73-gold, #FFD700);
}

/* === blogs.css === */
/* ===== /css/blogs.css =====
   Blog index + post link styling to match Pristina gold theme
   (Pristina font loaded via /font/fonts.css)
*/

/* Container */
.blog-index{
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 0 1rem;
  text-align: center;
}

/* Title */
.blog-title{
  font-family: 'Pristina', cursive,serif;
  font-size: 2.25rem;
  line-height: 1.2;
  color: #FFD700;
  margin: 0 0 1rem;
  text-shadow: 0 0 8px rgba(255,215,0,.35);
}

/* List */
.blog-list{
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: .75rem;
}

/* Each row centers its contents */
.blog-list li{
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Links */
.blog-list a{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'PristinaWeb','Pristina',cursive,serif;
  font-size: 1.4rem;
  color: #FFD700;
  text-decoration: none;
  padding: .5rem 1rem;
  border-radius: .5rem;

  /* soft gold glow + pulse */
  text-shadow: 0 0 8px rgba(255,215,0,.7);
  animation: linkGlow 2s infinite alternate;

  /* motion/hover */
  transition: transform .25s ease, text-shadow .25s ease, color .25s ease;
}

.blog-list a:hover,
.blog-list a:focus-visible{
  color: #fff;
  text-shadow:
    0 0 10px rgba(255,215,0,1),
    0 0 20px rgba(255,215,0,.9),
    0 0 40px rgba(255,215,0,.8);
  transform: translateY(-1px) scale(1.02);
  outline: none;
}

/* Icons (Font Awesome) */
.blog-list i{
  font-size: 1.1em;
  color: #FFD700;
  flex: 0 0 auto;
}

/* “Coming soon” (non-link item) */
.blog-list .coming-soon{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: 'PristinaWeb','Pristina',cursive,serif;
  font-size: 1.25rem;
  color: rgba(255,215,0,.65);
  padding: .5rem 1rem;
}
/* Blog content inline links */
.blog-post a{
  color:#FFD700;
  text-decoration:none;
  font-family:'PristinaWeb','Pristina',cursive,serif;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.blog-post a:hover,
.blog-post a:focus{
  color:#fff;
  text-decoration:underline;
}

/* Subtle divider option (disabled by default) */
/*
.blog-list li + li{
  border-top: 1px dashed rgba(255,215,0,.15);
  padding-top: .75rem;
}
*/

/* Glow animation (reusable sitewide) */
@keyframes linkGlow{
  from{ text-shadow: 0 0 6px rgba(255,215,0,.5); }
  to  { text-shadow: 0 0 16px rgba(255,215,0,.9); }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .blog-list a{ animation: none; transition: none; }
}

/* Responsive tweaks */
@media (max-width: 600px){
  .blog-title{ font-size: 1.9rem; }
  .blog-list a{ font-size: 1.25rem; }
}
 


/* === 2024-style.css === */
/* ===============================
   2024-style.css  (site-wide)
   =============================== */

/* Global design tokens */
:root {
  --artwork-gold: #d4af37;
}

/* --------------------------------
   Base (keep your normal site font)
   -------------------------------- */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------
   Artwork pages ONLY (scoped)
   Titles + Captions use Fredericka
   -------------------------------- */

/* Captions under artwork figures */
html body.artwork-page figure .paragraph-price-desc {
  font-family: "Fredericka the Great", cursive !important;
  color: var(--artwork-gold) !important;
  letter-spacing: 0.2px;
  text-rendering: optimizeLegibility;
}

/* Primary artwork title.
   Works whether you keep just .heading-2
   or add .artwork-title in the markup. */
html body.artwork-page h1.heading-2,
html body.artwork-page .artwork-title {
  font-family: "Fredericka the Great", cursive !important;
  font-weight: 400 !important;            /* avoid bold fallback */
  color: var(--artwork-gold) !important;
  letter-spacing: 0.2px;
  text-rendering: optimizeLegibility;
  /* optional spacing tweaks */
  margin-block: 0.5rem 1rem;
}

/* Ensure links inside captions inherit the gold */
html body.artwork-page figure .paragraph-price-desc a {
  color: inherit;
  text-decoration-color: currentColor;
}

/* Small screens: keep titles readable */
@media (max-width: 640px) {
  html body.artwork-page h1.heading-2,
  html body.artwork-page .artwork-title {
    letter-spacing: 0.1px;
  }
}

/* Artwork watermark overlay */
.artwork-page .artwork-image-wrap {
  position: relative;
  display: inline-block;
}

.artwork-page .artwork-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem; /* adjust size as needed */
  font-weight: bold;
  color: rgba(255, 255, 255, 0.1); /* faint white */
  text-transform: uppercase;
  transform: rotate(-30deg); /* diagonal watermark */
  user-select: none;
  pointer-events: none; /* don’t block clicks */
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
  transition: color 0.3s ease;
}

/* Darker / more visible on hover */
.artwork-page .artwork-image-wrap:hover .artwork-overlay {
  color: rgba(255, 255, 0, 0.6); /* gold-ish, more opaque */
}
/* ===============================
   BODY LINKS — GOLD + TAPERED UNDERLINE (single source of truth)
   =============================== */
:where(main, article, .container, .content, .intro-text,
       .featured-artwork, .featured-item, footer, .site-footer) a {
  font-family: 'Pristina', 'Fredericka the Great', 'Open Sans', 'Roboto', cursive, sans-serif;
  font-size: 1.4rem;
  line-height: 1.4;
  color: #FFD700 !important;
  text-decoration: none !important;
  position: relative;
  transition: color .2s ease;
}

/* tapered underline: bright center, faded ends, very thin, close to text */
:where(main, article, .container, .content, .intro-text,
       .featured-artwork, .featured-item, footer, .site-footer) a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.05em;  /* sits close under text */
  width: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255,215,0,0)   0%,
    rgba(255,215,0,.45) 18%,
    #FFD700            50%,
    rgba(255,215,0,.45) 82%,
    rgba(255,215,0,0)  100%
  );
  box-shadow: 0 0 3px rgba(255, 215, 0, 0.45);
  transform: translateX(-50%);
  opacity: 0;
  transition: width .25s ease, opacity .25s ease;
  pointer-events: none;
}

:where(main, article, .container, .content, .intro-text,
       .featured-artwork, .featured-item, footer, .site-footer) a:hover,
:where(main, article, .container, .content, .intro-text,
       .featured-artwork, .featured-item, footer, .site-footer) a:focus {
  color: #FFD700 !important;
  background: transparent !important;
  text-decoration: none !important;
}

:where(main, article, .container, .content, .intro-text,
       .featured-artwork, .featured-item, footer, .site-footer) a:hover::after,
:where(main, article, .container, .content, .intro-text,
       .featured-artwork, .featured-item, footer, .site-footer) a:focus::after {
  width: 58%;
  opacity: 1;
}

/* Exclude button-like links from the underline */
:where(main, article, .container, .content, .intro-text,
       .featured-artwork, .featured-item, footer, .site-footer)
  a.btn, a.button, a.goback-outline, a.no-underline {
  text-decoration: none !important;
}
:where(main, article, .container, .content, .intro-text,
       .featured-artwork, .featured-item, footer, .site-footer)
  a.btn::after, a.button::after, a.goback-outline::after, a.no-underline::after {
  display: none !important;
}
/* Container for protected, watermarked artwork */
.g73-protect.g73-watermarked {
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal watermark overlay */
/* Container for protected, watermarked artwork */
.g73-protect.g73-watermarked {
  position: relative;
  overflow: hidden;
}

/* Bold diagonal watermark overlay — Broadway Regular */
.g73-protect.g73-watermarked::after {
  content: "© Dennis R. Ling";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  /* FONT & WEIGHT */
  font-family: "Broadway Regular", "Broadway", "Impact", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;

  /* SIZE — larger and more visible */
  font-size: clamp(2rem, 6vw, 4.5rem);

  /* VISIBILITY / STYLE */
  color: rgba(255, 255, 255, 0.08);
  /*text-shadow:
    0 0 4px rgba(0, 0, 0, 0.8),
    0 0 14px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(0, 0, 0, 0.45);*/

  transform: rotate(-22deg);
  pointer-events: none;
}

/* Softer watermark on very small screens */
@media (max-width: 600px) {
  .g73-protect.g73-watermarked::after {
    font-size: clamp(1.2rem, 8vw, 2.5rem);
    color: rgba(255, 255, 255, 0.16);
  }
}

/* ===============================
   NAVBAR LINKS — MATCH BODY STYLE (slimmer, same taper)
   =============================== */
.g73-nav a,
.g73-nav__dd-toggle,
.g73-nav__dd-menu a {
  position: relative;
  color: #FFD700 !important;
  text-decoration: none !important;
  border-bottom: none !important;       /* kill legacy underline/border */
  background: transparent !important;   /* kill legacy hover backgrounds */
}

.g73-nav a::after,
.g73-nav__dd-toggle::after,
.g73-nav__dd-menu a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.12em;  /* close under nav text; tweak -0.08em to -0.12em to taste */
  width: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255,215,0,0)   0%,
    rgba(255,215,0,.45) 18%,
    #FFD700            50%,
    rgba(255,215,0,.45) 82%,
    rgba(255,215,0,0)  100%
  );
  box-shadow: 0 0 3px rgba(255, 215, 0, 0.45);
  transform: translateX(-50%);
  opacity: 0;
  transition: width .25s ease, opacity .25s ease;
}

/* hover: same taper, just shorter so the nav stays tidy */
.g73-nav a:hover::after,
.g73-nav__dd-toggle:hover::after,
.g73-nav__dd-menu a:hover::after {
  width: 42%;
  opacity: 1;
}

/* defensive — block any old hover style that may still leak in */
.g73-nav a:hover,
.g73-nav__dd-toggle:hover,
.g73-nav__dd-menu a:hover {
  color: #FFD700 !important;
  background: transparent !important;
  border-bottom: none !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  :where(main, article, .container, .content, .intro-text,
         .featured-artwork, .featured-item, footer, .site-footer) a::after,
  .g73-nav a::after,
  .g73-nav__dd-toggle::after,
  .g73-nav__dd-menu a::after {
    transition: none !important;
  }
}
/* ===============================
   TAPERED UNDERLINES (with mask) — FINAL OVERRIDE
   =============================== */

/* Universal: keep gold on hover/focus; kill old white hover/bg/borders */
:where(main, article, .container, .content, .intro-text,
       .featured-artwork, .featured-item, footer, .site-footer) a,
.g73-nav a, .g73-nav__dd-toggle, .g73-nav__dd-menu a {
  color: #FFD700 !important;
  text-decoration: none !important;
  background: transparent !important;
  border-bottom: none !important;
  position: relative;
}

/* ===== BODY LINKS ===== */
:where(main, article, .container, .content, .intro-text,
       .featured-artwork, .featured-item, footer, .site-footer) a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.06em;              /* sits very close under text */
  width: 0;
  height: 2px;                  /* thin but visible */
  background: currentColor;     /* gold */
  border-radius: 999px;         /* rounded ends (pill) */
  box-shadow: 0 0 3px rgba(255,215,0,.45); /* soft glow */
  transform: translateX(-50%);
  opacity: 0;
  transition: width .22s ease, opacity .22s ease;

  /* FADED (TAPERED) ENDS via mask; with webkit fallback */
  -webkit-mask-image: linear-gradient(90deg,
      transparent 0%,
      #000 16%,
      #000 84%,
      transparent 100%);
  mask-image: linear-gradient(90deg,
      transparent 0%,
      #000 16%,
      #000 84%,
      transparent 100%);
}

:where(main, article, .container, .content, .intro-text,
       .featured-artwork, .featured-item, footer, .site-footer) a:hover::after,
:where(main, article, .container, .content, .intro-text,
       .featured-artwork, .featured-item, footer, .site-footer) a:focus::after {
  width: 58% !important;  /* length of the underline */
  opacity: 1 !important;
}

/* ===== NAVBAR LINKS (match body, slightly shorter) ===== */
.g73-nav a::after,
.g73-nav__dd-toggle::after,
.g73-nav__dd-menu a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.10em;             /* tune: -0.08em .. -0.12em for your font */
  width: .1rem;
  height: 2px;
  background: currentColor;     /* gold */
  border-radius: 999px;         /* rounded ends */
  box-shadow: 0 0 4px rgba(255,215,0,.4);
  transform: translateX(-50%);
  opacity: 0;
  transition: width .22s ease, opacity .22s ease;

  -webkit-mask-image: linear-gradient(90deg,
      transparent 0%,
      #000 16%,
      #000 84%,
      transparent 100%);
  mask-image: linear-gradient(90deg,
      transparent 0%,
      #000 16%,
      #000 84%,
      transparent 100%);
}

.g73-nav a:hover::after,
.g73-nav__dd-toggle:hover::after,
.g73-nav__dd-menu a:hover::after {
  width: 80% !important;  /* a bit shorter in the nav so it stays tidy */
  opacity: 1 !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  :where(main, article, .container, .content, .intro-text,
         .featured-artwork, .featured-item, footer, .site-footer) a::after,
  .g73-nav a::after, .g73-nav__dd-toggle::after, .g73-nav__dd-menu a::after {
    transition: none !important;
  }
}
/* Hide any hardcoded DIGITAL COPYRIGHT text */
.artwork-frame [title*="DIGITAL COPYRIGHT"] {
  position: relative;
}

/* Remove tooltip effect */
.artwork-frame [title*="DIGITAL COPYRIGHT"]::before {
  content: none !important;
}

/* Diagonal overlay watermark */
.artwork-frame::after {
  content: "ARTWORK COPYRIGHT © ENFORCED";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg); /* bottom-left → top-right */
  font-family: "Fredericka the Great", cursive;
  font-weight: 700;
  font-size: 2rem;                 /* bigger text */
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);   /* lighter opacity white */
  /*text-shadow: 0 2px 4px rgba(0,0,0,.5);*/
  pointer-events: none;
  white-space: nowrap;
  transition: color 0.3s ease, opacity 0.3s ease;
}

/* Gold highlight on hover */
.artwork-frame:hover::after {
  color: rgba(212,175,55,0.9); /* gold, stronger opacity */
}


/* === nav.css === */
/* ===========================
   nav.css — MOBILE WORKING + DESKTOP DROPDOWNS RESTORED (HARDENED)
   =========================== */

/* Base look */
.g73-nav,
.g73-nav a,
.g73-nav__dd-toggle{
  font-family: 'Pristina','Fredericka the Great','Open Sans','Roboto',cursive,sans-serif;
  color: #FFD700;
  text-decoration: none;
  font-size: 1.5rem;
  line-height: 1.3;
}

/* Bar */
.g73-nav{
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
  background: rgba(0,0,0,.75);

  /* HARDEN: prevent other CSS from clipping dropdowns */
  overflow: visible !important;
  isolation: isolate;
}

.g73-nav__inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: .25rem .75rem;
  position: relative;
  overflow: visible !important;
}

/* Hamburger hidden on desktop by default */
.g73-nav__toggle{
  display: none;
  background: transparent;
  color: #FFD700;
  border: 1px solid rgba(255,215,0,.35);
  border-radius: 6px;
  padding: .35rem .6rem;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* Desktop row */
.g73-nav__links{
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 60px;

  /* HARDEN: allow dropdowns to spill out */
  position: relative;
  overflow: visible !important;
}

.g73-nav__links > a,
.g73-nav__dd-toggle{
  padding: .5rem .6rem;
  white-space: nowrap;
}

.g73-nav__logo img{
  display: block;
  height: 36px;
  width: auto;
}

/* Dropdown wrapper + toggle */
.g73-nav__dd{
  position: relative;
  overflow: visible !important;
}

.g73-nav__dd-toggle{
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

/* Dropdown menu (shared base) */
.g73-nav__dd-menu{
  /* We control visibility by display. Neutralize older opacity/visibility rules. */
  display: none;

  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;

  background: rgba(0,0,0,.95);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  z-index: 10001;
}

.g73-nav__dd-menu a{
  display: block;
  padding: .45rem .85rem;
  color: #FFD700;
}

/* ===========================
   DESKTOP: restore dropdowns
   =========================== */
@media (min-width: 901px){

  .g73-nav__toggle{ display: none; }

  /* Desktop positioning */
  .g73-nav__dd-menu{
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    padding: .5rem 0;
  }

  /* Open on hover */
  .g73-nav__dd:hover > .g73-nav__dd-menu{
    display: block !important;
  }

  /* Open on keyboard focus */
  .g73-nav__dd:focus-within > .g73-nav__dd-menu{
    display: block !important;
  }

  /* Open when JS toggles aria-expanded (click works too) */
  .g73-nav__dd-toggle[aria-expanded="true"] + .g73-nav__dd-menu{
    display: block !important;
  }
}

/* ===========================
   MOBILE: hamburger opens a vertical drop-down (no gaps) — KEEPING YOUR WORKING VERSION
   =========================== */
@media (max-width: 900px){

  /* show hamburger */
  .g73-nav__toggle{
    display: inline-flex !important;
    background: transparent !important;
    color: #FFD700 !important;
    border: 1px solid rgba(255,215,0,.35) !important;
    border-radius: 6px !important;
    padding: .35rem .6rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  /* hide desktop row */
  .g73-nav__links{
    display: none !important;
  }

  /* open state: normal document flow (no absolute) */
  .g73-nav.g73-nav--open .g73-nav__links{
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: .15rem !important;

    background: rgba(0,0,0,.92) !important;
    padding: .45rem .35rem !important;
    border-top: 1px solid rgba(255,215,0,.15) !important;

    max-height: calc(100vh - 60px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* full-width tap targets */
  .g73-nav.g73-nav--open .g73-nav__links > a,
  .g73-nav.g73-nav--open .g73-nav__dd-toggle{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* caret to right */
    width: 100% !important;
    padding: .55rem .7rem !important;
    font-size: 1.2rem !important;
    white-space: normal !important;
  }

  /* dropdown blocks stack */
  .g73-nav.g73-nav--open .g73-nav__dd{
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* mobile dropdown menus: display none/block (works for nested Wallpaper) */
  .g73-nav.g73-nav--open .g73-nav__dd-menu{
    position: static !important;
    display: none !important;
    margin: .1rem .4rem .35rem !important;
    padding: .25rem 0 .25rem .85rem !important;
    background: rgba(255,255,255,.05) !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    min-width: 0 !important;
  }

  .g73-nav.g73-nav--open .g73-nav__dd-toggle[aria-expanded="true"] + .g73-nav__dd-menu{
    display: block !important;
  }

  .g73-nav.g73-nav--open .g73-nav__dd-menu a{
    display: block !important;
    padding: .45rem .5rem !important;
    font-size: 1.1rem !important;
  }

  /* nested submenu (Wallpaper) */
  .g73-nav.g73-nav--open .g73-nav__dd--sub .g73-nav__dd-menu{
    padding-left: 1.1rem !important;
    background: rgba(255,255,255,.04) !important;
  }

  /* logo smaller */
  .g73-nav__logo img{ height: 30px; }

  /* optional: highlight hamburger when open */
  .g73-nav.g73-nav--open .g73-nav__toggle{
    background: rgba(255,215,0,0.10) !important;
  }
}

