/* PCB Technologies — Desk calendar 2026–27 ("ALL 13 MONTHS IN")
   Desktop: the calendar stands on its stand, each month's page leaves it on a golden light thread,
   grows, stays a few seconds, returns and flips. Mobile: a welcome screen with the calendar flipping.
   Both: a two-row month carousel UNDER the stage, and a full-screen viewer on click. */
.pcal { --gold: #d2a865; --gold2: #f1cf8f; position: relative; padding: clamp(40px, 8vh, 110px) var(--hv-g) clamp(40px, 8vh, 110px); color: #f2ece3; }
.pcal-head { max-width: 1400px; margin: 0 auto clamp(22px, 4vh, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.pcal-kicker { margin: 0 0 14px; font-size: clamp(11px, .95vw, 13px); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.pcal-title { margin: 0; font-size: clamp(42px, 6.4vw, 104px); font-weight: 300; line-height: .92; letter-spacing: -.02em; }
.pcal-title em { font-style: normal; font-weight: 700; color: var(--gold2); }
.pcal-lead { justify-self: end; max-width: 30em; margin: 0; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.6; color: rgba(247, 244, 239, .72); }

/* ---------- stage ---------- */
.pcal-stage { position: relative; max-width: 1400px; height: min(56.25vw, 86vh, 790px); margin: 0 auto; overflow: hidden; border-radius: 18px; background: #0d0b09; cursor: pointer; user-select: none; -webkit-user-select: none; }
.pcal-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 80% 62%, #2b2219, #0d0b09 70%); }
.pcal-month { position: absolute; left: 0; right: 0; text-align: center; font-weight: 500; color: var(--gold2); letter-spacing: .04em; }
.pcal-pill { position: absolute; left: 18px; top: 16px; z-index: 40; padding: 5px 13px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .6); opacity: .6; transition: opacity .3s, background .3s, color .3s; pointer-events: none; }
.pcal-stage:hover .pcal-pill { opacity: 1; }
.pcal-stage.is-paused .pcal-pill { opacity: 1; background: var(--gold); color: #111; }

/* 3D desk calendar on its triangular stand */
.pcal-scene { position: absolute; width: 0; height: 0; }
.pcal-tent { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.pcal-face { position: absolute; transform-origin: 50% 0; transform-style: preserve-3d; }
.pcal-card { background: linear-gradient(180deg, #2e251d, #1b1611); box-shadow: inset 0 0 0 1px rgba(255, 235, 200, .06); }
.pcal-side { background: linear-gradient(180deg, #261f18, #120e0b); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.pcal-logo { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; transform: translateZ(.5px); }
.pcal-logo img { height: 80%; width: auto; max-width: 84%; }
.pcal-front { background: #111; box-shadow: 0 2px 0 #cfc3b0, 0 4px 0 #b9ad9a, 0 6px 10px rgba(0, 0, 0, .5); }
.pcal-front.is-turning img { filter: brightness(.62); }
.pcal-front img, .pcal-fa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: filter .6s; }
.pcal-front.is-lift img { filter: brightness(.4); }
.pcal-wire { position: absolute; left: 5%; right: 5%; top: -3px; height: 7px; border-radius: 3px; transform: translateZ(2px); background: repeating-linear-gradient(90deg, #e4d3b4 0 2px, #6d5c48 2px 3px, transparent 3px 7px); }
.pcal-flip { opacity: 0; }
.pcal-paper, .pcal-fb { background-color: #f3eee6;
  background-image: linear-gradient(#d8c4a2, #d8c4a2), linear-gradient(#cfc5b6 1px, transparent 1px), linear-gradient(90deg, #cfc5b6 1px, transparent 1px);
  background-size: 100% 22%, 100% 15.6%, 14.28% 100%; background-repeat: no-repeat, repeat, repeat; background-position: 0 0, 0 22%, 0 0; }
.pcal-fb { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: rotateX(180deg); }
.pcal-paper { opacity: 0; }
.pcal-shadow { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .8), transparent); }
.pcal-dots { position: absolute; display: flex; align-items: center; gap: 16px; height: 16px; transform: translateX(-50%); }
.pcal-dots i { position: relative; flex: none; width: 6px; height: 6px; border-radius: 50%; background: rgba(241, 207, 143, .22); transition: background .5s; }
.pcal-dots i.is-past { background: rgba(241, 207, 143, .6); }
.pcal-dots i.is-on { background: var(--gold2); }
.pcal-dots i::after { content: ""; position: absolute; inset: -5px; box-sizing: border-box; border-radius: 50%; border: 1px solid var(--gold2); opacity: 0; transform: scale(.4); transition: opacity .5s, transform .5s cubic-bezier(.22, 1, .36, 1); }
.pcal-dots i.is-on::after { opacity: 1; transform: none; }
/* the golden thread: a few light strands with sparks, like the light waves in the artwork */
.pcal-thread { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 19; overflow: visible; pointer-events: none; }
.pcal-thread path { fill: none; stroke-linecap: round; }
.pcal-thread .s0 { stroke: #fff4dc; stroke-width: 1.6; }
.pcal-thread .s1 { stroke: var(--gold2); stroke-width: 1; opacity: .75; }
.pcal-thread .s2 { stroke: var(--gold); stroke-width: .7; opacity: .55; }
.pcal-thread .halo { stroke: var(--gold); stroke-width: 8; opacity: .14; }
.pcal-thread circle { fill: #fff3d6; opacity: 0; }
.pcal-thread circle.is-on { animation: pcal-tw 1.6s ease-in-out infinite; }
@keyframes pcal-tw { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }

.pcal-big { position: absolute; display: none; z-index: 20; object-fit: cover; box-shadow: 0 0 0 1px rgba(241, 207, 143, .45), 0 24px 60px rgba(0, 0, 0, .65); }
.pcal-cap { position: absolute; right: 2.4%; bottom: 4%; z-index: 30; padding: 14px 22px; border-radius: 12px; background: rgba(10, 8, 6, .72); opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; pointer-events: none; }
.pcal-cap.is-on { opacity: 1; transform: none; }
.pcal-cap.is-under { right: auto; bottom: auto; padding: 0; text-align: center; white-space: nowrap; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: translate(-50%, 8px); }
.pcal-cap.is-under.is-on { transform: translate(-50%, 0); }
.pcal-cap.is-under b { font-size: clamp(18px, 1.6vw, 26px); }
.pcal-cap b { display: block; font-size: clamp(16px, 1.7vw, 26px); font-weight: 700; color: #fff; line-height: 1.15; }
.pcal-cap span { font-size: clamp(11px, 1vw, 15px); color: #e3d5c0; }
.pcal-cap span i { font-style: normal; font-weight: 700; color: var(--gold2); letter-spacing: .06em; margin-right: 8px; }
.pcal-hint { position: absolute; left: 0; right: 0; bottom: 3.5%; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(247, 244, 239, .5); animation: pcal-hint 2s ease-in-out infinite; pointer-events: none; }
@keyframes pcal-hint { 50% { transform: translateY(6px); opacity: .5; } }

/* ---------- carousel (always under the stage) ---------- */
.pcal-gallery { max-width: 1400px; margin: clamp(34px, 6vh, 64px) auto 0; }
.pcal-ghead { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.pcal-ghead h3 { margin: 0; font-size: clamp(20px, 2vw, 30px); font-weight: 500; letter-spacing: -.01em; }
.pcal-ghead h3 em { font-style: normal; color: var(--gold2); }
.pcal-ghead p { margin: 0; font-size: clamp(11px, .95vw, 13px); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(247, 244, 239, .55); }
.pcal-row { position: relative; overflow: hidden; padding: 8px 0; }
.pcal-row::before, .pcal-row::after { content: ""; position: absolute; top: 0; bottom: 0; width: 5%; z-index: 2; pointer-events: none; }
.pcal-row::before { left: 0; background: linear-gradient(90deg, #000, rgba(0, 0, 0, 0)); }
.pcal-row::after { right: 0; background: linear-gradient(270deg, #000, rgba(0, 0, 0, 0)); }
.pcal-track { display: flex; gap: clamp(12px, 1.4vw, 20px); width: max-content; will-change: transform; }
.pcal-row { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.pcal-row.is-drag { cursor: grabbing; }
.pcal-row.is-drag .pcal-item { pointer-events: none; }
.pcal-item { all: unset; box-sizing: border-box; display: block; flex: none; width: clamp(240px, 23vw, 360px); cursor: pointer; }
.pcal-item span.pi { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 3 / 2; background: #1a1612; }
.pcal-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.pcal-item:hover img { transform: scale(1.045); }
.pcal-item:focus-visible span.pi { outline: 2px solid var(--gold2); outline-offset: 3px; }
.pcal-item .pl { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.pcal-item .pl b { color: var(--gold2); font-weight: 600; }
.pcal-item .pl i { font-style: normal; color: rgba(247, 244, 239, .55); }

/* ---------- viewer: near full screen, the site stays dimmed behind ---------- */
.pcal-lb { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 72px 96px 40px; color: #fff; background: rgba(0, 0, 0, .82); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.pcal-lb.is-on { opacity: 1; visibility: visible; transition: opacity .35s; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pcal-lb-box { width: min(100%, calc((100vh - 200px) * 1.5)); }
.pcal-lb-frame { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; background: #111; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.pcal-lb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcal-lb-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 16px; }
.pcal-lb-cap h4 { margin: 0; font-size: clamp(18px, 1.7vw, 26px); font-weight: 500; }
.pcal-lb-cap h4 b { color: var(--gold2); font-weight: 600; }
.pcal-lb-cap span { display: block; margin-top: 2px; font-size: clamp(13px, 1vw, 15px); color: rgba(247, 244, 239, .7); }
.pcal-lb-count { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .18em; color: rgba(255, 255, 255, .7); }
.pcal-lb .pcal-btn { all: unset; box-sizing: border-box; position: absolute; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .28); transition: background .25s, color .25s; }
.pcal-lb .pcal-btn:hover, .pcal-lb .pcal-btn:focus-visible { background: var(--gold2); color: #111; }
.pcal-lb .pcal-btn svg { width: 18px; height: 18px; }
.pcal-lb .pcal-lb-x { top: 18px; right: 22px; }
.pcal-lb .pcal-lb-prev, .pcal-lb .pcal-lb-next { top: 50%; margin-top: -26px; }
.pcal-lb .pcal-lb-prev { left: 22px; }
.pcal-lb .pcal-lb-next { right: 22px; }
html.pcal-lock, html.pcal-lock body { overflow: hidden; }
/* swipe hint in the viewer (touch screens): a finger slides left and right under the image */
.pcal-lb-swipe { display: none; }
@media (max-width: 980px) {
  .pcal-lb-swipe { display: flex; position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .85); opacity: 0; transition: opacity .5s; pointer-events: none; }
  .pcal-lb.is-hint .pcal-lb-swipe { opacity: 1; }
  .pcal-lb-swipe svg { width: 34px; height: 34px; animation: pcal-swipe 1.6s ease-in-out infinite; }
}
@keyframes pcal-swipe { 0%, 100% { transform: translateX(-12px) rotate(-8deg); } 50% { transform: translateX(12px) rotate(8deg); } }

/* desktop: one experience per screen, like the home page, with a peek of the carousel below */
@media (min-width: 981px) {
  /* pull up into the gap the panel above leaves under its caption */
  .pcal { padding: 0 var(--hv-g) clamp(40px, 8vh, 110px); margin-top: calc(clamp(26px, 6vh, 90px) * -.55); }
  /* one compact row: the text lines up with the image's left edge, the logo with the calendar's right edge */
  .pcal-head { max-width: none; grid-template-columns: auto minmax(0, 36em) auto; justify-content: start; column-gap: clamp(24px, 2.2vw, 40px); row-gap: 0; align-items: center; text-align: left; padding: 0 var(--pcal-r, 0px) 0 var(--pcal-l, 0px); margin-bottom: 12px; }
  /* kicker on top; the title and the paragraph side by side, the paragraph centred on the title's line */
  .pcal-htext { display: contents; }
  .pcal-htext > * { float: none; }
  .pcal-htext .pcal-kicker { grid-column: 1 / -1; grid-row: 1; }
  .pcal-htext .pcal-title { grid-column: 1; grid-row: 2; }
  .pcal-htext .pcal-lead { grid-column: 2; grid-row: 2; }
  .pcal-hlogo { grid-column: 3; grid-row: 2; margin: 0; opacity: .92; }
  .pcal-kicker { margin-bottom: 8px; font-size: clamp(13px, 1.05vw, 16px); letter-spacing: .24em; }
  .pcal-title { font-size: clamp(34px, 3.7vw, 62px); white-space: nowrap; }
  .pcal-lead { max-width: none; margin: 0; font-size: clamp(13px, .75vw, 14px); line-height: 1.5; text-wrap: pretty; justify-self: auto; }
  .pcal-stage { max-width: none; height: calc(100vh - var(--header-h, 76px) - clamp(300px, 35vh, 340px)); min-height: 400px; }
  .pcal-gallery { max-width: none; margin-top: clamp(22px, 3.4vh, 34px); }
}
/* entrance */
html.hv-js .pcal .pcal-hlogo, html.hv-js .pcal .pcal-kicker, html.hv-js .pcal .pcal-title, html.hv-js .pcal .pcal-lead, html.hv-js .pcal .pcal-stage { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); }
html.hv-js .pcal .pcal-stage { transform: translateY(40px) scale(.97); transition-delay: .18s; }
html.hv-js .pcal .pcal-title { transition-delay: .06s; }
html.hv-js .pcal .pcal-lead { transition-delay: .12s; }
html.hv-js .pcal.is-in .pcal-hlogo, html.hv-js .pcal.is-in .pcal-kicker, html.hv-js .pcal.is-in .pcal-title, html.hv-js .pcal.is-in .pcal-lead, html.hv-js .pcal.is-in .pcal-stage { opacity: 1; transform: none; }

/* mobile brand: the calendar's stacked logo with a slow light sweep, and its tagline */
.pcal-mbrand { position: absolute; z-index: 6; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #fff; pointer-events: none; }
.pcal-mlogo { position: relative; }
.pcal-mlogo img { display: block; width: 100%; height: auto; }
.pcal-mlogo i { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 248, 230, .95) 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 160% 0; animation: pcal-shine 5.5s ease-in-out infinite 1.2s; }
@keyframes pcal-shine { 0%, 62% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
.pcal-mbrand p { margin: .9em 0 0; font-size: 1em; font-weight: 300; line-height: 1.15; }
.pcal-mbrand p b { display: block; font-weight: 700; }

/* mobile title, set like the calendar page */
.pcal-mhead { position: absolute; z-index: 6; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; line-height: .9; letter-spacing: -.01em; color: #fff; pointer-events: none; }
.pcal-mhead span { display: block; }
.pcal-mhead .w { color: #e3c08a; }
.pcal-mhead.is-desk { z-index: 2; transition: opacity .6s, transform .8s cubic-bezier(.22, 1, .36, 1); }
.pcal-mhead.is-desk.is-off { opacity: 0; transform: scale(.96); }
.pcal-hlogo { width: clamp(140px, 9vw, 170px); }
.pcal-mhead .in { display: flex; align-items: center; }
.pcal-mhead em { margin-left: .16em; font-style: normal; font-size: .25em; line-height: 1.1; letter-spacing: 0; color: #fff; }
/* the year range beside the mobile logo: a thin gold frame, the years split by a slanted hairline */
.pcal-years { position: absolute; z-index: 6; transform: translate(-100%, -50%); display: flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid rgba(227, 192, 138, .55); border-radius: 3px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 13px; font-weight: 400; letter-spacing: .14em; color: #e3c08a; white-space: nowrap; pointer-events: none; }
.pcal-years i { display: block; width: 1px; height: 15px; background: currentColor; transform: rotate(22deg); opacity: .8; }

@media (max-width: 980px) {
  .pcal { padding-top: 32px; margin-top: calc(clamp(26px, 6vh, 90px) * -.2); padding-left: 0; padding-right: 0; }
  .pcal-head { grid-template-columns: 1fr; gap: 14px; padding: 0 var(--hv-g); }
  .pcal-hlogo { display: none; }
  .pcal-lead { justify-self: start; margin-top: 14px; }
  .pcal-stage { height: min(100svh, 860px); border-radius: 0; }
  .pcal-bg { background: radial-gradient(ellipse 90% 45% at 50% 66%, #2b2219, #0d0b09 75%); }
  .pcal-pill { display: none; }
  .pcal-dots { gap: 11px; }
  .pcal-ghead { flex-direction: column; gap: 6px; margin: 0 var(--hv-g) 14px; }
  .pcal-item { width: 72vw; }
  .pcal-lb { padding: 70px 14px 100px; }
  .pcal-lb-box { width: 100%; }
  .pcal-lb-frame { border-radius: 10px; }
  .pcal-lb .pcal-btn { width: 46px; height: 46px; }
  .pcal-lb .pcal-lb-x { top: 14px; right: 14px; }
  .pcal-lb .pcal-lb-prev, .pcal-lb .pcal-lb-next { top: auto; margin: 0; bottom: 28px; }
  .pcal-lb .pcal-lb-prev { left: calc(50% - 56px); }
  .pcal-lb .pcal-lb-next { right: calc(50% - 56px); }
}

@media (prefers-reduced-motion: reduce) {
  html.hv-js .pcal .pcal-hlogo, html.hv-js .pcal .pcal-kicker, html.hv-js .pcal .pcal-title, html.hv-js .pcal .pcal-lead, html.hv-js .pcal .pcal-stage { opacity: 1; transform: none; transition: none; }
  .pcal-track { transform: none !important; }
  .pcal-row { overflow-x: auto; }
  .pcal-hint, .pcal-thread circle.is-on, .pcal-mlogo i { animation: none; }
}

/* site cursor badge over this section: white label centred in the circle, the pointer just below the label */
@media (hover: hover) and (pointer: fine) {
  .hv-cursor.is-pcal { width: 84px; height: 84px; margin: -58px 0 0 -42px; color: #fff; font-size: 12px; }
}
