/*
Theme Name:        Specified Fiction
Theme URI:         https://specifiedfiction.com
Author:            CKK
Author URI:        https://ckk.dev
Description:       SPCFCT — Jonathan Desrosiers. FSE block theme.
Version:           2.0.1
Requires at least: 7.0
Tested up to:      7.0
Requires PHP:      8.1
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       specified-fiction
Tags:              full-site-editing, block-patterns, block-styles, block-templates, woocommerce, custom-colors, custom-logo, editor-style, featured-images, translation-ready, wide-blocks
*/

/* ============================================================
   ROOT TOKENS — warm gold / greige / ink
   ============================================================ */
:root{
  --paper:#E9E2D2;
  --paper-2:#E1D9C4;
  --paper-3:#D6CCB2;
  --line:#CDC2A6;
  --ink:#1A180F;
  --ink-2:#3B3625;
  --ink-3:#6C6650;
  --gray:#8C8775;
  --gold:#B5892B;
  --gold-2:#C99B2E;
  --gold-soft:#D8BE78;
  --gold-deep:#7E5F18;
  --purple:#4F4CA0;
  --red:#C53A38;
  --teal:#3E9BA0;
  --rose-gold:#D29A1E;
  --panel:#171510;
  --panel-2:#211E15;
  --display:'Archivo Black',Impact,sans-serif;
  --head:'Archivo',system-ui,sans-serif;
  --mono:'Chakra Petch',ui-monospace,monospace;
  --body:'Archivo',system-ui,sans-serif;
  --hand:'Caveat',cursive;
  --maxw:1480px;
}

/* ============================================================
   RESET / GLOBAL
   ============================================================ */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:clip}
body.wp-site-blocks,body{font-family:var(--body);background:var(--paper);color:var(--ink);line-height:1.55;-webkit-font-smoothing:antialiased}
body{overflow-x:clip;max-width:100vw}
.spcfct-intro-grid,.spcfct-section,.spcfct-wrap{max-width:100%;min-width:0}
body::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:3;opacity:.4;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E")}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
::selection{background:var(--gold);color:var(--ink)}

/* Kill default main top margin */
header + main,
header + main.wp-block-group,
body > .wp-site-blocks > header + main{margin-top:0 !important;margin-block-start:0 !important}

/* WP injects margin-block-start:24px on every is-layout-flow child — wipe it
   for our blocks so they butt up cleanly. */
:root :where(.is-layout-flow) > [class*="wp-block-spcfct-"],
:root :where(.is-layout-flow) > .spcfct-section,
:root :where(.is-layout-flow) > .spcfct-hero,
:root :where(.is-layout-flow) > .spcfct-marquee,
:root :where(.is-layout-flow) > .spcfct-cta,
:root :where(.is-layout-flow) > .spcfct-pagehead,
:root :where(.is-layout-flow) > .spcfct-footer,
.wp-site-blocks [class*="wp-block-spcfct-"]{margin-block-start:0 !important;margin-block-end:0 !important;margin-top:0 !important;margin-bottom:0 !important}

/* Layout wrap helper */
.spcfct-wrap{max-width:var(--maxw);margin:0 auto;padding:0 clamp(20px,4vw,56px);position:relative}
.spcfct-wrap--bleed{padding-left:0;padding-right:0;max-width:none}
.spcfct-wrap--bleed-mobile{padding-left:0;padding-right:0}
@media(min-width:781px){.spcfct-wrap--bleed-mobile{padding-left:clamp(20px,4vw,56px);padding-right:clamp(20px,4vw,56px)}}

main{position:relative;z-index:1}

/* ============================================================
   TYPE HELPERS
   ============================================================ */
.spcfct-mono{font-family:var(--mono);text-transform:uppercase;letter-spacing:.22em;font-weight:600;font-size:.72rem;color:var(--gray)}
.spcfct-mono.is-gold{color:var(--gold)}
.spcfct-mono.is-ink{color:var(--ink)}
.spcfct-script{font-family:var(--hand);color:var(--gold);line-height:1}
.spcfct-giant{font-family:var(--display);text-transform:uppercase;line-height:.84;letter-spacing:-.01em}
.spcfct-gold-t{color:var(--gold)}

/* ============================================================
   CUSTOM CURSOR + CORNER + CHAT
   ============================================================ */
.spcfct-cur-dot,.spcfct-cur-ring{position:fixed;top:0;left:0;border-radius:50%;pointer-events:none;z-index:9999;mix-blend-mode:difference;will-change:transform}
.spcfct-cur-dot{width:7px;height:7px;background:#fff;transform:translate(-50%,-50%)}
.spcfct-cur-ring{width:38px;height:38px;border:1.5px solid #fff;transform:translate(-50%,-50%);transition:width .25s,height .25s,opacity .25s}
.spcfct-cur-ring.grow{width:64px;height:64px;opacity:.6}
@media(hover:none),(pointer:coarse){.spcfct-cur-dot,.spcfct-cur-ring{display:none}}

.spcfct-corner-dot{position:fixed;top:30px;left:28px;width:30px;height:30px;z-index:150;pointer-events:none}
.spcfct-corner-dot svg{width:100%;height:100%;color:var(--ink);opacity:.5}

.spcfct-chat-bubble{position:fixed;right:26px;bottom:26px;z-index:150;width:60px;height:60px;border-radius:50%;background:var(--gold);color:var(--ink);display:grid;place-items:center;box-shadow:0 10px 30px rgba(126,95,24,.4);cursor:pointer}
.spcfct-chat-bubble svg{width:24px;height:24px}

/* ============================================================
   BG DECOR — scroll-drawn full-page SVG pattern (monotone, opaque)
   ============================================================ */
.spcfct-bg-lines{position:fixed;inset:0;z-index:0;pointer-events:none;width:100%;height:100%;opacity:.05}
.spcfct-bg-lines svg{width:100%;height:100%;display:block}
.spcfct-bg-lines svg path{stroke-linecap:round;stroke-linejoin:round;fill:none;stroke:var(--ink)}
.spcfct-bg-lines .stroke-group{stroke:var(--ink) !important}
.spcfct-bg-lines .draw{stroke-dasharray:1;stroke-dashoffset:1}
@media(prefers-reduced-motion:reduce){
	.spcfct-bg-lines .draw{stroke-dashoffset:0 !important}
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.spcfct-header{position:fixed;top:0;left:0;right:0;z-index:200;background:rgba(233,226,210,.6);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:background .4s,box-shadow .4s,border-color .4s;border-bottom:1px solid rgba(26,24,15,.08)}
.spcfct-header.is-scrolled{background:rgba(233,226,210,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom-color:var(--ink)}
.spcfct-nav{display:flex;align-items:center;justify-content:space-between;height:84px}
.spcfct-logo-link{display:flex;align-items:center}
.spcfct-logo-link img,.spcfct-logo-link .custom-logo{height:26px;width:auto;display:block;max-height:26px}
.spcfct-nav-right{display:flex;align-items:center;gap:clamp(18px,2.4vw,40px)}
.spcfct-nav-right > *{margin-block-start:0;margin-block-end:0}
.spcfct-nav-links{display:flex;align-items:center;gap:clamp(16px,2vw,34px);list-style:none}
.spcfct-nav-links a{font-family:var(--mono);text-transform:uppercase;letter-spacing:.2em;font-weight:500;font-size:.78rem;color:var(--ink);position:relative;padding:6px 0;transition:color .2s;display:inline-block}
.spcfct-nav-links a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:1.5px;background:var(--gold);transition:width .3s}
.spcfct-nav-links a:hover,.spcfct-nav-links a.is-current{color:var(--gold)}
.spcfct-nav-links a:hover::after,.spcfct-nav-links a.is-current::after{width:100%}
.spcfct-nav-icons{display:flex;align-items:center;gap:16px}
.spcfct-icon-btn{width:24px;height:24px;color:var(--ink);transition:color .2s,transform .2s;display:inline-grid;place-items:center}
.spcfct-icon-btn:hover{color:var(--gold);transform:translateY(-2px)}
.spcfct-icon-btn svg{width:24px;height:24px}

.spcfct-cart-pill{display:inline-flex;align-items:center;gap:10px;font-family:var(--mono);text-transform:uppercase;letter-spacing:.18em;font-weight:600;font-size:.74rem;padding:.7em 1.2em;border-radius:40px;border:1.5px solid var(--ink);transition:.25s;color:var(--ink);background:transparent;cursor:pointer}
.spcfct-cart-pill .spcfct-count{background:var(--gold);color:var(--ink);width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:.72rem}
.spcfct-cart-pill:hover{background:var(--ink);color:var(--paper)}
.spcfct-cart-pill:hover .spcfct-count{background:var(--gold-soft)}

.spcfct-burger{display:none;width:42px;height:42px;border:1.5px solid var(--ink);border-radius:12px;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:transparent;cursor:pointer}
.spcfct-burger span{width:18px;height:2px;background:var(--ink);transition:.3s}
.spcfct-burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.spcfct-burger.is-open span:nth-child(2){opacity:0}
.spcfct-burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.spcfct-mobile-menu{position:fixed;inset:0;z-index:190;background:var(--paper);transform:translateY(-100%);transition:transform .5s cubic-bezier(.76,0,.24,1);display:flex;flex-direction:column;justify-content:center;padding:0 32px;gap:6px;visibility:hidden}
.spcfct-mobile-menu[hidden]{display:none}
.spcfct-mobile-menu.is-open{transform:none;visibility:visible}
.spcfct-mobile-menu a{font-family:var(--display);text-transform:uppercase;font-size:clamp(2rem,9vw,3.6rem);line-height:1.05;color:var(--ink);transition:color .2s,padding .2s}
.spcfct-mobile-menu a:hover{color:var(--gold);padding-left:10px}
.spcfct-mobile-menu .spcfct-mm-contact{margin-top:30px;font-family:var(--mono);text-transform:uppercase;letter-spacing:.2em;font-size:.8rem;color:var(--gold)}

/* ============================================================
   CART DRAWER
   ============================================================ */
.spcfct-no-scroll{overflow:hidden}
.spcfct-cart-drawer{position:fixed;inset:0;z-index:300;pointer-events:none;visibility:hidden;opacity:0;transition:opacity .25s ease}
.spcfct-cart-drawer[hidden]{display:none}
.spcfct-cart-drawer.is-open{pointer-events:auto;visibility:visible;opacity:1}
.spcfct-cart-drawer__backdrop{position:absolute;inset:0;background:rgba(23,21,16,.55);border:0;cursor:pointer;display:block;width:100%;height:100%;padding:0}
.spcfct-cart-drawer__panel{position:absolute;top:0;right:0;height:100%;width:min(420px,92vw);background:var(--paper);border-left:1.5px solid var(--ink);box-shadow:-20px 0 60px rgba(23,21,16,.25);transform:translateX(100%);transition:transform .35s cubic-bezier(.76,0,.24,1);display:flex;flex-direction:column}
.spcfct-cart-drawer.is-open .spcfct-cart-drawer__panel{transform:none}
.spcfct-cart-drawer__head{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 16px;border-bottom:1.5px solid var(--line)}
.spcfct-cart-drawer__close{font-size:32px;line-height:1;background:none;border:0;color:var(--ink);cursor:pointer;padding:0 4px}
.spcfct-cart-drawer__close:hover{color:var(--gold)}
.spcfct-cart-drawer__items{flex:1;overflow-y:auto;padding:18px 24px}
.spcfct-cart-drawer__loading,.spcfct-cart-drawer__empty{color:var(--ink-3);font-family:var(--mono);text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;text-align:center;padding:40px 0}
.spcfct-cart-item{display:grid;grid-template-columns:64px 1fr;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.spcfct-cart-item:last-child{border-bottom:0}
.spcfct-cart-item__thumb{display:block;width:64px;height:64px;border-radius:10px;overflow:hidden;border:1.5px solid var(--ink);background:var(--paper-2)}
.spcfct-cart-item__thumb img{width:100%;height:100%;object-fit:cover}
.spcfct-cart-item__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.spcfct-cart-item__name{font-family:var(--display);text-transform:uppercase;font-size:.95rem;line-height:1.1;color:var(--ink);text-decoration:none}
.spcfct-cart-item__name:hover{color:var(--gold)}
.spcfct-cart-item__meta{display:flex;justify-content:space-between;font-family:var(--mono);font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.spcfct-cart-item__price{color:var(--gold);font-weight:700}
.spcfct-cart-item__remove{margin-top:4px;align-self:flex-start;background:none;border:0;color:var(--ink-3);font-family:var(--mono);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;padding:0}
.spcfct-cart-item__remove:hover{color:var(--red)}
.spcfct-cart-drawer__foot{border-top:1.5px solid var(--line);padding:18px 24px 24px}
.spcfct-cart-drawer__subtotal{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:14px;font-family:var(--mono);text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;color:var(--ink-2)}
.spcfct-cart-drawer__subtotal strong{font-family:var(--display);font-size:1.2rem;color:var(--ink)}
.spcfct-cart-drawer__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.spcfct-cart-drawer__actions .spcfct-lbtn{width:100%;justify-content:center}

/* ============================================================
   HERO
   ============================================================ */
.spcfct-hero{position:relative;height:100svh;min-height:680px;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:clamp(28px,5vh,60px)}
.spcfct-blob{position:absolute;top:-28vh;right:-8vw;width:82vw;height:128vh;z-index:0;will-change:transform,filter;
  background:
    radial-gradient(38% 50% at 60% 42%, #C99B2E 0%, #B5892B 36%, rgba(181,137,43,0) 70%),
    radial-gradient(54% 64% at 56% 58%, rgba(190,150,70,.5) 0%, rgba(190,150,70,0) 68%),
    radial-gradient(72% 82% at 60% 50%, rgba(226,200,150,.34) 0%, rgba(226,200,150,0) 74%);
  filter:blur(6px);border-radius:50%;transition:filter .9s cubic-bezier(.22,1,.36,1)}
.spcfct-blob.is-in-view{filter:blur(0)}
.spcfct-blob::after{content:"";position:absolute;inset:0;border-radius:50%;
  background:radial-gradient(40% 56% at 68% 40%, rgba(126,95,24,.35) 0%, transparent 60%)}
.spcfct-blob-img,.spcfct-blob-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;border-radius:50%;transition:opacity .5s ease}
.spcfct-blob-media.is-entering{opacity:0}
.spcfct-blob-media.is-leaving{opacity:0;pointer-events:none}
/* When media is present, fade the gradient blob bg under it */
.spcfct-blob:has(.spcfct-blob-media){background:none}

/* Responsive focal-point swap — any image carrying --fpd/--fpm CSS vars
   uses --fpd by default and switches to --fpm below 860px. */
@media (max-width:860px){
	img[style*="--fpm"]{object-position:var(--fpm) !important}
}
.spcfct-dunes{position:absolute;left:0;right:0;bottom:0;z-index:0;height:42vh;pointer-events:none}
.spcfct-dunes svg{width:100%;height:100%}
.spcfct-hero-rule{position:absolute;left:0;right:0;top:38%;height:1px;background:transparent;z-index:1}
/* Bottom bar absolutely positioned at hero bottom. It uses the same
   max-width + horizontal padding as .spcfct-wrap (where the nav lives),
   so left:0 / right:0 inside align with the nav's leftmost / rightmost item. */
.spcfct-hero-bar{position:absolute;left:0;right:0;bottom:0;margin:0 auto;max-width:var(--maxw);padding:0 clamp(20px,4vw,56px) clamp(28px,5vh,60px);display:flex;justify-content:space-between;align-items:flex-end;gap:clamp(20px,3vw,40px);z-index:2}

.spcfct-hero-left{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;justify-content:flex-end}
.spcfct-hero-idx{margin-bottom:clamp(10px,1.6vh,22px);min-height:1lh}
.spcfct-hero-title{font-family:var(--display);text-transform:uppercase;line-height:.82;letter-spacing:-.015em;font-size:clamp(2.75rem,12.5vw,7.5rem);margin:0;white-space:pre-line;word-break:keep-all;hyphens:none;min-height:2lh;display:flex;flex-direction:column;justify-content:flex-end}
.spcfct-hero-title .line{display:block;overflow:visible;white-space:pre-line;min-height:1lh}
.spcfct-hero-title .line i,.spcfct-hero-title br{display:block;font-style:normal}
.spcfct-hero-title .ch{display:inline-block;white-space:pre;will-change:transform,clip-path,opacity}

.spcfct-hero-right{flex:0 0 clamp(260px,28vw,400px);width:clamp(260px,28vw,400px);text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:clamp(14px,2vh,26px);padding-bottom:6px}
.spcfct-latest{line-height:1.2;width:100%}
.spcfct-latest .lab{margin-bottom:8px;min-height:1lh}
.spcfct-latest h3{font-family:var(--head);font-weight:800;font-size:clamp(1rem,1.2vw,1.3rem);color:var(--ink);letter-spacing:-.01em;margin:0;word-wrap:break-word;overflow-wrap:anywhere;min-height:calc(2 * 1.2 * 1em);display:flex;align-items:flex-end;justify-content:flex-end;text-align:right;width:100%}
.spcfct-latest .meta{font-family:var(--mono);letter-spacing:.18em;font-size:.74rem;color:var(--ink-3);margin-top:4px;min-height:1lh}
.spcfct-hero-ctrls{display:flex;align-items:center;gap:16px;justify-content:flex-end;flex-wrap:nowrap;width:100%}
.spcfct-progress{flex:0 0 auto;min-width:140px;justify-content:flex-end}
.spcfct-round-btn{width:54px;height:54px;border-radius:50%;border:1.5px solid var(--ink);display:grid;place-items:center;color:var(--ink);transition:.25s;background:transparent;cursor:pointer}
.spcfct-round-btn:hover{background:var(--ink);color:var(--paper)}
.spcfct-round-btn svg{width:18px;height:16px}
.spcfct-progress{display:flex;gap:8px;align-items:center}
.spcfct-seg{width:30px;height:3px;border-radius:3px;background:rgba(26,24,15,.22);overflow:hidden;position:relative;transition:width .4s}
.spcfct-seg.is-on{width:52px;background:rgba(26,24,15,.22)}
.spcfct-seg .fill{position:absolute;inset:0;background:var(--ink);transform-origin:left;transform:scaleX(0)}
@media (max-width:860px){
   .spcfct-hero-ctrls{display:flex;align-items:center;gap:16px;justify-content:flex-start;flex-wrap:nowrap;width:100%}
}
/* ============================================================
   MARQUEE
   ============================================================ */
.spcfct-marquee{overflow:hidden;border-top:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink);background:var(--paper-2);padding:15px 0}
.spcfct-mq-track{display:flex;gap:38px;white-space:nowrap;width:max-content;animation:spcfct-scrollx 30s linear infinite;font-family:var(--mono);text-transform:uppercase;letter-spacing:.2em;font-weight:600;color:var(--ink);font-size:.92rem}
.spcfct-mq-track .s{color:var(--gold)}
@keyframes spcfct-scrollx{to{transform:translateX(-50%)}}
.spcfct-marquee:hover .spcfct-mq-track{animation-play-state:paused}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.spcfct-section{padding:clamp(0px,6vw,130px) 0}
.spcfct-section--alt{background:rgba(225,217,196,.6);border-top:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink)}
.spcfct-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:clamp(36px,5vw,64px)}
.spcfct-sec-head .lhs{max-width:60ch}
.spcfct-sec-head h2{font-family:var(--display);text-transform:uppercase;font-size:clamp(2.2rem,5.4vw,4.4rem);line-height:.88;letter-spacing:-.01em;margin:0}
.spcfct-sec-head p{color:var(--ink-2);margin-top:14px;max-width:48ch}
.spcfct-reveal{opacity:1}

/* Link button */
.spcfct-lbtn{display:inline-flex;align-items:center;gap:.7em;font-family:var(--mono);text-transform:uppercase;letter-spacing:.18em;font-weight:600;font-size:.78rem;padding:.9em 1.6em;border-radius:40px;border:1.5px solid var(--ink);background:var(--ink);color:var(--paper);transition:.25s;cursor:pointer}
.spcfct-lbtn:hover{background:transparent;color:var(--ink)}
.spcfct-lbtn svg{width:16px;height:14px}
.spcfct-lbtn--ghost{background:transparent;color:var(--ink)}
.spcfct-lbtn--ghost:hover{background:var(--ink);color:var(--paper)}
.spcfct-lbtn--gold{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.spcfct-lbtn--gold:hover{background:transparent;color:var(--gold)}

/* ============================================================
   INTRO / ABOUT
   ============================================================ */
.spcfct-intro-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:clamp(36px,5vw,72px);align-items:center}
.spcfct-portrait{border-radius:16px;overflow:hidden;aspect-ratio:4/5;position:relative;border:1.5px solid var(--ink);width:100%;max-width:100%;
  background:
    radial-gradient(120% 80% at 30% 18%, #d6a93f 0%, transparent 55%),
    radial-gradient(120% 90% at 80% 80%, #8a6a1c 0%, transparent 55%),
    linear-gradient(160deg,#2a2113,#16140c)}
.spcfct-portrait img{width:100% !important;height:100% !important;max-width:100% !important;object-fit:cover;display:block}
.spcfct-portrait .pl{position:absolute;left:0;bottom:0;font-family:var(--mono);text-transform:uppercase;letter-spacing:.2em;font-size:.62rem;color:var(--paper);background:rgba(23,21,16,.65);padding:7px 13px;border-top-right-radius:8px;z-index:2}
.spcfct-intro-copy .hello{font-family:var(--display);text-transform:uppercase;font-size:clamp(2rem,3.6vw,3rem);color:var(--gold);line-height:.9}
.spcfct-intro-copy .pron{font-family:var(--hand);color:var(--ink-3);font-size:clamp(1.9rem,2.6vw,2.4rem);line-height:1.05;margin:4px 0 4px}
.spcfct-pron-art{margin:0 0 18px 165px;color:var(--gold);max-width:170px;line-height:0}
@media (max-width:900px){.spcfct-pron-art{margin-left:140px}}
@media (max-width:520px){.spcfct-pron-art{margin-left:110px;max-width:150px}}
.spcfct-pron-art svg{display:block;width:100%;height:auto;overflow:visible}
.spcfct-pron-art svg path{fill:currentColor;stroke:currentColor;stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round;fill-opacity:0;stroke-opacity:0;transition:fill-opacity .5s ease}
.spcfct-pron-art.is-ready svg path{stroke-opacity:1}
.spcfct-pron-art.is-drawn svg path{fill-opacity:1}
@media (prefers-reduced-motion:reduce){.spcfct-pron-art svg path{stroke-dasharray:none!important;stroke-dashoffset:0!important;stroke-opacity:1;fill-opacity:1}}
.spcfct-intro-copy p{color:var(--ink-2);font-size:1.06rem;margin-bottom:16px;max-width:54ch}
.spcfct-intro-copy .acc{color:var(--ink);font-weight:700}
.spcfct-tl{margin-top:28px;border-top:1.5px solid var(--line);padding-top:24px}
.spcfct-tl-track{position:relative;display:flex;justify-content:space-between;margin:16px 4px 12px}
.spcfct-tl-track::before{content:"";position:absolute;top:6px;left:6px;right:6px;height:1.5px;background:var(--ink)}
.spcfct-tl-pt{width:13px;height:13px;border-radius:50%;background:var(--gold);border:3px solid var(--paper);box-shadow:0 0 0 1.5px var(--ink);position:relative;z-index:2}
.spcfct-tl-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;width:100%;max-width:100%}
.spcfct-tl-meta > div{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.spcfct-tl-meta .date{font-family:var(--mono);font-weight:600;letter-spacing:.1em;font-size:.74rem;color:var(--gold)}
.spcfct-tl-meta h4{font-family:var(--display);text-transform:uppercase;font-size:1.15rem;margin:6px 0 2px;overflow-wrap:anywhere}
.spcfct-tl-meta .role{font-size:.82rem;color:var(--ink-3);overflow-wrap:anywhere}
.spcfct-skills{display:grid;grid-template-columns:auto 1fr;gap:clamp(34px,5vw,64px);margin-top:64px;padding-top:48px;border-top:1.5px solid var(--line);align-items:start}
.spcfct-skills h3{font-family:var(--display);text-transform:uppercase;font-size:1.3rem;margin-bottom:18px}
.spcfct-apps{display:flex;gap:12px;flex-wrap:wrap}
.spcfct-app{position:relative;width:52px;height:52px;border-radius:13px;background:var(--ink);color:var(--paper);display:grid;place-items:center;font-family:var(--mono);font-weight:700;font-size:1rem;transition:.25s;cursor:pointer;border:none}
.spcfct-app:hover,.spcfct-app.is-active{background:var(--gold);color:var(--ink);transform:translateY(-3px);box-shadow:0 10px 24px rgba(126,95,24,.25)}
/* Tooltip — full tool name when button is .is-active (JS-driven; one at a time) */
.spcfct-app.has-tip::after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%) translateY(4px);background:var(--ink);color:var(--paper);font-family:var(--mono);text-transform:uppercase;letter-spacing:.14em;font-size:.62rem;padding:6px 10px;border-radius:6px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:5}
.spcfct-app.has-tip[data-tip-pos="left"]::after{left:0;right:auto;transform:translateX(0) translateY(4px)}
.spcfct-app.has-tip[data-tip-pos="right"]::after{left:auto;right:0;transform:translateX(0) translateY(4px)}
.spcfct-app.has-tip.is-active::after{opacity:1;transform:translateX(-50%) translateY(0)}
.spcfct-app.has-tip.is-active[data-tip-pos="left"]::after{transform:translateX(0) translateY(0)}
.spcfct-app.has-tip.is-active[data-tip-pos="right"]::after{transform:translateX(0) translateY(0)}

.spcfct-pills{display:flex;flex-wrap:wrap;gap:10px}
.spcfct-pill{position:relative;font-family:var(--mono);text-transform:uppercase;letter-spacing:.14em;font-weight:600;font-size:.74rem;padding:.6em 1.2em;border-radius:30px;border:1.5px solid var(--ink);transition:.25s;cursor:pointer;display:inline-flex;align-items:center;background:transparent;color:var(--ink)}
.spcfct-pill:hover,.spcfct-pill.is-active{background:var(--gold);border-color:var(--gold);color:var(--ink);transform:translateY(-2px);box-shadow:0 10px 24px rgba(126,95,24,.25)}
/* Image popover — example for each discipline */
.spcfct-pill__pop{position:absolute;left:50%;bottom:calc(100% + 12px);transform:translateX(-50%) translateY(6px) scale(.96);transform-origin:bottom center;width:200px;height:140px;border-radius:12px;overflow:hidden;border:1.5px solid var(--ink);background:var(--ink);box-shadow:0 18px 40px rgba(23,21,16,.25);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:5}
.spcfct-pill[data-tip-pos="left"] .spcfct-pill__pop{left:0;right:auto;transform:translateX(0) translateY(6px) scale(.96);transform-origin:bottom left}
.spcfct-pill[data-tip-pos="right"] .spcfct-pill__pop{left:auto;right:0;transform:translateX(0) translateY(6px) scale(.96);transform-origin:bottom right}
.spcfct-pill__pop::after{content:"";position:absolute;left:50%;bottom:-7px;width:14px;height:14px;background:inherit;border-right:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink);transform:translateX(-50%) rotate(45deg)}
.spcfct-pill[data-tip-pos="left"] .spcfct-pill__pop::after{left:24px;transform:translateX(-50%) rotate(45deg)}
.spcfct-pill[data-tip-pos="right"] .spcfct-pill__pop::after{left:auto;right:10px;transform:translateX(50%) rotate(45deg)}
.spcfct-pill__pop img{width:100%;height:100%;object-fit:cover;display:block;position:relative;z-index:1}
.spcfct-pill.has-pop.is-active .spcfct-pill__pop{opacity:1;transform:translateX(-50%) translateY(0) scale(1);pointer-events:auto}
.spcfct-pill.has-pop.is-active[data-tip-pos="left"] .spcfct-pill__pop{transform:translateX(0) translateY(0) scale(1)}
.spcfct-pill.has-pop.is-active[data-tip-pos="right"] .spcfct-pill__pop{transform:translateX(0) translateY(0) scale(1)}

/* ============================================================
   ABOUT BIO (simple) + SHOP PROMO
   ============================================================ */
.spcfct-intro-grid--simple{grid-template-columns:.85fr 1.15fr;align-items:start}
.spcfct-intro-grid--simple .spcfct-portrait{position:sticky;top:120px}
.spcfct-intro-grid--simple .spcfct-intro-copy .spcfct-mono{margin-bottom:12px}
.spcfct-intro-grid--simple .spcfct-intro-copy h2{font-family:var(--display);text-transform:uppercase;font-size:clamp(2.2rem,4.4vw,3.4rem);line-height:.92;margin:0 0 22px;color:var(--ink)}
.spcfct-intro-grid--simple .spcfct-intro-copy p{color:var(--ink-2);font-size:1.06rem;line-height:1.65;margin-bottom:18px;max-width:62ch}
.spcfct-intro-grid--simple .spcfct-intro-copy p:last-child{margin-bottom:0}

.spcfct-shop-promo{display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,5vw,72px);align-items:center}
.spcfct-shop-promo--img-left .spcfct-shop-promo__media{order:0}
.spcfct-shop-promo--img-left .spcfct-shop-promo__copy{order:1}
.spcfct-shop-promo--img-right .spcfct-shop-promo__media{order:1}
.spcfct-shop-promo--img-right .spcfct-shop-promo__copy{order:0}
.spcfct-shop-promo__media{border-radius:18px;overflow:hidden;border:1.5px solid var(--ink);aspect-ratio:4/5;position:relative;background:linear-gradient(160deg,#2a2113,#16140c)}
.spcfct-shop-promo__media img{width:100%;height:100%;object-fit:cover;display:block}
.spcfct-shop-promo__copy .spcfct-mono{margin-bottom:12px}
.spcfct-shop-promo__copy h2{font-family:var(--display);text-transform:uppercase;font-size:clamp(2.2rem,4.4vw,3.4rem);line-height:.92;margin:0 0 18px;color:var(--ink)}
.spcfct-shop-promo__copy p{color:var(--ink-2);font-size:1.06rem;line-height:1.65;margin:0 0 26px;max-width:48ch}

@media(max-width:1080px){
  .spcfct-intro-grid--simple{grid-template-columns:1fr;gap:40px}
  .spcfct-intro-grid--simple .spcfct-portrait{position:static;max-width:520px;margin:0 auto}
  .spcfct-shop-promo{grid-template-columns:1fr;gap:36px}
  .spcfct-shop-promo--img-right .spcfct-shop-promo__media,
  .spcfct-shop-promo--img-left  .spcfct-shop-promo__media{order:0}
  .spcfct-shop-promo--img-right .spcfct-shop-promo__copy,
  .spcfct-shop-promo--img-left  .spcfct-shop-promo__copy{order:1}
  .spcfct-shop-promo__media{max-width:520px;margin:0 auto;width:100%}
}

/* ============================================================
   PORTFOLIO CATEGORY TILES
   ============================================================ */
.spcfct-cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.spcfct-cat{position:relative;border:1.5px solid var(--ink);border-radius:18px;overflow:hidden;aspect-ratio:3/4;display:flex;align-items:flex-end;padding:clamp(20px,2vw,30px);color:#fff;cursor:pointer}
.spcfct-cat .bg{position:absolute;inset:0;z-index:0;transition:transform .6s cubic-bezier(.22,1,.36,1);overflow:hidden}
.spcfct-cat .bg .spcfct-cat__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.spcfct-cat .bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.7) 100%);z-index:1;pointer-events:none}
.spcfct-cat:hover .bg{transform:scale(1.06)}
.spcfct-cat .in{position:relative;z-index:2}
.spcfct-cat .num{font-family:var(--mono);letter-spacing:.2em;font-size:.68rem;color:rgba(255,255,255,.65)}
.spcfct-cat h3{font-family:var(--display);text-transform:uppercase;font-size:clamp(1.8rem,3vw,2.6rem);line-height:.9;margin:6px 0}
.spcfct-cat p{font-size:.86rem;color:rgba(255,255,255,.8);max-width:26ch}
.spcfct-cat .go{margin-top:14px;display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);letter-spacing:.16em;font-weight:600;font-size:.72rem}
.spcfct-cat .go svg{width:15px;height:13px;transition:transform .3s}
.spcfct-cat:hover .go svg{transform:translateX(5px)}
.spcfct-cd .bg{background:radial-gradient(120% 100% at 25% 20%,#d6a93f,transparent 60%),linear-gradient(160deg,#2a2113,#13110b)}
.spcfct-cp .bg{background:radial-gradient(120% 100% at 70% 30%,#3e9ba0,transparent 60%),linear-gradient(160deg,#16403f,#0c1f1e)}
.spcfct-cm .bg{background:radial-gradient(120% 100% at 40% 80%,#d29a1e,transparent 55%),radial-gradient(120% 100% at 75% 20%,#c53a38,transparent 55%),linear-gradient(160deg,#2a1410,#13110b)}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.spcfct-prod-carousel{position:relative}
/* Swiper bundle CSS adds overflow:hidden + relative on .swiper; we only need vertical
 * padding so hover lift/shadow on cards has breathing room inside the clip area. */
.spcfct-prod-carousel__viewport{padding:14px 0 28px}
.spcfct-prod-carousel__viewport .spcfct-card{height:auto}
/* carousel controls (nav + dots inline) */
.spcfct-prod-carousel__controls{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-top:18px;padding:0 clamp(20px,4vw,56px)}
.spcfct-prod-carousel__nav{width:42px;height:42px;border-radius:50%;background:var(--paper);border:1.5px solid var(--ink);color:var(--ink);display:grid;place-items:center;cursor:pointer;transition:transform .2s,background .2s;padding:0;flex:0 0 auto}
.spcfct-prod-carousel__nav:hover{background:var(--gold);transform:translateY(-2px)}
.spcfct-prod-carousel__nav[disabled]{opacity:.35;cursor:default;pointer-events:none}
.spcfct-prod-carousel__nav svg{width:16px;height:14px}
.spcfct-prod-carousel__dots{display:none;gap:8px;align-items:center}
.spcfct-prod-carousel__dot{width:8px;height:8px;border-radius:50%;background:var(--ink-3);opacity:.35;border:0;padding:0;cursor:pointer;transition:opacity .2s,transform .2s,background .2s}
.spcfct-prod-carousel__dot:hover{opacity:.7}
.spcfct-prod-carousel__dot.is-on{opacity:1;background:var(--ink);transform:scale(1.2)}
@media(max-width:780px){
  .spcfct-prod-carousel__controls{justify-content:center;gap:18px;padding:0 16px}
  .spcfct-prod-carousel__nav{width:38px;height:38px}
  .spcfct-prod-carousel__dots{display:flex}
}
.spcfct-card{background:var(--paper);border:1.5px solid var(--ink);border-radius:16px;overflow:hidden;transition:transform .3s;display:flex;flex-direction:column}
.spcfct-card:hover{transform:translateY(-4px)}
.spcfct-card .thumb{aspect-ratio:1;position:relative;display:grid;place-items:center;overflow:hidden}
.spcfct-card .thumb img{width:100%;height:100%;object-fit:cover}
.spcfct-card .thumb .price{position:absolute;top:10px;right:10px;font-family:var(--mono);font-weight:700;font-size:.76rem;background:var(--ink);color:var(--paper);padding:5px 11px;border-radius:20px;z-index:2}
.spcfct-card .body{padding:16px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.spcfct-card .cat-l{font-family:var(--mono);letter-spacing:.2em;font-size:.62rem;color:var(--gold)}
.spcfct-card .body h4{font-family:var(--display);text-transform:uppercase;font-size:1.05rem;line-height:1;margin:0}
.spcfct-card .body p{font-size:.84rem;color:var(--ink-3);flex:1}
.spcfct-card .add{margin-top:6px;font-family:var(--mono);letter-spacing:.14em;font-weight:600;font-size:.72rem;padding:.7em 1em;border-radius:24px;background:var(--ink);color:var(--paper);transition:.2s;text-transform:uppercase;border:none;cursor:pointer}
.spcfct-card .add:hover{background:var(--gold);color:var(--ink)}
.spcfct-t-paint{background:linear-gradient(135deg,#1a180f,#2a2615);color:var(--teal)}
.spcfct-t-hat{background:radial-gradient(circle at 50% 35%,#caa23c,#6a4f12)}
.spcfct-t-shirt{background:radial-gradient(circle at 50% 40%,#3e9ba0,#16403f)}
.spcfct-t-patch{background:radial-gradient(circle at 50% 50%,#d29a1e,#6a4a08)}
.spcfct-t-toy{background:radial-gradient(circle at 50% 45%,#c53a38,#4a100f)}
.spcfct-t-print{background:linear-gradient(135deg,#201d12,#14120b);color:var(--rose-gold)}
.spcfct-mini-rose{width:52%}
.spcfct-mini-rose .bloom{fill:currentColor}

/* ============================================================
   PAGE HEAD
   ============================================================ */
.spcfct-pagehead{padding:clamp(130px,16vh,180px) 0 10px;text-align:center;position:relative;overflow:hidden}
.spcfct-pagehead .glow{position:absolute;top:-30%;left:50%;transform:translateX(-50%);width:80vw;height:60vh;z-index:0;
  background:radial-gradient(45% 55% at 50% 40%,rgba(201,155,46,.5),transparent 70%);filter:blur(8px)}
.spcfct-pagehead .inner{position:relative;z-index:2}
.spcfct-pagehead h1{font-family:var(--display);text-transform:uppercase;font-size:clamp(3rem,11vw,8rem);line-height:.84;margin:0}
.spcfct-pagehead p{color:var(--ink-2);max-width:48ch;margin:16px auto 0}

.spcfct-shop-sub{font-family:var(--display);text-transform:uppercase;font-size:clamp(1.4rem,2.4vw,1.9rem);margin:clamp(40px,6vw,64px) 0 20px;display:flex;align-items:center;gap:16px}
.spcfct-shop-sub::after{content:"";flex:1;height:1.5px;background:var(--line)}
.spcfct-subcats{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.spcfct-subcats span,.spcfct-subcats a{font-family:var(--mono);text-transform:uppercase;letter-spacing:.12em;font-weight:600;font-size:.72rem;color:var(--ink-2);border:1.5px solid var(--line);padding:.5em 1em;border-radius:24px}

.spcfct-ship{margin-top:clamp(48px,7vw,72px);border:1.5px solid var(--ink);border-radius:18px;padding:clamp(24px,3vw,38px);background:var(--paper-2);display:grid;grid-template-columns:auto 1fr;gap:30px;align-items:center}
.spcfct-ship .tag{writing-mode:vertical-rl;transform:rotate(180deg);font-family:var(--display);text-transform:uppercase;font-size:1.5rem;color:var(--gold)}
.spcfct-ship-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.spcfct-ship-cols h5{font-family:var(--display);text-transform:uppercase;font-size:1.1rem;margin-bottom:6px;color:var(--ink)}
.spcfct-ship-cols p{font-size:.85rem;color:var(--ink-2)}

/* ============================================================
   PORTFOLIO TABS / WORK GRID
   ============================================================ */
.spcfct-pf-tabs{display:flex;justify-content:center;gap:10px;margin:28px 0 44px;flex-wrap:wrap}
.spcfct-pf-tab{font-family:var(--mono);text-transform:uppercase;letter-spacing:.16em;font-weight:600;font-size:.82rem;padding:.7em 1.4em;border-radius:30px;border:1.5px solid var(--ink);transition:.25s;background:transparent;cursor:pointer;color:var(--ink)}
.spcfct-pf-tab.is-active{background:var(--ink);color:var(--paper)}
.spcfct-pf-tab:hover:not(.is-active){background:var(--paper-3)}
.spcfct-pf-panel{display:none}
.spcfct-pf-panel.is-active{display:block}
.spcfct-pf-intro{max-width:60ch;margin:0 auto 38px;text-align:center;color:var(--ink-2)}
.spcfct-work-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.spcfct-work{border:1.5px solid var(--ink);border-radius:16px;overflow:hidden;background:var(--paper);transition:transform .3s,box-shadow .3s;cursor:pointer;display:flex;flex-direction:column;text-decoration:none;color:inherit}
.spcfct-work:hover{transform:translateY(-6px);box-shadow:8px 8px 0 var(--ink)}
.spcfct-work .cover{aspect-ratio:16/11;position:relative;display:grid;place-items:center;overflow:hidden}
.spcfct-work .cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.spcfct-work .cover .chip{position:absolute;top:12px;left:12px;font-family:var(--mono);text-transform:uppercase;letter-spacing:.16em;font-size:.6rem;font-weight:600;background:rgba(23,21,16,.7);color:var(--paper);padding:5px 11px;border-radius:18px;z-index:2}
.spcfct-work .cover .glyph{font-family:var(--display);font-size:3.2rem;color:rgba(255,255,255,.92);position:relative;z-index:2}
.spcfct-work .info{padding:18px 20px;flex:1;display:flex;flex-direction:column;gap:6px}
.spcfct-work .info .cat-l{font-family:var(--mono);letter-spacing:.2em;font-size:.62rem;color:var(--gold)}
.spcfct-work .info h4{font-family:var(--display);text-transform:uppercase;font-size:1.25rem;line-height:.95;margin:0}
.spcfct-work .info p{font-size:.85rem;color:var(--ink-3);flex:1}
.spcfct-work .info .act{display:flex;gap:10px;align-items:center;margin-top:8px}
.spcfct-work .info .act .mini{font-family:var(--mono);letter-spacing:.14em;font-weight:600;font-size:.7rem;color:var(--gold)}
.spcfct-work .info .act .vl{margin-left:auto;font-family:var(--mono);letter-spacing:.12em;font-weight:600;font-size:.68rem;color:var(--ink-3)}
.spcfct-c-logo{background:radial-gradient(circle at 50% 50%,#caa23c,#5a4310)}
.spcfct-c-brand{background:linear-gradient(135deg,#a07e22,#2a2113)}
.spcfct-c-paint1{background:linear-gradient(135deg,#1a180f,#241d12);color:var(--red)}
.spcfct-c-paint2{background:linear-gradient(135deg,#14120b,#201d12);color:var(--teal)}
.spcfct-c-paint3{background:linear-gradient(135deg,#1a180f,#221c10);color:var(--rose-gold)}
.spcfct-c-mural1{background:radial-gradient(120% 100% at 30% 30%,#c53a38,transparent 60%),linear-gradient(160deg,#2a1410,#120b08)}
.spcfct-c-mural2{background:radial-gradient(120% 100% at 60% 40%,#3e9ba0,transparent 60%),linear-gradient(160deg,#0c2625,#0a1413)}

/* ============================================================
   PROJECT DETAIL
   ============================================================ */
.spcfct-proj-hero{padding:clamp(120px,15vh,160px) 0 20px}
.spcfct-back{display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);text-transform:uppercase;letter-spacing:.16em;font-weight:600;font-size:.76rem;color:var(--ink-2);margin-bottom:26px;transition:.2s}
.spcfct-back:hover{color:var(--gold);gap:12px}
.spcfct-proj-top{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(30px,4vw,52px);align-items:center}
.spcfct-proj-cover{border:1.5px solid var(--ink);border-radius:18px;aspect-ratio:4/3;overflow:hidden;display:grid;place-items:center;position:relative}
.spcfct-proj-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.spcfct-proj-title{font-family:var(--display);text-transform:uppercase;font-size:clamp(2.2rem,5vw,4rem);line-height:.86;margin:0}
.spcfct-proj-pron{font-family:var(--hand);color:var(--ink-3);font-size:1.4rem;margin-top:4px}
.spcfct-proj-tag{color:var(--ink-2);font-size:1.05rem;margin-top:16px;max-width:46ch}
.spcfct-proj-meta{display:flex;flex-wrap:wrap;gap:14px;margin-top:22px}
.spcfct-proj-meta .m{border:1.5px solid var(--line);border-radius:12px;padding:10px 16px}
.spcfct-proj-meta .m span{display:block;font-family:var(--mono);letter-spacing:.2em;font-size:.58rem;color:var(--gold)}
.spcfct-proj-meta .m strong{font-family:var(--mono);font-weight:600;font-size:.9rem}
.spcfct-proj-cta{display:flex;gap:12px;margin-top:24px}
.spcfct-writeup{padding:clamp(50px,7vw,80px) 0;border-top:1.5px solid var(--line);margin-top:44px}
.spcfct-writeup h3{font-family:var(--display);text-transform:uppercase;font-size:1.6rem;margin-bottom:16px}
.spcfct-writeup p{color:var(--ink-2);max-width:64ch;margin-bottom:16px}
.spcfct-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:28px}
.spcfct-gal{border:1.5px solid var(--ink);border-radius:14px;aspect-ratio:4/3;overflow:hidden}
.spcfct-gal img{width:100%;height:100%;object-fit:cover}
.spcfct-gal.tall{grid-row:span 2;aspect-ratio:auto}
.spcfct-video-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin-top:28px}
.spcfct-vid{border:1.5px solid var(--ink);border-radius:14px;aspect-ratio:16/9;background:linear-gradient(135deg,#241d12,#13110b);display:grid;place-items:center;position:relative;overflow:hidden}
.spcfct-vid .play{width:60px;height:60px;border-radius:50%;background:var(--gold);display:grid;place-items:center}
.spcfct-vid .play svg{width:20px;height:20px;color:var(--ink);margin-left:3px}
.spcfct-vid .vl{position:absolute;left:14px;bottom:12px;font-family:var(--mono);text-transform:uppercase;letter-spacing:.16em;font-size:.62rem;color:#fff}

/* --- Single project: meta sidebar + writeup layout --- */
.spcfct-single-layout{max-width:var(--maxw);margin:0 auto;padding:clamp(40px,5vw,72px) clamp(20px,4vw,56px);display:grid;grid-template-columns:260px 1fr;gap:clamp(36px,5vw,72px);align-items:start}
@media (max-width:880px){.spcfct-single-layout{grid-template-columns:1fr;gap:24px}}
.spcfct-proj-meta-sidebar{position:sticky;top:96px;align-self:start}
@media (max-width:880px){.spcfct-proj-meta-sidebar{position:static}}
.spcfct-proj-meta-list{margin:0;display:flex;flex-direction:column;gap:14px}
.spcfct-proj-meta-list .row{padding-top:12px;border-top:1.5px solid var(--line)}
.spcfct-proj-meta-list .row:first-child{padding-top:0;border-top:0}
.spcfct-proj-meta-list dt{font-family:var(--mono);font-weight:700;font-size:.6rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin:0 0 4px}
.spcfct-proj-meta-list dd{font-family:var(--mono);font-weight:600;font-size:.92rem;color:var(--ink);margin:0}
.spcfct-proj-meta-cta{margin-top:24px}
/* writeup loses its big top border / margin / inner wrap when nested in the two-col layout */
.spcfct-single-layout .spcfct-writeup{border-top:0;margin-top:0;padding:0}
.spcfct-single-layout .spcfct-wrap{max-width:none;margin:0;padding:0}

/* --- Single project: gallery row (horizontal scroll) --- */
.spcfct-single-layout .spcfct-gallery{display:flex;grid-template-columns:none;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:8px;margin-top:28px}
.spcfct-single-layout .spcfct-gallery .spcfct-gal{flex:0 0 min(70%,440px);scroll-snap-align:start;aspect-ratio:4/5}

/* --- Single project: related grid --- */
.spcfct-related{padding:clamp(60px,8vw,100px) 0;border-top:1.5px solid var(--line)}
.spcfct-related__head{display:flex;justify-content:space-between;align-items:baseline;gap:18px;flex-wrap:wrap;margin-bottom:36px}
.spcfct-related__head h2{font-family:var(--display);text-transform:uppercase;font-size:clamp(1.6rem,3.4vw,2.4rem);margin:0;color:var(--ink)}
.spcfct-related__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,2.6vw,28px)}
@media (max-width:880px){.spcfct-related__grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.spcfct-related__grid{grid-template-columns:1fr}}
.spcfct-related__card{display:block;color:inherit;text-decoration:none}
.spcfct-related__card .cover{position:relative;aspect-ratio:4/5;border:1.5px solid var(--ink);border-radius:14px;overflow:hidden;background:linear-gradient(135deg,var(--paper-2),var(--paper));display:grid;place-items:center}
.spcfct-related__card .cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.16,1,.3,1)}
.spcfct-related__card .cover .glyph{font-family:var(--display);font-size:2.4rem;color:var(--ink-3)}
.spcfct-related__card .cover .chip{position:absolute;top:14px;left:14px;background:var(--paper);border:1.5px solid var(--ink);border-radius:30px;padding:.4em .8em;font-family:var(--mono);font-size:.6rem;letter-spacing:.18em;text-transform:uppercase}
.spcfct-related__card:hover .cover img{transform:scale(1.04)}
.spcfct-related__card .info{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-top:14px}
.spcfct-related__card .info h3{font-family:var(--display);text-transform:uppercase;font-size:1.1rem;line-height:1.05;margin:0;color:var(--ink);transition:color .2s}
.spcfct-related__card:hover .info h3{color:var(--gold)}
.spcfct-related__card .info .mini{font-family:var(--mono);text-transform:uppercase;letter-spacing:.18em;font-size:.6rem;color:var(--ink-3);white-space:nowrap}

/* ============================================================
   CTA / LEAD GEN
   ============================================================ */
.spcfct-cta{padding:clamp(70px,10vw,120px) 0;background:var(--panel);color:var(--paper);position:relative;overflow:hidden;border-top:1.5px solid var(--ink)}
.spcfct-cta .glow{position:absolute;top:-20%;right:-10%;width:60vw;height:80vh;z-index:0;background:radial-gradient(45% 55% at 60% 40%,rgba(201,155,46,.45),transparent 70%);filter:blur(10px)}
.spcfct-cta-grid{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,5vw,64px);align-items:center}
.spcfct-cta-left h2{font-family:var(--display);text-transform:uppercase;font-size:clamp(2.4rem,5vw,4.2rem);line-height:.86;margin:12px 0 18px;color:var(--paper)}
.spcfct-cta-left p{color:rgba(233,226,210,.72);max-width:42ch;margin-bottom:26px}
.spcfct-socials{display:flex;gap:12px;flex-wrap:wrap}
.spcfct-soc{display:flex;align-items:center;gap:10px;border:1.5px solid rgba(233,226,210,.25);border-radius:30px;padding:.6em 1.1em;font-family:var(--mono);text-transform:uppercase;letter-spacing:.12em;font-weight:600;font-size:.74rem;transition:.25s;color:var(--paper)}
.spcfct-soc:hover{border-color:var(--gold);color:var(--gold-soft)}
.spcfct-soc svg{width:16px;height:16px}
.spcfct-lead{background:rgba(233,226,210,.05);border:1.5px solid rgba(233,226,210,.2);border-radius:18px;padding:clamp(24px,3vw,36px)}
.spcfct-lead h3{font-family:var(--display);text-transform:uppercase;font-size:1.5rem;color:var(--paper);margin:0}
.spcfct-lead .small{color:rgba(233,226,210,.6);font-size:.86rem;margin-bottom:22px}
.spcfct-field{margin-bottom:16px}
.spcfct-field label{display:block;font-family:var(--mono);text-transform:uppercase;letter-spacing:.16em;font-size:.64rem;color:var(--gold-soft);margin-bottom:7px}
.spcfct-field input,.spcfct-field textarea{width:100%;background:rgba(233,226,210,.06);border:1.5px solid rgba(233,226,210,.18);border-radius:10px;padding:.85em 1em;color:var(--paper);font-family:var(--body);font-size:.95rem;transition:.2s}
.spcfct-field input:focus,.spcfct-field textarea:focus{outline:none;border-color:var(--gold);background:rgba(233,226,210,.1)}
.spcfct-field input::placeholder,.spcfct-field textarea::placeholder{color:rgba(233,226,210,.34)}
.spcfct-lead .spcfct-lbtn{width:100%;justify-content:center;margin-top:6px}
.spcfct-form-done{display:none;text-align:center;padding:20px 0}
.spcfct-form-done.is-on{display:block}
.spcfct-form-done .st{width:46px;margin:0 auto 12px;color:var(--gold)}
.spcfct-form-done h3{font-family:var(--display);text-transform:uppercase;font-size:1.7rem;color:var(--paper)}
.spcfct-form-done p{color:rgba(233,226,210,.7);font-size:.9rem;margin-top:6px}

/* ============================================================
   FOOTER
   ============================================================ */
.spcfct-footer{background:var(--panel);color:var(--paper);padding:clamp(56px,8vw,80px) 0 36px;position:relative;overflow:hidden}
.spcfct-foot-rose{position:absolute;right:-60px;bottom:-80px;width:min(340px,38vw);z-index:1;opacity:.18;pointer-events:none;will-change:transform;mix-blend-mode:screen;filter:drop-shadow(0 6px 30px rgba(0,0,0,.4));transform:translate3d(0,var(--pp,0px),0)}
.spcfct-foot-rose img{display:block;width:100%;height:auto;transform:rotate(-12deg)}
@media (max-width:720px){.spcfct-foot-rose{width:min(520px,85vw);right:-40px;bottom:-60px;opacity:.22}}

/* --- decorative SVGs ---------------------------------------- */
.spcfct-showcase__star{position:absolute;left:-40px;top:-30px;width:clamp(120px,12vw,200px);z-index:1;opacity:.55;pointer-events:none;will-change:transform;transform:translate3d(0,var(--pp,0px),0);mix-blend-mode:multiply}
.spcfct-showcase__star img{display:block;width:100%;height:auto;transform:rotate(-14deg)}
.spcfct-section{position:relative}

.spcfct-section.has-deco{overflow:hidden}
.spcfct-section.has-deco > .spcfct-wrap{position:relative;z-index:1}
.spcfct-section__deco{position:absolute;width:min(600px,55vw);max-width:none;z-index:0;opacity:.32;pointer-events:none;will-change:transform;mix-blend-mode:multiply}
.spcfct-section__deco img{display:block;width:100%;height:auto}
/* anchoring transforms include var(--pp) so parallax composes with placement offset */
.spcfct-section__deco--center-center{left:50%;top:50%;transform:translate(-50%,calc(-50% + var(--pp,0px)));width:min(1200px,110vw)}
.spcfct-section__deco--top-left    {left:0;top:0;    transform:translate(-25%,calc(-25% + var(--pp,0px)))}
.spcfct-section__deco--top-right   {right:0;top:0;   transform:translate( 25%,calc(-25% + var(--pp,0px)))}
.spcfct-section__deco--bottom-left {left:0;bottom:0; transform:translate(-25%,calc( 25% + var(--pp,0px)))}
.spcfct-section__deco--bottom-right{right:0;bottom:0;transform:translate( 25%,calc( 25% + var(--pp,0px)))}
.spcfct-section__deco--star{width:min(350px,35vw)}
.spcfct-section__deco--star.spcfct-section__deco--center-center{width:min(680px,70vw)}

.spcfct-pagehead{position:relative;overflow:hidden}
.spcfct-pagehead .inner{position:relative;z-index:1}
.spcfct-pagehead__star{position:absolute;left:-40px;top:-30px;width:clamp(120px,12vw,200px);z-index:0;opacity:.55;pointer-events:none;will-change:transform;transform:translate3d(0,var(--pp,0px),0);mix-blend-mode:multiply}
.spcfct-pagehead__star img{display:block;width:100%;height:auto;transform:rotate(-14deg)}
.spcfct-foot-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:40px}
.spcfct-foot-brand{text-align:left}
.spcfct-foot-brand .spcfct-foot-logo{display:block;width:160px;height:auto;margin:0 0 14px}
.spcfct-foot-brand p{color:rgba(233,226,210,.6);max-width:34ch;margin:12px 0 0;font-size:.92rem}
.spcfct-foot-col h5{font-family:var(--mono);text-transform:uppercase;letter-spacing:.2em;font-size:.68rem;color:var(--gold-soft);margin-bottom:16px}
.spcfct-foot-col a,.spcfct-foot-col button{display:block;color:rgba(233,226,210,.78);font-size:.94rem;margin-bottom:10px;transition:.2s;text-align:left;text-decoration:none}
.spcfct-foot-col a:hover,.spcfct-foot-col button:hover{color:var(--paper);padding-left:4px}
.spcfct-foot-contact a{display:flex;align-items:center;gap:10px}
.spcfct-foot-contact svg{width:15px;height:15px;color:var(--gold-soft)}
.spcfct-foot-bottom{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;margin-top:50px;padding-top:24px;border-top:1.5px solid rgba(233,226,210,.14);font-family:var(--mono);text-transform:uppercase;letter-spacing:.14em;font-size:.7rem;color:rgba(233,226,210,.55)}
.spcfct-rose-sketch path{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notices-wrapper .woocommerce-message{background:var(--paper-2);border-top:3px solid var(--gold);color:var(--ink);font-family:var(--mono);text-transform:uppercase;letter-spacing:.12em;font-size:.74rem;padding:14px 18px;border-radius:8px}
/* WC inline "View cart" link injected next to product loop's Add To Cart — we open the drawer instead */
.woocommerce a.added_to_cart,.woocommerce-page a.added_to_cart{display:none !important}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce .button{background:var(--ink) !important;color:var(--paper) !important;font-family:var(--mono);text-transform:uppercase;letter-spacing:.16em;font-weight:600;font-size:.74rem;padding:.9em 1.6em;border-radius:40px;border:1.5px solid var(--ink);transition:.25s}
.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--gold) !important;color:var(--ink) !important}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:var(--gold);font-family:var(--mono);font-weight:700;letter-spacing:.06em}
.woocommerce ul.products li.product h2,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--display);text-transform:uppercase;font-size:1.05rem !important;line-height:1.05 !important;letter-spacing:-.01em;margin:0 0 8px !important;min-height:2.1em}

/* Shop archive grid — uniform card heights via CSS grid + aspect-ratio thumbs */
.woocommerce ul.products{display:grid !important;grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:clamp(16px,2vw,28px) !important;list-style:none;margin:0 auto !important;padding:0 !important;max-width:var(--maxw);float:none !important}
@media(max-width:1080px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr)) !important}}
@media(max-width:780px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr)) !important}}
@media(max-width:480px){.woocommerce ul.products{grid-template-columns:1fr !important}}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none !important}
.woocommerce ul.products li.product{margin:0 !important;width:auto !important;padding:16px !important;background:var(--paper);border:1.5px solid var(--ink);border-radius:16px;transition:transform .3s;display:flex !important;flex-direction:column;float:none !important;clear:none !important}
.woocommerce ul.products li.product:hover{transform:translateY(-4px)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link,.woocommerce ul.products li.product .woocommerce-loop-product__link{display:flex;flex-direction:column;text-decoration:none;color:inherit;flex:1}
.woocommerce ul.products li.product img,.woocommerce ul.products li.product .attachment-woocommerce_thumbnail{width:100% !important;height:auto !important;aspect-ratio:1/1;object-fit:cover;background:var(--paper-2);border-radius:12px;margin:0 0 14px !important;display:block}
.woocommerce ul.products li.product .price{margin:auto 0 12px !important}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product a.button{margin:0 !important;text-align:center;width:100%;display:block}
.woocommerce ul.products li.product .onsale{position:absolute;top:12px;right:12px;background:var(--gold);color:var(--ink);font-family:var(--mono);font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;padding:.4em .8em;border-radius:30px;margin:0}
.woocommerce ul.products li.product{position:relative}

/* Single product breadcrumb — match nav font */
.woocommerce .woocommerce-breadcrumb{font-family:var(--mono);text-transform:uppercase;letter-spacing:.2em;font-weight:500;font-size:.78rem;color:var(--ink-3);margin:0 0 clamp(20px,3vw,32px);padding:0;display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.woocommerce .woocommerce-breadcrumb a{color:var(--ink);text-decoration:none;transition:color .2s}
.woocommerce .woocommerce-breadcrumb a:hover{color:var(--gold)}

/* Single product layout: gallery left + summary right (gallery capped so it never balloons) */
.woocommerce div.product{display:grid !important;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(28px,4vw,56px);margin-top:0;padding:clamp(20px,3vw,40px) 0;align-items:start}
.woocommerce div.product>*{float:none !important;width:auto !important;clear:none !important}
.woocommerce div.product .images,.woocommerce div.product .woocommerce-product-gallery{width:auto !important;margin:0;float:none !important;max-width:520px;justify-self:start}
.woocommerce div.product .summary{margin:0;float:none !important}
.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1}

/* Related products section */
.woocommerce .related.products,.woocommerce .upsells.products{margin-top:clamp(60px,7vw,90px);padding-top:clamp(30px,4vw,50px);border-top:1.5px solid var(--line)}
.woocommerce .related.products > h2,.woocommerce .upsells.products > h2{font-family:var(--display);text-transform:uppercase;font-size:clamp(1.6rem,3vw,2.2rem);letter-spacing:-.01em;margin:0 0 clamp(24px,3vw,40px) !important;line-height:1}

/* Mobile: edge-to-edge horizontal scroll-snap carousel (matches home shop teaser feel) */
@media(max-width:780px){
  .woocommerce .related.products ul.products,.woocommerce .upsells.products ul.products{
    display:flex !important;
    grid-template-columns:none !important;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    gap:14px !important;
    padding:14px 0 24px !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    max-width:none !important;
    width:100vw !important;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
  }
  .woocommerce .related.products ul.products::-webkit-scrollbar,.woocommerce .upsells.products ul.products::-webkit-scrollbar{display:none}
  .woocommerce .related.products ul.products li.product,.woocommerce .upsells.products ul.products li.product{
    flex:0 0 82% !important;
    scroll-snap-align:center;
    min-width:0;
  }
  .woocommerce .related.products ul.products li.product:first-child,.woocommerce .upsells.products ul.products li.product:first-child{margin-left:9vw !important}
  .woocommerce .related.products ul.products li.product:last-child,.woocommerce .upsells.products ul.products li.product:last-child{margin-right:9vw !important}
}
@media (max-width:880px){.woocommerce div.product{grid-template-columns:1fr}.woocommerce div.product .woocommerce-product-gallery{max-width:none}}

/* Single product gallery — custom JS swapper (main.js → spcfct-pg-thumbs).
 * One slide visible at a time; click thumbnail strip to swap.
 */
.woocommerce div.product .woocommerce-product-gallery{opacity:1 !important;position:relative}
.woocommerce div.product .woocommerce-product-gallery__wrapper{margin:0;position:relative}
.woocommerce div.product .woocommerce-product-gallery__image{margin:0;border:1.5px solid var(--line);border-radius:16px;overflow:hidden;background:var(--paper-2);width:100% !important}
.woocommerce div.product .woocommerce-product-gallery__image img,.woocommerce div.product .woocommerce-product-gallery img.wp-post-image{width:100% !important;height:auto !important;max-height:60vh !important;object-fit:contain;display:block;margin:0;background:var(--paper-2)}
.woocommerce div.product .woocommerce-product-gallery__trigger{position:absolute;top:14px;right:14px;z-index:3;background:var(--ink);color:var(--paper);border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-size:0;text-indent:0;text-decoration:none}
.woocommerce div.product .woocommerce-product-gallery__trigger::before{content:"⤢";font-size:18px;color:var(--paper)}
/* Custom thumbnail strip */
.spcfct-pg-thumbs{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0 0;padding:0}
.spcfct-pg-thumbs li{margin:0;padding:0;cursor:pointer;border:1.5px solid transparent;border-radius:8px;overflow:hidden;background:var(--paper-2);transition:border-color .2s,opacity .2s;opacity:.65}
.spcfct-pg-thumbs li:hover,.spcfct-pg-thumbs li.is-active{opacity:1;border-color:var(--gold)}
.spcfct-pg-thumbs li img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;display:block}
.woocommerce div.product .woocommerce-product-gallery__image a{display:block;cursor:zoom-in}
/* Lightbox overlay */
.spcfct-lightbox{position:fixed;inset:0;background:rgba(15,12,8,.92);display:none;align-items:center;justify-content:center;z-index:9999;padding:40px;cursor:zoom-out}
.spcfct-lightbox.is-open{display:flex}
.spcfct-lightbox img{max-width:100%;max-height:100%;object-fit:contain;cursor:default}
.spcfct-lightbox .close{position:absolute;top:20px;right:24px;background:transparent;color:#fff;border:0;font-size:42px;line-height:1;cursor:pointer;font-family:var(--mono);padding:4px 12px;border-radius:50%;transition:background .2s}
.spcfct-lightbox .close:hover{background:rgba(255,255,255,.12)}

/* Single product summary */
.woocommerce div.product .product_title{font-family:var(--display);text-transform:uppercase;font-size:clamp(1.8rem,3.6vw,2.6rem);line-height:.95;letter-spacing:-.01em;margin:0 0 16px}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-family:var(--mono);color:var(--gold);font-size:1.4rem !important;margin:0 0 18px}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--ink-2);margin-bottom:20px}
.woocommerce div.product form.cart{margin:18px 0;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.woocommerce div.product form.cart .quantity{margin:0}
.woocommerce div.product form.cart .quantity input.qty{width:80px;text-align:center;border:1.5px solid var(--line);border-radius:10px;padding:.7em .5em;background:var(--paper);font-family:var(--body)}

/* Variations (color / size etc.) — on-theme picker */
.woocommerce div.product form.variations_form.cart{display:block;margin:0 0 24px}
.woocommerce div.product form.variations_form .variations{width:100%;border:0;border-spacing:0;margin:0 0 18px;display:grid;gap:14px}
.woocommerce div.product form.variations_form .variations tbody,.woocommerce div.product form.variations_form .variations tr{display:contents}
.woocommerce div.product form.variations_form .variations th.label,.woocommerce div.product form.variations_form .variations td.value{display:block;padding:0;border:0}
.woocommerce div.product form.variations_form .variations th.label label{font-family:var(--mono);text-transform:uppercase;letter-spacing:.22em;font-weight:600;font-size:.66rem;color:var(--gold);margin:0 0 8px;display:block}
.woocommerce div.product form.variations_form .variations td.value{position:relative;max-width:320px}
.woocommerce div.product form.variations_form .variations select{appearance:none;-webkit-appearance:none;-moz-appearance:none;width:100%;max-width:320px;font-family:var(--mono);text-transform:uppercase;letter-spacing:.14em;font-weight:500;font-size:.72rem;color:var(--ink);background-color:var(--paper);border:1.5px solid var(--ink);border-radius:40px;padding:.85em 2.4em .85em 1.2em;cursor:pointer;transition:border-color .2s,color .2s;line-height:1.1;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5L6 6.5L11 1.5' stroke='%231A180F' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");background-repeat:no-repeat;background-position:right 16px center;background-size:11px 8px}
.woocommerce div.product form.variations_form .variations select:hover,.woocommerce div.product form.variations_form .variations select:focus{border-color:var(--gold);color:var(--gold);outline:0}
.woocommerce div.product form.variations_form .reset_variations{font-family:var(--mono);text-transform:uppercase;letter-spacing:.16em;font-size:.66rem;color:var(--ink-3);text-decoration:none;display:inline-flex;align-items:center;gap:6px;margin:0 0 14px;transition:color .2s}
.woocommerce div.product form.variations_form .reset_variations:hover{color:var(--gold)}
.woocommerce div.product form.variations_form .reset_variations::before{content:"×";font-size:1rem;line-height:1}
.woocommerce div.product .single_variation_wrap{margin-top:6px}
.woocommerce div.product .woocommerce-variation-price{margin:0 0 14px;font-family:var(--mono);color:var(--gold);font-size:1.4rem;font-weight:700}
.woocommerce div.product .woocommerce-variation-availability{margin:0 0 14px;font-family:var(--mono);font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-3)}
.woocommerce div.product .woocommerce-variation-description p{color:var(--ink-2);margin:0 0 12px}

/* Product tabs (Description / Additional information / Reviews) */
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1;margin:clamp(36px,6vw,72px) 0 0;padding:clamp(28px,4vw,48px) 0 0;border-top:1.5px solid var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:clamp(20px,3vw,42px);list-style:none;margin:0 0 clamp(24px,3vw,36px);padding:0;border:0}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs::after{display:none !important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent !important;border:0 !important;border-radius:0 !important;padding:0 !important;margin:0 !important;box-shadow:none !important}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none !important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-family:var(--mono);text-transform:uppercase;letter-spacing:.22em;font-weight:600;font-size:.74rem;color:var(--ink-3);text-decoration:none;padding:8px 0;position:relative;display:inline-block;transition:color .2s}
.woocommerce div.product .woocommerce-tabs ul.tabs li a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:1.5px;background:var(--gold);transition:width .3s}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{color:var(--ink)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ink)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after,.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover::after{width:100%}
.woocommerce div.product .woocommerce-Tabs-panel{padding:0;max-width:72ch}
.woocommerce div.product .woocommerce-Tabs-panel h2{font-family:var(--display);text-transform:uppercase;font-size:clamp(1.3rem,2.4vw,1.7rem);letter-spacing:-.01em;margin:0 0 18px;color:var(--ink)}
.woocommerce div.product .woocommerce-Tabs-panel p{color:var(--ink-2);line-height:1.7;margin:0 0 14px}
.woocommerce div.product .woocommerce-Tabs-panel--additional_information table.shop_attributes{width:100%;border:0;border-collapse:collapse}
.woocommerce div.product .woocommerce-Tabs-panel--additional_information table.shop_attributes th,.woocommerce div.product .woocommerce-Tabs-panel--additional_information table.shop_attributes td{padding:12px 0;border-bottom:1px solid var(--line);background:transparent;text-align:left}
.woocommerce div.product .woocommerce-Tabs-panel--additional_information table.shop_attributes th{font-family:var(--mono);text-transform:uppercase;letter-spacing:.2em;font-weight:600;font-size:.66rem;color:var(--gold);width:30%}
.woocommerce div.product .woocommerce-Tabs-panel--additional_information table.shop_attributes td{font-family:var(--body);color:var(--ink)}
.woocommerce div.product .woocommerce-Tabs-panel--reviews #reviews{margin:0}
.woocommerce div.product .woocommerce-Tabs-panel--reviews #review_form input[type=text],.woocommerce div.product .woocommerce-Tabs-panel--reviews #review_form input[type=email],.woocommerce div.product .woocommerce-Tabs-panel--reviews #review_form textarea{width:100%;border:1.5px solid var(--line);border-radius:10px;padding:.8em 1em;background:var(--paper);font-family:var(--body);color:var(--ink)}
.woocommerce div.product .woocommerce-Tabs-panel--reviews #review_form select{font-family:var(--mono);text-transform:uppercase;letter-spacing:.16em;font-size:.74rem;border:1.5px solid var(--ink);border-radius:40px;padding:.7em 1.2em;background:var(--paper);color:var(--ink)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1.5px solid var(--line);border-radius:10px;padding:.7em 1em;background:var(--paper);font-family:var(--body);color:var(--ink)}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-checkout #order_review{border:1.5px solid var(--ink);border-radius:18px;padding:24px;background:var(--paper-2)}

/* WC main area inherits page padding */
.wc-page main{padding-top:120px;padding-bottom:80px; min-height:67.125vh;}

/* Archive shop wrapper — pad WC legacy products grid */
.spcfct-shop-archive{padding:0 clamp(20px,4vw,56px) clamp(60px,8vw,100px);max-width:var(--maxw);margin:0 auto;position:relative}
.spcfct-shop-archive ul.products{transition:opacity .15s ease}
.spcfct-shop-archive.is-loading ul.products{opacity:.5;pointer-events:none}
.spcfct-shop-archive.is-loading .spcfct-shop-toolbar__sort,.spcfct-shop-archive.is-loading .spcfct-shop-toolbar__filter-btn{opacity:.7}
.spcfct-shop-archive::after{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:var(--gold);transform:scaleX(0);transform-origin:left;pointer-events:none;opacity:0;transition:opacity .2s}
.spcfct-shop-archive.is-loading::after{opacity:1;animation:spcfct-load-bar 1.05s ease-in-out infinite}
@keyframes spcfct-load-bar{0%{transform:translateX(-100%) scaleX(.4)}50%{transform:translateX(0%) scaleX(.7)}100%{transform:translateX(100%) scaleX(.4)}}
.woocommerce-products-header{display:none}
.spcfct-shop-archive .page-description > *:not(:last-child){margin-bottom:0}

/* ============================================================
   SHOP TOOLBAR — search + filter drawer + sort
   ============================================================ */
.spcfct-shop-toolbar{position:relative;margin:20px 0 18px}
.woocommerce-page .spcfct-shop-toolbar label,.spcfct-shop-toolbar label{margin:0}
.spcfct-shop-toolbar__row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.spcfct-shop-toolbar__spacer{flex:1}
.spcfct-shop-toolbar__search{display:flex;align-items:center;gap:8px;flex:1 1 280px;max-width:420px;min-width:200px;background:var(--paper);border:1.5px solid var(--ink);border-radius:30px;padding:0 14px;height:44px;color:var(--ink);transition:border-color .2s,box-shadow .2s}
.spcfct-shop-toolbar__search:focus-within{box-shadow:3px 3px 0 var(--ink)}
.spcfct-shop-toolbar__search svg{width:18px;height:18px;flex-shrink:0;color:var(--ink-3)}
.spcfct-shop-toolbar__search input{flex:1;border:0;background:none;outline:0;font-family:var(--mono);font-size:.86rem;letter-spacing:.04em;color:var(--ink);padding:0;min-width:0}
.spcfct-shop-toolbar__search input::placeholder{color:var(--ink-3);opacity:.7}
.spcfct-shop-toolbar__filter-btn{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-radius:30px;border:1.5px solid var(--ink);background:var(--paper);color:var(--ink);font-family:var(--mono);text-transform:uppercase;letter-spacing:.14em;font-weight:600;font-size:.72rem;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s,transform .2s}
.spcfct-shop-toolbar__filter-btn:hover{background:var(--gold);transform:translateY(-2px);box-shadow:3px 5px 0 var(--ink)}
.spcfct-shop-toolbar__filter-btn[aria-expanded="true"]{background:var(--ink);color:var(--paper)}
.spcfct-shop-toolbar__filter-btn svg{width:16px;height:14px}
.spcfct-shop-toolbar__filter-btn .badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--gold);color:var(--ink);font-size:.66rem;line-height:1;font-weight:700}
.spcfct-shop-toolbar__filter-btn.has-active:not([aria-expanded="true"]){border-color:var(--gold)}
.spcfct-shop-toolbar__sort{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 14px 0 18px;border-radius:30px;border:1.5px solid var(--ink);background:var(--paper);color:var(--ink);font-family:var(--mono);text-transform:uppercase;letter-spacing:.14em;font-weight:600;font-size:.72rem}
.spcfct-shop-toolbar__sort .lbl{color:var(--ink-3)}
.spcfct-shop-toolbar__sort select{appearance:none;-webkit-appearance:none;border:0;background:none;font-family:inherit;font-size:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;font-weight:inherit;padding-right:18px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23171510' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right center;background-size:10px 6px}
.spcfct-shop-toolbar__sort select:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:4px}

/* Filter panel */
.spcfct-shop-toolbar__panel{position:absolute;top:calc(100% + 10px);right:0;z-index:30;background:var(--paper);border:1.5px solid var(--ink);border-radius:18px;box-shadow:6px 6px 0 var(--ink);width:min(420px,calc(100vw - 40px));overflow:hidden;animation:spcfct-pop .18s ease-out}
.spcfct-shop-toolbar__panel[hidden]{display:none}
@keyframes spcfct-pop{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.spcfct-shop-toolbar__panel-inner{padding:18px 20px 20px;display:flex;flex-direction:column;gap:16px}
.spcfct-shop-toolbar__group{border:0;margin:0;padding:0}
.spcfct-shop-toolbar__group legend{font-family:var(--mono);text-transform:uppercase;letter-spacing:.18em;font-size:.66rem;color:var(--gold);margin-bottom:10px}
.spcfct-shop-toolbar__chips{display:flex;flex-wrap:wrap;gap:8px}
.spcfct-shop-toolbar__chip{position:relative;cursor:pointer}
.spcfct-shop-toolbar__chip input{position:absolute;opacity:0;pointer-events:none}
.spcfct-shop-toolbar__chip span{display:inline-block;padding:7px 14px;border-radius:20px;border:1.5px solid var(--ink);font-family:var(--mono);text-transform:uppercase;letter-spacing:.12em;font-size:.66rem;font-weight:600;transition:background .15s,color .15s}
.spcfct-shop-toolbar__chip:hover span{background:var(--paper-2)}
.spcfct-shop-toolbar__chip input:checked + span{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.spcfct-shop-toolbar__chip input:focus-visible + span{outline:2px solid var(--gold);outline-offset:2px}
.spcfct-shop-toolbar__price{display:flex;align-items:flex-end;gap:10px}
.spcfct-shop-toolbar__price label{display:flex;flex-direction:column;gap:4px;flex:1}
.spcfct-shop-toolbar__price label span{font-family:var(--mono);text-transform:uppercase;letter-spacing:.12em;font-size:.62rem;color:var(--ink-3)}
.spcfct-shop-toolbar__price input{height:40px;border:1.5px solid var(--ink);border-radius:10px;background:var(--paper);padding:0 12px;font-family:var(--mono);font-size:.86rem;color:var(--ink);width:100%}
.spcfct-shop-toolbar__price input:focus-visible{outline:0;box-shadow:2px 2px 0 var(--ink)}
.spcfct-shop-toolbar__price .sep{padding-bottom:10px;color:var(--ink-3)}
.spcfct-shop-toolbar__actions{display:flex;justify-content:space-between;gap:10px;padding-top:4px;border-top:1px dashed var(--line)}
.spcfct-shop-toolbar__actions .spcfct-lbtn,.spcfct-shop-toolbar__actions button{margin-top:12px}
.spcfct-shop-toolbar__actions button{padding:.7em 1.4em;border-radius:30px;background:var(--ink);color:var(--paper);border:0;cursor:pointer;font-family:var(--mono);text-transform:uppercase;letter-spacing:.14em;font-weight:600;font-size:.72rem;transition:background .2s,transform .2s}
.spcfct-shop-toolbar__actions button:hover{background:var(--gold);color:var(--ink);transform:translateY(-2px)}

/* Result count below toolbar */
.spcfct-shop-meta{font-family:var(--mono);text-transform:uppercase;letter-spacing:.18em;font-size:.66rem;color:var(--ink-3);margin:0 0 18px}
.spcfct-shop-meta .woocommerce-result-count{margin:0}

/* Pagination */
.woocommerce-pagination{margin:clamp(40px,5vw,64px) 0 0;text-align:center}
.woocommerce-pagination ul.page-numbers{display:inline-flex !important;align-items:center !important;gap:8px !important;list-style:none !important;padding:0 !important;margin:0 !important;border:0 !important;background:none !important;flex-wrap:wrap;justify-content:center}
.woocommerce-pagination ul.page-numbers li{margin:0 !important;border:0 !important;background:none !important;padding:0 !important;width:auto !important;flex:0 0 auto !important}
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span{box-sizing:border-box !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;min-width:44px !important;height:44px !important;padding:0 14px !important;border-radius:30px !important;border:1.5px solid var(--ink) !important;background:var(--paper) !important;color:var(--ink) !important;font-family:var(--mono) !important;font-weight:700 !important;font-size:.78rem !important;letter-spacing:.04em !important;line-height:1 !important;text-decoration:none !important;transition:background .2s,color .2s,transform .2s,box-shadow .2s;flex-shrink:0 !important}
.woocommerce-pagination ul.page-numbers li a:hover{background:var(--gold) !important;transform:translateY(-2px);box-shadow:3px 5px 0 var(--ink) !important}
.woocommerce-pagination ul.page-numbers li span.current{background:var(--ink) !important;color:var(--paper) !important}
.woocommerce-pagination ul.page-numbers li span.dots{border:0 !important;background:none !important;color:var(--ink-3) !important;min-width:auto !important;padding:0 4px !important;height:auto !important;box-shadow:none !important}

/* Mobile toolbar adjustments */
@media(max-width:780px){
  .spcfct-shop-toolbar__row{gap:10px}
  .spcfct-shop-toolbar__search{flex-basis:100%;max-width:none;order:-1}
  .spcfct-shop-toolbar__spacer{display:none}
  .spcfct-shop-toolbar__filter-btn,.spcfct-shop-toolbar__sort{flex:1 1 0;min-width:0;justify-content:center}
  .spcfct-shop-toolbar__sort{padding:0 14px}
  .spcfct-shop-toolbar__sort .lbl{flex-shrink:0}
  .spcfct-shop-toolbar__sort select{min-width:0;width:100%;text-overflow:ellipsis;overflow:hidden}
  .spcfct-shop-toolbar__panel{left:0;right:0;width:auto;margin:0}
}
@media(max-width:480px){
  .spcfct-shop-toolbar__filter-btn,.spcfct-shop-toolbar__sort{flex-basis:100%}
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1080px){
  .spcfct-intro-grid,.spcfct-cta-grid,.spcfct-proj-top{grid-template-columns:1fr;gap:36px}
  .spcfct-skills{grid-template-columns:1fr;gap:30px}
  .spcfct-cat-grid{grid-template-columns:1fr 1fr}
  .spcfct-foot-grid{grid-template-columns:1fr 1fr}
  .spcfct-tl-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .spcfct-tl-track{display:none}
  .spcfct-tl-meta h4{font-size:1rem}
}
@media(max-width:860px){
  .spcfct-nav-links,.spcfct-nav-icons{display:none}
  /* Smaller cart pill + burger on mobile */
  .spcfct-nav-right{align-items:center; margin-top:0; margin-bottom:0;}
  .spcfct-burger{display:flex;width:36px;height:36px;border-radius:10px;gap:4px;padding:0;box-sizing:border-box;align-self:center}
  .spcfct-burger span{width:15px;height:1.6px}
  .spcfct-cart-pill{height:36px;padding:0 .9em;font-size:.66rem;letter-spacing:.14em;gap:8px;box-sizing:border-box;align-self:center;line-height:1}
  .spcfct-cart-pill .spcfct-count{width:18px;height:18px;font-size:.64rem}
  /* Mobile hero — locked height, full-bleed image top, tan section bottom */
  .spcfct-hero{height:100svh;min-height:640px;padding-top:80px;padding-bottom:28px}
  /* Tan backdrop wash — image up top, text reads against tan */
  .spcfct-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:48%;background:linear-gradient(to bottom,rgba(233,226,210,0) 0%,rgba(233,226,210,.92) 25%,var(--paper) 55%);z-index:1;pointer-events:none}
  /* Full-bleed image — rectangular, no circular crop. Blur is driven by
     .is-in-view (set by hero/view.js IntersectionObserver); when hero is
     fully in viewport the blur lifts smoothly via the base filter transition. */
  .spcfct-blob{top:80px;right:0;left:0;width:100vw;height:55vh;border-radius:0;background:none}
  .spcfct-blob::after{display:none}
  .spcfct-blob-img,.spcfct-blob-media{border-radius:0;opacity:1}
  .spcfct-dunes{height:22vh}
  .spcfct-hero-bar{position:absolute;left:0;right:0;bottom:0;margin:0 auto;max-width:var(--maxw);flex-direction:column;align-items:flex-start;gap:10px;padding:0 clamp(20px,5vw,32px) 28px;z-index:2}
  .spcfct-hero-left{flex:0 0 auto;width:100%;max-width:100%}
  .spcfct-hero-right{flex:0 0 auto;width:100%;align-items:flex-start;text-align:left}
  .spcfct-hero-right .spcfct-latest h3{justify-content:flex-start;text-align:left}
  .spcfct-hero-title{font-size:clamp(2.5rem,12vw,4.5rem);min-height:2lh}
  .spcfct-hero-title .line{min-height:1lh}
  .spcfct-hero-idx{min-height:1lh;margin-bottom:6px}
  .spcfct-latest{min-height:0}
  .spcfct-latest .lab{min-height:1lh;margin-bottom:4px}
  .spcfct-latest h3{min-height:1.2em}
  .spcfct-latest .meta{min-height:1lh}
  .spcfct-ship{grid-template-columns:1fr}
  .spcfct-ship .tag{writing-mode:horizontal-tb;transform:none}
  .spcfct-ship-cols{grid-template-columns:1fr}
}
@media(max-width:560px){
  .spcfct-cat-grid,.spcfct-foot-grid{grid-template-columns:1fr}
  .spcfct-hero-title{font-size:clamp(2.8rem,16vw,5rem)}
}
@media(prefers-reduced-motion:reduce){
  *{animation-duration:.001ms!important;animation-iteration-count:1!important}
}

/* ============================================================
   PROJECT GALLERY (spcfct/project-gallery)
   ============================================================ */
.spcfct-pg{--spcfct-pg-ratio:3 / 2;margin:clamp(28px,5vw,56px) 0;position:relative}
.spcfct-pg__viewport{position:relative;display:flex;align-items:center}
.spcfct-pg__track{list-style:none;margin:0;padding:12px 0 24px;display:flex;gap:clamp(16px,2vw,24px);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;width:100%;scroll-padding-left:clamp(20px,4vw,56px);scroll-padding-right:clamp(20px,4vw,56px)}
.spcfct-pg__track::-webkit-scrollbar{display:none}
.spcfct-pg__slide{flex:0 0 calc((100% - clamp(40px,8vw,112px)) - clamp(16px,2vw,24px));scroll-snap-align:center;min-width:0}
.spcfct-pg__slide:first-child{margin-left:clamp(20px,4vw,56px)}
.spcfct-pg__slide:last-child{margin-right:clamp(20px,4vw,56px)}
.spcfct-pg__slide figure{margin:0;display:flex;flex-direction:column;gap:10px}
.spcfct-pg__open{display:block;width:100%;padding:0;margin:0;background:none;border:1.5px solid var(--ink);border-radius:14px;overflow:hidden;cursor:zoom-in;aspect-ratio:var(--spcfct-pg-ratio);box-shadow:8px 8px 0 transparent;transition:transform .3s,box-shadow .3s}
.spcfct-pg__slide.is-current .spcfct-pg__open{box-shadow:8px 8px 0 var(--ink)}
.spcfct-pg__open:hover{transform:translateY(-4px)}
.spcfct-pg__open img{width:100%;height:100%;object-fit:cover;display:block}
.spcfct-pg__slide figcaption{font-family:var(--mono);font-size:.74rem;letter-spacing:.06em;color:var(--ink-3);padding:0 4px;line-height:1.4}
.spcfct-pg__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:48px;height:48px;border-radius:50%;background:var(--paper);border:1.5px solid var(--ink);color:var(--ink);display:grid;place-items:center;cursor:pointer;transition:transform .2s,background .2s;box-shadow:4px 4px 0 var(--ink)}
.spcfct-pg__nav:hover{background:var(--gold);transform:translateY(-50%) translateY(-2px)}
.spcfct-pg__nav[disabled]{opacity:.35;cursor:default;pointer-events:none;box-shadow:none}
.spcfct-pg__nav svg{width:18px;height:16px}
.spcfct-pg__nav--prev{left:clamp(8px,1.5vw,20px)}
.spcfct-pg__nav--next{right:clamp(8px,1.5vw,20px)}
.spcfct-pg__meta{display:flex;align-items:center;gap:14px;padding:0 clamp(20px,4vw,56px);margin-top:8px}
.spcfct-pg__count{font-family:var(--mono);font-size:.76rem;letter-spacing:.14em;color:var(--ink-3)}
.spcfct-pg__count .sep{opacity:.5;margin:0 4px}
.spcfct-pg__progress{flex:1;display:flex;gap:4px}
.spcfct-pg__seg{flex:1;height:3px;background:var(--ink-3);opacity:.25;border-radius:2px;transition:opacity .25s,background .25s}
.spcfct-pg__seg.is-on{background:var(--ink);opacity:1}
.spcfct-pg__thumbs{list-style:none;margin:14px 0 0;padding:0 clamp(20px,4vw,56px);display:flex;gap:8px;overflow-x:auto;scrollbar-width:none}
.spcfct-pg__thumbs::-webkit-scrollbar{display:none}
.spcfct-pg__thumb{padding:0;border:1.5px solid transparent;border-radius:8px;overflow:hidden;background:none;width:64px;height:48px;flex:0 0 auto;cursor:pointer;transition:border-color .2s,transform .2s;opacity:.6}
.spcfct-pg__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.spcfct-pg__thumb:hover{opacity:.9}
.spcfct-pg__thumb.is-active{border-color:var(--ink);opacity:1;transform:translateY(-2px)}
@media(max-width:780px){
  .spcfct-pg__slide{flex:0 0 calc(100% - clamp(20px,5vw,32px) - clamp(20px,5vw,32px))}
  .spcfct-pg__slide:first-child{margin-left:clamp(20px,5vw,32px)}
  .spcfct-pg__slide:last-child{margin-right:clamp(20px,5vw,32px)}
  .spcfct-pg__nav{display:none}
  .spcfct-pg__meta{padding:0 clamp(20px,5vw,32px)}
  .spcfct-pg__thumbs{padding:0 clamp(20px,5vw,32px)}
  .spcfct-pg__track{scroll-padding-left:clamp(20px,5vw,32px)}
}

/* Editor preview */
.spcfct-pg-edit__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.spcfct-pg-edit__item{position:relative;margin:0;border:1.5px solid #ddd;border-radius:10px;overflow:hidden;background:#f4f1ea}
.spcfct-pg-edit__item img{width:100%;height:100%;object-fit:cover;display:block}
.spcfct-pg-edit__bar{position:absolute;left:6px;right:6px;bottom:6px;display:flex;justify-content:space-between;gap:6px;opacity:0;transition:opacity .15s}
.spcfct-pg-edit__item:hover .spcfct-pg-edit__bar{opacity:1}


