:root { --optical-border:rgba(163,183,207,.4); --optical-fill:rgba(231,238,247,.72); }
.cta-motion__content { display:inline-block; }
.site-header__logo-mark::before { content:none; }
.site-header__logo-mark { background:currentColor; mask:url('/brand/rp-mark.svg') center/contain no-repeat; -webkit-mask:url('/brand/rp-mark.svg') center/contain no-repeat; width:38px; height:32px; }
.trajectory-sentences__pin-height { height:520vh; }
.toolkit__pin-height { height:320vh; }
.next-section__pin-height { height:340vh; }
.hero-scroll-cue {
  position:absolute; z-index:5; bottom:35px; left:40px;
  display:inline-flex; align-items:center; gap:12px;
  padding:8px 12px; border:1px solid transparent; background:none;
  color:#1641da; font:500 13px/1 Satoshi-Variable,Arial,sans-serif; letter-spacing:.04em; text-transform:uppercase;
  cursor:pointer; opacity:.82;
  transition:opacity .32s cubic-bezier(.66,0,.01,1), transform .32s cubic-bezier(.66,0,.01,1), border-color .22s ease;
}
.hero-scroll-cue:hover { opacity:1; border-style:dotted; border-color:rgba(22,65,218,.55); }
.hero-scroll-cue.is-scrolled { opacity:0; transform:translateY(8px); pointer-events:none; }
.hero-scroll-cue__line {
  position:relative; display:block; width:1px; height:24px;
  background:rgba(22,65,218,.24); overflow:hidden;
}
.hero-scroll-cue__line::after {
  content:''; position:absolute; inset:0; background:#1641da;
  transform-origin:top center; animation:hero-cue-pulse 2.2s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes hero-cue-pulse {
  0% { transform:translateY(-100%); }
  50% { transform:translateY(0); }
  100% { transform:translateY(100%); }
}
.hero-work-link { position:absolute; z-index:5; bottom:35px; right:40px; color:#1641da; font:500 15px/1 Satoshi-Variable,Arial,sans-serif; display:flex; gap:18px; align-items:center; padding:12px 16px; border:1px solid var(--optical-border); border-radius:8px; background:var(--optical-fill); backdrop-filter:blur(12px); text-decoration:none; transition:border-color .22s ease, background-color .22s cubic-bezier(.66,0,.01,1); }
.hero-work-link:hover { background:#e7eef7; border-style:dotted; border-color:#1641da; }
.hero-fallback { position:absolute; z-index:1; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; color:#1641da; text-align:center; padding:40px; background:radial-gradient(ellipse 72% 58% at 70% 100%,#bec9f3,transparent),#e7eef7; font:600 clamp(40px,9.5vw,126px)/.9 Satoshi-Variable,Arial,sans-serif; pointer-events:none; }
.hero-fallback small { font-size:clamp(16px,2.5vw,25px); font-weight:400; }
.hero-rendered .hero-fallback > * { visibility:hidden; }
.hero-rendered .hero-fallback { opacity:0; visibility:hidden; transition:opacity .24s ease-out,visibility 0s .24s; }
.portfolio-downloads { display:flex; flex-wrap:wrap; gap:10px 22px; font:500 14px/1.5 Satoshi-Variable,Arial,sans-serif; }
.portfolio-downloads a { color:inherit; text-decoration:none; padding:3px 6px; margin:-3px -6px; border:1.5px dotted transparent; transition:border-color .2s ease, opacity .2s ease; }
.portfolio-downloads a:hover { border-color:currentColor; }
/* Clean Architectural Closing Footer (no grid lines, Satoshi + Cabinet Grotesk) */
.next-footer {
  z-index:3;
  border-radius:10px !important;
  border:1px solid rgba(231,238,247,.18);
  box-shadow:0 24px 64px rgba(4,10,28,.42);
}
.next-footer__background {
  background-color:#1132b8;
  background-image:
    radial-gradient(ellipse 68% 82% at 14% 100%, rgba(114,214,255,.22), transparent 64%),
    radial-gradient(ellipse 56% 74% at 88% 12%, rgba(44,96,255,.38), transparent 62%),
    linear-gradient(135deg, #0d216f 0%, #153ed4 52%, #1132b0 100%) !important;
  background-size:100% 100% !important;
}
.next-footer__content { padding:clamp(36px,5.2vw,76px) clamp(28px,5.5vw,84px); }
.next-footer__inner { gap:clamp(36px,7vw,120px); align-items:stretch; }
.next-footer__main { gap:clamp(24px,3.6svh,44px); justify-content:space-between; }
.next-footer__headline { font-size:clamp(28px,3.1vw,58px); line-height:1.1; letter-spacing:-.03em; text-wrap:balance; }
.next-footer__meta {
  flex-direction:column; align-items:flex-start; gap:12px;
  padding-top:16px;
  border-top:1px solid rgba(231,238,247,.18);
  font:450 clamp(14px,1.02vw,16px)/1.4 Satoshi-Variable,Arial,sans-serif;
}
.next-footer__meta p { margin:0; opacity:.78; }
.next-footer__nav { gap:clamp(32px,5vw,76px); padding-top:0; }
.next-footer__group {
  gap:clamp(6px,1.05svh,12px);
  padding-top:14px;
  border-top:1px solid rgba(231,238,247,.22);
  min-width:clamp(132px,10vw,180px);
}
.next-footer__group-title {
  margin:0 0 8px;
  font:600 clamp(18px,1.45vw,24px)/1.1 CabinetGrotesk-Variable,Arial,sans-serif !important;
  color:rgba(231,238,247,.92);
}
.next-footer__group a {
  padding:4px 8px;
  margin:-4px -8px;
  border:2px dotted transparent;
  font-size:clamp(15px,1.08vw,19px) !important;
  white-space:nowrap;
  transition:border-color .2s cubic-bezier(.66,0,.01,1), color .2s ease;
}
.next-footer__group a::after { display:none !important; }
.next-footer__group a:hover,
.next-footer__group a:focus-visible { border-color:rgba(231,238,247,.9); }
/* Contact Actions — Clean Architectural Framing (Satoshi-Variable) */
.contact-actions { position:absolute; z-index:3; right:clamp(24px,5.2vw,64px); bottom:clamp(24px,4.8vh,48px); max-width:440px; font:400 14px/1.5 Satoshi-Variable,Arial,sans-serif; color:#142344; }
.contact-availability-pill {
  display:inline-flex; align-items:center; gap:9px; flex-wrap:wrap;
  margin-bottom:14px; padding:0; border:0; border-radius:0;
  background:transparent; backdrop-filter:none;
  color:#142344; font:500 13px/1.25 Satoshi-Variable,Arial,sans-serif; font-variant-numeric:tabular-nums;
}
.contact-availability-dot {
  width:7px; height:7px; border-radius:50%; background:#16a34a;
  box-shadow:0 0 0 0 rgba(22,163,74,.5); animation:availability-ping 2.4s cubic-bezier(0,0,.2,1) infinite;
}
@keyframes availability-ping {
  0% { box-shadow:0 0 0 0 rgba(22,163,74,.45); }
  70% { box-shadow:0 0 0 7px rgba(22,163,74,0); }
  100% { box-shadow:0 0 0 0 rgba(22,163,74,0); }
}
.contact-actions__links { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.contact-actions__links a,.contact-actions__links button {
  background:rgba(231,238,247,.84); border:1px solid rgba(20,35,68,.18); color:#142344;
  border-radius:6px; padding:10px 16px;
  font:550 13.5px/1.1 Satoshi-Variable,Arial,sans-serif;
  text-decoration:none; backdrop-filter:blur(12px); cursor:pointer;
  transition:border-color .2s ease, background-color .22s cubic-bezier(.66,0,.01,1), color .2s ease;
}
.contact-actions__links a:hover,.contact-actions__links button:hover { border-style:dotted; border-color:#1641da; }
.contact-actions__links a:first-child { background:#1641da; color:#e7eef7; border-color:#1641da; }
.contact-actions__links a:first-child:hover { background:#102fa8; border-style:solid; border-color:#102fa8; }
.contact-actions__links button.is-copied { background:#142344; border-color:#142344; color:#e7eef7; }
.contact-action-status { min-height:20px; font-size:12px; margin-top:8px; }
.portfolio-menu-toggle { display:none; border:0; background:none; color:inherit; cursor:pointer; font-size:19px; padding:4px; }
.portfolio-menu { inset:80px 16px auto auto; margin:0; border:1px solid var(--optical-border); border-radius:24px; padding:48px 30px 30px; width:min(320px,calc(100vw - 32px)); background:#e7eef7; color:#1641da; box-shadow:0 20px 60px #14234422; }
.portfolio-menu::backdrop { background:#14234433; backdrop-filter:blur(12px); }
.portfolio-menu nav { display:flex; flex-direction:column; gap:20px; }
.portfolio-menu a { color:inherit; text-decoration:none; font:500 28px Satoshi-Variable,Arial,sans-serif; }
.portfolio-menu a[aria-current="page"] { text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:2px; }
.portfolio-menu-footer { margin-top:24px; padding-top:18px; border-top:1px solid var(--optical-border); }
.portfolio-menu-lang { border:1px solid var(--optical-border); border-radius:999px; padding:10px 16px; background:var(--optical-fill); color:inherit; font:500 13px/1 Satoshi-Variable,Arial,sans-serif; cursor:pointer; }
.portfolio-menu-lang:hover { background:#fff; }
.portfolio-menu-close { position:absolute; right:20px; top:10px; border:0; color:inherit; background:none; font-size:30px; cursor:pointer; }
@media(max-width:600px) {
  .portfolio-menu-toggle { display:block; }
  .site-header__nav { gap:14px; padding-left:18px; padding-right:14px; }
  .site-header__logo-mark { width:30px; height:28px; }
  .hero-scroll-cue { bottom:32px; left:18px; font-size:11px; gap:8px; }
  .hero-work-link { bottom:30px; right:22px; font-size:13px; }
  .projects__list { gap:clamp(20px,3.8svh,30px); }
  .contact-actions { top:auto; bottom:clamp(22px,4.8svh,40px); right:20px; left:20px; max-width:none; text-align:center; }
  .contact-availability-pill { justify-content:center; font-size:11.5px; margin-bottom:12px; }
  .contact-actions__links,.contact-actions .portfolio-downloads { justify-content:center; }
  .contact-actions__links a,.contact-actions__links button { padding:9px 14px; font-size:12.5px; }
  .contact-actions .portfolio-downloads { font-size:12.5px; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-rendered .hero-fallback { transition:none; }
  .hero-scroll-cue__line::after, .contact-availability-dot { animation:none; }
  .trajectory-sentences__pin-height { height:320vh; }
  .toolkit__pin-height { height:240vh; }
  .next-section__pin-height { height:180vh; }
  .manifesto .container { min-height:70svh; height:auto; padding:80px 7vw; }
  .manifesto .text { white-space:normal; width:auto; font-size:clamp(36px,7vw,90px); line-height:1.2; }
}
