/* Color variables  */
:root {
  --ink: #ffffff;         /* washed charcoal / sun-baked asphalt */
  --paper: #d2b48c;       /* tan / surfboard wax color */
  --paper-2: #ffffff;     /* white */
  --cream: #f9f6ef;       /* faded surf tee white */
  --accent: #ff6f61;      /* sunburn coral / sunset pink */
  --link: #009688;        /* seafoam teal */
  --heart-pink: #f7a3c1;  /* vintage pink decal color */
  --menu-blue: #99d9ff;   /* light ocean blue */
  --menu-yellow: #ffe066; /* mellow surfboard yellow */

}



* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: "Courier New", Courier, monospace;
  text-rendering: optimizeLegibility;
}

/* Constrain center stage */
.stage {
  max-width: 1024px;
  margin: 28px auto 64px;
  padding: 0 16px;
}

/* Big, punchy title at top */
.site-title {
  text-align: center;
  font-size: clamp(28px, 5vw, 64px);
  letter-spacing: 2px;
  margin: 8px 0 12px;
  font-weight: 700;
  color: #d7f3ff;
  text-shadow: 0 2px 0 rgba(0,0,0,.6);
}



.banner{
  background:#fff;
  color: var(--ink);
  border:none;
  padding:18px 12px 24px;
  text-align:center;
}

/* Logo swap inside the banner */
.logo-wrap{
  position:relative;
  display:inline-block;
  margin:0 auto 8px;
}
.logo{
  display:block;
  width:min(980px, 92vw);
  height:auto;
}
/* .logo.hover{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .25s ease;
}
.logo-wrap:hover .logo.hover {
  opacity: 1; /* fade only when the logo area is hovered */
} */

.logo {
  display: block;
  width: min(980px, 92vw);
  height: auto;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-wrap:hover .logo {
  filter: drop-shadow(0 0 12px #ff6f61) drop-shadow(0 0 24px #fff);
  transform: scale(1.02);
}




/* Thin marquee-style line */
.kicker {
  margin: 6px auto 18px;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--accent);
}

/* split image area */
.hero-frame {
  background: #fff;
  border: 8px solid var(--paper-2);
  margin: 0 auto 18px;
  overflow: hidden;
}
.hero-img {
  display: block;
  width: 100%;
  height: auto;
}

/* URL text  */
.sitename {
  text-align: center;
  font-size: clamp(22px, 4vw, 40px);
  color: #fff;
  letter-spacing: 2px;
  margin: 12px 0 8px;
}



/* === Enter button image === */
.enter-btn {
  display: block;
  width: 120px;
  height: 120px;
  margin: 20px auto 0;
  background-image: url("img/enter.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.1s ease-in-out;
}

.enter-btn:hover {
  transform: scale(2.05);
}

.enter-btn:active {
  transform: scale(0.95);
}

/* Footer note */
.footer-note{
  color: #aaa;
  font-size: 14px;
  text-align: center;
  margin: 18px 0 0;
}

a { color: var(--link); }
a:hover { text-decoration: none; }

/* Mobile niceties */
@media (max-width: 560px){
  .banner{ padding: 14px 10px 22px; border-width: 6px; }
  .hero-frame{ border-width: 6px; }
  .heart-btn { --size: 64px; }
}

/* Utility helpers */
.center { text-align: center; }
.smallcaps { font-variant: small-caps; letter-spacing: 1px; }

/* ===== Menu page ===== */
.unstyled { color: inherit; text-decoration: none; }

.menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  max-width: 620px;
  margin: 8px auto 12px;
  text-align: left;
}

.menu-col {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 2.4vw, 28px);
  color: var(--menu-blue);
  text-decoration: none;
  font-weight: 700;

}

.menu-link:hover {
  color: var(--menu-yellow);
  transform: translateY(-1px);
}


/* Matching peace icon on the right side */
.menu-link .pe::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 26px; height: 26px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'>\
    <circle cx='50' cy='50' r='45' stroke='%23000' stroke-width='8' fill='%23f7a3c1' />\
    <line x1='50' y1='10' x2='50' y2='90' stroke='%23000' stroke-width='10' />\
    <line x1='50' y1='50' x2='18' y2='82' stroke='%23000' stroke-width='10' />\
    <line x1='50' y1='50' x2='82' y2='82' stroke='%23000' stroke-width='10' />\
  </svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.menu-link .pe {
  position: relative;
  padding: 0 34px; /* instead of padding-left only */
}




/* Small peace icon bullet */

/*
.menu-link .pe {
  position: relative;
  padding-left: 34px;
}
.menu-link .pe::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 26px; height: 26px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'>\
    <circle cx='50' cy='50' r='45' stroke='%23000' stroke-width='8' fill='%23f7a3c1' />\
    <line x1='50' y1='10' x2='50' y2='90' stroke='%23000' stroke-width='10' />\
    <line x1='50' y1='50' x2='18' y2='82' stroke='%23000' stroke-width='10' />\
    <line x1='50' y1='50' x2='82' y2='82' stroke='%23000' stroke-width='10' />\
  </svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
*/

/* Emphasis helpers */
.menu-link.accent { color: var(--accent); }
.menu-link.hot .pe::before {
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.4));
}

.menu-link .pe {
  position: relative;
  display: inline-block;
}

.menu-link .pe::before,
.menu-link .pe::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 55px;
  height: 55px;
  transform: translateY(-50%) scale(0.8);
  opacity: 0;
  background-image: url("img/burningpeace.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  filter: drop-shadow(0 0 1px rgba(0,0,0,.35));
}

.menu-link .pe::before { left: -28px; }
.menu-link .pe::after  { right: -28px; }

.menu-link:hover .pe::before,
.menu-link:hover .pe::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* Mailing mini form (purely decorative placeholder) */
.mailing {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  max-width: 520px;
  margin: 18px auto 0;
  font-size: 14px;
}
.mailing input {
  padding: 10px 12px;
  border: 2px solid var(--paper-2);
  border-radius: 2px;
}
.mailing button {
  padding: 10px 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

/* Responsive menu layout */
@media (max-width: 700px) {
  .menu { grid-template-columns: 1fr; gap: 12px; }
}

/* ===== Simplified single-column menu ===== */
.menu.single {
  grid-template-columns: 1fr;
  text-align: center;
}
.menu.single .menu-col {
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu.single .menu-link {
  font-size: clamp(22px, 3vw, 34px);
  margin: 10px 0;
}

/* Wipe overlay */
.page-wipe {
  position: fixed; inset: 0; background:#fff; pointer-events:none;
  transform: translateY(-100%); transition: transform .50s ease;
  z-index: 9999;
}
.page-wipe.active { transform: translateY(0); }       /* slide in (cover) */
html.is-loading .page-wipe { transform: translateY(100%); } /* slide out on new page */

/* ===== Page transitions: Full-screen Swirl ===== */
.mw-swirl {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  transform: scale(0.01) rotate(0deg);
  opacity: 0;
  transition: transform .55s ease, opacity .20s ease;
  background-size: 220vmax 220vmax;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'>\
    <rect width='1000' height='1000' fill='white'/>\
    <path d='M500,500 m0,-380 a380,380 0 1,1 -0.1,0 z \
             M500,500 m0,-330 a330,330 0 1,0 0.1,0 z \
             M500,500 m0,-280 a280,280 0 1,1 -0.1,0 z \
             M500,500 m0,-230 a230,230 0 1,0 0.1,0 z \
             M500,500 m0,-180 a180,180 0 1,1 -0.1,0 z \
             M500,500 m0,-130 a130,130 0 1,0 0.1,0 z \
             M500,500 m0,-80  a80,80  0 1,1 -0.1,0 z' \
          fill='none' stroke='%23ffe066' stroke-width='22' stroke-linecap='round'/>\
  </svg>");
}

/* On page exit: swirl expands to cover */
.mw-swirl.active {
  opacity: 1;
  transform: scale(3.4) rotate(360deg);
}

/* On new page load: swirl retracts */
html.is-loading .mw-swirl {
  opacity: 0;
  transform: scale(0.01) rotate(-180deg);
  transition: transform .50s ease, opacity .30s ease;
}

/* Optional color tweak — change swirl color */
:root {
  --swirl-stroke: #ff6f61; /* coral tone, optional */
}

/* ===== Scrolling banner (ticker) ===== */
.ticker-wrap {
  position: fixed;
  top: 0;          /* <-- move it to the top */
  left: 0;
  width: 100%;
  background: #99d9ff;
  color: #000;
  font-family: "Comic Sans MS", "Comic Sans", "Chalkboard SE", cursive;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  padding: 6px 0;  /* slightly more breathing room */
  overflow: hidden;
  white-space: nowrap;
  z-index: 9000;   /* sits ABOVE the doodle */
  border-bottom: 3px solid #000; /* use bottom border instead of top */
}


.ticker {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-move 20s linear infinite;
}

@keyframes ticker-move {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* optional: pause on hover */
.ticker-wrap:hover .ticker {
  animation-play-state: paused;
  cursor: default;
}

/* ===== Paintings catalog ===== */
.catalog {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 28px;                 /* space between items */
}

.art-card {
  border-top: none;   /* retro line separators */
  padding-top: 0;
}

.art-img {
  display: block;
  margin: 0 auto 10px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 2px 0 rgba(0,0,0,.15);
}

.art-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 4px;
  align-items: baseline;
  justify-content: space-between;
  max-width: 820px;
  margin: 0 auto 10px;
  color: var(--accent);
}

.art-title { font-weight: 700; }
.art-size  { font-size: 14px; opacity: .8; }
.art-price { grid-column: 2; font-weight: 700; }

/* PayPal button wrapper */
.buy {
  display: flex;
  justify-content: center;
  margin: 10px 0 8px;
}

.buy-btn {
  appearance: none;
  border: 2px solid #000;
  background: #ffec99;            /* mellow yellow */
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .05s ease, filter .15s ease;
}
.buy-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.buy-btn:active { transform: translateY(0); }

@media (max-width: 560px){
  .art-meta { grid-template-columns: 1fr; }
  .art-price { grid-column: 1; }
}

/* ===== Floating top banner (paintings page and others) ===== */
:root {
  --topbar-h: 86px; /* adjust height if your logo art is taller/shorter */
}

.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 8000;
  background: #fff;
  border-bottom: 3px solid #000;     /* retro line */
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--topbar-h);
  padding: 6px 10px;
}

/* smaller logo for topbar */
.topbar .logo.top {
  display: block;
  height: calc(var(--topbar-h) - 18px); /* leave a little vertical padding */
  width: auto;
  transition: filter 0.3s ease, transform 0.2s ease;
}

/* glow on hover (logo only) */
.topbar .logo-link:hover .logo.top {
  filter: drop-shadow(0 0 12px #ff6f61) drop-shadow(0 0 24px #fff);
  transform: scale(1.02);
}

/* push page content below fixed banner so it doesn't sit underneath it */
body { padding-top: var(--topbar-h); }

/* mobile tweak: slightly shorter bar */
@media (max-width: 560px) {
  :root { --topbar-h: 74px; }
}

/* ===== Floating logo (no banner background) ===== */
.floating-logo {
  position: fixed;
  top: 16px; /* adjust spacing from top edge */
  left: 50%;
  transform: translateX(-50%);
  z-index: 8000;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.floating-logo-img {
  height: 70px;           /* smaller version of your main logo */
  width: auto;
  transition: filter 0.3s ease, transform 0.2s ease;
}

/* Glow on hover */
.floating-logo:hover .floating-logo-img {
  filter: drop-shadow(0 0 12px #ff6f61) drop-shadow(0 0 24px #fff);
  transform: scale(1.03);
}


/* ===== Flash gallery ===== */
.flash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;              /* no outer margin */
  padding: 0;             /* no inner padding */
  width: 100vw;           /* full viewport width */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;     /* cancel any parent centering */
  margin-right: -50vw;
}

/* Make images truly edge-to-edge with no whitespace artifacts */
.flash-img {
  display: block;
  width: 100%;
  height: auto;               /* preserve original aspect ratios */
  margin: 0;
  line-height: 0;             /* avoids stray inline gaps on some browsers */
}

/* Mobile: 1 per row */
@media (max-width: 700px) {
  .flash-grid { grid-template-columns: 1fr; }
}


/* Random doodle in menu header */
.doodle-wrap {
  text-align: center;
  margin: 8px 0 10px;
}

.doodle-img {
  display: inline-block;
  width: min(220px, 60vw);  /* size it down a bit from the index logo */
  height: auto;
}

/* ===== Animation page ===== */
.animation-block {
  max-width: 860px;
  margin: 0 auto;
  border-top: 3px solid #000; /* keeps the retro separators */
  padding-top: 20px;
}

.video-wrap.simple {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  overflow: hidden;
  border: 6px solid #000;
  background: #000;
}

.video-wrap.simple iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
  filter: grayscale(0.1) contrast(1.05);
  transition: filter .3s ease;
}

.video-wrap.simple:hover iframe {
  filter: brightness(1.1) contrast(1.2);
}

/* ===== Shirt layout ===== */
.shirt-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 20px;
  border-top: 3px solid #000;
  padding-top: 20px;
}

.shirt-main img {
  width: 100%;
  height: auto;
  display: block;
  border: 8px solid var(--paper-2);
  background: #fff;
}

.shirt-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shirt-details img {
  width: 100%;
  height: auto;
  display: block;
  border: 6px solid var(--paper-2);
  background: #fff;
}

/* Mobile: stack everything */
@media (max-width: 700px) {
  .shirt-layout {
    grid-template-columns: 1fr;
  }
  .shirt-details {
    flex-direction: row;
    justify-content: space-between;
  }
  .shirt-details img {
    width: 48%;
  }
}

/* ===== Shirt layout sizing polish ===== */
.shirt-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 20px;
  border-top: 3px solid #000;
  padding-top: 20px;
}

.shirt-main img,
.shirt-details img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border-color: #000;            /* make borders visible on white */
}

/* Keep the hero image big but not overwhelming */
.shirt-main img {
  border: 8px solid #000;
  max-height: 70vh;              /* <= key: don’t exceed 70% of viewport height */
  object-fit: contain;           /* preserve artwork */
}

/* Details column */
.shirt-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.shirt-details img {
  border: 6px solid #000;
}

/* Mobile stack */
@media (max-width: 700px) {
  .shirt-layout { grid-template-columns: 1fr; }
  .shirt-details { flex-direction: row; gap: 12px; }
  .shirt-details img { width: 48%; }
}

/* Remove border from the hero shirt image */
.shirt-main img {
  border: none !important;
  /*max-height: 70vh; */
  object-fit: contain;
}

/* Keep detail image borders, but make them smaller */
.shirt-details img {
  border: 4px solid #000 !important;
  width: 85%; /* slightly smaller */
  margin: 0 auto; /* centers inside their column */
}

/* Give a little breathing on desktop */
.shirt-details {
  align-items: center;
}

/* Mobile adjustments */
@media (max-width: 700px) {
  .shirt-details img {
    width: 42%;
  }
}

/* Make the hero shirt image match the height of the detail stack */
.shirt-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.shirt-main,
.shirt-details {
  height: 100%;
}

.shirt-main img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

/* Reduce detail image heights slightly for breathing room */
.shirt-details img {
  height: 48%;
  width: 100%;
  object-fit: contain;
}

/* ===== Two-image shirts: front + back with shared info ===== */
.shirt-row {
  max-width: 1100px;
  margin: 24px auto 0;
  border-top: 3px solid #000;
  padding-top: 20px;
}

.shirt-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.shirt-images img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
 /*  border: 6px solid #000;    frame around each photo */
}

/* shared info row under both images */
.shirt-info {
  max-width: 900px;
  margin: 10px auto 0;
  row-gap: 4px;
}

/* Mobile: stack the images */
@media (max-width: 700px) {
  .shirt-images {
    grid-template-columns: 1fr;
  }
}

/* Make shirt info one stacked block instead of grid columns */
.shirt-info {
  display: block;              /* override .art-meta grid */
  max-width: 900px;
  margin: 14px auto 0;
  text-align: center;
}

.shirt-info .art-title,
.shirt-info .art-size,
.shirt-info .art-price {
  display: block;              /* each on its own line */
  margin: 0;
}

/* tiny spacing + emphasis */
.shirt-info .art-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.shirt-info .art-size {
  margin-bottom: 2px;
}

.shirt-info .art-price {
  font-weight: 700;
  margin-bottom: 6px;
}

.shirt-info .art-notes {
  margin: 0;
}

body {
  padding-top: 40px; /* adjust if needed */
}

/* Paintings page: push content below ticker + floating logo */
body.has-floating-logo {
  padding-top: 140px; /* tweak: 130–170 depending on taste */
}
/* =========================================================
   Paintings page add-on: click-to-fullscreen viewer
   (non-destructive to rest of site)
   ========================================================= */

/* Fullscreen overlay */
.fs-viewer{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 10000; /* above swirl + logo */
}
.fs-viewer.active{
  opacity: 1;
  pointer-events: auto;
}
.fs-img{
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  cursor: zoom-out;
}

/* Optional: make paintings feel clickable */
.catalog .art-img { cursor: zoom-in; }
