/* Fresh Off the Saw: crew uploads (js/fresh.js) */
.fr-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.fr-card { background: var(--white); border: 1px solid var(--gray-300); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.fr-card[hidden] { display: none; }
.fr-open { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--near-black); cursor: zoom-in; overflow: hidden; }
.fr-open img, .fr-open video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.fr-open:hover img, .fr-open:focus-visible img { transform: scale(1.04); }
.fr-open:focus-visible { outline: 3px solid var(--cedar); outline-offset: -3px; }
.fr-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(0,0,0,.55); border: 2px solid #fff; }
.fr-play::after { content: ""; position: absolute; left: 22px; top: 16px; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.fr-count { position: absolute; right: 8px; top: 8px; background: rgba(0,0,0,.7); color: #fff; font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.fr-count::before { content: "1 / "; opacity: .7; }
.fr-meta { padding: .75rem .9rem .9rem; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; font-size: .85rem; }
.fr-tag { background: var(--pine); color: #fff; font-weight: 700; padding: .15rem .55rem; border-radius: 4px; font-size: .78rem; }
.fr-stage { background: var(--gray-100); color: var(--pine); font-weight: 700; padding: .15rem .5rem; border-radius: 4px; font-size: .75rem; }
.fr-meta time { color: var(--gray-600); margin-left: auto; font-size: .8rem; }
.fr-meta p { flex-basis: 100%; margin: .2rem 0 0; color: var(--near-black); line-height: 1.4; }
.fr-noimg { display: block; width: 100%; height: 100%; background: var(--near-black); }

.fr-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 1.6rem; }
.fr-filters button { font: inherit; font-weight: 600; font-size: .9rem; padding: .5rem 1rem; border-radius: 99px; border: 1.5px solid var(--gray-300); background: var(--white); color: var(--near-black); cursor: pointer; }
.fr-filters button[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }
.fr-empty { text-align: center; color: var(--gray-600); padding: 2rem 1rem; }
.fr-morewrap { text-align: center; margin-top: 1.8rem; }
.fr-live { display: inline-flex; align-items: center; gap: .45rem; }
.fr-live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #4caf50; box-shadow: 0 0 0 0 rgba(76,175,80,.6); animation: frpulse 1.8s infinite; }
@keyframes frpulse { 70% { box-shadow: 0 0 0 9px rgba(76,175,80,0); } 100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); } }
@media (prefers-reduced-motion: reduce) { .fr-live::before { animation: none; } .fr-open img { transition: none; } }
.fr-strip .section-header a { color: var(--pine); font-weight: 700; text-decoration: underline; }

.fr-lb { width: min(100vw, 1100px); max-width: 100vw; max-height: 100vh; height: 100%; margin: auto; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.fr-lb::backdrop { background: rgba(10,10,10,.92); }
.fr-lb[open] { display: flex; flex-direction: column; }
.fr-stagebox { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 56px 12px 8px; }
.fr-stagebox img, .fr-stagebox video { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; background: #000; }
.fr-cap { padding: .6rem 16px calc(1rem + env(safe-area-inset-bottom)); text-align: center; display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.fr-cap span, .fr-cap small { color: #cfc8bd; font-size: .85rem; }
.fr-cap p { margin: .2rem 0; max-width: 60ch; }
.fr-cap .btn { margin-top: .5rem; }
.fr-x { position: absolute; top: 10px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.fr-nav { position: absolute; top: 45%; z-index: 2; width: 46px; height: 64px; border: 0; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; font-size: 38px; cursor: pointer; }
.fr-prev { left: 8px; } .fr-next { right: 8px; }
.fr-nav[hidden] { display: none; }
@media (max-width: 600px) { .fr-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .fr-meta p { font-size: .8rem; } .fr-meta time { margin-left: 0; } }

/* 2026-11-25: walk-through clip (custom-carvings) + yard photo (about) */
.walk-video, .yard-photo { margin: 0 auto; max-width: 900px; }
.walk-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: #1b1410; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.yard-photo img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.2); }
.walk-video figcaption { margin-top: 10px; font-size: .88rem; font-weight: 600; color: var(--gray-600); text-align: center; }

/* 2026-11-25: listings for sale + piece pages */
.fr-title { flex-basis: 100%; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.25; color: var(--black); }
.fr-title:hover { color: var(--pine); text-decoration: underline; }
.fr-price { font-weight: 800; color: var(--pine); font-size: 1rem; margin-right: auto; }
.fr-price.is-sold { color: #a33; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.fr-soldtag { position: absolute; left: -34px; top: 16px; transform: rotate(-35deg); background: #a33; color: #fff; font-weight: 800; letter-spacing: .12em; font-size: .78rem; padding: 4px 40px; text-transform: uppercase; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.fr-lbprice { color: var(--cedar) !important; font-weight: 800; font-size: 1.15rem !important; }
.fr-shop .fr-grid { margin-top: .5rem; }

.pc { padding-top: 2rem; }
.pc-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.4rem; align-items: start; }
.pc-media { display: grid; gap: 12px; }
.pc-m { margin: 0; }
.pc-m img, .pc-m video { width: 100%; height: auto; border-radius: 12px; background: var(--near-black); display: block; max-height: 85vh; object-fit: contain; }
.pc-info { position: sticky; top: 100px; }
.pc-info h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: .2rem 0 .4rem; }
.pc-info .eyebrow a { color: inherit; }
.pc-price { font-size: 1.8rem; font-weight: 800; color: var(--pine); margin: 0 0 1rem; }
.pc-sold { display: inline-block; background: #a33; color: #fff; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; padding: .25rem .8rem; border-radius: 6px; }
.pc-facts { list-style: none; padding: 0; margin: 0 0 1.2rem; border-top: 1px solid var(--gray-300); }
.pc-facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--gray-300); }
.pc-facts b { color: var(--gray-600); font-weight: 600; }
.pc-story p { font-size: 1.05rem; line-height: 1.6; margin: 0 0 1.2rem; white-space: pre-line; }
.pc-actions { display: grid; gap: 10px; margin-bottom: 1.2rem; }
.pc-actions .btn { width: 100%; text-align: center; justify-content: center; }
.btn-ghost { background: none; border: 0; color: var(--pine); font-weight: 700; text-decoration: underline; cursor: pointer; font: inherit; padding: .5rem; }
.pc-ship, .pc-more { color: var(--gray-600); font-size: .92rem; }
.pc-more a { color: var(--pine); font-weight: 700; }
@media (max-width: 860px) {
  .pc { padding-top: 1rem; }
  .pc-wrap { grid-template-columns: 1fr; gap: 1.2rem; }
  .pc-info { position: static; }
  /* swipe through photos/video so the price is right under the first one */
  .pc-media { grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .pc-media:has(.pc-m:only-child) { grid-auto-columns: 100%; }
  .pc-m { scroll-snap-align: start; }
  .pc-m img, .pc-m video { height: 62vh; max-height: 62vh; width: 100%; object-fit: cover; }
}

/* mailer offer code banner */
.fr-offerbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.2rem; padding: 1rem 16px; background: var(--pine); color: #fff; text-align: center; }
.fr-offerbar b { font-family: var(--font-display); font-size: 1.15rem; color: var(--cedar); }
.fr-offerbar .btn { background: var(--cedar); border-color: var(--cedar); color: var(--black); }

/* "JUST CARVED" banner: a cedar ribbon across the corner; the words get carved in when it scrolls into view */
.fr-newtag { position: absolute; z-index: 2; top: 14px; left: -4px; padding: 7px 20px 6px 14px; transform: rotate(-3deg); transform-origin: 0 50%;
  text-align: left; overflow: hidden; pointer-events: none; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%);
  background:
    repeating-linear-gradient(92deg, rgba(110,60,25,0) 0 7px, rgba(110,60,25,.18) 7px 8px, rgba(110,60,25,0) 8px 15px),
    linear-gradient(180deg, #edc18c, #cf9459 55%, #b8783f);
  border-top: 2px solid rgba(255,235,200,.55); border-bottom: 2px solid rgba(70,35,10,.45);
  box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.fr-newtag .cut { display: inline-block; font-family: var(--font-display); font-size: .86rem; letter-spacing: .1em; line-height: 1;
  color: #fff2d6; text-shadow: 0 1px 0 rgba(255,255,255,.4);
  clip-path: inset(0 100% 0 0); }
.fr-newtag.go .cut { animation: fr-carve 1.5s steps(22, end) .15s forwards, fr-burn 1.2s ease 1.5s forwards; }
.fr-newtag .chisel { position: absolute; top: 3px; bottom: 3px; left: 12px; width: 3px; border-radius: 2px; background: #fff; box-shadow: 0 0 10px 3px rgba(255,245,215,.9); opacity: 0; }
.fr-newtag.go .chisel { animation: fr-chisel 1.5s linear .15s forwards; }
.fr-newtag::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(90deg, transparent, rgba(255,250,235,.55), transparent); transform: skewX(-20deg); opacity: 0; }
.fr-newtag.go::after { animation: fr-shine 4.5s ease-in-out 3s infinite; }
@keyframes fr-carve { to { clip-path: inset(0 0 0 0); } }
@keyframes fr-burn { from { color: #fff2d6; text-shadow: 0 1px 0 rgba(255,255,255,.4); } to { color: #3a1a08; text-shadow: 0 1px 0 rgba(255,225,180,.55), 0 -1px 0 rgba(60,25,5,.35); } }
@keyframes fr-chisel { 0% { left: 12px; opacity: 1; } 92% { left: calc(100% - 22px); opacity: 1; } 100% { left: calc(100% - 20px); opacity: 0; } }
@keyframes fr-shine { 0% { left: -40%; opacity: 0; } 10% { opacity: 1; } 45% { left: 120%; opacity: 0; } 100% { left: 120%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .fr-newtag .cut { clip-path: none; color: #3a1a08; animation: none !important; }
  .fr-newtag .chisel, .fr-newtag::after { display: none; }
}
/* on the piece page it sits inline next to the title */
.pc-newtag.fr-newtag { position: relative; top: auto; left: auto; display: inline-block; vertical-align: middle; padding: 6px 22px 5px 12px; margin-left: .5rem; transform: rotate(-3deg); }
.pc-newtag.fr-newtag .cut { font-size: .8rem; }
@media (max-width: 600px) { .fr-newtag { top: 10px; padding: 6px 16px 5px 10px; } .fr-newtag .cut { font-size: .74rem; letter-spacing: .07em; } }
