/* brand fonts declared here too, in the page head, so the menu and headings render in them from the first paint
   (the blocks declare the same faces when they arrive) */
@font-face{font-family:'PP Neue Corp';font-weight:500;font-style:normal;font-display:swap;src:url('../fonts/PPNeueCorp-ExtendedMedium.woff2') format('woff2')}
@font-face{font-family:'PP Neue Corp';font-weight:700;font-style:normal;font-display:swap;src:url('../fonts/PPNeueCorp-ExtendedBold.woff2') format('woff2')}
@font-face{font-family:'PP Neue Corp';font-weight:850;font-style:normal;font-display:swap;src:url('../fonts/PPNeueCorp-ExtendedHeavy.woff2') format('woff2')}
@font-face{font-family:'PP Neue Montreal';font-weight:400;font-style:normal;font-display:swap;src:url('../fonts/PPNeueMontreal-Book.woff2') format('woff2')}
@font-face{font-family:'PP Neue Montreal';font-weight:500;font-style:normal;font-display:swap;src:url('../fonts/PPNeueMontreal-Medium.woff2') format('woff2')}
/* Block-page shell shared by Home and inner pages: side rail, next-block links.
   Moved out of index.html (20 Oct) so every page is assembled the same way. */
:root{--ease:cubic-bezier(.16,1,.3,1)}
body{margin:0;background:#000}
/* ── side rail (Figma 8858:1772): the mark always top-left, one diamond per block,
   the current one framed, and an arrow that jumps to the next block. Hidden on phones. */
.siderail{position:fixed;left:0;top:0;bottom:0;width:72px;z-index:100;pointer-events:none;
  display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:28px 0 32px}
.siderail a,.siderail button{pointer-events:auto}
/* hidden from the first paint until the header knows where the page is (hero-block adds .rail-known), so the
   rail never flashes in and out while a page loads; on a film header it then stays away until the second block */
body:not(.rail-known) .siderail{visibility:hidden;transform:translateX(-100%);transition:none}
.siderail .mark{display:block;width:34px;height:auto}
.siderail .mark img{width:100%;display:block}
.siderail .dots{position:relative;display:flex;flex-direction:column;align-items:center;gap:22px}
/* slashes, as on the live iconsclub.com: the current section filled, the others outlined */
.siderail .dot{position:relative;width:16px;height:20px;border:0;padding:0;background:none;cursor:pointer;display:grid;place-items:center}
.siderail .dot i{width:5px;height:18px;border:1px solid #d95739;background:none;transform:skewX(-24deg);transition:background .25s var(--ease)}
.siderail .dot.on i{background:#d95739}
.siderail .dot .tip{position:absolute;left:26px;top:50%;transform:translateY(-50%);white-space:nowrap;font:500 11px/1 "PP Neue Montreal",Inter,sans-serif;
  letter-spacing:.12em;text-transform:uppercase;color:#d95739;opacity:0;pointer-events:none;transition:opacity .2s}
.siderail .dot:hover .tip,.siderail .dot:focus-visible .tip{opacity:1}
.siderail .next{width:20px;height:44px;border:0;background:none;cursor:pointer;position:relative;padding:0}
.siderail .next::before{content:"";position:absolute;left:50%;top:0;bottom:4px;width:1px;background:#d95739;transform:translateX(-50%)}
.siderail .next::after{content:"";position:absolute;left:50%;bottom:4px;width:8px;height:8px;border-right:1px solid #d95739;border-bottom:1px solid #d95739;
  transform:translateX(-50%) rotate(45deg)}
.siderail .next:hover::before{animation:nudge-down 1s ease infinite}
@keyframes nudge-down{50%{transform:translateX(-50%) translateY(4px)}}
.siderail.at-end .next:not(.prev){opacity:.3}
.siderail .mid{display:flex;flex-direction:column;align-items:center;gap:28px}   /* same gap above and below the diamonds */
.siderail .foot{height:34px}
.siderail .prev{transform:rotate(180deg);transition:opacity .2s var(--ease)}
.siderail.at-start .prev{opacity:0;pointer-events:none}
/* Native scrolling has one owner. Section links explicitly request smooth motion;
   there is no snap correction fighting the sticky, scroll-driven System track. */
html{scroll-behavior:auto;scroll-snap-type:none}
[data-block]{scroll-margin-top:0}
.siderail button:focus-visible{outline:2px solid #fff;outline-offset:6px}
.siderail button:disabled{cursor:default}
@media(prefers-reduced-motion:reduce){.siderail .next:hover::before{animation:none}}
/* the rail has its own dark column (as in the comp), so the blocks start right of it */
.siderail{background:#070707;border-right:1px solid rgba(255,255,255,.06)}
main#blocks{margin-left:72px}
/* "next block" link at the foot of each block: a quiet text link with an arrow and a
   hairline underline; it scrolls smoothly to the next block (at once with reduced motion) */
[data-block]{position:relative}
.nextlink{position:absolute;left:clamp(24px,6.9vw,100px);bottom:clamp(28px,5vh,56px);z-index:20;display:inline-flex;align-items:center;gap:28px;
  padding:0 0 14px;color:rgba(242,237,230,.92);text-decoration:none;font:400 18px/1 "PP Neue Montreal",Inter,sans-serif;letter-spacing:.005em}
.nextlink::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:rgba(217,87,57,.55);transform-origin:left;
  transition:transform .5s var(--ease),background .3s}
.nextlink:hover::after,.nextlink:focus-visible::after{background:#d95739;transform:scaleX(1.06)}
.nextlink svg{width:14px;height:14px;transition:transform .4s var(--ease)}
.nextlink:hover svg{transform:translateY(3px)}
.nextlink.inflow{display:flex;width:fit-content;position:relative;left:auto;bottom:auto;margin-top:36px;font-size:15px;gap:20px;padding-bottom:10px}
.nextlink.mid{left:50%;transform:translateX(-50%)}
.nextlink.light{color:rgba(20,18,16,.85)}
@media (prefers-reduced-motion:reduce){.nextlink::after,.nextlink svg{transition:none}}
/* phones and tablets (19-10 overlap audit): a pinned link at the block's foot collided with the
   block's own buttons and copy, so below 1100px it joins the flow under the block instead */
@media (max-width:1100px){
  .nextlink:not(.inflow){position:relative;left:auto;bottom:auto;display:flex;width:fit-content;margin:40px clamp(24px,6.9vw,100px) 48px}
  .nextlink.mid{transform:none}
}
@media (max-width:760px),(max-height:500px){.siderail{display:none} main#blocks{margin-left:0}}
