/* Hexchess 3 page: Kickstarter typography, the knight opening, set title cards and the configurator section. */
@font-face{font-family:'HX3 Cinzel';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/hexchess3-cinzel-600.woff2) format('woff2')}
@font-face{font-family:'HX3 Jost';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/hexchess3-jost-400.woff2) format('woff2')}
@font-face{font-family:'HX3 Jost';font-style:normal;font-weight:500;font-display:swap;src:url(/assets/hexchess3-jost-500.woff2) format('woff2')}
@font-face{font-family:'HX3 Cormorant';font-style:italic;font-weight:500;font-display:swap;src:url(/assets/hexchess3-cormorant-500-italic.woff2) format('woff2')}

.showcase-hexchess3,.hx3-config-intro,.hx3-config-page{--hx3-ink:#020008;--hx3-ivory:#f3ede3;--hx3-stone:#a49d92;--hx3-gold-hi:#f6d4a2;--hx3-gold:#d99f5f;--hx3-gold-lo:#8a5a2b;--hx3-title:'HX3 Cinzel',Georgia,serif;--hx3-label:'HX3 Jost','DM Sans',sans-serif;--hx3-lede:'HX3 Cormorant',Georgia,serif;--world-accent:var(--hx3-gold)}

/* ---------- type ---------- */
.showcase-hexchess3 h1,.showcase-hexchess3 h2,.hx3-config-intro h1,.hx3-configure h2{font-family:var(--hx3-title);font-weight:600;letter-spacing:.035em;line-height:1.14;color:var(--hx3-ivory);text-wrap:balance}
.hx3-config-intro h1 em{font-family:var(--hx3-lede);font-style:italic;font-weight:500;letter-spacing:0;color:var(--hx3-gold)}
.showcase-hexchess3 .eyebrow,.hx3-config-intro .eyebrow,.hx3-configure .eyebrow{font-family:var(--hx3-label);font-weight:500;letter-spacing:.32em;text-transform:uppercase;color:var(--hx3-gold)}
.showcase-hexchess3 .button,.hx3-configure .button,.hx3-config-page .button{font-family:var(--hx3-label);font-weight:500;letter-spacing:.14em;text-transform:uppercase;font-size:.8rem}
.showcase-hexchess3 .text-link,.showcase-hexchess3 .landmark-index a,.showcase-hexchess3 .landmark-scroll{font-family:var(--hx3-label);letter-spacing:.2em;text-transform:uppercase;font-size:.78rem}
.showcase-hexchess3 .landmark-copy h2{font-size:clamp(2.1rem,3.3vw,3.5rem);margin-bottom:24px}
.showcase-hexchess3 .landmark-copy>p:not(.eyebrow):not(.landmark-purchase-note){font-family:var(--hx3-lede);font-style:italic;font-weight:500;font-size:1.42rem;line-height:1.42;color:#ddd5c9;max-width:440px}
.showcase-hexchess3 .landmark-copy .landmark-purchase-note{font-family:var(--hx3-label);letter-spacing:.12em;text-transform:uppercase;font-size:.7rem!important;color:var(--hx3-stone)}
.showcase-hexchess3 .landmark-copy .text-link{display:inline-block;margin-top:22px}
.showcase-hexchess3 .guardia-intro h2,.showcase-hexchess3 .guardia-interlude h2,.showcase-hexchess3 .guardia-closing h2{font-size:clamp(2.5rem,4.6vw,4.9rem)}
.showcase-hexchess3 .guardia-intro-lede,.showcase-hexchess3 .guardia-interlude .guardia-reading-content>p:last-child,.showcase-hexchess3 .guardia-closing>p{font-family:var(--hx3-lede);font-style:italic;font-weight:500;font-size:1.5rem;line-height:1.45;color:#d6cec2}
.showcase-hexchess3 .guardia-scope strong{font-family:var(--hx3-title);font-weight:600;letter-spacing:.06em;font-size:clamp(1.05rem,1.7vw,1.7rem)}
.showcase-hexchess3 .guardia-scope span{font-family:var(--hx3-label);letter-spacing:.08em}
.showcase-hexchess3 .showcase-logo{width:min(720px,92%)}

/* Gilded wordmark and the hexagon rule from the campaign opening. */
.showcase-hexchess3 .hx3-wordmark{margin:0;white-space:nowrap;text-wrap:nowrap;line-height:1;font-size:clamp(3rem,5.2vw,5.6rem)!important;letter-spacing:.12em!important;margin-right:-.12em!important}
.hx3-ivory{background:linear-gradient(180deg,#fffaf2 0%,#e9e1d4 60%,#b9b0a2 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.hx3-gold{margin-left:.18em;background:linear-gradient(100deg,var(--hx3-gold-lo) 0%,var(--hx3-gold) 30%,#fff1d8 46%,var(--hx3-gold-hi) 54%,var(--hx3-gold) 72%,var(--hx3-gold-lo) 100%);background-size:260% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;color:transparent}
.hx3-rule{display:flex;align-items:center;gap:14px;width:min(360px,80%);margin:30px 0 26px}
.hx3-rule i{flex:1;height:1px}
.hx3-rule i:first-child{background:linear-gradient(90deg,#d99f5f00,#d99f5fb3)}
.hx3-rule i:last-child{background:linear-gradient(90deg,#d99f5fb3,#d99f5f00)}
.hx3-hex{flex:none;fill:none;stroke:var(--hx3-gold);stroke-width:1}
.hx3-dot{flex:none;fill:var(--hx3-gold)}
.showcase-hexchess3 .guardia-closing .hx3-rule{margin:0 auto 38px}

/* ---------- opening: the knight in front of the first shot ---------- */
.showcase-hexchess3 .hx3-hero{--e:0;position:relative;min-height:max(100svh,640px);padding:0;overflow:hidden;isolation:isolate;background:var(--hx3-ink);color:var(--hx3-ivory)}
.landmark.is-motion .hx3-hero{--e:var(--hx3-exit,calc(1 - var(--opening-opacity,1)));position:absolute;inset:0;min-height:0;display:block;opacity:1;padding:0;background:transparent}
.hx3-hero-light,.hx3-hero-glow,.hx3-hero-knight{position:absolute;pointer-events:none}
/* While the knight is on screen the opening shot only glows through; it takes over as the hero leaves. */
.landmark.is-motion .hx3-hero:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse 80% 90% at 70% 55%,#020008b3,#020008f2);opacity:calc(1 - var(--e) * 1.5)}
.hx3-hero-light{inset:0;z-index:0;opacity:calc(1 - var(--e) * 1.7);transform:translate3d(calc(var(--e) * 26vw),calc(var(--e) * -30vh),0);will-change:transform,opacity}
.hx3-hero-light i{position:absolute;inset:0;clip-path:polygon(40% 0,100% 0,100% 80%);background:linear-gradient(205deg,#fdfaf4 0%,#ece6db 34%,#c9c2b6 72%,#9f988d 100%);translate:calc(var(--hx3-mx,0) * 6px) calc(var(--hx3-my,0) * 4px)}
.hx3-hero-glow{inset:0;z-index:0;opacity:calc(1 - var(--e));background:radial-gradient(ellipse 34vw 52vh at 68% 58%,#d99f5f24,#d99f5f00 70%),radial-gradient(ellipse 60vw 30vh at 50% 100%,#fff0dc0d,#0000 70%)}
.hx3-hero-knight{z-index:1;right:max(5vw,calc((100vw - 1400px)/2 + 40px));top:5svh;height:min(76svh,900px);aspect-ratio:455/968;transform:translate3d(calc(var(--e) * 5vw),calc(var(--e) * -58vh),0) scale(calc(1 + var(--e) * .24)) rotate(calc(var(--e) * -6deg));opacity:calc(1 - var(--e) * var(--e) * 1.1);transform-origin:50% 70%;will-change:transform,opacity}
.hx3-hero-float{height:100%;translate:calc(var(--hx3-mx,0) * -14px) calc(var(--hx3-my,0) * -9px)}
.hx3-hero-float img{display:block;height:100%;width:auto;filter:drop-shadow(0 30px 40px #000a)}
.hx3-hero-copy{position:relative;z-index:2;height:100%;min-height:inherit;display:flex;align-items:center;transform:translate3d(0,calc(var(--e) * -20vh),0);opacity:calc(1 - var(--e) * 2.2);will-change:transform,opacity}
.hx3-hero-inner{max-width:min(640px,52vw);padding-block:9svh}
.hx3-feats{list-style:none;margin:0;padding:0;font-family:var(--hx3-label);font-size:clamp(.82rem,1.05vw,1.02rem);letter-spacing:.28em;text-transform:uppercase;line-height:2.25;color:#ddd0bd}
.hx3-feats li{display:flex;align-items:center;gap:18px}
.hx3-note{font-family:var(--hx3-lede);font-style:italic;font-weight:500;font-size:clamp(1.45rem,2vw,1.9rem);line-height:1.35;color:var(--hx3-stone);margin:30px 0 38px}
.hx3-hero .opening-actions{gap:30px}
.hx3-hero .landmark-scroll{color:#cfc6b8!important}

/* Entrance: the wedge sweeps in, the knight settles, the copy follows; the III catches the light once. */
@media(prefers-reduced-motion:no-preference){
 .hx3-hero .hx3-hero-light i{animation:hx3-wedge 1.5s cubic-bezier(.2,.75,.15,1) both}
 .hx3-hero .hx3-hero-float{animation:hx3-rise 1.8s .15s cubic-bezier(.2,.75,.15,1) both}
 .hx3-hero .hx3-hero-inner>*{animation:hx3-up 1.2s .35s cubic-bezier(.2,.75,.15,1) both}
 .hx3-hero .hx3-hero-inner>:nth-child(2){animation-delay:.5s}
 .hx3-hero .hx3-hero-inner>:nth-child(3){animation-delay:.6s}
 .hx3-hero .hx3-hero-inner>:nth-child(4){animation-delay:.7s}
 .hx3-hero .hx3-hero-inner>:nth-child(5){animation-delay:.8s}
 .hx3-hero .hx3-gold{animation:hx3-shine 2.6s 1.1s cubic-bezier(.4,0,.2,1) both}
 .hx3-io .hx3-title-card:not(.hx3-in) .hx3-card>*{opacity:0}
 .hx3-title-card.hx3-in .hx3-card>*{animation:hx3-up 1.1s cubic-bezier(.2,.75,.15,1) both}
 .hx3-title-card.hx3-in .hx3-card>:nth-child(2){animation-delay:.2s}
 .hx3-title-card.hx3-in .hx3-card>:nth-child(3){animation-delay:.35s}
}
@keyframes hx3-wedge{from{clip-path:polygon(100% 0,100% 0,100% 0)}}
@keyframes hx3-wedge-m{from{clip-path:polygon(0 0,0 0,0 0,0 0)}}
@keyframes hx3-rise{from{opacity:0;transform:translateY(5svh) scale(.97)}}
@keyframes hx3-up{from{opacity:0;transform:translateY(22px)}}
@keyframes hx3-shine{from{background-position:100% 0}to{background-position:0 0}}

@media(max-width:1000px){
 .hx3-hero-inner{max-width:56vw}
 .hx3-hero-knight{height:min(66svh,820px);right:3vw;top:9svh}
}
/* Phones: the campaign column, knight over the diagonal, copy underneath. */
@media(max-width:760px){
 .hx3-hero-light i{clip-path:polygon(0 0,100% 0,100% 16%,0 52%);background:linear-gradient(160deg,#fdfaf4 0%,#e7e1d6 45%,#a9a296 100%)}
 .hx3-hero .hx3-hero-light i{animation-name:hx3-wedge-m}
 .hx3-hero-knight{left:50%;right:auto;top:2svh;height:min(40svh,420px);margin-left:calc(min(40svh,420px) * -.235)}
 .hx3-hero-glow{background:radial-gradient(ellipse 70vw 34vh at 50% 30%,#d99f5f26,#d99f5f00 70%)}
 .hx3-hero-copy{align-items:flex-start;justify-content:center;text-align:center}
 .hx3-hero-inner{max-width:none;width:100%;padding-block:calc(min(40svh,420px) + 5svh) 0;display:flex;flex-direction:column;align-items:center}
 .showcase-hexchess3 .hx3-wordmark{font-size:clamp(1.9rem,8.4vw,3rem)!important}
 .hx3-rule{margin:14px auto 10px}
 .hx3-feats{font-size:.68rem;letter-spacing:.2em;line-height:2}
 .hx3-feats li{justify-content:center;gap:12px}
 .hx3-note{font-size:1.3rem;margin:10px 0 18px}
 .hx3-hero .opening-actions{flex-direction:column;gap:12px}
}
@media(max-width:760px) and (max-height:740px){.hx3-hero-knight{height:36svh;margin-left:calc(36svh * -.235)}.hx3-hero-inner{padding-top:40svh}.hx3-feats li:last-child{display:none}.hx3-note{margin:8px 0 14px}}

/* ---------- set title cards over each shot ---------- */
.showcase-hexchess3 .landmark .hx3-title-card{align-items:center!important;justify-content:center!important;text-align:center;padding:0!important}
/* hexchess3.js drives each card: --hx3-in rises as the shot slides in, --hx3-out as it plays on. */
.landmark.is-motion .hx3-title-card{opacity:calc(var(--hx3-in,var(--opening-opacity,1)) * (1 - var(--hx3-out,0)))}
.landmark.is-motion .hx3-title-card .hx3-card{transform:translate3d(0,calc((1 - var(--hx3-in,1)) * 5vh - var(--hx3-out,0) * 7vh),0) scale(calc(1 + var(--hx3-out,0) * .07));filter:blur(calc(var(--hx3-out,0) * 7px))}
/* A dark pool behind the card keeps the logo legible over bright footage; it leaves with the card. */
.landmark.is-motion .hx3-title-card{isolation:isolate}
.landmark.is-motion .hx3-title-card:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse 62% 46% at 50% 50%,#020008e6 0%,#020008b3 45%,#02000833 78%,#02000800 100%),linear-gradient(#02000840,#02000840)}
.hx3-card{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;padding:0 20px}
.hx3-set-logo{display:block;width:min(560px,74vw);height:auto;max-height:24svh;object-fit:contain;filter:drop-shadow(0 6px 30px #000c)}
.hx3-set-name{margin:0;font-family:var(--hx3-title);font-weight:600;font-size:clamp(2.8rem,7vw,6.6rem);letter-spacing:.16em;margin-right:-.16em;line-height:1;background:linear-gradient(180deg,#fffaf2 0%,#e9e1d4 60%,#b9b0a2 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none;filter:drop-shadow(0 6px 26px #000d)}
.hx3-card .hx3-rule{margin:26px auto 18px;width:min(300px,60vw)}
.hx3-card-caption{margin:0;font-family:var(--hx3-label);font-weight:500;font-size:.78rem;letter-spacing:.42em;margin-right:-.42em;text-transform:uppercase;color:var(--hx3-gold)!important}
.hx3-copy-logo{display:block;width:auto;max-width:min(300px,70%);height:auto;max-height:64px;object-fit:contain;object-position:left center;margin:0 0 22px}
@media(max-width:760px){.hx3-copy-logo{max-height:46px;margin-bottom:14px}.hx3-card-caption{font-size:.66rem}}

/* ---------- the opening's last frame: an angled board cut out on black ---------- */
.showcase-hexchess3 .hx3-cutout .showcase-still{mask-image:none;max-height:72svh;filter:drop-shadow(0 40px 50px #000d) drop-shadow(0 0 70px #d99f5f14)}
.showcase-hexchess3 .hx3-cutout .landmark-model{filter:none}

/* ---------- configurator section ---------- */
.hx3-configure{padding-block:clamp(70px,10vw,140px) clamp(60px,8vw,110px)}
.hx3-configure-head{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:28px 60px;align-items:end;margin-bottom:44px}
.hx3-configure-head .eyebrow{grid-column:1/-1;margin-bottom:0}
.hx3-configure-head h2{margin:0;font-size:clamp(2.3rem,3.8vw,3.9rem)}
.hx3-configure-head .guardia-intro-lede{margin:0;max-width:560px;color:#d6cec2;font-family:var(--hx3-lede);font-style:italic;font-weight:500;font-size:1.45rem;line-height:1.45}
.hx3c-head .eyebrow{text-transform:uppercase}
.hx3-configure .hx3c-head h3,.hx3-config-page .hx3c-head h3{font-family:var(--hx3-title);font-weight:600;letter-spacing:.05em;font-size:clamp(1.9rem,2.6vw,2.5rem)}
.hx3-configure .hx3c .group h3,.hx3-config-page .hx3c .group h3,.hx3-configure .hx3c-head .eyebrow,.hx3-config-page .hx3c-head .eyebrow{font-family:var(--hx3-label);font-weight:500;letter-spacing:.3em}
.hx3-config-intro{padding-bottom:20px}
.hx3-config-intro h1{font-size:clamp(2.4rem,4.6vw,4.6rem)}
.hx3-config-page{padding-bottom:90px}
.hx3-still .actions{flex-wrap:wrap}
@media(max-width:1000px){.hx3-configure-head{grid-template-columns:1fr;gap:18px}}
.hx3-anchor{display:block;height:0;scroll-margin-top:110px}
@media(max-width:760px){
 .showcase-hexchess3 .landmark-copy h2{font-size:clamp(1.75rem,7.6vw,2.4rem)}
 .showcase-hexchess3 .landmark-copy>p:not(.eyebrow):not(.landmark-purchase-note){font-size:1.2rem}
 .showcase-hexchess3 .guardia-intro h2,.showcase-hexchess3 .guardia-interlude h2,.showcase-hexchess3 .guardia-closing h2{font-size:clamp(2rem,8.6vw,2.8rem)}
 .showcase-hexchess3 .guardia-intro-lede,.showcase-hexchess3 .guardia-interlude .guardia-reading-content>p:last-child,.showcase-hexchess3 .guardia-closing>p{font-size:1.25rem}
 .showcase-hexchess3 .eyebrow{letter-spacing:.24em}
}
